public interface AssetReviewInterface
| Modifier and Type | Method and Description |
|---|---|
List<Asset> |
findAssets(String userId,
String searchString,
int startFrom,
int pageSize)
Return a list of assets with the requested search string in their name, qualified name
or description.
|
AssetUniverse |
getAssetProperties(String userId,
String assetGUID)
Return everything that is known about the asset
|
List<Asset> |
getAssetsByName(String userId,
String name,
int startFrom,
int pageSize)
Return a list of assets with the requested name.
|
Asset |
getAssetSummary(String userId,
String assetGUID)
Return the basic attributes of an asset.
|
Connector |
getConnectorToAsset(String userId,
String assetGUID)
Return a connector for the asset to enable the calling user to access the content.
|
List<DiscoveryAnalysisReport> |
getDiscoveryAnalysisReports(String userId,
String assetGUID,
int startingFrom,
int maximumResults)
Return the discovery analysis reports about the asset.
|
List<Annotation> |
getDiscoveryReportAnnotations(String userId,
String discoveryReportGUID,
AnnotationStatus annotationStatus,
int startingFrom,
int maximumResults)
Return the annotations linked directly to the report.
|
List<Annotation> |
getExtendedAnnotations(String userId,
String annotationGUID,
AnnotationStatus annotationStatus,
int startingFrom,
int maximumResults)
Return any annotations attached to this annotation.
|
List<String> |
getTypesOfAnnotation(String userId)
Return the annotation subtype names.
|
Map<String,String> |
getTypesOfAnnotationWithDescriptions(String userId)
Return the annotation subtype names mapped to their descriptions.
|
List<Asset> getAssetsByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling username - name to search forstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnInvalidParameterException - the name is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiesList<Asset> findAssets(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usersearchString - string to search for in textstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnInvalidParameterException - the searchString is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiesAsset getAssetSummary(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the assetInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.AssetUniverse getAssetProperties(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the assetInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.Connector getConnectorToAsset(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the assetInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.List<DiscoveryAnalysisReport> getDiscoveryAnalysisReports(String userId, String assetGUID, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the assetstartingFrom - position in the list (used when there are so many reports that paging is neededmaximumResults - maximum number of elements to return an this callInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.List<String> getTypesOfAnnotation(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemMap<String,String> getTypesOfAnnotationWithDescriptions(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<Annotation> getDiscoveryReportAnnotations(String userId, String discoveryReportGUID, AnnotationStatus annotationStatus, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userdiscoveryReportGUID - identifier of the discovery request.annotationStatus - status of the desired annotations - null means all statuses.startingFrom - initial position in the stored list.maximumResults - maximum number of definitions to return on this call.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.List<Annotation> getExtendedAnnotations(String userId, String annotationGUID, AnnotationStatus annotationStatus, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userannotationGUID - anchor annotationannotationStatus - status of the desired annotations - null means all statuses.startingFrom - starting position in the listmaximumResults - maximum number of annotations that can be returned.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.Copyright © 2018–2020 ODPi. All rights reserved.