public class CollectionMember extends Object
Modifier and Type | Field and Description |
---|---|
protected DocumentModel |
document |
Constructor and Description |
---|
CollectionMember(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
addToCollection(String collectionId) |
List<String> |
getCollectionIds() |
DocumentModel |
getDocument() |
void |
removeFromCollection(String documentId) |
void |
setCollectionIds(List<String> collectionIds) |
protected DocumentModel document
public CollectionMember(DocumentModel doc)
public void addToCollection(String collectionId)
public void setCollectionIds(List<String> collectionIds)
public List<String> getCollectionIds()
public DocumentModel getDocument()
public void removeFromCollection(String documentId)
Copyright © 2016 Nuxeo SA. All rights reserved.