Package de.xima.fc.dao.interfaces
Interface IMandantDao
- 
- All Superinterfaces:
 de.xima.cmn.dao.interfaces.IAbstractDao<Mandant,Long,IEntityContext>,IGenericDao<Mandant>
- All Known Implementing Classes:
 MandantDao
public interface IMandantDao extends IGenericDao<Mandant>
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Mandant>getAllByName(IEntityContext ec, String name)Method for determining allclientsby its name (case insensitive).MandantgetByUUID(IEntityContext ec, String uuid)Returns the client with the given UUIDMandantgetByUUID(IEntityContext ec, UUID uuid)Returns the client with the given UUIDLicenseDataSnapshotgetLicenseDataSnapshot(IEntityContext ec, Mandant client)longgetUsedFileSize(IEntityContext ec, Mandant mandant)booleanisCreationAllowed(IEntityContext ec, Mandant mandant)MandantreadByName(IEntityContext ec, String name)Method for determining aclientsby its name (case insensitive).- 
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update 
- 
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read 
 - 
 
 - 
 
- 
- 
Method Detail
- 
isCreationAllowed
boolean isCreationAllowed(IEntityContext ec, Mandant mandant)
 
- 
readByName
Mandant readByName(IEntityContext ec, String name)
Method for determining aclientsby its name (case insensitive).- Parameters:
 ec- Entity context to use for accessing the database.name- The name of the client to search for (case insensitive).- Returns:
 - The client with the given name, or 
nullif no such client exists. 
 
- 
getAllByName
List<Mandant> getAllByName(IEntityContext ec, String name)
Method for determining allclientsby its name (case insensitive).- Parameters:
 ec- Entity context to use for accessing the database.name- The name of the client to search for (case insensitive).- Returns:
 - All clients with the given name, never 
null. - Since:
 - 6.0.1
 
 
- 
getByUUID
Mandant getByUUID(IEntityContext ec, String uuid)
Returns the client with the given UUID- Parameters:
 ec- Entity context to use for accessing the database.uuid-StringUUID of the client- Returns:
 - The client with the given UUID, or 
nullwhen no such client exists. 
 
- 
getByUUID
Mandant getByUUID(IEntityContext ec, UUID uuid)
Returns the client with the given UUID- Parameters:
 ec- Entity context to use for accessing the database.uuid- UUID of the client- Returns:
 Mandantfor the given UUID- Since:
 - 6.1.0
 
 
- 
getUsedFileSize
long getUsedFileSize(IEntityContext ec, Mandant mandant)
 
- 
getLicenseDataSnapshot
LicenseDataSnapshot getLicenseDataSnapshot(IEntityContext ec, Mandant client)
 
 - 
 
 -