public class CollectionMember extends Object
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) |
public CollectionMember(DocumentModel doc)
public void addToCollection(String collectionId) throws ClientException
ClientException
public void setCollectionIds(List<String> collectionIds) throws ClientException
ClientException
public List<String> getCollectionIds() throws ClientException
ClientException
public DocumentModel getDocument()
public void removeFromCollection(String documentId) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.