Package de.xima.fc.handler.entity
Class RolleHandler
- java.lang.Object
-
- de.xima.fc.handler.AMSApiHandler
-
- de.xima.fc.handler.entity.GenericHandler
-
- de.xima.fc.handler.entity.RolleHandler
-
- All Implemented Interfaces:
IAPIHandler
,IGenericHandler
,IRolleHandler
,Serializable
public class RolleHandler extends GenericHandler implements IRolleHandler
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description RolleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rolle
addModulToRolle(UserContext uc, Rolle rolle, Modul newModul)
Rolle
getAdminRolle(UserContext uc, Mandant mandant)
Rolle
getByUUID(UserContext uc, Mandant client, String uuid)
Returns the role with the given UUIDRolle
getByUUID(UserContext uc, Mandant client, UUID uuid)
Returns the role with the given UUIDList<Rolle>
getRollenByModul(UserContext uc, Modul modul)
-
Methods inherited from class de.xima.fc.handler.entity.GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
-
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
-
-
-
Method Detail
-
getRollenByModul
public List<Rolle> getRollenByModul(UserContext uc, Modul modul)
- Specified by:
getRollenByModul
in interfaceIRolleHandler
-
getAdminRolle
public Rolle getAdminRolle(UserContext uc, Mandant mandant)
- Specified by:
getAdminRolle
in interfaceIRolleHandler
-
getByUUID
public Rolle getByUUID(UserContext uc, Mandant client, String uuid)
Description copied from interface:IRolleHandler
Returns the role with the given UUID- Specified by:
getByUUID
in interfaceIRolleHandler
- 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
-
getByUUID
public Rolle getByUUID(UserContext uc, Mandant client, UUID uuid)
Description copied from interface:IRolleHandler
Returns the role with the given UUID- Specified by:
getByUUID
in interfaceIRolleHandler
- 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
-
addModulToRolle
public Rolle addModulToRolle(UserContext uc, Rolle rolle, Modul newModul)
- Specified by:
addModulToRolle
in interfaceIRolleHandler
-
-