public class AssetHandler extends Object
| Constructor and Description |
|---|
AssetHandler(String serviceName,
String serverName,
OMRSRepositoryConnector repositoryConnector,
String userId,
String assetGUID)
Construct the asset handler with a link to the property server's connector and this access service's
official name.
|
AssetHandler(String serviceName,
String serverName,
OMRSRepositoryConnector repositoryConnector,
String userId,
String assetGUID,
String connectionGUID)
Construct the asset handler with a link to the property server's connector and this access service's
official name.
|
| Modifier and Type | Method and Description |
|---|---|
Asset |
getAsset()
Return the asset bean.
|
int |
getCertificationCount()
Return the count of attached certification.
|
int |
getCommentCount()
Return the count of attached comments.
|
int |
getConnectionCount()
Return the count of connections for the asset.
|
int |
getExternalIdentifierCount()
Return the count of external identifiers for this asset.
|
int |
getExternalReferencesCount()
Return the count of attached external references.
|
int |
getInformalTagCount()
Return the count of attached informal tags.
|
int |
getKnownLocationsCount()
Return the count of known locations.
|
int |
getLicenseCount()
Return the count of license for this asset.
|
int |
getLikeCount()
Return the number of likes for the asset.
|
int |
getNoteLogsCount()
Return the count of attached note logs.
|
int |
getRatingsCount()
Return the count of attached ratings.
|
int |
getRelatedAssetCount()
Return the count of related assets.
|
int |
getRelatedMediaReferenceCount()
Return the count of related media references.
|
SchemaType |
getSchemaType()
Is there an attached schema?
|
public AssetHandler(String serviceName, String serverName, OMRSRepositoryConnector repositoryConnector, String userId, String assetGUID) throws InvalidParameterException, UnrecognizedAssetGUIDException, PropertyServerException, UserNotAuthorizedException
serviceName - name of this serviceserverName - name of this serverrepositoryConnector - connector to the property server.userId - userId of user making request.assetGUID - unique id for asset.InvalidParameterException - one of the parameters is null or invalid.UnrecognizedAssetGUIDException - the supplied GUID is not recognized by the metadata repository.PropertyServerException - there is a problem retrieving information from the property (metadata) server.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public AssetHandler(String serviceName, String serverName, OMRSRepositoryConnector repositoryConnector, String userId, String assetGUID, String connectionGUID) throws InvalidParameterException, UnrecognizedAssetGUIDException, UnrecognizedConnectionGUIDException, PropertyServerException, UserNotAuthorizedException
serviceName - name of this serviceserverName - name of this serverrepositoryConnector - connector to the property server.userId - userId of user making request.assetGUID - unique id for asset.connectionGUID - unique id for connection used to access asset.InvalidParameterException - one of the parameters is null or invalid.UnrecognizedAssetGUIDException - the supplied GUID is not recognized by the metadata repository.UnrecognizedConnectionGUIDException - the supplied GUID is not recognized by the metadata repository.PropertyServerException - there is a problem retrieving information from the property (metadata) server.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public Asset getAsset()
public int getCertificationCount()
public int getCommentCount()
public int getConnectionCount()
public int getExternalIdentifierCount()
public int getExternalReferencesCount()
public int getInformalTagCount()
public int getLicenseCount()
public int getLikeCount()
public int getKnownLocationsCount()
public int getNoteLogsCount()
public int getRatingsCount()
public int getRelatedAssetCount()
public int getRelatedMediaReferenceCount()
public SchemaType getSchemaType()
Copyright © 2018–2019 ODPi. All rights reserved.