public class MandantRessourceDao extends MandantDependentBaseDao<MandantRessource> implements IMandantRessourceDao
| Constructor and Description |
|---|
MandantRessourceDao() |
readall, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadall, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getTransactionHandler, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updatepublic 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 IMandantRessourceDaopublic MandantRessource getByUUID(IEntityContext ec, Mandant client, String uuid)
IMandantRessourceDaogetByUUID in interface IMandantRessourceDaoec - IEntityContext to useclient - Mandant context in which to look for resourceuuid - String UUID string of the resourceMandantRessource for the given UUID and clientpublic MandantRessource getByUUID(IEntityContext ec, Mandant client, UUID uuid)
IMandantRessourceDaogetByUUID in interface IMandantRessourceDaoec - IEntityContext to useclient - Mandant context in which to look for resourceuuid - UUID UUID of the resourceMandantRessource for the given UUID and clientpublic List<MandantRessource> getAllByMandant(Mandant mandant, IEntityContext ec)
getAllByMandant in interface IMandantRessourceDaopublic List<MandantRessource> getAllByProject(IEntityContext ec, Projekt project)
IMandantRessourceDaogetAllByProject in interface IMandantRessourceDaoec - IEntityContext to be usedproject - Projekt project to search for client resourcesList of MandantRessources that are being used by the projectprotected 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 IMandantRessourceDaopublic MandantRessource create(IEntityContext ec, String name, byte[] daten, String userName, String fileName, Mandant mandant)
create in interface IMandantRessourceDaopublic MandantRessource update(IEntityContext ec, byte[] daten, String userName, String fileName, MandantRessource res)
update in interface IMandantRessourceDaopublic long getUsedFileSize(IEntityContext ec, Mandant mandant)
getUsedFileSize in interface IMandantRessourceDaoCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.