|
Ontimize Document Management 0.035EN | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JcrSession
JCR repository session wrapper.
Wrappers session information.
| Method Summary | |
|---|---|
JcrResult[] |
add(java.lang.String keys,
Document[] documents,
java.util.Map info,
java.util.Map properties)
Inserts a documents list in the repository. |
void |
close()
Closes the current session. |
JcrNode |
getNode(java.util.Map fields)
|
JcrNode |
getNode(java.lang.String keys,
Document document)
Returns a node of the JCR repository. |
JcrNode |
getNode(java.lang.String keys,
Document document,
java.util.Map fields,
long index)
Returns a node of the JCR repository. |
JcrServer |
getServer()
|
Session |
getSession()
Returns the internal JCR related session. |
int |
getSessionId()
|
boolean |
isLive()
Check if the current session is active. |
| Method Detail |
|---|
int getSessionId()
Session getSession()
Returns the internal JCR related session.
JcrServer getServer()
JcrNode getNode(java.util.Map fields)
throws RepositoryException
RepositoryException
JcrNode getNode(java.lang.String keys,
Document document)
throws RepositoryException
Returns a node of the JCR repository.
keys - Internal base keys.document - Document to return.
document is null.null if the document is
null and keys are null.null if the query returns more than one result.RepositoryException - if JCR exception ocurrs.
JcrNode getNode(java.lang.String keys,
Document document,
java.util.Map fields,
long index)
throws RepositoryException
Returns a node of the JCR repository.
keys - Internal base keys.document - Document to return.fields - Properties list.index - First index is equals to 1, last index is equals to list size.
document is null.null if the document is
null and keys are null.null if the query returns more than one result.RepositoryException - if JCR exception ocurrs.
boolean isLive()
throws RepositoryException
Check if the current session is active.
RepositoryException - if JCR exception ocurrs.
JcrResult[] add(java.lang.String keys,
Document[] documents,
java.util.Map info,
java.util.Map properties)
throws RepositoryException
Inserts a documents list in the repository.
keys - Internal base keys.documents - Document to insert.
AccessDeniedException - if can't write in the parent node.
RepositoryException - if JCR exception ocurrs.void close()
Closes the current session.
|
Ontimize Document Management | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||