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 |
delete(UserContext uc,
Attachment... attachments)
Diese Methode git
true zurück damit die API-Methode einen boolean liefern kann |
boolean |
deleteByUser(UserContext uc,
String username,
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, getBy, getById, getById, getById, resultTotalCount, update, update
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getBy, getById, getById, getById, resultTotalCount, update, update
getName
public boolean delete(UserContext uc, Attachment... attachments)
true
zurück damit die API-Methode einen boolean liefern kanndelete
in interface IAttachmentHandler
public boolean deleteByUser(UserContext uc, String username, 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 © 2019 XIMA MEDIA GmbH. All rights reserved.