Package de.xima.fc.dao.impl
Class MandantDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<Mandant>
-
- de.xima.fc.dao.impl.MandantDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Mandant,Long,IEntityContext>
,IGenericDao<Mandant>
,IMandantDao
public class MandantDao extends GenericDao<Mandant> implements IMandantDao
-
-
Constructor Summary
Constructors Constructor Description MandantDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Mandant>
getAllByName(IEntityContext ec, String name)
Method for determining allMandant
s by name (case insensitive).Mandant
getByUUID(IEntityContext ec, String uuid)
Returns the client with the given UUIDMandant
getByUUID(IEntityContext ec, UUID uuid)
Returns the client with the given UUIDLicenseDataSnapshot
getLicenseDataSnapshot(IEntityContext ec, Mandant client)
protected IFCDaoActionHook<Mandant>
getPostActionHook()
protected IFCDaoActionHook<Mandant>
getPreActionHook()
long
getUsedFileSize(IEntityContext ec, Mandant mandant)
boolean
isCreationAllowed(IEntityContext ec, Mandant mandant)
Mandant
readByName(IEntityContext ec, String name)
Method for determining aMandant
by his name (case insensitive).-
Methods inherited from class de.xima.fc.dao.impl.GenericDao
getEntityRefs, read
-
Methods inherited from class de.xima.cmn.dao.AbstractDao
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
getEntityRefs, read
-
-
-
-
Method Detail
-
isCreationAllowed
public boolean isCreationAllowed(IEntityContext ec, Mandant mandant)
- Specified by:
isCreationAllowed
in interfaceIMandantDao
-
getLicenseDataSnapshot
public LicenseDataSnapshot getLicenseDataSnapshot(IEntityContext ec, Mandant client)
- Specified by:
getLicenseDataSnapshot
in interfaceIMandantDao
-
readByName
public Mandant readByName(IEntityContext ec, String name)
Description copied from interface:IMandantDao
Method for determining aMandant
by his name (case insensitive).- Specified by:
readByName
in interfaceIMandantDao
- Parameters:
ec
-EntityContext
in which the action is to be performed.name
-String
the name of theMandant
(case insensitive).- Returns:
Mandant
which was searched.
-
getAllByName
public List<Mandant> getAllByName(IEntityContext ec, String name)
Description copied from interface:IMandantDao
Method for determining allMandant
s by name (case insensitive).- Specified by:
getAllByName
in interfaceIMandantDao
- Parameters:
ec
-EntityContext
in which the action is to be performed.name
-String
the name which is to searched (case insensitive).- Returns:
List
ofMandant
which were found.
-
getByUUID
public Mandant getByUUID(IEntityContext ec, String uuid)
Description copied from interface:IMandantDao
Returns the client with the given UUID- Specified by:
getByUUID
in interfaceIMandantDao
- Parameters:
ec
-IEntityContext
to useuuid
-String
UUID of the client- Returns:
Mandant
for the given UUID
-
getByUUID
public Mandant getByUUID(IEntityContext ec, UUID uuid)
Description copied from interface:IMandantDao
Returns the client with the given UUID- Specified by:
getByUUID
in interfaceIMandantDao
- Parameters:
ec
-IEntityContext
to useuuid
-UUID
UUID of the client- Returns:
Mandant
for the given UUID
-
getPreActionHook
protected IFCDaoActionHook<Mandant> getPreActionHook()
- Overrides:
getPreActionHook
in classGenericDao<Mandant>
-
getPostActionHook
protected IFCDaoActionHook<Mandant> getPostActionHook()
- Overrides:
getPostActionHook
in classGenericDao<Mandant>
-
getUsedFileSize
public long getUsedFileSize(IEntityContext ec, Mandant mandant)
- Specified by:
getUsedFileSize
in interfaceIMandantDao
-
-