Package de.xima.fc.api.entity
Class RolleAPI
API class for manipulation of
Rolle 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 TypeMethodDescriptionaddModulToRolle(UserContext uc, Rolle rolle, Modul newModul) Deprecated.getAdminRolle(UserContext uc, Mandant mandant) Method for determining a admin role of a client.getByUUID(UserContext uc, Mandant client, String uuid) Returns the role with the given UUIDgetByUUID(UserContext uc, Mandant client, UUID uuid) Returns the role with the given UUIDgetRollenByModul(UserContext uc, Modul modul) Deprecated.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, updateMethods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
RolleAPI
public RolleAPI()
-
-
Method Details
-
getRollenByModul
Deprecated.Method for determining all roles by a module.- Parameters:
uc-UserContextthe user context in which the action is to be performed.modul-Modulwhose roles are to be determined.- Returns:
ListofRolles which were found.- Since:
- 2.4.3
-
getAdminRolle
Method for determining a admin role of a client.- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant-Mandantwhose admin role is wanted.- Returns:
Rollethe client's admin.- Since:
- 2.4.3
-
getByUUID
Returns the role with the given UUID- Parameters:
uc-UserContextto useclient-Mandantcontext in which to look for roleuuid-StringUUID of the role- Returns:
Rollefor the given UUID and client- Since:
- 6.x.x
-
getByUUID
Returns the role with the given UUID- Parameters:
uc-UserContextto useclient-Mandantcontext in which to look for roleuuid-UUIDUUID of the role- Returns:
Rollefor the given UUID and client- Since:
- 6.x.x
-
addModulToRolle
Deprecated.Method for adding a module to a existing role.- Parameters:
uc-UserContextthe user context in which the action is to be performed.rolle-Rolleto which the module should be added.newModul-Modulwhich should be added.- Returns:
Rollewith the addedModul.- Since:
- 2.4.3
-