public interface IMandantRessourceDao extends IGenericDao<MandantRessource>
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) |
List<MandantRessource> |
getAllByProject(IEntityContext ec,
Projekt project)
Returns all client resources that are being used by the given project
|
MandantRessource |
getByName(Mandant mandant,
String name,
IEntityContext ec) |
MandantRessource |
getByUUID(IEntityContext ec,
Mandant client,
String uuid)
Returns the client resource for the given UUID string and client
|
MandantRessource |
getByUUID(IEntityContext ec,
Mandant client,
UUID uuid)
Returns the client resource for the given UUID and client
|
long |
getUsedFileSize(IEntityContext ec,
Mandant mandant) |
MandantRessource |
update(IEntityContext ec,
byte[] daten,
String userName,
String fileName,
MandantRessource res) |
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, read, registerListener, registerListener, resultTotalCount, singleElement, unregisterListener, unregisterListener, update, update
MandantRessource getByName(Mandant mandant, String name, IEntityContext ec)
MandantRessource getByUUID(IEntityContext ec, Mandant client, String uuid)
ec
- IEntityContext
to useclient
- Mandant
context in which to look for resourceuuid
- String
UUID string of the resourceMandantRessource
for the given UUID and clientMandantRessource getByUUID(IEntityContext ec, Mandant client, UUID uuid)
ec
- IEntityContext
to useclient
- Mandant
context in which to look for resourceuuid
- UUID
UUID of the resourceMandantRessource
for the given UUID and clientList<MandantRessource> getAllByMandant(Mandant mandant, IEntityContext ec)
List<MandantRessource> getAllByProject(IEntityContext ec, Projekt project)
ec
- IEntityContext
to be usedproject
- Projekt
project to search for client resourcesList
of MandantRessource
s that are being used by the projectMandantRessource 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)
MandantRessource update(IEntityContext ec, byte[] daten, String userName, String fileName, MandantRessource res)
long getUsedFileSize(IEntityContext ec, Mandant mandant)
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.