org.bonitasoft.engine.external.identity.mapping.impl
public class ExternalIdentityMappingServiceImpl extends Object implements org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingService
| Constructor and Description |
|---|
ExternalIdentityMappingServiceImpl(org.bonitasoft.engine.persistence.ReadPersistenceService persistenceService,
org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService) |
| Modifier and Type | Method and Description |
|---|---|
org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping |
createExternalIdentityMapping(org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping externalIdentityMapping) |
void |
deleteAllExternalIdentityMappings() |
void |
deleteExternalIdentityMapping(long mappingId) |
void |
deleteExternalIdentityMapping(org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping externalIdentityMapping) |
org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping |
getExternalIdentityMappingById(long mappingId) |
org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping |
getExternalIdentityMappingById(long mappingId,
String suffix,
String messageSuffix) |
org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping |
getExternalIdentityMappingForGroup(long mappingId) |
org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping |
getExternalIdentityMappingForRole(long mappingId) |
org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping |
getExternalIdentityMappingForRoleAndGroup(long mappingId) |
org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping |
getExternalIdentityMappingForUser(long mappingId) |
org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping |
getExternalIdentityMappingWithoutDisplayName(long mappingId) |
long |
getNumberOfExternalIdentityMappings(String kind,
org.bonitasoft.engine.persistence.QueryOptions searchOptions,
String querySuffix) |
long |
getNumberOfExternalIdentityMappingsForUser(String kind,
long userId,
String externalId,
org.bonitasoft.engine.persistence.QueryOptions searchOptions,
String querySuffix) |
List<org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping> |
searchExternalIdentityMappings(String kind,
org.bonitasoft.engine.persistence.QueryOptions queryOptions,
String querySuffix) |
List<org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping> |
searchExternalIdentityMappings(String kind,
String externalId,
org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
List<org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping> |
searchExternalIdentityMappingsForUser(String kind,
long userId,
String externalId,
org.bonitasoft.engine.persistence.QueryOptions queryOptions,
String querySuffix) |
public ExternalIdentityMappingServiceImpl(org.bonitasoft.engine.persistence.ReadPersistenceService persistenceService,
org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService)
public org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping createExternalIdentityMapping(org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping externalIdentityMapping)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingCreationException
createExternalIdentityMapping in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingCreationExceptionpublic org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping getExternalIdentityMappingById(long mappingId)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundException
getExternalIdentityMappingById in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundExceptionpublic org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping getExternalIdentityMappingForUser(long mappingId)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundException
getExternalIdentityMappingForUser in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundExceptionpublic org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping getExternalIdentityMappingById(long mappingId,
String suffix,
String messageSuffix)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundException
getExternalIdentityMappingById in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundExceptionpublic org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping getExternalIdentityMappingForGroup(long mappingId)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundException
getExternalIdentityMappingForGroup in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundExceptionpublic org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping getExternalIdentityMappingForRole(long mappingId)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundException
getExternalIdentityMappingForRole in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundExceptionpublic org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping getExternalIdentityMappingForRoleAndGroup(long mappingId)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundException
getExternalIdentityMappingForRoleAndGroup in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundExceptionpublic void deleteExternalIdentityMapping(long mappingId)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundException,
org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingDeletionException
deleteExternalIdentityMapping in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundExceptionorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingDeletionExceptionpublic void deleteExternalIdentityMapping(org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping externalIdentityMapping)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingDeletionException
deleteExternalIdentityMapping in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingDeletionExceptionpublic void deleteAllExternalIdentityMappings()
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingDeletionException
deleteAllExternalIdentityMappings in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingDeletionExceptionpublic long getNumberOfExternalIdentityMappingsForUser(String kind, long userId, String externalId, org.bonitasoft.engine.persistence.QueryOptions searchOptions, String querySuffix) throws org.bonitasoft.engine.persistence.SBonitaSearchException
getNumberOfExternalIdentityMappingsForUser in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.persistence.SBonitaSearchExceptionpublic List<org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping> searchExternalIdentityMappingsForUser(String kind, long userId, String externalId, org.bonitasoft.engine.persistence.QueryOptions queryOptions, String querySuffix) throws org.bonitasoft.engine.persistence.SBonitaSearchException
searchExternalIdentityMappingsForUser in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.persistence.SBonitaSearchExceptionpublic long getNumberOfExternalIdentityMappings(String kind, org.bonitasoft.engine.persistence.QueryOptions searchOptions, String querySuffix) throws org.bonitasoft.engine.persistence.SBonitaSearchException
getNumberOfExternalIdentityMappings in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.persistence.SBonitaSearchExceptionpublic List<org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping> searchExternalIdentityMappings(String kind, org.bonitasoft.engine.persistence.QueryOptions queryOptions, String querySuffix) throws org.bonitasoft.engine.persistence.SBonitaSearchException
searchExternalIdentityMappings in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.persistence.SBonitaSearchExceptionpublic List<org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping> searchExternalIdentityMappings(String kind, String externalId, org.bonitasoft.engine.persistence.QueryOptions queryOptions) throws org.bonitasoft.engine.persistence.SBonitaSearchException
searchExternalIdentityMappings in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.persistence.SBonitaSearchExceptionpublic org.bonitasoft.engine.external.identity.mapping.model.SExternalIdentityMapping getExternalIdentityMappingWithoutDisplayName(long mappingId)
throws org.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundException
getExternalIdentityMappingWithoutDisplayName in interface org.bonitasoft.engine.external.identity.mapping.ExternalIdentityMappingServiceorg.bonitasoft.engine.external.identity.mapping.SExternalIdentityMappingNotFoundExceptionCopyright © 2014 Bonitasoft S.A.. All rights reserved.