Package com.soffid.iam.bpm.attachment
Class AbstractAttachmentManager
java.lang.Object
com.soffid.iam.bpm.attachment.AbstractAttachmentManager
- Direct Known Subclasses:
AttachmentManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattach(String tag, DocumentReference documentReference) voidattach(String tag, DocumentService document) createDocument(String contentType, String originalName) voideliminarArchivo(String tag) getDocument(String tag) getReference(String tag) getTags()protected abstract ObjectgetVariable(String key) protected abstract Setprotected abstract voidputVariable(String key, Object value) protected abstract voidremoveVariable(String key) voiduploadFile(InputStream stream, String contentType, String originalName, String tag)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
AbstractAttachmentManager
public AbstractAttachmentManager()
-
-
Method Details
-
putVariable
-
removeVariable
-
getVariables
-
getVariable
-
uploadFile
public void uploadFile(InputStream stream, String contentType, String originalName, String tag) throws IOException, NamingException, DocumentBeanException, InterruptedException, DocumentBeanException, BPMException, InternalErrorException, jakarta.ejb.EJBException, jakarta.ejb.RemoveException - Throws:
IOExceptionNamingExceptionDocumentBeanExceptionInterruptedExceptionDocumentBeanExceptionBPMExceptionInternalErrorExceptionjakarta.ejb.EJBExceptionjakarta.ejb.RemoveException
-
attach
public void attach(String tag, DocumentService document) throws RemoteException, InternalErrorException -
attach
public void attach(String tag, DocumentReference documentReference) throws RemoteException, InternalErrorException -
createDocument
public DocumentService createDocument(String contentType, String originalName) throws IOException, NamingException, DocumentBeanException, InterruptedException, DocumentBeanException, BPMException, InternalErrorException -
eliminarArchivo
- Throws:
Exception
-
getReference
-
getTags
-
getDocument
public DocumentService getDocument(String tag) throws NamingException, RemoteException, InternalErrorException
-