Interface IDirectClientAuthorizationHandler
-
- All Superinterfaces:
IAPIHandler
,IGenericHandler
,Serializable
- All Known Implementing Classes:
DirectClientAuthorizationHandler
public interface IDirectClientAuthorizationHandler extends IGenericHandler
Handler forDirectClientAuthorization
entities- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Instance Methods Abstract 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 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
DirectClientAuthorization getByInvitationUuid(UserContext uc, UUID invitationUuid)
Finds the direct client authorization with the given invitation UUID.- 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
boolean hasUnacceptedClientInvitations(UserContext uc, UserProfile userProfile)
Checks whether the given user profile has unaccepted client invitations.- Parameters:
uc
- User context for database transactions.userProfile
- to check- Returns:
true
if there are unaccepted client invitations andfalse
otherwise.
-
getUnacceptedClientInvitations
List<DirectClientAuthorization> getUnacceptedClientInvitations(UserContext uc, UserProfile userProfile)
Returns the direct client authorizations for the given user profile that have not yet been accepted.- Parameters:
uc
- User context for database transactions.userProfile
- to check- Returns:
- list of unaccepted direct client authorizations.
-
-