Class CollectionMember
- java.lang.Object
-
- org.nuxeo.ecm.collections.core.adapter.CollectionMember
-
public class CollectionMember extends Object
- Since:
- 5.9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected DocumentModel
document
-
Constructor Summary
Constructors Constructor Description CollectionMember(DocumentModel doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToCollection(String collectionId)
List<String>
getCollectionIds()
DocumentModel
getDocument()
void
removeFromCollection(String documentId)
void
setCollectionIds(List<String> collectionIds)
-
-
-
Field Detail
-
document
protected DocumentModel document
-
-
Constructor Detail
-
CollectionMember
public CollectionMember(DocumentModel doc)
-
-
Method Detail
-
addToCollection
public void addToCollection(String collectionId)
-
getDocument
public DocumentModel getDocument()
-
removeFromCollection
public void removeFromCollection(String documentId)
-
-