Package org.gluu.oxtrust.service
Class LdifService
- java.lang.Object
-
- org.gluu.oxtrust.service.LdifService
-
- All Implemented Interfaces:
java.io.Serializable
@Named("ldifService") public class LdifService extends java.lang.Object implements java.io.Serializable
Provides operations with LDIF files- Author:
- Shekhar L Date: 02.28.2017, Yuriy Movchan Date: 03/06/2017
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LdifService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportLDIFFile(java.util.List<java.lang.String> checkedItems, java.io.OutputStream output, java.lang.String objectClass)
com.unboundid.ldap.sdk.ResultCode
importLdifFileInLdap(java.lang.Class<?> entryClass, java.io.InputStream is)
void
performImport(java.lang.Class entryClass, java.io.InputStream inputStream)
com.unboundid.ldap.sdk.ResultCode
validateLdifFile(java.io.InputStream is, java.lang.String dn)
-
-
-
Method Detail
-
importLdifFileInLdap
public com.unboundid.ldap.sdk.ResultCode importLdifFileInLdap(java.lang.Class<?> entryClass, java.io.InputStream is) throws com.unboundid.ldap.sdk.LDAPException
- Throws:
com.unboundid.ldap.sdk.LDAPException
-
validateLdifFile
public com.unboundid.ldap.sdk.ResultCode validateLdifFile(java.io.InputStream is, java.lang.String dn) throws com.unboundid.ldap.sdk.LDAPException
- Throws:
com.unboundid.ldap.sdk.LDAPException
-
performImport
public void performImport(java.lang.Class entryClass, java.io.InputStream inputStream)
-
exportLDIFFile
public void exportLDIFFile(java.util.List<java.lang.String> checkedItems, java.io.OutputStream output, java.lang.String objectClass) throws com.unboundid.ldap.sdk.LDAPException
- Throws:
com.unboundid.ldap.sdk.LDAPException
-
-