@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 void addCurrentDocumentToFavorites() throws ClientException
ClientException
public boolean canCurrentDocumentBeAddedToFavorites() throws ClientException
ClientException
public boolean canCurrentDocumentBeRemovedFromFavorites() throws ClientException
ClientException
@Factory(value="currentUserFavorites", scope=SESSION) public DocumentModel getCurrentFavorites() throws ClientException
ClientException
public void removeCurrentDocumentFromFavorites() throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.