Package org.nuxeo.ecm.collections.core
Class FavoritesManagerImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.collections.core.FavoritesManagerImpl
- All Implemented Interfaces:
FavoritesManager
,Adaptable
,Component
,Extensible
,TimestampedService
- Since:
- 5.9.4
-
Field Summary
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToFavorites
(DocumentModel document, CoreSession session) boolean
canAddToFavorites
(DocumentModel document) getFavorites
(CoreSession session) getFavorites
(DocumentModel context, CoreSession session) Deprecated.boolean
isFavorite
(DocumentModel document, CoreSession session) void
removeFromFavorites
(DocumentModel document, CoreSession session) Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Component
getApplicationStartedOrder
-
Constructor Details
-
FavoritesManagerImpl
public FavoritesManagerImpl()
-
-
Method Details
-
addToFavorites
- Specified by:
addToFavorites
in interfaceFavoritesManager
-
canAddToFavorites
- Specified by:
canAddToFavorites
in interfaceFavoritesManager
-
getFavorites
Deprecated.- Specified by:
getFavorites
in interfaceFavoritesManager
-
getFavorites
- Specified by:
getFavorites
in interfaceFavoritesManager
-
isFavorite
- Specified by:
isFavorite
in interfaceFavoritesManager
-
removeFromFavorites
- Specified by:
removeFromFavorites
in interfaceFavoritesManager
-