Package de.xima.fc.entities
Class BenutzerGruppe
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.AbstractMandantDependentEntity
-
- de.xima.fc.entities.BenutzerGruppe
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,IDescriptionProviding,IMandantDependent,INameProviding,ITransferable,ITransferableEntity,ITransferableLockableEntity,IUUIDEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class BenutzerGruppe extends AbstractMandantDependentEntity implements INameProviding, IDescriptionProviding, IUUIDEntity
Diese Entität bildet ein Guppensystem ab, dem verschiedeneBenutzerzugeordnet 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 StringATTR_ACCESSPROJEKTEstatic StringATTR_BENUTZERstatic StringATTR_BESCHREIBUNGstatic StringATTR_EDITORPROJEKTEstatic StringATTR_LDAP_GROUPSstatic StringATTR_NAMEstatic StringATTR_POSTFAECHERstatic StringATTR_VISIBLE_PROJECTSstatic StringCOL_UUID-
Fields inherited from class de.xima.fc.entities.AbstractMandantDependentEntity
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.AbstractMandantDependentEntity
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.fc.entities.interfaces.IDescriptionProviding
getDescription
-
-
-
-
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:
getUUIDin 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:
setUUIDin interfaceIUUIDEntity
-
getUUIDObject
public UUID getUUIDObject()
- Specified by:
getUUIDObjectin interfaceIUUIDEntity
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
getName
public String getName()
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
setName
public void setName(String name)
-
getBeschreibung
public String getBeschreibung()
- Specified by:
getBeschreibungin interfaceIDescriptionProviding
-
setBeschreibung
public void setBeschreibung(String beschreibung)
-
getBenutzer
public List<Benutzer> getBenutzer()
Liefert eine die Liste aller zugeordneten Benutzer- Returns:
SetmitBenutzerGruppe-Elementen oder eine leeresSet
-
getLdapGroups
public List<LDAPGruppe> getLdapGroups()
-
setLdapGroups
public void setLdapGroups(List<LDAPGruppe> ldapGroups)
-
addLdapGroup
public void addLdapGroup(LDAPGruppe ldapGroup)
-
removeLdapGroup
public void removeLdapGroup(LDAPGruppe ldapGroup)
-
addBenutzer
public void addBenutzer(Benutzer benutzer)
-
removeBenutzer
public void removeBenutzer(Benutzer benutzer)
-
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)
-
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:
SetmitBenutzerGruppe-Elementen oder eine leeresSet
-
addPostfach
public void addPostfach(Postfach postfach)
-
removePostfach
public void removePostfach(Postfach postfach)
-
toString
public String toString()
- Overrides:
toStringin classAbstractLockableEntity
-
-