Package org.bonitasoft.engine.identity
Class ExportOrganization
- java.lang.Object
-
- org.bonitasoft.engine.identity.ExportOrganization
-
- All Implemented Interfaces:
TransactionContent
,TransactionContentWithResult<java.lang.String>
public class ExportOrganization extends java.lang.Object implements TransactionContentWithResult<java.lang.String>
- Author:
- Baptiste Mesta, Matthieu Chaffotte, Elias Ricken de Medeiros
-
-
Constructor Summary
Constructors Constructor Description ExportOrganization(IdentityService identityService, int maxResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCustomUserInfoValues(long userId, ExportedUserBuilder clientUserbuilder, java.util.Map<java.lang.Long,java.lang.String> userInfoDefinitionNames)
void
execute()
protected java.util.List<SCustomUserInfoDefinition>
getAllCustomUserInfoDefinitions()
protected java.util.List<SCustomUserInfoValue>
getAllCustomUserInfoForUser(long userId)
java.lang.String
getResult()
protected ExportedUser
toExportedUser(SUser sUser, java.util.Map<java.lang.Long,java.lang.String> userInfoDefinitionNames)
-
-
-
Constructor Detail
-
ExportOrganization
public ExportOrganization(IdentityService identityService, int maxResults)
-
-
Method Detail
-
execute
public void execute() throws SBonitaException
- Specified by:
execute
in interfaceTransactionContent
- Throws:
SBonitaException
-
getResult
public java.lang.String getResult()
- Specified by:
getResult
in interfaceTransactionContentWithResult<java.lang.String>
-
getAllCustomUserInfoDefinitions
protected java.util.List<SCustomUserInfoDefinition> getAllCustomUserInfoDefinitions() throws SIdentityException
- Throws:
SIdentityException
-
toExportedUser
protected ExportedUser toExportedUser(SUser sUser, java.util.Map<java.lang.Long,java.lang.String> userInfoDefinitionNames) throws SBonitaException
- Throws:
SBonitaException
-
addCustomUserInfoValues
protected void addCustomUserInfoValues(long userId, ExportedUserBuilder clientUserbuilder, java.util.Map<java.lang.Long,java.lang.String> userInfoDefinitionNames) throws SBonitaReadException
- Throws:
SBonitaReadException
-
getAllCustomUserInfoForUser
protected java.util.List<SCustomUserInfoValue> getAllCustomUserInfoForUser(long userId) throws SBonitaReadException
- Throws:
SBonitaReadException
-
-