public interface IBenutzerGruppeDao extends IMandantDependentBaseDao<BenutzerGruppe>
Modifier and Type | Method and Description |
---|---|
String |
findUniqueName(IEntityContext ec,
Mandant client,
String candidate,
BenutzerGruppe exclude)
Returns a name that is not taken by another
BenutzerGruppe 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 project
|
Map<String,BenutzerGruppe> |
getBenutzerGruppeByMandant(IEntityContext ec,
Mandant mandant) |
BenutzerGruppe |
getByUUID(IEntityContext ec,
Mandant client,
String uuid)
Returns the user group with the given UUID string
|
BenutzerGruppe |
getByUUID(IEntityContext ec,
Mandant client,
UUID uuid)
Returns the user group with the given UUID
|
boolean |
isNameExisiting(IEntityContext ec,
Mandant client,
String name)
Returns whether or not the given user group name exists within the given client
|
getEntityRefs, read
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
Map<String,BenutzerGruppe> getBenutzerGruppeByMandant(IEntityContext ec, Mandant mandant)
List<BenutzerGruppe> getAllByProject(IEntityContext ec, Projekt project)
ec
- IEntityContext
to be usedproject
- Projekt
project to search for user groupsList
of BenutzerGruppe
s that are being referenced by the projectBenutzerGruppe getByUUID(IEntityContext ec, Mandant client, String uuid)
ec
- IEntityContext
to useclient
- Mandant
context in which to look for user groupuuid
- String
UUID string of the user groupBenutzerGruppe
for the given UUID and clientBenutzerGruppe getByUUID(IEntityContext ec, Mandant client, UUID uuid)
ec
- IEntityContext
to useclient
- Mandant
context in which to look for user groupuuid
- UUID
UUID of the user groupBenutzerGruppe
for the given UUID and clientString findUniqueName(IEntityContext ec, Mandant client, String candidate, BenutzerGruppe exclude)
BenutzerGruppe
in the given client other than the excluded user
group. An index will be added to the candidate if necessary.ec
- IEntityContext
to be usedclient
- Mandant
for which a unique user group name should be generatedcandidate
- String
user group name candiate to be made uniqueexclude
- BenutzerGruppe
user group to be excluded from searchboolean isNameExisiting(IEntityContext ec, Mandant client, String name)
ec
- IEntityContext
to be usedclient
- Mandant
for which to check uniquenesscandidate
- String
user group name to checkCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.