public abstract class ExternalIdentityMappingCommand extends MemberCommand
| Modifier and Type | Class and Description |
|---|---|
protected class |
ExternalIdentityMappingCommand.ExternalIdentityMappingSearchEntity |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DISCRIMINATOR_ID_KEY |
protected static String |
ENTITY_MEMBER_ID_KEY |
protected static String |
EXTERNAL_ID_KEY |
protected static String |
GROUP_ID_KEY |
protected static String |
ROLE_ID_KEY |
protected static String |
SEARCH_OPTIONS_KEY |
protected TenantServiceAccessor |
serviceAccessor |
protected static String |
USER_ID_KEY |
| Constructor and Description |
|---|
ExternalIdentityMappingCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping |
addExternalIdentityMapping(String externalId,
long userId,
long roleId,
long groupId,
String kind,
MemberType memberType) |
protected void |
deleteExternalIdentityMappings(String externalId,
String kind)
Deletes all
SExternalIdentityMapping objects associated with the specified externalId and kind. |
TenantServiceAccessor |
getServiceAccessor() |
protected void |
removeExternalIdentityMapping(long sExtIdentityMappingId) |
protected EntityMember |
toEntityMember(org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping eiMapping) |
getGroupIdParameter, getMemberType, getProfileIdParameter, getQuerySuffix, getRoleIdParameter, getUserIdParametergetIntegerMandadoryParameter, getLongMandadoryParameter, getMandatoryParameter, getParameter, getParameter, getStringMandadoryParameterprotected static final String ENTITY_MEMBER_ID_KEY
protected static final String EXTERNAL_ID_KEY
protected static final String DISCRIMINATOR_ID_KEY
protected static final String USER_ID_KEY
protected static final String ROLE_ID_KEY
protected static final String GROUP_ID_KEY
protected static final String SEARCH_OPTIONS_KEY
protected TenantServiceAccessor serviceAccessor
public TenantServiceAccessor getServiceAccessor()
protected org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping addExternalIdentityMapping(String externalId, long userId, long roleId, long groupId, String kind, MemberType memberType) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected void removeExternalIdentityMapping(long sExtIdentityMappingId)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected void deleteExternalIdentityMappings(String externalId, String kind) throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingDeletionException
SExternalIdentityMapping objects associated with the specified externalId and kind.externalId - the external Id identifying the SExternalIdentityMappings to delete.kind - the discriminator of the SExternalIdentityMappingorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingDeletionException - in case a deletion problem occursprotected EntityMember toEntityMember(org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping eiMapping)
Copyright © 2017 Bonitasoft S.A.. All rights reserved.