Package de.xima.fc.api.entity
Class DirectClientAuthorizationAPI
- java.lang.Object
 - 
- de.xima.fc.api.ASubAPI
 - 
- de.xima.fc.api.entity.AEntityAPI<DirectClientAuthorization>
 - 
- de.xima.fc.api.entity.DirectClientAuthorizationAPI
 
 
 
 
- 
public class DirectClientAuthorizationAPI extends AEntityAPI<DirectClientAuthorization>
API class for reading and writingDirectClientAuthorizationentities.- Since:
 - 8.0.0
 - Author:
 - XIMA Media GmbH
 
 
- 
- 
Field Summary
- 
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DirectClientAuthorizationAPI() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectClientAuthorizationgetByInvitationUuid(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.booleanhasUnacceptedClientInvitations(UserContext uc, UserProfile userProfile)Checks whether the given user profile has unaccepted client invitations.- 
Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update 
- 
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getByInvitationUuid
public 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
public 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:
 trueif there are unaccepted client invitations andfalseotherwise.
 
- 
getUnacceptedClientInvitations
public 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.
 
 
 - 
 
 -