Class AddToFavoritesOperation
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.collections.AddToFavoritesOperation
-
public class AddToFavoritesOperation extends Object
Class for the operation to add a list of documents in the Favorites.- Since:
- 8.1
-
-
Field Summary
Fields Modifier and Type Field Description protected FavoritesManager
favoritesManager
static String
ID
protected CoreSession
session
-
Constructor Summary
Constructors Constructor Description AddToFavoritesOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
run(DocumentModel doc)
DocumentModelList
run(DocumentModelList docs)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
favoritesManager
protected FavoritesManager favoritesManager
-
-
Method Detail
-
run
public DocumentModelList run(DocumentModelList docs)
-
run
public DocumentModel run(DocumentModel doc)
-
-