public class AttachmentHandler extends GenericHandler implements IAttachmentHandler
LOG
Constructor and Description |
---|
AttachmentHandler() |
Modifier and Type | Method and Description |
---|---|
Attachment |
createByUser(UserContext uc,
String username,
Attachment attachment) |
boolean |
deleteByUser(UserContext uc,
String username,
boolean force,
Attachment... attachments) |
List<Attachment> |
getAllBy(UserContext uc,
Vorgang vorgang,
EAttachmentSource source,
String uuid) |
byte[] |
getAllZipped(UserContext uc,
String prozessID) |
Attachment |
getByName(UserContext uc,
Vorgang vorgang,
String name) |
Attachment |
getByUUID(UserContext uc,
String uuid) |
Attachment |
getByUUID(UserContext uc,
String uuid,
Vorgang v) |
Attachment |
updateByUser(UserContext uc,
String username,
String oldFileName,
Attachment attachment) |
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
getName
public boolean deleteByUser(UserContext uc, String username, boolean force, Attachment... attachments)
deleteByUser
in interface IAttachmentHandler
public List<Attachment> getAllBy(UserContext uc, Vorgang vorgang, EAttachmentSource source, String uuid)
getAllBy
in interface IAttachmentHandler
public byte[] getAllZipped(UserContext uc, String prozessID) throws IOException
getAllZipped
in interface IAttachmentHandler
IOException
public Attachment getByUUID(UserContext uc, String uuid)
getByUUID
in interface IAttachmentHandler
public Attachment getByUUID(UserContext uc, String uuid, Vorgang v)
getByUUID
in interface IAttachmentHandler
public Attachment getByName(UserContext uc, Vorgang vorgang, String name)
getByName
in interface IAttachmentHandler
public Attachment createByUser(UserContext uc, String username, Attachment attachment)
createByUser
in interface IAttachmentHandler
public Attachment updateByUser(UserContext uc, String username, String oldFileName, Attachment attachment)
updateByUser
in interface IAttachmentHandler
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.