Class Collection
- java.lang.Object
-
- org.nuxeo.ecm.collections.core.adapter.Collection
-
public class Collection extends Object
- Since:
- 5.9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected DocumentModel
document
-
Constructor Summary
Constructors Constructor Description Collection(DocumentModel doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
document
protected DocumentModel document
-
-
Constructor Detail
-
Collection
public Collection(DocumentModel doc)
-
-
Method Detail
-
addDocument
public void addDocument(String documentId)
-
removeDocument
public void removeDocument(String documentId)
-
getDocument
public DocumentModel getDocument()
-
moveMembers
public boolean moveMembers(String member1Id, String member2Id)
Move member1Id right after the member2Id of at first position if member2Id is null.- Returns:
- true if successful
- Since:
- 8.4
-
size
public int size()
- Since:
- 8.3
-
-