Class MandantHandler
java.lang.Object
de.xima.fc.handler.AMSApiHandler
de.xima.fc.handler.entity.GenericHandler
de.xima.fc.handler.entity.MandantHandler
- All Implemented Interfaces:
IAPIHandler, IGenericHandler, IMandantHandler, Serializable
- See Also:
-
Field Summary
Fields inherited from class GenericHandler
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllByName(UserContext uc, String name) Method for determining allMandants by name (case insensitive).getByName(UserContext uc, String name) Method for determining aMandantby his name (case insensitive).getByUUID(UserContext uc, String uuid) getByUUID(UserContext uc, UUID uuid) getCustomAttributes(UserContext uc, Mandant client) Gets the custom properties of this client.booleanisCreationAllowed(UserContext uc, Mandant mandant) voidupdateClientLastUserLogin(Collection<Mandant> clients) Methods inherited from class GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, updateMethods inherited from class AMSApiHandler
getNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAPIHandler
getNameMethods inherited from interface IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Constructor Details
-
MandantHandler
public MandantHandler()
-
-
Method Details
-
getByName
Description copied from interface:IMandantHandlerMethod for determining aMandantby his name (case insensitive).- Specified by:
getByNamein interfaceIMandantHandler- Parameters:
uc-UserContextthe user context in which the action is to be performed.name-Stringthe name of theMandant(case insensitive).- Returns:
Mandantwhich was searched.
-
getAllByName
Description copied from interface:IMandantHandlerMethod for determining allMandants by name (case insensitive).- Specified by:
getAllByNamein interfaceIMandantHandler- Parameters:
uc-UserContextthe user context in which the action is to be performed.name-Stringthe name which is to searched (case insensitive).- Returns:
ListofMandantwhich were found.
-
getCustomAttributes
Description copied from interface:IMandantHandlerGets the custom properties of this client. This method is needed when the map of the custom properties hasn't yet been initialized.- Specified by:
getCustomAttributesin interfaceIMandantHandler- Parameters:
uc- User context for database transactions.client- the client to get the custom properties for.- Returns:
- a map of all the custom properties of the client.
-
isCreationAllowed
- Specified by:
isCreationAllowedin interfaceIMandantHandler
-
getByUUID
- Specified by:
getByUUIDin interfaceIMandantHandler
-
getByUUID
- Specified by:
getByUUIDin interfaceIMandantHandler
-
updateClientLastUserLogin
- Specified by:
updateClientLastUserLoginin interfaceIMandantHandler
-