public class Collection extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DocumentModel |
document |
| Constructor and Description |
|---|
Collection(DocumentModel doc) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDocument(String documentId) |
List<String> |
getCollectedDocumentIds() |
DocumentModel |
getDocument() |
boolean |
moveMembers(String member1Id,
String member2Id)
Move member1Id right after the member2Id of at first position if member2Id is null.
|
void |
removeDocument(String documentId) |
void |
setDocumentIds(List<String> documentIds) |
int |
size() |
protected DocumentModel document
public Collection(DocumentModel doc)
public List<String> getCollectedDocumentIds()
public void addDocument(String documentId)
public void removeDocument(String documentId)
public void setDocumentIds(List<String> documentIds)
public DocumentModel getDocument()
public boolean moveMembers(String member1Id, String member2Id)
member1Id - member2Id - public int size()
Copyright © 2018 Nuxeo. All rights reserved.