@Name(value="favoritesActions") @Scope(value=STATELESS) @BypassInterceptors public class FavoritesActionBean extends Object
Constructor and Description |
---|
FavoritesActionBean() |
Modifier and Type | Method and Description |
---|---|
void |
addCurrentDocumentToFavorites() |
boolean |
canCurrentDocumentBeAddedToFavorites() |
boolean |
canCurrentDocumentBeRemovedFromFavorites() |
DocumentModel |
getCurrentFavorites() |
void |
removeCurrentDocumentFromFavorites() |
public FavoritesActionBean()
public void addCurrentDocumentToFavorites()
public boolean canCurrentDocumentBeAddedToFavorites()
public boolean canCurrentDocumentBeRemovedFromFavorites()
@Factory(value="currentUserFavorites", scope=SESSION) public DocumentModel getCurrentFavorites()
public void removeCurrentDocumentFromFavorites()
Copyright © 2018 Nuxeo. All rights reserved.