Package de.xima.fc.api.entity
Class BenutzerGruppeAPI
API class for manipulation of
BenutzerGruppe
entities.- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getByBenutzer
(UserContext uc, Benutzer benutzer) Deprecated.getByMandant
(UserContext uc, Mandant mandant) Method for determining allBenutzerGruppe
of aMandant
.getByProjekt
(UserContext uc, Projekt projekt) Method for determining allBenutzerGruppe
of aProjekt
.getByUUID
(UserContext uc, Mandant client, String uuid) Returns the user group with the given UUID stringgetByUUID
(UserContext uc, Mandant client, UUID uuid) Returns the user group with the given UUIDgetEditorgruppenByProjekt
(UserContext uc, Projekt projekt) Method for determining allBenutzerGruppe
of aProjekt
.Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
BenutzerGruppeAPI
public BenutzerGruppeAPI()
-
-
Method Details
-
getByProjekt
Method for determining allBenutzerGruppe
of aProjekt
. This must be used in the Frontend-Server to pick up the lazy-initialized list of theBenutzerGruppe
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.projekt
-Projekt
for which theBenutzerGruppe
to be determined.- Returns:
List
ofBenutzerGruppe
.- Since:
- 2.4.3
-
getEditorgruppenByProjekt
Method for determining allBenutzerGruppe
of aProjekt
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.projekt
-Projekt
for which theBenutzerGruppe
to be determined.- Returns:
List
ofBenutzerGruppe
.
-
getBenutzerGruppenUsageRightByStatus
@Deprecated public List<BenutzerGruppe> getBenutzerGruppenUsageRightByStatus(UserContext uc, Status state) Deprecated.Method for finding allStatus.getBenutzerGruppenUsageRight()
for a given state.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.state
- The state for which to retrieve the allowed user groups.- Returns:
- All user groups whose users are allowed to perform a state change to the given state.
-
getByBenutzer
Deprecated.Method for determining allBenutzerGruppe
of aBenutzer
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.benutzer
-Benutzer
for which theBenutzerGruppe
to be determined.- Returns:
List
ofBenutzerGruppe
.
-
getByMandant
Method for determining allBenutzerGruppe
of aMandant
. This must be used in the Frontend-Server to pick up the lazy-initialized list of theBenutzerGruppe
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.mandant
-Mandant
for which theBenutzerGruppe
to be determined.- Returns:
List
ofBenutzerGruppe
.- Since:
- 2.4.3
-
getByUUID
Returns the user group with the given UUID string- Parameters:
uc
-UserContext
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.x.x
-
getByUUID
Returns the user group with the given UUID- Parameters:
uc
-UserContext
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.x.x
-