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 verschiedeneBenutzer
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_ACCESSPROJEKTE
static String
ATTR_BENUTZER
static String
ATTR_BESCHREIBUNG
static String
ATTR_EDITORPROJEKTE
static String
ATTR_LDAP_GROUPS
static String
ATTR_NAME
static String
ATTR_POSTFAECHER
static String
ATTR_VISIBLE_PROJECTS
static String
COL_UUID
-
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.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 Constructor Description BenutzerGruppe()
-
Method Summary
-
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
-
-
-
-
Field Detail
-
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
-
ATTR_BESCHREIBUNG
public static final String ATTR_BESCHREIBUNG
- See Also:
- Constant Field Values
-
ATTR_POSTFAECHER
public static final String ATTR_POSTFAECHER
- See Also:
- Constant Field Values
-
ATTR_EDITORPROJEKTE
public static final String ATTR_EDITORPROJEKTE
- See Also:
- Constant Field Values
-
ATTR_ACCESSPROJEKTE
public static final String ATTR_ACCESSPROJEKTE
- See Also:
- Constant Field Values
-
ATTR_VISIBLE_PROJECTS
public static final String ATTR_VISIBLE_PROJECTS
- See Also:
- Constant Field Values
-
ATTR_BENUTZER
public static final String ATTR_BENUTZER
- See Also:
- Constant Field Values
-
ATTR_LDAP_GROUPS
public static final String ATTR_LDAP_GROUPS
- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUUID
public String 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
public void setUUID(String uuid)
- Specified by:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
public UUID getUUIDObject()
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
getName
public String getName()
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
public void setName(String name)
-
getBeschreibung
public String getBeschreibung()
- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
public void setBeschreibung(String beschreibung)
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceIDescriptionProviding
- Returns:
- A human-readable description for this object.
-
setDescription
public void setDescription(String description)
-
getEditorProjekte
public List<Projekt> getEditorProjekte()
Liefert eine die Liste aller zugeordneten Editor-Projekte
-
addEditorProjekte
public void addEditorProjekte(Projekt projekt)
-
removeEditorProjekte
public void removeEditorProjekte(Projekt projekt)
-
getClientAuthorizations
public List<IClientAuthorization> getClientAuthorizations()
-
setClientAuthorizations
public void setClientAuthorizations(List<IClientAuthorization> authorizations)
-
addDirectClientAuthorizations
public void addDirectClientAuthorizations(DirectClientAuthorization directClientAuthorization)
-
getDirectClientAuthorizations
public Set<DirectClientAuthorization> getDirectClientAuthorizations()
-
setDirectClientAuthorizations
public void setDirectClientAuthorizations(Set<DirectClientAuthorization> directClientAuthorizations)
-
getIndirectClientAuthorizations
public Set<IndirectClientAuthorization> getIndirectClientAuthorizations()
-
setIndirectClientAuthorizations
public void setIndirectClientAuthorizations(Set<IndirectClientAuthorization> indirectClientAuthorizations)
-
addVisibleProject
public void addVisibleProject(Projekt project)
-
removeVisibleProject
public void removeVisibleProject(Projekt project)
-
getAccessProjekte
public List<Projekt> getAccessProjekte()
Liefert eine die Liste aller zugeordneten Zugriffs-Projekte
-
addAccessProjekte
public void addAccessProjekte(Projekt projekt)
-
removeAccessProjekte
public void removeAccessProjekte(Projekt projekt)
-
getPostfaecher
public List<Postfach> getPostfaecher()
Liefert eine die Liste aller zugeordneten Postfächer- Returns:
Set
mitBenutzerGruppe
-Elementen oder eine leeresSet
-
addPostfach
public void addPostfach(Postfach postfach)
-
removePostfach
public void removePostfach(Postfach postfach)
-
toString
public String toString()
- Overrides:
toString
in classAbstractLockableEntity
-
getBenutzer
@Deprecated public List<Benutzer> getBenutzer()
Deprecated.UsegetDirectClientAuthorizations()
orgetClientAuthorizations()
instead.Liefert eine die Liste aller zugeordneten Benutzer- Returns:
Set
mitBenutzerGruppe
-Elementen oder eine leeresSet
-
setBenutzer
@Deprecated public void setBenutzer(List<Benutzer> benutzer)
Deprecated.UsesetDirectClientAuthorizations(Set)
instead.
-
getLdapGroups
@Deprecated public List<LDAPGruppe> getLdapGroups()
Deprecated.UsegetIndirectClientAuthorizations()
orgetClientAuthorizations()
instead.
-
setLdapGroups
@Deprecated public void setLdapGroups(List<LDAPGruppe> ldapGroups)
Deprecated.UsesetIndirectClientAuthorizations(Set)
instead.
-
addLdapGroup
@Deprecated public void addLdapGroup(LDAPGruppe ldapGroup)
Deprecated.UsesetIndirectClientAuthorizations(Set)
instead.
-
removeLdapGroup
@Deprecated public void removeLdapGroup(LDAPGruppe ldapGroup)
Deprecated.UsesetIndirectClientAuthorizations(Set)
instead.
-
addBenutzer
@Deprecated public void addBenutzer(Benutzer benutzer)
Deprecated.UsesetDirectClientAuthorizations(Set)
instead.
-
removeBenutzer
@Deprecated public void removeBenutzer(Benutzer benutzer)
Deprecated.UsesetDirectClientAuthorizations(Set)
instead.
-
-