Class ExternalIdentityMappingCommand
java.lang.Object
org.bonitasoft.engine.command.RuntimeCommand
org.bonitasoft.engine.external.identitymapping.MemberCommand
org.bonitasoft.engine.external.identitymapping.ExternalIdentityMappingCommand
- All Implemented Interfaces:
Command<ServiceAccessor>
- Direct Known Subclasses:
EntityMemberCommand
- Author:
- Emmanuel Duchastenier, Matthieu Chaffotte
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SExternalIdentityMappingaddExternalIdentityMapping(String externalId, long userId, long roleId, long groupId, String kind, org.bonitasoft.engine.identity.MemberType memberType) protected voiddeleteExternalIdentityMappings(String externalId, String kind) Deletes allSExternalIdentityMappingobjects associated with the specified externalId and kind.protected voidremoveExternalIdentityMapping(long sExtIdentityMappingId) protected org.bonitasoft.engine.entitymember.EntityMembertoEntityMember(SExternalIdentityMapping eiMapping) Methods inherited from class org.bonitasoft.engine.external.identitymapping.MemberCommand
getGroupIdParameter, getMemberType, getProfileIdParameter, getQuerySuffix, getRoleIdParameter, getUserIdParameterMethods inherited from class org.bonitasoft.engine.command.RuntimeCommand
getIntegerMandatoryParameter, getLongMandatoryParameter, getMandatoryParameter, getParameter, getParameter, getStringMandatoryParameter
-
Field Details
-
ENTITY_MEMBER_ID_KEY
- See Also:
-
EXTERNAL_ID_KEY
- See Also:
-
DISCRIMINATOR_ID_KEY
- See Also:
-
USER_ID_KEY
- See Also:
-
ROLE_ID_KEY
- See Also:
-
GROUP_ID_KEY
- See Also:
-
SEARCH_OPTIONS_KEY
- See Also:
-
serviceAccessor
-
-
Constructor Details
-
ExternalIdentityMappingCommand
public ExternalIdentityMappingCommand()
-
-
Method Details
-
getServiceAccessor
-
addExternalIdentityMapping
protected SExternalIdentityMapping addExternalIdentityMapping(String externalId, long userId, long roleId, long groupId, String kind, org.bonitasoft.engine.identity.MemberType memberType) throws SBonitaException - Throws:
SBonitaException
-
removeExternalIdentityMapping
- Throws:
SBonitaException
-
deleteExternalIdentityMappings
protected void deleteExternalIdentityMappings(String externalId, String kind) throws SExternalIdentityMappingDeletionException Deletes allSExternalIdentityMappingobjects associated with the specified externalId and kind.- Parameters:
externalId- the external Id identifying theSExternalIdentityMappings to delete.kind- the discriminator of theSExternalIdentityMapping- Throws:
SExternalIdentityMappingDeletionException- in case a deletion problem occurs
-
toEntityMember
protected org.bonitasoft.engine.entitymember.EntityMember toEntityMember(SExternalIdentityMapping eiMapping)
-