public class AddToFavoritesOperation extends Object
Modifier and Type | Field and Description |
---|---|
protected FavoritesManager |
favoritesManager |
static String |
ID |
protected CoreSession |
session |
Constructor and Description |
---|
AddToFavoritesOperation() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
run(DocumentModel doc) |
DocumentModelList |
run(DocumentModelList docs) |
public static final String ID
protected CoreSession session
protected FavoritesManager favoritesManager
public AddToFavoritesOperation()
public DocumentModelList run(DocumentModelList docs)
public DocumentModel run(DocumentModel doc)
Copyright © 2016 Nuxeo SA. All rights reserved.