public interface Favourites
| Modifier and Type | Method and Description |
|---|---|
Favourite |
addFavourite(String personId,
Favourite favourite)
Add a favourite for user personId
|
Favourite |
getFavourite(String personId,
String favouriteId)
Get a specific favourite for user personId
|
CollectionWithPagingInfo<Favourite> |
getFavourites(String personId,
Parameters parameters)
Get a paged list of favourites for user personId
|
void |
removeFavourite(String personId,
String id)
Add a favourite for user personId
|
Favourite addFavourite(String personId, Favourite favourite)
personId - the personId for which the favourite is to be addedfavourite - the favourite to addvoid removeFavourite(String personId, String id)
personId - the personId for which the favourite is to be removedid - the id of the favourite to remove (id is a uuid)CollectionWithPagingInfo<Favourite> getFavourites(String personId, Parameters parameters)
personId - the personId for which the favourite is to be removedparameters - Copyright © 2005–2014 Alfresco Software. All rights reserved.