|
Ontimize Document Management 0.035EN | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTableEntity
com.ontimize.db.EODMS
com.ontimize.dms.server.entities.EDocumentBase
public abstract class EDocumentBase
| Field Summary | |
|---|---|
protected static java.util.Map |
ALIAS_JCR_2_ENTITY
|
protected static java.lang.String |
MSG_GET_ENTITY_NAME_NULL
|
protected static java.lang.String |
MSG_GET_ENTITY_REF_NULL
|
protected static java.lang.String |
MSG_GET_NODE_ACCESS_READ
|
protected static java.lang.String |
MSG_GET_NODE_ACCESS_WRITE
|
protected static java.lang.String |
MSG_GET_NODE_LOCKED_NULL
|
protected static java.lang.String |
MSG_GET_NODE_LOCKED_READ
|
protected static java.lang.String |
MSG_GET_NODE_LOCKED_UPLOAD
|
protected static java.lang.String |
MSG_GET_NODE_LOCKED_WRITE
|
protected static java.lang.String |
MSG_GET_NODE_NULL
|
protected static java.lang.String |
MSG_LINK_PARENT_NULL
|
protected static java.lang.String |
MSG_LINK_TARGET_NULL
|
protected static java.lang.String |
MSG_LIST_NODE_NULL
|
protected static java.lang.String |
MSG_OP_CREATE_ERROR
|
protected static java.lang.String |
MSG_OP_DELETE_ERROR
|
protected static java.lang.String |
MSG_OP_GET_DATE_ERROR
|
protected static java.lang.String |
MSG_OP_GET_LIST_ERROR
|
protected static java.lang.String |
MSG_OP_INSERT_DIR_ERROR
|
protected static java.lang.String |
MSG_OP_INSERT_ERROR
|
protected static java.lang.String |
MSG_OP_INSERT_FILE_ERROR
|
protected static java.lang.String |
MSG_OP_INSERT_LINK_ERROR
|
protected static java.lang.String |
MSG_OP_LOCK_ERROR
|
protected static java.lang.String |
MSG_OP_PASTE_ERROR
|
protected static java.lang.String |
MSG_OP_QUERY_ERROR
|
protected static java.lang.String |
MSG_OP_REMOVE_ERROR
|
protected static java.lang.String |
MSG_OP_RENAME_ERROR
|
protected static java.lang.String |
MSG_OP_RESET_ERROR
|
protected static java.lang.String |
MSG_OP_SEARCH_ERROR
|
protected static java.lang.String |
MSG_PARAM_EXTRA_FIELDS_NULL
|
protected static java.lang.String |
MSG_PARAM_FIELDS_NULL
|
protected static java.lang.String |
MSG_PARAM_GENERATE_NAMES_NULL
|
protected static java.lang.String |
MSG_PARAM_HIDDEN_FIELDS_NULL
|
protected static java.lang.String |
MSG_PARAM_INSERT_NULL
|
protected static java.lang.String |
MSG_PARAM_KEYS_NULL
|
protected static java.lang.String |
MSG_PARAM_NULL
|
protected static java.lang.String |
MSG_PARAM_PARENT_FIELDS_NULL
|
protected static java.lang.String |
MSG_PARAM_QUERY_DEEP_NULL
|
protected static java.lang.String |
MSG_PARAM_QUERY_NULL
|
protected static java.lang.String |
MSG_PARAM_TARGET_NAMES_NULL
|
protected static java.lang.String |
MSG_PARAM_TARGET_NODES_NULL
|
protected static java.lang.String |
MSG_UPDATE_INVALID
|
| Constructor Summary | |
|---|---|
EDocumentBase(EntityReferenceLocator l,
DatabaseConnectionManager db,
int port)
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
createGenericDocument(int code,
Document[] document,
java.util.Map params,
int sessionId,
int isDirectory)
Creates documents or directories |
EntityResult |
delete(java.util.Hashtable kv,
int sessionId)
Removes the nodes from the given parent and the filter fields search. |
EntityResult |
delete(java.util.Hashtable kv,
int sessionId,
java.sql.Connection con)
|
java.lang.Object |
deleteDocument(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
EntityResult |
getData(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
java.lang.Object |
getDocumentDate(int code,
Document[] document,
java.util.Map params,
int sessionId)
Context params come from clietn cache. |
EntityResult |
getDocuments(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
java.lang.Object |
has(int code,
Document[] documents,
java.util.Map params,
int sessionId)
|
EntityResult |
insert(java.util.Hashtable av,
int sessionId)
Inserts a new document record in the repository. |
EntityResult |
insert(java.util.Hashtable av,
int sessionId,
java.sql.Connection con)
|
java.lang.Object |
lock(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
java.lang.Object |
newDirectories(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
java.lang.Object |
newDocuments(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
java.lang.Object |
newLink(int code,
Document parent,
java.util.Map params,
int sessionId)
|
java.lang.Object |
pasteDocument(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
EntityResult |
query(java.util.Hashtable kv,
java.util.Vector av,
int sessionId)
Returns a document list with the given fields List and filter
by the given Map fields. |
EntityResult |
query(java.util.Hashtable kv,
java.util.Vector av,
int sessionId,
java.sql.Connection con)
|
java.lang.Object |
renameDocument(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
java.lang.Object |
reset(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
abstract java.lang.Object |
search(int code,
Document[] document,
java.util.Map params,
int sessionId)
|
EntityResult |
update(java.util.Hashtable av,
java.util.Hashtable kv,
int sessionId)
|
EntityResult |
update(java.util.Hashtable av,
java.util.Hashtable kv,
int sessionId,
java.sql.Connection con)
|
| Methods inherited from class com.ontimize.db.EODMS |
|---|
check, checkBoolean, checkParams, checkParams, checkPermissions, checkPermissions, createResult, doCheck, getLogEntity, getSession, readProperties, readProperties, readProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String MSG_PARAM_NULL
protected static final java.lang.String MSG_PARAM_KEYS_NULL
protected static final java.lang.String MSG_PARAM_FIELDS_NULL
protected static final java.lang.String MSG_PARAM_EXTRA_FIELDS_NULL
protected static final java.lang.String MSG_PARAM_HIDDEN_FIELDS_NULL
protected static final java.lang.String MSG_PARAM_PARENT_FIELDS_NULL
protected static final java.lang.String MSG_PARAM_GENERATE_NAMES_NULL
protected static final java.lang.String MSG_PARAM_TARGET_NODES_NULL
protected static final java.lang.String MSG_PARAM_TARGET_NAMES_NULL
protected static final java.lang.String MSG_PARAM_QUERY_NULL
protected static final java.lang.String MSG_PARAM_QUERY_DEEP_NULL
protected static final java.lang.String MSG_PARAM_INSERT_NULL
protected static final java.lang.String MSG_LIST_NODE_NULL
protected static final java.lang.String MSG_GET_ENTITY_NAME_NULL
protected static final java.lang.String MSG_GET_ENTITY_REF_NULL
protected static final java.lang.String MSG_UPDATE_INVALID
protected static final java.lang.String MSG_OP_GET_LIST_ERROR
protected static final java.lang.String MSG_OP_SEARCH_ERROR
protected static final java.lang.String MSG_OP_INSERT_DIR_ERROR
protected static final java.lang.String MSG_OP_INSERT_FILE_ERROR
protected static final java.lang.String MSG_OP_CREATE_ERROR
protected static final java.lang.String MSG_OP_INSERT_LINK_ERROR
protected static final java.lang.String MSG_OP_REMOVE_ERROR
protected static final java.lang.String MSG_OP_PASTE_ERROR
protected static final java.lang.String MSG_OP_RENAME_ERROR
protected static final java.lang.String MSG_OP_GET_DATE_ERROR
protected static final java.lang.String MSG_OP_LOCK_ERROR
protected static final java.lang.String MSG_OP_RESET_ERROR
protected static final java.lang.String MSG_OP_QUERY_ERROR
protected static final java.lang.String MSG_OP_INSERT_ERROR
protected static final java.lang.String MSG_OP_DELETE_ERROR
protected static final java.lang.String MSG_LINK_PARENT_NULL
protected static final java.lang.String MSG_LINK_TARGET_NULL
protected static final java.lang.String MSG_GET_NODE_NULL
protected static final java.lang.String MSG_GET_NODE_LOCKED_UPLOAD
protected static final java.lang.String MSG_GET_NODE_LOCKED_NULL
protected static final java.lang.String MSG_GET_NODE_LOCKED_READ
protected static final java.lang.String MSG_GET_NODE_LOCKED_WRITE
protected static final java.lang.String MSG_GET_NODE_ACCESS_READ
protected static final java.lang.String MSG_GET_NODE_ACCESS_WRITE
protected static java.util.Map ALIAS_JCR_2_ENTITY
| Constructor Detail |
|---|
public EDocumentBase(EntityReferenceLocator l,
DatabaseConnectionManager db,
int port)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public EntityResult getData(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
getData in interface IODMSDocumentjava.lang.Exception
public EntityResult getDocuments(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
getDocuments in interface IODMSDocumentjava.lang.Exception
public abstract java.lang.Object search(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
search in interface IODMSDocumentjava.lang.Exception
public java.lang.Object has(int code,
Document[] documents,
java.util.Map params,
int sessionId)
throws java.lang.Exception
has in interface IODMSDocumentjava.lang.Exception
protected java.lang.Object createGenericDocument(int code,
Document[] document,
java.util.Map params,
int sessionId,
int isDirectory)
throws java.lang.Exception
document - =>
selected document in ODMSComponent it can be or directory or
file. If it is a direcory files will be added in it and if if
it is a file files will be added in the same directory which
contents the document
java.lang.Exception
public java.lang.Object newDocuments(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
newDocuments in interface IODMSDocumentjava.lang.Exception
public java.lang.Object newDirectories(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
newDirectories in interface IODMSDocumentjava.lang.Exception
public java.lang.Object newLink(int code,
Document parent,
java.util.Map params,
int sessionId)
throws java.lang.Exception
newLink in interface IODMSDocumentjava.lang.Exception
public java.lang.Object deleteDocument(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
deleteDocument in interface IODMSDocumentjava.lang.Exception
public java.lang.Object pasteDocument(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
pasteDocument in interface IODMSDocumentjava.lang.Exception
public java.lang.Object renameDocument(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
renameDocument in interface IODMSDocumentjava.lang.Exception
public java.lang.Object getDocumentDate(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
Context params come from clietn cache. No context is available.
getDocumentDate in interface IODMSDocumentparams - Map with the current action. Current context is not available.
java.lang.Exception
public java.lang.Object lock(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
lock in interface IODMSDocumentjava.lang.Exception
public java.lang.Object reset(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
reset in interface IODMSDocumentjava.lang.Exception
public EntityResult query(java.util.Hashtable kv,
java.util.Vector av,
int sessionId)
throws java.lang.Exception
Returns a document list with the given fields List and filter
by the given Map fields.
java.lang.Exception
public EntityResult query(java.util.Hashtable kv,
java.util.Vector av,
int sessionId,
java.sql.Connection con)
throws java.lang.Exception
java.lang.Exception
public EntityResult delete(java.util.Hashtable kv,
int sessionId)
throws java.lang.Exception
Removes the nodes from the given parent and the filter fields search.
- Document.DOCUMENT: Node to remove (no fields are given). Root if is null.
- Filter fields: Fields and related value existing in the node.
The delete operation is recursive. In a directory, removes all the children.
java.lang.Exception
public EntityResult delete(java.util.Hashtable kv,
int sessionId,
java.sql.Connection con)
throws java.lang.Exception
java.lang.Exception
public EntityResult insert(java.util.Hashtable av,
int sessionId)
throws java.lang.Exception
Inserts a new document record in the repository.
- Parent node is given by the Document.DOCUMENT key.
- The document name is contained in the Document.NAME key.
Once created, the record can store the files uploaded.
java.lang.Exception
public EntityResult insert(java.util.Hashtable av,
int sessionId,
java.sql.Connection con)
throws java.lang.Exception
java.lang.Exception
public EntityResult update(java.util.Hashtable av,
java.util.Hashtable kv,
int sessionId)
throws java.lang.Exception
java.lang.Exception
public EntityResult update(java.util.Hashtable av,
java.util.Hashtable kv,
int sessionId,
java.sql.Connection con)
throws java.lang.Exception
java.lang.Exception
|
Ontimize Document Management | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||