public interface Favourites
Modifier and Type | Method and Description |
---|---|
Favourite |
addFavourite(java.lang.String personId,
Favourite favourite)
Add a favourite for user personId
|
Favourite |
getFavourite(java.lang.String personId,
java.lang.String favouriteId)
Get a specific favourite for user personId
|
CollectionWithPagingInfo |
getFavourites(java.lang.String personId,
Parameters parameters)
Get a paged list of favourites for user personId
|
void |
removeFavourite(java.lang.String personId,
java.lang.String id)
Add a favourite for user personId
|
Favourite addFavourite(java.lang.String personId, Favourite favourite)
personId
- the personId for which the favourite is to be addedfavourite
- the favourite to addvoid removeFavourite(java.lang.String personId, java.lang.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 getFavourites(java.lang.String personId, Parameters parameters)
personId
- the personId for which the favourite is to be removedparameters
- Favourite getFavourite(java.lang.String personId, java.lang.String favouriteId)
personId
- the personId for which the favourite is to be removedfavouriteId
- the favourite idCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.