public class AttachmentDao extends GenericDao<Attachment> implements IAttachmentDao
Constructor and Description |
---|
AttachmentDao() |
Modifier and Type | Method and Description |
---|---|
void |
deleteByUser(IEntityContext ec,
String username,
Attachment... attachments) |
List<Attachment> |
getAllBy(IEntityContext ec,
Vorgang vorgang,
EAttachmentSource source,
String uuid) |
Attachment |
getByName(IEntityContext ec,
Vorgang vorgang,
String name) |
Attachment |
getByUUID(IEntityContext ec,
String uuid) |
Attachment |
getByUUID(IEntityContext ec,
String uuid,
Vorgang v) |
protected IFCDaoActionHook<Attachment> |
getPreActionHook() |
long |
getUsedFileSize(IEntityContext ec,
Mandant mandant) |
getEntityRefs, getPostActionHook, 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
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, read, registerListener, registerListener, resultTotalCount, singleElement, unregisterListener, unregisterListener, update, update
public List<Attachment> getAllBy(IEntityContext ec, Vorgang vorgang, EAttachmentSource source, String uuid)
getAllBy
in interface IAttachmentDao
public Attachment getByUUID(IEntityContext ec, String uuid, Vorgang v)
getByUUID
in interface IAttachmentDao
public Attachment getByName(IEntityContext ec, Vorgang vorgang, String name)
getByName
in interface IAttachmentDao
public Attachment getByUUID(IEntityContext ec, String uuid)
getByUUID
in interface IAttachmentDao
public void deleteByUser(IEntityContext ec, String username, Attachment... attachments)
deleteByUser
in interface IAttachmentDao
protected IFCDaoActionHook<Attachment> getPreActionHook()
getPreActionHook
in class GenericDao<Attachment>
public long getUsedFileSize(IEntityContext ec, Mandant mandant)
getUsedFileSize
in interface IAttachmentDao
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.