Package org.nuxeo.ecm.collections.api
Interface FavoritesManager
-
- All Known Implementing Classes:
FavoritesManagerImpl
public interface FavoritesManager
- Since:
- 5.9.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addToFavorites(DocumentModel document, CoreSession session)
boolean
canAddToFavorites(DocumentModel document)
DocumentModel
getFavorites(CoreSession session)
DocumentModel
getFavorites(DocumentModel context, CoreSession session)
Deprecated.since 10.3 usegetFavorites(CoreSession)
insteadboolean
isFavorite(DocumentModel document, CoreSession session)
void
removeFromFavorites(DocumentModel document, CoreSession session)
-
-
-
Method Detail
-
addToFavorites
void addToFavorites(DocumentModel document, CoreSession session)
-
canAddToFavorites
boolean canAddToFavorites(DocumentModel document)
-
getFavorites
@Deprecated DocumentModel getFavorites(DocumentModel context, CoreSession session)
Deprecated.since 10.3 usegetFavorites(CoreSession)
instead
-
getFavorites
DocumentModel getFavorites(CoreSession session)
-
isFavorite
boolean isFavorite(DocumentModel document, CoreSession session)
-
removeFromFavorites
void removeFromFavorites(DocumentModel document, CoreSession session)
-
-