public interface AssetCatalogInterface
| Modifier and Type | Method and Description |
|---|---|
AssetDescriptionResponse |
getAssetDetails(String userId,
String assetId)
Fetch asset's header, classification and properties
|
RelationshipsResponse |
getAssetRelationships(String userId,
String assetId)
Fetch the relationships for a specific asset
|
AssetDescriptionResponse |
getAssetsByClassificationName(String userId,
String classificationName)
Fetch the assets that match the classification name
|
AssetDescriptionResponse |
getAssetsByProperty(String userId,
String propertyValue)
Fetch the assets that match the properties
|
AssetDescriptionResponse |
getAssetsFromNeighborhood(String userId,
String assetId)
Returns the sub-graph that represents the returned linked relationships.
|
AssetDescriptionResponse |
getAssetSummary(String userId,
String assetId)
Fetch asset's header and classification
|
AssetDescriptionResponse |
getAssetUniverse(String userId,
String assetId)
Fetch asset's header, classification, properties and relationships
|
ClassificationsResponse |
getClassificationForAsset(String userId,
String assetId)
Fetch the classification for a specific asset
|
AssetDescriptionResponse |
getLastCreatedAssets(String userId)
Returns the last created assets
|
AssetDescriptionResponse |
getLastUpdatedAssets(String userId)
Returns the last updated assets
|
AssetDescriptionResponse |
getLinkingAssets(String userId,
String startAssetId,
String endAssetId)
Returns a sub-graph of intermediate assets that connected two assets
|
RelationshipsResponse |
getLinkingRelationships(String userId,
String startAssetId,
String endAssetId)
Return a sub-graph of relationships that connect two assets
|
AssetDescriptionResponse |
getRelatedAssets(String userId,
String assetId)
Return the list of assets that are of the types listed in instanceTypes and are connected,
either directly or indirectly to the asset identified by assetId.
|
RelationshipsResponse |
getRelationship(String userId,
String relationshipId)
Fetch relationship details based on its unique identifier
|
RelationshipsResponse |
getRelationshipByLabel(String userId,
String propertyName)
Fetch relationship details based on property name
|
RelationshipsResponse |
getRelationshipsFromNeighborhood(String userId,
String assetId)
Returns the sub-graph that represents the returned linked assets
|
AssetDescriptionResponse |
searchAssets(String userId,
String searchCriteria)
Return a list of assets (details and connections) matching the search criteria
|
RelationshipsResponse |
searchForRelationships(String userId,
String relationshipTypeId,
String criteria)
Return a list of relationships that match the search criteria.
|
AssetDescriptionResponse getAssetSummary(String userId, String assetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userassetId - the unique identifier for the assetPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse getAssetDetails(String userId, String assetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userassetId - the unique identifier for the assetPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse getAssetUniverse(String userId, String assetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userassetId - the unique identifier for the assetPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidRelationshipsResponse getAssetRelationships(String userId, String assetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userassetId - the unique identifier for the assetPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidClassificationsResponse getClassificationForAsset(String userId, String assetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userassetId - the unique identifier for the assetPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse getAssetsByProperty(String userId, String propertyValue) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userpropertyValue - the property value searchedPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse getAssetsByClassificationName(String userId, String classificationName) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userclassificationName - the name of the classificationPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidRelationshipsResponse getLinkingRelationships(String userId, String startAssetId, String endAssetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userstartAssetId - the starting asset identifier of the queryendAssetId - the ending asset identifier of the queryPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse getLinkingAssets(String userId, String startAssetId, String endAssetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userstartAssetId - the starting asset identifier of the queryendAssetId - the ending asset identifier of the queryPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse getRelatedAssets(String userId, String assetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userassetId - the starting asset identifier of the queryPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse getAssetsFromNeighborhood(String userId, String assetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userassetId - the starting asset identifier of the queryPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidRelationshipsResponse getRelationshipsFromNeighborhood(String userId, String assetId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userassetId - the starting asset identifier of the queryPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse getLastCreatedAssets(String userId) throws InvalidParameterException, PropertyServerException
userId - the unique identifier for the userPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse getLastUpdatedAssets(String userId) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the userPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidRelationshipsResponse getRelationship(String userId, String relationshipId) throws InvalidParameterException, PropertyServerException
userId - String unique identifier for the userrelationshipId - String unique identifier for the relationshipInvalidParameterExceptionPropertyServerExceptionRelationshipsResponse getRelationshipByLabel(String userId, String propertyName) throws InvalidParameterException, PropertyServerException
userId - String unique identifier for the userpropertyName - String that it is used to identify the relationship labelPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidRelationshipsResponse searchForRelationships(String userId, String relationshipTypeId, String criteria) throws PropertyServerException, InvalidParameterException
userId - String unique identifier for the userrelationshipTypeId - limit the result set to only include the specified types for relationshipscriteria - String for searching the relationshipPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidAssetDescriptionResponse searchAssets(String userId, String searchCriteria) throws PropertyServerException, InvalidParameterException
userId - the unique identifier for the usersearchCriteria - a string expression of the characteristics of the required assetsPropertyServerException - there is a problem retrieving information from the property serverInvalidParameterException - one of the parameters is null or invalidCopyright © 2018 ODPi. All rights reserved.