public interface MyFavouriteCollectionsInterface
| Modifier and Type | Method and Description |
|---|---|
void |
addToMyAssets(String userId,
String assetGUID)
Add an asset to the identified user's list of favorite assets.
|
void |
addToMyCommunities(String userId,
String communityGUID)
Add a community to the identified user's list of favorite communities.
|
void |
addToMyProjects(String userId,
String projectGUID)
Add a project to the identified user's list of favorite projects.
|
List<AssetCollectionMember> |
getMyAssets(String userId,
int startFrom,
int pageSize)
Return a list of assets that the specified user has added to their favorites list.
|
List<CommunityCollectionMember> |
getMyCommunities(String userId,
int startFrom,
int pageSize)
Return a list of communities that the specified user has added to their favorites list.
|
List<ProjectCollectionMember> |
getMyProjects(String userId,
int startFrom,
int pageSize)
Return a list of projects that the specified user has added to their favorites list.
|
void |
removeFromMyAssets(String userId,
String assetGUID)
Remove an asset from identified user's list of favorite assets.
|
void |
removeFromMyCommunities(String userId,
String communityGUID)
Remove a community from identified user's list of favorite communities.
|
void |
removeFromMyProjects(String userId,
String projectGUID)
Remove a project from identified user's list of favorite projects.
|
List<AssetCollectionMember> getMyAssets(String userId, int startFrom, int pageSize) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void addToMyAssets(String userId, String assetGUID) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.assetGUID - unique identifier of the asset.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem updating information in the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void removeFromMyAssets(String userId, String assetGUID) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.assetGUID - unique identifier of the asset.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem updating information in the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.List<ProjectCollectionMember> getMyProjects(String userId, int startFrom, int pageSize) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void addToMyProjects(String userId, String projectGUID) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.projectGUID - unique identifier of the project.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem updating information in the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void removeFromMyProjects(String userId, String projectGUID) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.projectGUID - unique identifier of the project.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem updating information in the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.List<CommunityCollectionMember> getMyCommunities(String userId, int startFrom, int pageSize) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void addToMyCommunities(String userId, String communityGUID) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.communityGUID - unique identifier of the community.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem updating information in the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void removeFromMyCommunities(String userId, String communityGUID) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.communityGUID - unique identifier of the community.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem updating information in the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.Copyright © 2018–2020 ODPi. All rights reserved.