Package de.xima.fc.handler.entity
Class UserIdentityHandler
java.lang.Object
de.xima.fc.handler.AMSApiHandler
de.xima.fc.handler.entity.GenericHandler
de.xima.fc.handler.entity.UserIdentityHandler
- All Implemented Interfaces:
IAPIHandler
,IGenericHandler
,IUserIdentityHandler
,Serializable
Handler implementation for reading and writing
UserIdentity
entities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Field Summary
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByCallback
(UserContext uc, String identitfier, String clientName) Finds the user identity by the given callback information.getByRemovalUuid
(UserContext uc, UUID removalUuid) Finds the user identity with the given removal UUID.getExisting
(UserContext uc, UserIdentity identity) Gets another user identity with the same identifier information (client/identifier) if it exists.boolean
isExisting
(UserContext uc, UserIdentity identity) Checks whether or not another user identity exists with the same identifier information (client/identifier).Methods inherited from class de.xima.fc.handler.entity.GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Constructor Details
-
UserIdentityHandler
public UserIdentityHandler()
-
-
Method Details
-
getByCallback
Description copied from interface:IUserIdentityHandler
Finds the user identity by the given callback information. The callback information includes the client name which identifies theSystemAuthenticator
orauthenticator type
and the user identity identifier.- Specified by:
getByCallback
in interfaceIUserIdentityHandler
- Parameters:
uc
- User context for accessing the database.identitfier
- Identifier of the user identity.clientName
- Identifies theSystemAuthenticator
or authenticator type.- Returns:
- The user identity matching the callback information.
-
getByRemovalUuid
Description copied from interface:IUserIdentityHandler
Finds the user identity with the given removal UUID.- Specified by:
getByRemovalUuid
in interfaceIUserIdentityHandler
- Parameters:
uc
- User context for accessing the database.removalUuid
- of the user identity to be removed- Returns:
- the user identity with the given removal UUID or
null
if no user identity was found for the given removal UUID.
-
getExisting
Description copied from interface:IUserIdentityHandler
Gets another user identity with the same identifier information (client/identifier) if it exists.- Specified by:
getExisting
in interfaceIUserIdentityHandler
- Parameters:
uc
- User context for accessing the database.identity
- to check.- Returns:
- the user identity with the same identifier information (client/identifier) if it exists and
null
otherwise.
-
isExisting
Description copied from interface:IUserIdentityHandler
Checks whether or not another user identity exists with the same identifier information (client/identifier).- Specified by:
isExisting
in interfaceIUserIdentityHandler
- Parameters:
uc
- User context for accessing the database.identity
- to check.- Returns:
true
if there exists another user identity with the same identifier information (client/identifier) andfalse
otherwise.
-