Package de.xima.fc.api.entity
Class BenutzerGruppeAPI
- java.lang.Object
-
- de.xima.fc.api.ASubAPI
-
- de.xima.fc.api.entity.AEntityAPI<BenutzerGruppe>
-
- de.xima.fc.api.entity.BenutzerGruppeAPI
-
public class BenutzerGruppeAPI extends AEntityAPI<BenutzerGruppe>
API class for manipulation ofBenutzerGruppeentities.- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
-
Constructor Summary
Constructors Constructor Description BenutzerGruppeAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<BenutzerGruppe>getBenutzerGruppenUsageRightByStatus(UserContext uc, Status state)Deprecated.List<BenutzerGruppe>getByBenutzer(UserContext uc, Benutzer benutzer)Deprecated.List<BenutzerGruppe>getByMandant(UserContext uc, Mandant mandant)Method for determining allBenutzerGruppeof aMandant.List<BenutzerGruppe>getByProjekt(UserContext uc, Projekt projekt)Method for determining allBenutzerGruppeof aProjekt.BenutzerGruppegetByUUID(UserContext uc, Mandant client, String uuid)Returns the user group with the given UUID stringBenutzerGruppegetByUUID(UserContext uc, Mandant client, UUID uuid)Returns the user group with the given UUIDList<BenutzerGruppe>getEditorgruppenByProjekt(UserContext uc, Projekt projekt)Method for determining allBenutzerGruppeof 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
-
-
-
-
Method Detail
-
getByProjekt
public List<BenutzerGruppe> getByProjekt(UserContext uc, Projekt projekt)
Method for determining allBenutzerGruppeof aProjekt. This must be used in the Frontend-Server to pick up the lazy-initialized list of theBenutzerGruppe.- Parameters:
uc-UserContextthe user context in which the action is to be performed.projekt-Projektfor which theBenutzerGruppeto be determined.- Returns:
ListofBenutzerGruppe.- Since:
- 2.4.3
-
getEditorgruppenByProjekt
public List<BenutzerGruppe> getEditorgruppenByProjekt(UserContext uc, Projekt projekt)
Method for determining allBenutzerGruppeof aProjekt.- Parameters:
uc-UserContextthe user context in which the action is to be performed.projekt-Projektfor which theBenutzerGruppeto be determined.- Returns:
ListofBenutzerGruppe.
-
getBenutzerGruppenUsageRightByStatus
@Deprecated public List<BenutzerGruppe> getBenutzerGruppenUsageRightByStatus(UserContext uc, Status state)
Deprecated.Method for finding allStatus.getBenutzerGruppenUsageRight()for a given state.- Parameters:
uc-UserContextthe 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 public List<BenutzerGruppe> getByBenutzer(UserContext uc, Benutzer benutzer)
Deprecated.Method for determining allBenutzerGruppeof aBenutzer.- Parameters:
uc-UserContextthe user context in which the action is to be performed.benutzer-Benutzerfor which theBenutzerGruppeto be determined.- Returns:
ListofBenutzerGruppe.
-
getByMandant
public List<BenutzerGruppe> getByMandant(UserContext uc, Mandant mandant)
Method for determining allBenutzerGruppeof aMandant. This must be used in the Frontend-Server to pick up the lazy-initialized list of theBenutzerGruppe.- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant-Mandantfor which theBenutzerGruppeto be determined.- Returns:
ListofBenutzerGruppe.- Since:
- 2.4.3
-
getByUUID
public BenutzerGruppe getByUUID(UserContext uc, Mandant client, String uuid)
Returns the user group with the given UUID string- Parameters:
uc-UserContextto useclient-Mandantcontext in which to look for user groupuuid-StringUUID string of the user group- Returns:
BenutzerGruppefor the given UUID and client- Since:
- 6.x.x
-
getByUUID
public BenutzerGruppe getByUUID(UserContext uc, Mandant client, UUID uuid)
Returns the user group with the given UUID- Parameters:
uc-UserContextto useclient-Mandantcontext in which to look for user groupuuid-UUIDUUID of the user group- Returns:
BenutzerGruppefor the given UUID and client- Since:
- 6.x.x
-
-