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, update
Methods 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
-UserContext
the user context in which the action is to be performed.modul
-Modul
whose roles are to be determined.- Returns:
List
ofRolle
s which were found.- Since:
- 2.4.3
-
getAdminRolle
Method for determining a admin role of a client.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.mandant
-Mandant
whose admin role is wanted.- Returns:
Rolle
the client's admin.- Since:
- 2.4.3
-
getByUUID
Returns the role with the given UUID- Parameters:
uc
-UserContext
to useclient
-Mandant
context in which to look for roleuuid
-String
UUID of the role- Returns:
Rolle
for the given UUID and client- Since:
- 6.x.x
-
getByUUID
Returns the role with the given UUID- Parameters:
uc
-UserContext
to useclient
-Mandant
context in which to look for roleuuid
-UUID
UUID of the role- Returns:
Rolle
for the given UUID and client- Since:
- 6.x.x
-
addModulToRolle
Deprecated.Method for adding a module to a existing role.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.rolle
-Rolle
to which the module should be added.newModul
-Modul
which should be added.- Returns:
Rolle
with the addedModul
.- Since:
- 2.4.3
-