Class ImportPrincipalManager
- java.lang.Object
-
- lumis.portal.principal.importprincipal.ImportPrincipalManager
-
- All Implemented Interfaces:
IImportPrincipalManager
public class ImportPrincipalManager extends java.lang.Object implements IImportPrincipalManager
Class responsible for principal import operations.- Since:
- 4.0.8
- Version:
- $Revision: 22420 $ $Date: 2019-02-19 16:21:02 -0300 (Tue, 19 Feb 2019) $
-
-
Constructor Summary
Constructors Constructor Description ImportPrincipalManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
readPrincipals(SessionConfig sessionConfig, java.lang.String principalReaderConfigId, ITransaction transaction)
Read xml config file initializing the declared readers building a xml file with the users and groups extracted by the users.void
writePrincipals(SessionConfig sessionConfig, java.lang.String principalWriterConfigId, ITransaction transaction)
Read a xml file with user's and group's configuration and import them to Lumis database.
-
-
-
Method Detail
-
writePrincipals
public void writePrincipals(SessionConfig sessionConfig, java.lang.String principalWriterConfigId, ITransaction transaction) throws PortalException
Description copied from interface:IImportPrincipalManager
Read a xml file with user's and group's configuration and import them to Lumis database.- Specified by:
writePrincipals
in interfaceIImportPrincipalManager
- Throws:
PortalException
-
readPrincipals
public void readPrincipals(SessionConfig sessionConfig, java.lang.String principalReaderConfigId, ITransaction transaction) throws PortalException
Description copied from interface:IImportPrincipalManager
Read xml config file initializing the declared readers building a xml file with the users and groups extracted by the users.- Specified by:
readPrincipals
in interfaceIImportPrincipalManager
- Throws:
PortalException
-
-