| Package | Description |
|---|---|
| org.nuxeo.ecm.automation.client.adapters | |
| org.nuxeo.ecm.automation.client.model |
| Modifier and Type | Method and Description |
|---|---|
Document |
DocumentService.addPermission(DocRef doc,
String user,
String permission)
Set a local ACE before block inheritance if it exists.
|
Document |
DocumentService.addPermission(DocRef doc,
String user,
String permission,
String acl) |
Document |
DocumentService.addPermission(DocRef doc,
String user,
String permission,
String acl,
boolean blockInheritance) |
Document |
DocumentService.copy(DocRef src,
DocRef targetParent) |
Document |
DocumentService.copy(DocRef src,
DocRef targetParent,
String name) |
Document |
DocumentService.createDocument(DocRef parent,
String type,
String name) |
Document |
DocumentService.createDocument(DocRef parent,
String type,
String name,
PropertyMap properties) |
Document |
DocumentService.createDocument(DocRef parent,
String type,
String name,
PropertyMap properties,
boolean synchronizedIndexing) |
Document |
DocumentService.createRelation(DocRef subject,
String predicate,
DocRef object) |
Document |
DocumentService.createVersion(DocRef doc) |
Document |
DocumentService.createVersion(DocRef doc,
String increment)
Increment is one of "None", "Major", "Minor".
|
void |
DocumentService.fireEvent(DocRef doc,
String event) |
FileBlob |
DocumentService.getBlob(DocRef doc) |
FileBlob |
DocumentService.getBlob(DocRef doc,
String xpath) |
Blobs |
DocumentService.getBlobs(DocRef doc) |
Blobs |
DocumentService.getBlobs(DocRef doc,
String xpath) |
Document |
DocumentService.getChild(DocRef docRef,
String name) |
Documents |
DocumentService.getChildren(DocRef docRef) |
Document |
DocumentService.getDocument(DocRef ref) |
Document |
DocumentService.getDocument(DocRef ref,
String schemas) |
Document |
DocumentService.getParent(DocRef docRef) |
Documents |
DocumentService.getParent(DocRef docRef,
String type) |
Documents |
DocumentService.getRelations(DocRef doc,
String predicate) |
Documents |
DocumentService.getRelations(DocRef doc,
String predicate,
boolean outgoing) |
Documents |
DocumentService.getRelations(DocRef doc,
String predicate,
boolean outgoing,
String graphName) |
Documents |
DocumentService.getVersions(DocRef doc)
Gets versions with common fetch schemas (dc, common, ...).
|
Documents |
DocumentService.getVersions(DocRef doc,
String schemas)
Gets versions with specified data in addition to default schemas (dc, common, ...).
|
Document |
DocumentService.lock(DocRef doc) |
Document |
DocumentService.lock(DocRef doc,
String lock) |
Document |
DocumentService.move(DocRef src,
DocRef targetParent) |
Document |
DocumentService.move(DocRef src,
DocRef targetParent,
String name) |
Document |
DocumentService.publish(DocRef doc,
DocRef section) |
Document |
DocumentService.publish(DocRef doc,
DocRef section,
boolean override) |
void |
DocumentService.remove(DocRef doc) |
Document |
DocumentService.removeAcl(DocRef doc,
String acl) |
void |
DocumentService.removeBlob(DocRef doc) |
void |
DocumentService.removeBlob(DocRef doc,
String xpath) |
Document |
DocumentSecurityService.removeGroupPermissions(DocRef docRef,
String acl)
Remove given ACL on document,
i.e. inherited or local ACL.
|
Document |
DocumentSecurityService.removePermissions(DocRef docRef,
DocumentPermissions permissions,
List<String> userNames,
String acl,
boolean removeAll,
boolean blockInheritance)
Removes ACEs in given ACL, blocking or not inheritance:
- if removeAll is true, removes all ACEs of given ACL
- if userNames is set, removes all ACEs of given users.
|
Document |
DocumentService.removePermissions(DocRef doc,
String user,
String acl) |
Document |
DocumentService.removeProperty(DocRef doc,
String key) |
Document |
DocumentService.save(DocRef doc) |
void |
DocumentService.setBlob(DocRef doc,
Blob blob) |
void |
DocumentService.setBlob(DocRef doc,
Blob blob,
String xpath) |
Document |
DocumentService.setPermission(DocRef doc,
String user,
String permission) |
Document |
DocumentService.setPermission(DocRef doc,
String user,
String permission,
boolean granted) |
Document |
DocumentService.setPermission(DocRef doc,
String user,
String permission,
String acl,
boolean granted) |
Document |
DocumentService.setProperty(DocRef doc,
String key,
String value) |
Document |
DocumentService.setState(DocRef doc,
String state) |
Document |
DocumentService.unlock(DocRef doc) |
Document |
DocumentService.update(DocRef doc,
PropertyMap properties) |
Document |
DocumentService.update(DocRef doc,
PropertyMap properties,
boolean synchronizedIndexing) |
| Modifier and Type | Class and Description |
|---|---|
class |
Document
A immutable document.
|
class |
IdRef |
class |
NuxeoDocument
Version corrigée de
Document. |
class |
PathRef |
| Modifier and Type | Method and Description |
|---|---|
static DocRef |
DocRef.newRef(String ref) |
Copyright © 2022. All rights reserved.