public class MandantRessourceDao extends MandantDependentBaseDao<MandantRessource> implements IMandantRessourceDao
Constructor and Description |
---|
MandantRessourceDao() |
Modifier and Type | Method and Description |
---|---|
MandantRessource |
create(IEntityContext ec,
String name,
byte[] daten,
String userName,
String fileName,
Mandant mandant) |
MandantRessource |
create(IEntityContext ec,
String name,
byte[] daten,
String userName,
String fileName,
String resourceDescription,
Mandant mandant) |
List<MandantRessource> |
getAllByMandant(Mandant mandant,
IEntityContext ec) |
MandantRessource |
getByName(Mandant mandant,
String name,
IEntityContext ec) |
Set<de.xima.cmn.dao.interfaces.IEntity<Long>> |
getEntityRefs(IEntityContext ec,
MandantRessource resource) |
protected IFCDaoActionHook<MandantRessource> |
getPostActionHook() |
protected IFCDaoActionHook<MandantRessource> |
getPreActionHook() |
long |
getUsedFileSize(IEntityContext ec,
Mandant mandant) |
MandantRessource |
update(IEntityContext ec,
byte[] daten,
String userName,
String fileName,
MandantRessource res) |
read
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, read, registerListener, registerListener, resultTotalCount, singleElement, unregisterListener, unregisterListener, update, update
public Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, MandantRessource resource)
getEntityRefs
in interface IGenericDao<MandantRessource>
getEntityRefs
in class GenericDao<MandantRessource>
public MandantRessource getByName(Mandant mandant, String name, IEntityContext ec)
getByName
in interface IMandantRessourceDao
public List<MandantRessource> getAllByMandant(Mandant mandant, IEntityContext ec)
getAllByMandant
in interface IMandantRessourceDao
protected IFCDaoActionHook<MandantRessource> getPreActionHook()
getPreActionHook
in class GenericDao<MandantRessource>
protected IFCDaoActionHook<MandantRessource> getPostActionHook()
getPostActionHook
in class GenericDao<MandantRessource>
public MandantRessource create(IEntityContext ec, String name, byte[] daten, String userName, String fileName, String resourceDescription, Mandant mandant)
create
in interface IMandantRessourceDao
public MandantRessource create(IEntityContext ec, String name, byte[] daten, String userName, String fileName, Mandant mandant)
create
in interface IMandantRessourceDao
public MandantRessource update(IEntityContext ec, byte[] daten, String userName, String fileName, MandantRessource res)
update
in interface IMandantRessourceDao
public long getUsedFileSize(IEntityContext ec, Mandant mandant)
getUsedFileSize
in interface IMandantRessourceDao
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.