|
Ontimize Document Management 0.035EN | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
com.ontimize.dms.warehouse.local.TransferThread
com.ontimize.dms.warehouse.local.UploadClient
public class UploadClient
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected CopyUtil |
copy
|
protected boolean |
lockOnUpload
|
| Fields inherited from class com.ontimize.dms.warehouse.local.TransferThread |
|---|
cancelled, DEFAULT_OPEN_MAX, finished, lfinishedListener, list, modelAdapter, openMax, queue, transferListener, transferStatusPanel |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
UploadClient(IRemoteTransfer irs,
java.lang.String basePath,
java.lang.String tempPath,
int sessionId)
|
|
| Method Summary | |
|---|---|
TransferStatus |
getStatus()
|
boolean |
hasLockOnUpload()
|
void |
run()
|
void |
setLockOnUpload(boolean enabled)
|
int |
size()
|
int |
upload(Document document,
int action)
|
int |
upload(Document document,
int action,
java.util.Map fields)
|
| Methods inherited from class com.ontimize.dms.warehouse.local.TransferThread |
|---|
addFinishedListener, addModelListener, addTransferListener, clearFinishedListener, create, create, fireFinishedListeners, fireModelEvent, fireTransferListener, getBasePath, getStatus, getTempPath, haveToUpdate, removeFinishedListener, removeModelListener, setOpenMax, setTransferTrace, start |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected CopyUtil copy
protected boolean lockOnUpload
| Constructor Detail |
|---|
public UploadClient(IRemoteTransfer irs,
java.lang.String basePath,
java.lang.String tempPath,
int sessionId)
| Method Detail |
|---|
public boolean hasLockOnUpload()
public void setLockOnUpload(boolean enabled)
public int upload(Document document,
int action)
throws java.lang.Exception
upload in interface IUploadjava.lang.Exception
public int upload(Document document,
int action,
java.util.Map fields)
throws java.lang.Exception
upload in interface IUploadjava.lang.Exceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic int size()
public TransferStatus getStatus()
getStatus in class TransferThread
|
Ontimize Document Management | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||