public class MandantDao extends GenericDao<Mandant> implements IMandantDao
Constructor and Description |
---|
MandantDao() |
Modifier and Type | Method and Description |
---|---|
List<Mandant> |
getAllByName(IEntityContext ec,
String name)
Method for determining all
Mandant s by name (case insensitive). |
Mandant |
getByUUID(IEntityContext ec,
String uuid)
Returns the client with the given UUID
|
Mandant |
getByUUID(IEntityContext ec,
UUID uuid)
Returns the client with the given UUID
|
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 a
Mandant by his name (case insensitive). |
getEntityRefs, read
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityRefs, read
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
public boolean isCreationAllowed(IEntityContext ec, Mandant mandant)
isCreationAllowed
in interface IMandantDao
public Mandant readByName(IEntityContext ec, String name)
IMandantDao
Mandant
by his name (case insensitive).readByName
in interface IMandantDao
ec
- EntityContext
in which the action is to be performed.name
- String
the name of the Mandant
(case insensitive).Mandant
which was searched.public List<Mandant> getAllByName(IEntityContext ec, String name)
IMandantDao
Mandant
s by name (case insensitive).getAllByName
in interface IMandantDao
ec
- EntityContext
in which the action is to be performed.name
- String
the name which is to searched (case insensitive).List
of Mandant
which were found.public Mandant getByUUID(IEntityContext ec, String uuid)
IMandantDao
getByUUID
in interface IMandantDao
ec
- IEntityContext
to useuuid
- String
UUID of the clientMandant
for the given UUIDpublic Mandant getByUUID(IEntityContext ec, UUID uuid)
IMandantDao
getByUUID
in interface IMandantDao
ec
- IEntityContext
to useuuid
- UUID
UUID of the clientMandant
for the given UUIDprotected IFCDaoActionHook<Mandant> getPreActionHook()
getPreActionHook
in class GenericDao<Mandant>
protected IFCDaoActionHook<Mandant> getPostActionHook()
getPostActionHook
in class GenericDao<Mandant>
public long getUsedFileSize(IEntityContext ec, Mandant mandant)
getUsedFileSize
in interface IMandantDao
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.