public interface FavoritesManager
Modifier and Type | Method and Description |
---|---|
void |
addToFavorites(DocumentModel document,
CoreSession session) |
boolean |
canAddToFavorites(DocumentModel document) |
DocumentModel |
getFavorites(DocumentModel context,
CoreSession session) |
boolean |
isFavorite(DocumentModel document,
CoreSession session) |
void |
removeFromFavorites(DocumentModel document,
CoreSession session) |
void addToFavorites(DocumentModel document, CoreSession session) throws ClientException
ClientException
boolean canAddToFavorites(DocumentModel document) throws ClientException
ClientException
DocumentModel getFavorites(DocumentModel context, CoreSession session) throws ClientException
ClientException
boolean isFavorite(DocumentModel document, CoreSession session) throws ClientException
ClientException
void removeFromFavorites(DocumentModel document, CoreSession session) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.