public abstract class AttachmentStorage
extends java.lang.Object
Constructor and Description |
---|
AttachmentStorage() |
Modifier and Type | Method and Description |
---|---|
abstract void |
cleanupStorage() |
abstract void |
createAttachment(java.lang.String name,
byte[] data,
java.lang.String mimeType) |
abstract void |
deleteAttachment(MboRemote doclink) |
abstract byte[] |
getAttachment(MboRemote doclink) |
abstract byte[] |
getAttachment(java.lang.String urlName) |
abstract javax.activation.DataSource |
getAttachmentDatasource(java.lang.String urlName) |
abstract java.lang.String |
getAttachmentQualifiedName(MboRemote doclink,
java.lang.String name) |
long |
getAttachmentSize(MboRemote doclink) |
abstract boolean |
isAttachmentNeedsCustomDatasource(java.lang.String urlName) |
static boolean |
isDefaultAttachmentStore() |
static void |
setAllowedExtsSet(java.util.Set<java.lang.String> allowedExtsSet1) |
abstract void |
setupStorage() |
abstract java.io.InputStream |
streamAttachment(MboRemote doclink) |
public static void setAllowedExtsSet(java.util.Set<java.lang.String> allowedExtsSet1)
public abstract java.lang.String getAttachmentQualifiedName(MboRemote doclink, java.lang.String name) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract void createAttachment(java.lang.String name, byte[] data, java.lang.String mimeType) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract void deleteAttachment(MboRemote doclink) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract byte[] getAttachment(MboRemote doclink) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract byte[] getAttachment(java.lang.String urlName) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract java.io.InputStream streamAttachment(MboRemote doclink) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract void setupStorage() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract void cleanupStorage() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public long getAttachmentSize(MboRemote doclink) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static boolean isDefaultAttachmentStore()
public abstract boolean isAttachmentNeedsCustomDatasource(java.lang.String urlName)
public abstract javax.activation.DataSource getAttachmentDatasource(java.lang.String urlName)