public class ProjektRessourceDao extends MandantDependentBaseDao<ProjektRessource> implements IProjektRessourceDao
Constructor and Description |
---|
ProjektRessourceDao() |
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
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 Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, ProjektRessource resource)
getEntityRefs
in interface IGenericDao<ProjektRessource>
getEntityRefs
in class GenericDao<ProjektRessource>
public ProjektRessource getByName(Projekt projekt, String name, IEntityContext ec)
getByName
in interface IProjektRessourceDao
public ProjektRessource getByUUID(IEntityContext ec, Projekt project, String uuid)
IProjektRessourceDao
getByUUID
in interface IProjektRessourceDao
ec
- IEntityContext
to useproject
- Projekt
context in which to look for resourceuuid
- String
UUID string of the resourceProjektRessource
for the given UUID and projectpublic ProjektRessource getByUUID(IEntityContext ec, Projekt project, UUID uuid)
IProjektRessourceDao
getByUUID
in interface IProjektRessourceDao
ec
- IEntityContext
to useproject
- Projekt
context in which to look for resourceuuid
- UUID
UUID of the resourceProjektRessource
for the given UUID and projectpublic List<ProjektRessource> getAllByProjekt(Projekt projekt, IEntityContext ec)
getAllByProjekt
in interface IProjektRessourceDao
protected IFCDaoActionHook<ProjektRessource> getPreActionHook()
getPreActionHook
in class GenericDao<ProjektRessource>
protected IFCDaoActionHook<ProjektRessource> getPostActionHook()
getPostActionHook
in class GenericDao<ProjektRessource>
public ProjektRessource create(IEntityContext ec, String name, byte[] daten, String userName, String fileName, String resourceDescription, Mandant mandant, Projekt projekt)
create
in interface IProjektRessourceDao
public ProjektRessource create(IEntityContext ec, String name, byte[] daten, String userName, String fileName, Mandant mandant, Projekt projekt)
create
in interface IProjektRessourceDao
public ProjektRessource update(IEntityContext ec, byte[] daten, String userName, String fileName, ProjektRessource res)
update
in interface IProjektRessourceDao
public long getUsedFileSize(IEntityContext ec, Mandant mandant)
getUsedFileSize
in interface IProjektRessourceDao
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.