Package de.xima.fc.dao.interfaces
Interface IBenutzerGruppeDao
-
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<BenutzerGruppe,Long,IEntityContext>
,IGenericDao<BenutzerGruppe>
,IMandantDependentBaseDao<BenutzerGruppe>
- All Known Implementing Classes:
BenutzerGruppeDao
public interface IBenutzerGruppeDao extends IMandantDependentBaseDao<BenutzerGruppe>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
findUniqueName(IEntityContext ec, Mandant client, String candidate, BenutzerGruppe exclude)
Returns a name that is not taken by anotherBenutzerGruppe
in the given client other than the excluded user group.List<BenutzerGruppe>
getAllByProject(IEntityContext ec, Projekt project)
Returns all user groups being referenced by the given projectMap<String,BenutzerGruppe>
getBenutzerGruppeByMandant(IEntityContext ec, Mandant mandant)
BenutzerGruppe
getByUUID(IEntityContext ec, Mandant client, String uuid)
Returns the user group with the given UUID stringBenutzerGruppe
getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Returns the user group with the given UUIDboolean
isNameExisiting(IEntityContext ec, Mandant client, String name)
Returns whether or not the given user group name exists within the given client-
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
-
-
-
Method Detail
-
getBenutzerGruppeByMandant
Map<String,BenutzerGruppe> getBenutzerGruppeByMandant(IEntityContext ec, Mandant mandant)
-
getAllByProject
List<BenutzerGruppe> getAllByProject(IEntityContext ec, Projekt project)
Returns all user groups being referenced by the given project- Parameters:
ec
-IEntityContext
to be usedproject
-Projekt
project to search for user groups- Returns:
List
ofBenutzerGruppe
s that are being referenced by the project- Since:
- 6.x.x
-
getByUUID
BenutzerGruppe getByUUID(IEntityContext ec, Mandant client, String uuid)
Returns the user group with the given UUID string- Parameters:
ec
-IEntityContext
to useclient
-Mandant
context in which to look for user groupuuid
-String
UUID string of the user group- Returns:
BenutzerGruppe
for the given UUID and client- Since:
- 6.1.0
-
getByUUID
BenutzerGruppe getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Returns the user group with the given UUID- Parameters:
ec
-IEntityContext
to useclient
-Mandant
context in which to look for user groupuuid
-UUID
UUID of the user group- Returns:
BenutzerGruppe
for the given UUID and client- Since:
- 6.1.0
-
findUniqueName
String findUniqueName(IEntityContext ec, Mandant client, String candidate, BenutzerGruppe exclude)
Returns a name that is not taken by anotherBenutzerGruppe
in the given client other than the excluded user group. An index will be added to the candidate if necessary.- Parameters:
ec
-IEntityContext
to be usedclient
-Mandant
for which a unique user group name should be generatedcandidate
-String
user group name candidate to be made uniqueexclude
-BenutzerGruppe
user group to be excluded from search- Returns:
- unique user group name in the context of the given client
- Since:
- 6.6.0
-
isNameExisiting
boolean isNameExisiting(IEntityContext ec, Mandant client, String name)
Returns whether or not the given user group name exists within the given client- Parameters:
ec
-IEntityContext
to be usedclient
-Mandant
for which to check uniquenessname
- User group name to check- Returns:
- whether or not the given name is unique
- Since:
- 6.6.0
-
-