|
Ontimize Document Management 0.035EN | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFileTransferClient
| Field Summary | |
|---|---|
static java.lang.String |
ACTION
|
static java.lang.String |
CONFIG_DIRECTORY
|
static java.lang.String |
CONFIG_FILE
|
static java.lang.String |
KEYS
|
static java.lang.String |
M_FILE_IS_BEING_PROCESSED
|
static java.lang.String |
M_FILE_IS_BEING_USED_REVISE_TRANSFER
|
static java.lang.String |
M_SHOW_LOCAL_FILE_DOWNLOAD_AND_SHOW_REMOTE
|
static java.lang.String |
M_TRYING_TO_UPLOAD_AN_INEXISTENT_FILE
|
static java.lang.String |
PARENT_FRAME
|
static java.lang.String |
SELECTED_FILES
|
| Method Summary | |
|---|---|
void |
clean(ContextValues context,
EntityResult er)
|
int |
doAction(int action,
Document[] document,
java.util.Map params)
|
int |
doAdd(ContextValues context,
java.io.File[] files)
Adds the given file list to Document Manager. |
int |
doAdd(java.util.Map params,
java.io.File[] files)
Calls to doAdd(ContextValues, File[]) |
boolean |
exists(Document document)
|
java.io.File |
getFile(Document document)
|
java.lang.String |
getOperationObjectName()
|
SaveDialog |
getSaveDialog(java.awt.Window parent)
|
TransferStatus |
getStatus()
|
java.lang.String |
getTransferObjectName()
|
java.lang.String |
getTransformClassName()
|
| Field Detail |
|---|
static final java.lang.String ACTION
static final java.lang.String KEYS
static final java.lang.String SELECTED_FILES
static final java.lang.String PARENT_FRAME
static final java.lang.String CONFIG_DIRECTORY
static final java.lang.String CONFIG_FILE
static final java.lang.String M_TRYING_TO_UPLOAD_AN_INEXISTENT_FILE
static final java.lang.String M_FILE_IS_BEING_USED_REVISE_TRANSFER
static final java.lang.String M_FILE_IS_BEING_PROCESSED
static final java.lang.String M_SHOW_LOCAL_FILE_DOWNLOAD_AND_SHOW_REMOTE
| Method Detail |
|---|
int doAdd(java.util.Map params,
java.io.File[] files)
throws ContextException,
java.lang.Exception
Calls to doAdd(ContextValues, File[])
ContextException
java.lang.Exception
int doAdd(ContextValues context,
java.io.File[] files)
throws ContextException,
java.lang.Exception
Adds the given file list to Document Manager.
The files are copied to local cache and then uploaded to remote repository.
Also allows to insert if there are files with the same name if the target path. Possible options:
context - Current context.files - List of files to insert.
ContextException - if context is null.
ContextException - if context is invalid.
ContextException - if files are null or empty.
ContextException - if files has invalid characters.
ContextException - if are conflicts and no action is provided.
ContextException - if repository doesn't return a result.
ContextException - if repository doesn't return a result code.
ContextException - if repository doesn't return a list with file names.
java.lang.Exception - if a undefined error ocurrs.
int doAction(int action,
Document[] document,
java.util.Map params)
java.io.File getFile(Document document)
boolean exists(Document document)
SaveDialog getSaveDialog(java.awt.Window parent)
TransferStatus getStatus()
java.lang.String getTransformClassName()
java.lang.String getTransferObjectName()
java.lang.String getOperationObjectName()
void clean(ContextValues context,
EntityResult er)
|
Ontimize Document Management | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||