Class BenutzerGruppe
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, IDescriptionProviding, ILockingVersionProviding, IMandantDependent, INameProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class BenutzerGruppe
extends AClientDependentEntity
implements INameProviding, IDescriptionProviding, IUUIDEntity
Diese Entität bildet ein Guppensystem ab, dem verschiedene
Benutzer zugeordnet werden können. Die Gruppen
bieten eine Möglichkeit der Abbildung eines Rechte- und Zugriffsystems. Es kann dazu genutzt werden verschiedene
Abteilungen einer Organisation im realen Leben abzubilden.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic 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 IDescriptionProviding
ATTR_DESCRIPTION, COL_DESCRIPTIONFields 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
COL_NAMEFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAccessProjekte(Projekt projekt) voidaddBenutzer(Benutzer benutzer) Deprecated.voidaddDirectClientAuthorizations(DirectClientAuthorization directClientAuthorization) voidaddEditorProjekte(Projekt projekt) voidaddLdapGroup(LDAPGruppe ldapGroup) Deprecated.UsesetIndirectClientAuthorizations(Set)instead.voidaddPostfach(Postfach postfach) voidaddVisibleProject(Projekt project) Liefert eine die Liste aller zugeordneten Zugriffs-ProjekteDeprecated.UsegetDirectClientAuthorizations()orgetClientAuthorizations()instead.Liefert eine die Liste aller zugeordneten Editor-ProjektegetId()Deprecated.UsegetIndirectClientAuthorizations()orgetClientAuthorizations()instead.getName()Liefert eine die Liste aller zugeordneten PostfächergetUUID()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.voidremoveAccessProjekte(Projekt projekt) voidremoveBenutzer(Benutzer benutzer) Deprecated.UsesetDirectClientAuthorizations(Set)instead.voidremoveEditorProjekte(Projekt projekt) voidremoveLdapGroup(LDAPGruppe ldapGroup) Deprecated.UsesetIndirectClientAuthorizations(Set)instead.voidremovePostfach(Postfach postfach) voidremoveVisibleProject(Projekt project) voidsetAccessProjekte(List<Projekt> projekte) voidsetBenutzer(List<Benutzer> benutzer) Deprecated.UsesetDirectClientAuthorizations(Set)instead.voidsetBeschreibung(String beschreibung) voidsetClientAuthorizations(List<IClientAuthorization> authorizations) voidsetDescription(String description) voidsetDirectClientAuthorizations(Set<DirectClientAuthorization> directClientAuthorizations) voidsetEditorProjekte(List<Projekt> projekte) voidsetIndirectClientAuthorizations(Set<IndirectClientAuthorization> indirectClientAuthorizations) voidsetLdapGroups(List<LDAPGruppe> ldapGroups) Deprecated.UsesetIndirectClientAuthorizations(Set)instead.voidvoidsetPostfaecher(List<Postfach> postfaecher) voidSets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid) voidsetVisibleProjects(List<Projekt> projects) toString()Methods inherited from class AClientDependentEntity
getMandant, setMandantMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setId
-
Field Details
-
ATTR_NAME
- See Also:
-
ATTR_BESCHREIBUNG
- See Also:
-
ATTR_POSTFAECHER
- See Also:
-
ATTR_EDITORPROJEKTE
- See Also:
-
ATTR_ACCESSPROJEKTE
- See Also:
-
ATTR_VISIBLE_PROJECTS
- See Also:
-
ATTR_BENUTZER
- See Also:
-
ATTR_LDAP_GROUPS
- See Also:
-
COL_UUID
- See Also:
-
-
Constructor Details
-
BenutzerGruppe
public BenutzerGruppe()
-
-
Method Details
-
getId
-
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
-
getName
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
setName
-
getBeschreibung
- Specified by:
getBeschreibungin interfaceIDescriptionProviding
-
setBeschreibung
-
getDescription
- Specified by:
getDescriptionin interfaceIDescriptionProviding- Returns:
- A human-readable description for this object.
-
setDescription
-
getEditorProjekte
-
setEditorProjekte
-
addEditorProjekte
-
removeEditorProjekte
-
getVisibleProjects
-
setVisibleProjects
-
getClientAuthorizations
-
setClientAuthorizations
-
addDirectClientAuthorizations
-
getDirectClientAuthorizations
-
setDirectClientAuthorizations
public void setDirectClientAuthorizations(Set<DirectClientAuthorization> directClientAuthorizations) -
getIndirectClientAuthorizations
-
setIndirectClientAuthorizations
public void setIndirectClientAuthorizations(Set<IndirectClientAuthorization> indirectClientAuthorizations) -
addVisibleProject
-
removeVisibleProject
-
getAccessProjekte
-
setAccessProjekte
-
addAccessProjekte
-
removeAccessProjekte
-
getPostfaecher
Liefert eine die Liste aller zugeordneten Postfächer- Returns:
SetmitBenutzerGruppe-Elementen oder eine leeresSet
-
setPostfaecher
-
addPostfach
-
removePostfach
-
toString
- Overrides:
toStringin classAbstractLockableEntity
-
getBenutzer
Deprecated.UsegetDirectClientAuthorizations()orgetClientAuthorizations()instead.Liefert eine die Liste aller zugeordneten Benutzer- Returns:
SetmitBenutzerGruppe-Elementen oder eine leeresSet
-
setBenutzer
Deprecated.UsesetDirectClientAuthorizations(Set)instead. -
getLdapGroups
Deprecated.UsegetIndirectClientAuthorizations()orgetClientAuthorizations()instead. -
setLdapGroups
Deprecated.UsesetIndirectClientAuthorizations(Set)instead. -
addLdapGroup
Deprecated.UsesetIndirectClientAuthorizations(Set)instead. -
removeLdapGroup
Deprecated.UsesetIndirectClientAuthorizations(Set)instead. -
addBenutzer
Deprecated.UsesetDirectClientAuthorizations(Set)instead. -
removeBenutzer
Deprecated.UsesetDirectClientAuthorizations(Set)instead.
-
setDirectClientAuthorizations(Set)instead.