public class ConnectedAssetRESTServices extends Object
| Constructor and Description |
|---|
ConnectedAssetRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
CountResponse |
countAnnotations(String userId,
String assetGUID)
Returns the count of annotations for the asset.
|
CountResponse |
countCertifications(String userId,
String assetGUID)
Returns the count of certifications for the asset.
|
CountResponse |
countComments(String userId,
String assetGUID)
Returns the count of comments for the asset.
|
CountResponse |
countConnections(String userId,
String assetGUID)
Returns the count of connections for the asset.
|
CountResponse |
countExternalIdentifiers(String userId,
String assetGUID)
Returns the count of external identifiers for the asset.
|
CountResponse |
countExternalReferences(String userId,
String assetGUID)
Returns the count of external references for the asset.
|
CountResponse |
countInformalTags(String userId,
String assetGUID)
Returns the count of informal tags for the asset.
|
CountResponse |
countKnownLocations(String userId,
String assetGUID)
Returns the count of known locations for the asset.
|
CountResponse |
countLicenses(String userId,
String assetGUID)
Returns the count of licenses for the asset.
|
CountResponse |
countLikes(String userId,
String assetGUID)
Returns the count of likes for the asset.
|
CountResponse |
countMeanings(String userId,
String assetGUID)
Returns the count of meanings for the asset.
|
CountResponse |
countNoteLogs(String userId,
String assetGUID)
Returns the count of note logs for the asset.
|
CountResponse |
countNotes(String userId,
String assetGUID)
Returns the count of notes for the asset.
|
CountResponse |
countRatings(String userId,
String assetGUID)
Returns the count of ratings for the asset.
|
CountResponse |
countRelatedAssets(String userId,
String assetGUID)
Returns the count of related assets for the asset.
|
CountResponse |
countRelatedMediaReferences(String userId,
String assetGUID)
Returns the count of related media references for the asset.
|
AnnotationsResponse |
getAnnotations(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of annotations for the asset.
|
GUIDResponse |
getAssetIdForConnection(String userId,
String connectionGUID)
Returns the basic information about the asset.
|
AssetResponse |
getAssetSummary(String userId,
String assetGUID)
Returns the basic information about the asset.
|
CertificationsResponse |
getCertifications(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of certifications for the asset.
|
CommentsResponse |
getCommentReplies(String userId,
String commentGUID,
int elementStart,
int maxElements)
Returns the list of replies to a comment.
|
CommentsResponse |
getComments(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of comments for the asset.
|
ConnectionsResponse |
getConnections(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of connections for the asset.
|
ExternalIdentifiersResponse |
getExternalIdentifiers(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of external identifiers for the asset.
|
ExternalReferencesResponse |
getExternalReferences(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of external references for the asset.
|
InformalTagsResponse |
getInformalTags(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of informal tags for the asset.
|
LocationsResponse |
getKnownLocations(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of known locations for the asset.
|
LicensesResponse |
getLicenses(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of licenses for the asset.
|
LikesResponse |
getLikes(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of likes for the asset.
|
MeaningsResponse |
getMeanings(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of meanings for the asset.
|
NoteLogsResponse |
getNoteLogs(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of note logs for the asset.
|
NotesResponse |
getNotes(String userId,
String noteLogGUID,
int elementStart,
int maxElements)
Returns the list of notes for a note log.
|
RatingsResponse |
getRatings(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of ratings for the asset.
|
RelatedAssetsResponse |
getRelatedAssets(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of related assets for the asset.
|
RelatedMediaReferencesResponse |
getRelatedMediaReferences(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of related media references for the asset.
|
SchemaResponse |
getSchema(String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the schema for the asset.
|
static void |
setRepositoryConnector(String accessServiceName,
OMRSRepositoryConnector repositoryConnector)
Provide a connector to the REST Services.
|
public ConnectedAssetRESTServices()
public static void setRepositoryConnector(String accessServiceName, OMRSRepositoryConnector repositoryConnector)
accessServiceName - name of this access servicerepositoryConnector - OMRS Repository Connector to the property server.public AssetResponse getAssetSummary(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public GUIDResponse getAssetIdForConnection(String userId, String connectionGUID)
userId - userId of user making request.connectionGUID - unique id for connection.public AnnotationsResponse getAnnotations(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countAnnotations(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public CertificationsResponse getCertifications(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countCertifications(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public CommentsResponse getComments(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CommentsResponse getCommentReplies(String userId, String commentGUID, int elementStart, int maxElements)
userId - String userId of user making request.commentGUID - String unique id for root comment.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countComments(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public ConnectionsResponse getConnections(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countConnections(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public ExternalIdentifiersResponse getExternalIdentifiers(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countExternalIdentifiers(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public ExternalReferencesResponse getExternalReferences(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countExternalReferences(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public InformalTagsResponse getInformalTags(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countInformalTags(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public LicensesResponse getLicenses(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countLicenses(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public LikesResponse getLikes(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countLikes(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public LocationsResponse getKnownLocations(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countKnownLocations(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public MeaningsResponse getMeanings(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countMeanings(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public NoteLogsResponse getNoteLogs(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countNoteLogs(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public NotesResponse getNotes(String userId, String noteLogGUID, int elementStart, int maxElements)
userId - String userId of user making request.noteLogGUID - String unique id for the note log.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countNotes(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public RatingsResponse getRatings(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countRatings(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public RelatedAssetsResponse getRelatedAssets(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countRelatedAssets(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public RelatedMediaReferencesResponse getRelatedMediaReferences(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.public CountResponse countRelatedMediaReferences(String userId, String assetGUID)
userId - String userId of user making request.assetGUID - String unique id for asset.public SchemaResponse getSchema(String userId, String assetGUID, int elementStart, int maxElements)
userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.Copyright © 2018 ODPi. All rights reserved.