Ontimize Document Management 0.035EN

com.ontimize.dms.warehouse.remote
Interface IWarehouseServer

All Superinterfaces:
IWharehouse
All Known Implementing Classes:
WarehouseServer

public interface IWarehouseServer
extends IWharehouse


Field Summary
static java.lang.String INACTIVITY_GAP_SECONDS
           
static java.lang.String INACTIVITY_SECONDS
           
static java.lang.String PATH_BASE
           
static java.lang.String PATH_BASE_TEMP
           
 
Fields inherited from interface com.ontimize.dms.warehouse.IWharehouse
BUFFER_LENGTH, DOWNLOAD_OPEN_MAX, TIME_VIEW_UPDATE, UPLOAD_OPEN_MAX
 
Method Summary
 TransferResponse canDownload(Document document, java.lang.Number version, int sessionId)
           
 TransferResponse canUpload(Document document, int action, long filesize, int sessionId)
           
 TransferResponse canUpload(Document document, int action, long filesize, java.util.Map fields, int sessionId)
           
 IDataBlock downloadData(java.lang.String path, int sessionId)
           
 ServerTransfer getDownloadThread()
           
 ServerTransfer getUploadThread()
           
 boolean isDownload(Document document, int sessionId)
           
 boolean isUpload(Document document, int sessionId)
           
 void stop()
           
 long uploadData(IDataBlock db, int sessionId)
           
 

Field Detail

PATH_BASE_TEMP

static final java.lang.String PATH_BASE_TEMP
See Also:
Constant Field Values

PATH_BASE

static final java.lang.String PATH_BASE
See Also:
Constant Field Values

INACTIVITY_SECONDS

static final java.lang.String INACTIVITY_SECONDS
See Also:
Constant Field Values

INACTIVITY_GAP_SECONDS

static final java.lang.String INACTIVITY_GAP_SECONDS
See Also:
Constant Field Values
Method Detail

getDownloadThread

ServerTransfer getDownloadThread()

getUploadThread

ServerTransfer getUploadThread()

canDownload

TransferResponse canDownload(Document document,
                             java.lang.Number version,
                             int sessionId)
                             throws java.lang.Exception
Throws:
java.lang.Exception

canUpload

TransferResponse canUpload(Document document,
                           int action,
                           long filesize,
                           int sessionId)
                           throws java.lang.Exception
Throws:
java.lang.Exception

canUpload

TransferResponse canUpload(Document document,
                           int action,
                           long filesize,
                           java.util.Map fields,
                           int sessionId)
                           throws java.lang.Exception
Throws:
java.lang.Exception

downloadData

IDataBlock downloadData(java.lang.String path,
                        int sessionId)
                        throws java.lang.Exception
Throws:
java.lang.Exception

uploadData

long uploadData(IDataBlock db,
                int sessionId)
                throws java.lang.Exception
Throws:
java.lang.Exception

isDownload

boolean isDownload(Document document,
                   int sessionId)
                   throws java.lang.Exception
Throws:
java.lang.Exception

isUpload

boolean isUpload(Document document,
                 int sessionId)
                 throws java.lang.Exception
Throws:
java.lang.Exception

stop

void stop()

Ontimize Document Management