Package com.soffid.iam.bpm.attachment
Class AbstractAttachmentManager
- java.lang.Object
-
- com.soffid.iam.bpm.attachment.AbstractAttachmentManager
-
- Direct Known Subclasses:
AbstractAttachmentManager
,AttachmentManager
public abstract class AbstractAttachmentManager extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractAttachmentManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
attach(String tag, DocumentReference documentReference)
void
attach(String tag, DocumentService document)
DocumentService
createDocument(String contentType, String originalName)
void
eliminarArchivo(String tag)
DocumentService
getDocument(String tag)
DocumentReference
getReference(String tag)
List
getTags()
protected abstract Object
getVariable(String key)
protected abstract Set
getVariables()
protected abstract void
putVariable(String key, Object value)
protected abstract void
removeVariable(String key)
void
uploadFile(InputStream stream, String contentType, String originalName, String tag)
-
-
-
Field Detail
-
PREFIX
protected static final String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
removeVariable
protected abstract void removeVariable(String key)
-
getVariables
protected abstract Set getVariables()
-
uploadFile
public void uploadFile(InputStream stream, String contentType, String originalName, String tag) throws IOException, NamingException, javax.ejb.CreateException, DocumentBeanException, InterruptedException, DocumentBeanException, BPMException, InternalErrorException, javax.ejb.EJBException, javax.ejb.RemoveException
- Throws:
IOException
NamingException
javax.ejb.CreateException
DocumentBeanException
InterruptedException
BPMException
InternalErrorException
javax.ejb.EJBException
javax.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, javax.ejb.CreateException, DocumentBeanException, InterruptedException, DocumentBeanException, BPMException, InternalErrorException
- Throws:
IOException
NamingException
javax.ejb.CreateException
DocumentBeanException
InterruptedException
BPMException
InternalErrorException
-
getReference
public DocumentReference getReference(String tag)
-
getTags
public List getTags()
-
getDocument
public DocumentService getDocument(String tag) throws NamingException, RemoteException, javax.ejb.CreateException, InternalErrorException
- Throws:
NamingException
RemoteException
javax.ejb.CreateException
InternalErrorException
-
-