Package de.xima.fc.handler.entity
Class DirectClientAuthorizationHandler
- java.lang.Object
-
- de.xima.fc.handler.AMSApiHandler
-
- de.xima.fc.handler.entity.GenericHandler
-
- de.xima.fc.handler.entity.DirectClientAuthorizationHandler
-
- All Implemented Interfaces:
IAPIHandler
,IDirectClientAuthorizationHandler
,IGenericHandler
,Serializable
public class DirectClientAuthorizationHandler extends GenericHandler implements IDirectClientAuthorizationHandler
Handler implementation for reading and writingDirectClientAuthorization
entities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description DirectClientAuthorizationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectClientAuthorization
getByInvitationUuid(UserContext uc, UUID invitationUuid)
Finds the direct client authorization with the given invitation UUID.List<DirectClientAuthorization>
getUnacceptedClientInvitations(UserContext uc, UserProfile userProfile)
Returns the direct client authorizations for the given user profile that have not yet been accepted.boolean
hasUnacceptedClientInvitations(UserContext uc, UserProfile userProfile)
Checks whether the given user profile has unaccepted client invitations.-
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
-
-
-
-
Method Detail
-
getByInvitationUuid
public DirectClientAuthorization getByInvitationUuid(UserContext uc, UUID invitationUuid)
Description copied from interface:IDirectClientAuthorizationHandler
Finds the direct client authorization with the given invitation UUID.- Specified by:
getByInvitationUuid
in interfaceIDirectClientAuthorizationHandler
- Parameters:
uc
- User context for database transactions.invitationUuid
- invitation UUID of the client authorization.- Returns:
- The direct client authorization with the given invitation UUID.
-
hasUnacceptedClientInvitations
public boolean hasUnacceptedClientInvitations(UserContext uc, UserProfile userProfile)
Description copied from interface:IDirectClientAuthorizationHandler
Checks whether the given user profile has unaccepted client invitations.- Specified by:
hasUnacceptedClientInvitations
in interfaceIDirectClientAuthorizationHandler
- Parameters:
uc
- User context for database transactions.userProfile
- to check- Returns:
true
if there are unaccepted client invitations andfalse
otherwise.
-
getUnacceptedClientInvitations
public List<DirectClientAuthorization> getUnacceptedClientInvitations(UserContext uc, UserProfile userProfile)
Description copied from interface:IDirectClientAuthorizationHandler
Returns the direct client authorizations for the given user profile that have not yet been accepted.- Specified by:
getUnacceptedClientInvitations
in interfaceIDirectClientAuthorizationHandler
- Parameters:
uc
- User context for database transactions.userProfile
- to check- Returns:
- list of unaccepted direct client authorizations.
-
-