com.ontimize.dms.warehouse.remote
Interface IWarehouseServer
- All Superinterfaces:
- IWharehouse
- All Known Implementing Classes:
- WarehouseServer
public interface IWarehouseServer
- extends IWharehouse
|
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)
|
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
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()