public interface IProjektRessourceDao extends IGenericDao<ProjektRessource>
Modifier and Type | Method and Description |
---|---|
ProjektRessource |
create(IEntityContext ec,
String name,
byte[] daten,
String userName,
String fileName,
Mandant mandant,
Projekt projekt) |
ProjektRessource |
create(IEntityContext ec,
String name,
byte[] daten,
String userName,
String fileName,
String resourceDescription,
Mandant mandant,
Projekt projekt) |
List<ProjektRessource> |
getAllByProjekt(Projekt projekt,
IEntityContext ec) |
ProjektRessource |
getByName(Projekt projekt,
String name,
IEntityContext ec) |
ProjektRessource |
getByUUID(IEntityContext ec,
Projekt project,
String uuid)
Returns the project resource with the given UUID string
|
ProjektRessource |
getByUUID(IEntityContext ec,
Projekt project,
UUID uuid)
Returns the project resource with the given UUID
|
long |
getUsedFileSize(IEntityContext ec,
Mandant mandant) |
ProjektRessource |
update(IEntityContext ec,
byte[] daten,
String userName,
String fileName,
ProjektRessource res) |
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
ProjektRessource getByName(Projekt projekt, String name, IEntityContext ec)
ProjektRessource getByUUID(IEntityContext ec, Projekt project, String uuid)
ec
- IEntityContext
to useproject
- Projekt
context in which to look for resourceuuid
- String
UUID string of the resourceProjektRessource
for the given UUID and projectProjektRessource getByUUID(IEntityContext ec, Projekt project, UUID uuid)
ec
- IEntityContext
to useproject
- Projekt
context in which to look for resourceuuid
- UUID
UUID of the resourceProjektRessource
for the given UUID and projectList<ProjektRessource> getAllByProjekt(Projekt projekt, IEntityContext ec)
ProjektRessource create(IEntityContext ec, String name, byte[] daten, String userName, String fileName, Mandant mandant, Projekt projekt)
ProjektRessource create(IEntityContext ec, String name, byte[] daten, String userName, String fileName, String resourceDescription, Mandant mandant, Projekt projekt)
ProjektRessource update(IEntityContext ec, byte[] daten, String userName, String fileName, ProjektRessource res)
long getUsedFileSize(IEntityContext ec, Mandant mandant)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.