public interface Favourites
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_INCLUDE_PATH |
| Modifier and Type | Method and Description |
|---|---|
Favourite |
addFavourite(String personId,
Favourite favourite)
Add a favourite for user personId
|
Favourite |
addFavourite(String personId,
Favourite favourite,
Parameters parameters)
Add a favourite for user personId taking parameters into account
|
Favourite |
getFavourite(String personId,
String favouriteId)
Get a specific favourite for user personId
|
Favourite |
getFavourite(String personId,
String favouriteId,
Parameters parameters)
Get a specific favourite for user personId taking parameters into account
|
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
|
static final String PARAM_INCLUDE_PATH
Favourite addFavourite(String personId, Favourite favourite)
personId - the personId for which the favourite is to be addedfavourite - the favourite to addFavourite addFavourite(String personId, Favourite favourite, Parameters parameters)
personId - the personId for which the favourite is to be addedfavourite - the favourite to addparameters - the parametersvoid 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 - ParametersFavourite getFavourite(String personId, String favouriteId)
personId - the personId for which the favourite is to be removedfavouriteId - the favourite idFavourite getFavourite(String personId, String favouriteId, Parameters parameters)
personId - the personId for which the favourite is to be removedfavouriteId - the favourite idparameters - the parametersCopyright © 2005–2018 Alfresco Software. All rights reserved.