Package | Description |
---|---|
org.nuxeo.ecm.core.api |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
CoreSession.getChildren(DocumentRef parent)
Gets the children of the given parent.
|
DocumentModelList |
CoreSession.getChildren(DocumentRef parent,
String type)
Gets the children of the given parent filtered according to the given
document type.
|
DocumentModelList |
CoreSession.getChildren(DocumentRef parent,
String type,
String perm)
Gets the children of the given parent filtered according to the given
document type and permission.
|
DocumentModelList |
CoreSession.getChildren(DocumentRef parent,
String type,
String perm,
Filter filter,
Sorter sorter)
Same as
CoreSession.getChildren(DocumentRef, String, String) but the result
is filtered and then sorted using the specified filter and sorter. |
DocumentModel |
CoreSession.getDocument(DocumentRef docRef)
Gets a document model given its reference.
|
DocumentModelList |
CoreSession.getDocuments(DocumentRef[] docRefs)
Gets a list of documents given their references.
|
DocumentModel |
CoreSession.getParentDocument(DocumentRef docRef)
Gets the parent document or null if this is the root document.
|
Lock |
CoreSession.removeLock(DocumentRef docRef)
Removes the lock on the given document.
|
Lock |
CoreSession.setLock(DocumentRef docRef)
Sets a lock on the given document.
|
void |
CoreSession.setLock(DocumentRef doc,
String key)
Deprecated.
since 5.4.2, use
CoreSession.setLock(DocumentRef) instead |
String |
CoreSession.unlock(DocumentRef docRef)
Deprecated.
since 5.4.2, use
CoreSession.removeLock(org.nuxeo.ecm.core.api.DocumentRef) instead |
Copyright © 2014 Nuxeo SA. All rights reserved.