Class AClientAuthorization
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
- 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>>
- Direct Known Subclasses:
DirectClientAuthorization, IndirectClientAuthorization
@MappedSuperclass
public abstract class AClientAuthorization
extends AClientDependentEntity
implements IEntityClientAuthorization
Abstract base class for authorizations of a
Mandant- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class AClientDependentEntity
COL_CLIENTID, mandantFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface IMandantDependent
ATTR_CLIENT, ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddUserGroup(BenutzerGruppe userGroup) getUUID()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetAccessExpireInstant(Instant accessExpireInstant) voidsetAccessGrantedBy(String accessGrantedBy) voidsetAccessGrantedInstant(Instant accessGrantedInstant) void!!!voidSets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid) Methods inherited from class AClientDependentEntity
getMandant, setMandantMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface IClientAuthorization
getRoles, getUserGroupsMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
getId, isPersistedMethods inherited from interface IEntityClientAuthorization
getDisplayNameMethods inherited from interface IMandantDependent
getMandant, setMandantMethods inherited from interface INameProviding
getName
-
Field Details
-
COL_ACCESS_GRANTED_BY
- See Also:
-
COL_ACCESS_GRANTED_TIMESTAMP
- See Also:
-
COL_ACCESS_EXPIRE_TIMESTAMP
- See Also:
-
ATTR_ACCESS_GRANTED_BY
- See Also:
-
ATTR_ACCESS_GRANTED_INSTANT
- See Also:
-
ATTR_ACCESS_EXPIRE_INSTANT
- See Also:
-
ATTR_ROLES
- See Also:
-
ATTR_USER_GROUPS
- See Also:
-
-
Constructor Details
-
AClientAuthorization
public AClientAuthorization()
-
-
Method Details
-
setId
Description copied from class:AbstractEntity!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!- Specified by:
setIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>- Overrides:
setIdin classAbstractEntity- Parameters:
id-Longthe database-id to set
-
getUUID
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUID
Description copied from interface:IUUIDEntitySets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The UUID of the entity.
-
getUUIDObject
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUIDObject
-
getClient
- Specified by:
getClientin interfaceIClientAuthorization- Returns:
- the client for which this authorization is configured.
-
getAccessGrantedBy
- Specified by:
getAccessGrantedByin interfaceIEntityClientAuthorization- Returns:
- the display name of user that granted the access initially via this authorization configuration.
-
setAccessGrantedBy
-
getAccessGrantedInstant
- Specified by:
getAccessGrantedInstantin interfaceIEntityClientAuthorization- Returns:
- the instant this authorization configuration was initially granted.
-
setAccessGrantedInstant
-
getAccessExpireInstant
- Specified by:
getAccessExpireInstantin interfaceIEntityClientAuthorization- Returns:
- the instant this authorization configuration will expire.
-
setAccessExpireInstant
-
addRole
-
addUserGroup
-