Package de.xima.fc.entities
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 String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
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.IDescriptionProviding
ATTR_DESCRIPTION, COL_DESCRIPTION
Fields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
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
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, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAccessProjekte
(Projekt projekt) void
addBenutzer
(Benutzer benutzer) Deprecated.void
addDirectClientAuthorizations
(DirectClientAuthorization directClientAuthorization) void
addEditorProjekte
(Projekt projekt) void
addLdapGroup
(LDAPGruppe ldapGroup) Deprecated.UsesetIndirectClientAuthorizations(Set)
instead.void
addPostfach
(Postfach postfach) void
addVisibleProject
(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()
void
removeAccessProjekte
(Projekt projekt) void
removeBenutzer
(Benutzer benutzer) Deprecated.UsesetDirectClientAuthorizations(Set)
instead.void
removeEditorProjekte
(Projekt projekt) void
removeLdapGroup
(LDAPGruppe ldapGroup) Deprecated.UsesetIndirectClientAuthorizations(Set)
instead.void
removePostfach
(Postfach postfach) void
removeVisibleProject
(Projekt project) void
setAccessProjekte
(List<Projekt> projekte) void
setBenutzer
(List<Benutzer> benutzer) Deprecated.UsesetDirectClientAuthorizations(Set)
instead.void
setBeschreibung
(String beschreibung) void
setClientAuthorizations
(List<IClientAuthorization> authorizations) void
setDescription
(String description) void
setDirectClientAuthorizations
(Set<DirectClientAuthorization> directClientAuthorizations) void
setEditorProjekte
(List<Projekt> projekte) void
setIndirectClientAuthorizations
(Set<IndirectClientAuthorization> indirectClientAuthorizations) void
setLdapGroups
(List<LDAPGruppe> ldapGroups) Deprecated.UsesetIndirectClientAuthorizations(Set)
instead.void
void
setPostfaecher
(List<Postfach> postfaecher) void
void
setUUIDObject
(UUID uuid) void
setVisibleProjects
(List<Projekt> projects) toString()
Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandant
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, 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.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
- Specified by:
getId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getUUID
- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a
context, e.g.
Mandant
,Projekt
, ...
-
setUUID
- Specified by:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
-
getName
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
-
getBeschreibung
- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
-
getDescription
- Specified by:
getDescription
in interfaceIDescriptionProviding
- Returns:
- A human-readable description for this object.
-
setDescription
-
getEditorProjekte
Liefert eine die Liste aller zugeordneten Editor-Projekte -
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
Liefert eine die Liste aller zugeordneten Zugriffs-Projekte -
setAccessProjekte
-
addAccessProjekte
-
removeAccessProjekte
-
getPostfaecher
Liefert eine die Liste aller zugeordneten Postfächer- Returns:
Set
mitBenutzerGruppe
-Elementen oder eine leeresSet
-
setPostfaecher
-
addPostfach
-
removePostfach
-
toString
- Overrides:
toString
in classAbstractLockableEntity
-
getBenutzer
Deprecated.UsegetDirectClientAuthorizations()
orgetClientAuthorizations()
instead.Liefert eine die Liste aller zugeordneten Benutzer- Returns:
Set
mitBenutzerGruppe
-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.