Package de.xima.fc.entities
Class DirectClientAuthorization
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.ALockableEntity
-
- de.xima.fc.entities.AClientDependentEntity
-
- de.xima.fc.entities.AClientAuthorization
-
- de.xima.fc.entities.DirectClientAuthorization
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IEntityClientAuthorization
,ILockingVersionProviding
,IMandantDependent
,INameProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,IClientAuthorization
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class DirectClientAuthorization extends AClientAuthorization
Direct client authorizations define the permissions ofUserProfile
s toMandant
s viaRolle
s andBenutzerGruppe
s.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_INVITATION_ACCEPTED
static String
ATTR_INVITATION_EXPIRE_INSTANT
static String
ATTR_INVITATION_UUID
static String
ATTR_INVITED_EMAIL_ADDRESS
static String
ATTR_USER_PROFILE
static String
COL_INVITATION_ACCEPTED
static String
COL_INVITATION_EXPIRE_TIMESTAMP
static String
COL_INVITATION_UUID
static String
COL_INVITED_EMAIL_ADDRESS
static String
COL_PROFILE_ID
-
Fields inherited from class de.xima.fc.entities.AClientAuthorization
ATTR_ACCESS_EXPIRE_INSTANT, ATTR_ACCESS_GRANTED_BY, ATTR_ACCESS_GRANTED_INSTANT, ATTR_ROLES, ATTR_USER_GROUPS, COL_ACCESS_EXPIRE_TIMESTAMP, COL_ACCESS_GRANTED_BY, COL_ACCESS_GRANTED_TIMESTAMP
-
Fields inherited from class de.xima.fc.entities.AClientDependentEntity
COL_CLIENTID, mandant
-
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
-
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
-
Fields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_ID
-
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description DirectClientAuthorization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Long
getId()
Instant
getInvitationExpireInstant()
UUID
getInvitationUuid()
String
getInvitedEmailAddress()
String
getName()
Set<Rolle>
getRoles()
Set<BenutzerGruppe>
getUserGroups()
UserProfile
getUserProfile()
boolean
isInvitationAccepted()
void
setInvitationAccepted(boolean invitationAccepted)
void
setInvitationExpireInstant(Instant invitationExpireInstant)
void
setInvitationUuid(UUID invitationUuid)
void
setInvitedEmailAddress(String invitedEmailAddress)
void
setRoles(Set<Rolle> roles)
void
setUserGroups(Set<BenutzerGruppe> groups)
void
setUserProfile(UserProfile userProfile)
-
Methods inherited from class de.xima.fc.entities.AClientAuthorization
addRole, addUserGroup, getAccessExpireInstant, getAccessGrantedBy, getAccessGrantedInstant, getClient, getUUID, getUUIDObject, setAccessExpireInstant, setAccessGrantedBy, setAccessGrantedInstant, setId, setUUID, setUUIDObject
-
Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandant
-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
-
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId
-
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
getMandant, setMandant
-
-
-
-
Field Detail
-
COL_PROFILE_ID
public static final String COL_PROFILE_ID
- See Also:
- Constant Field Values
-
COL_INVITED_EMAIL_ADDRESS
public static final String COL_INVITED_EMAIL_ADDRESS
- See Also:
- Constant Field Values
-
COL_INVITATION_UUID
public static final String COL_INVITATION_UUID
- See Also:
- Constant Field Values
-
COL_INVITATION_EXPIRE_TIMESTAMP
public static final String COL_INVITATION_EXPIRE_TIMESTAMP
- See Also:
- Constant Field Values
-
COL_INVITATION_ACCEPTED
public static final String COL_INVITATION_ACCEPTED
- See Also:
- Constant Field Values
-
ATTR_USER_PROFILE
public static final String ATTR_USER_PROFILE
- See Also:
- Constant Field Values
-
ATTR_INVITED_EMAIL_ADDRESS
public static final String ATTR_INVITED_EMAIL_ADDRESS
- See Also:
- Constant Field Values
-
ATTR_INVITATION_UUID
public static final String ATTR_INVITATION_UUID
- See Also:
- Constant Field Values
-
ATTR_INVITATION_EXPIRE_INSTANT
public static final String ATTR_INVITATION_EXPIRE_INSTANT
- See Also:
- Constant Field Values
-
ATTR_INVITATION_ACCEPTED
public static final String ATTR_INVITATION_ACCEPTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public Long getId()
-
getUserProfile
public UserProfile getUserProfile()
-
setUserProfile
public void setUserProfile(UserProfile userProfile)
-
getInvitedEmailAddress
public String getInvitedEmailAddress()
-
setInvitedEmailAddress
public void setInvitedEmailAddress(String invitedEmailAddress)
-
getInvitationUuid
public UUID getInvitationUuid()
-
setInvitationUuid
public void setInvitationUuid(UUID invitationUuid)
-
getInvitationExpireInstant
public Instant getInvitationExpireInstant()
-
setInvitationExpireInstant
public void setInvitationExpireInstant(Instant invitationExpireInstant)
-
isInvitationAccepted
public boolean isInvitationAccepted()
-
setInvitationAccepted
public void setInvitationAccepted(boolean invitationAccepted)
-
getName
public String getName()
- Returns:
- The name of this object.
-
getRoles
public Set<Rolle> getRoles()
- Returns:
- the roles that will be assigned to users that match this authorization configuration.
-
getUserGroups
public Set<BenutzerGruppe> getUserGroups()
- Returns:
- the user groups that will be assigned to the users that match this authorization configuration.
-
setUserGroups
public void setUserGroups(Set<BenutzerGruppe> groups)
-
getDisplayName
public String getDisplayName()
- Returns:
- a display name for this authorization configuration.
-
-