public class AssetHandler<B> extends ReferenceableHandler<B>
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones| Constructor and Description |
|---|
AssetHandler(OpenMetadataAPIGenericConverter<B> converter,
Class<B> beanClass,
String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper,
String localServerUserId,
OpenMetadataServerSecurityVerifier securityVerifier,
List<String> supportedZones,
List<String> defaultZones,
List<String> publishZones,
AuditLog auditLog)
Construct the asset handler with information needed to work with B objects.
|
| Modifier and Type | Method and Description |
|---|---|
String |
addAssetFromTemplate(String userId,
String externalSourceGUID,
String externalSourceName,
String templateGUID,
String templateGUIDParameterName,
String expectedTypeGUID,
String expectedTypeName,
String qualifiedName,
String qualifiedNameParameterName,
String displayName,
String description,
String methodName)
Add a simple asset description to the metadata repository.
|
void |
addAssetOrigin(String userId,
String assetGUID,
String assetGUIDParameterName,
String organizationGUID,
String organizationGUIDParameterName,
String businessCapabilityGUID,
String businessCapabilityGUIDParameterName,
Map<String,String> otherOriginValues,
String methodName)
Add the asset origin classification to an asset.
|
List<String> |
assetGUIDsScan(String userId,
String subTypeGUID,
String subTypeName,
int startFrom,
int pageSize,
String methodName)
Scan through the repository looking for assets by type.
|
List<String> |
assetGUIDsScan(String userId,
String subTypeGUID,
String subTypeName,
List<String> suppliedSupportedZones,
int startFrom,
int pageSize,
String methodName)
Scan through the repository looking for assets by type.
|
List<String> |
assetGUIDZoneScan(String userId,
String zoneName,
String subTypeGUID,
String subTypeName,
List<String> suppliedSupportedZones,
int startFrom,
int pageSize,
String methodName)
Scan through the repository looking for assets by type and/or zone.
|
List<B> |
assetScan(String userId,
String subTypeGUID,
String subTypeName,
int startFrom,
int pageSize,
String methodName)
Scan through the repository looking for assets by type.
|
List<B> |
assetScan(String userId,
String subTypeGUID,
String subTypeName,
List<String> suppliedSupportedZones,
int startFrom,
int pageSize,
String methodName)
Scan through the repository looking for assets by type.
|
List<B> |
assetZoneScan(String userId,
String zoneName,
String subTypeGUID,
String subTypeName,
List<String> suppliedSupportedZones,
int startFrom,
int pageSize,
String methodName)
Scan through the repository looking for assets by type and/or zone.
|
void |
attachSchemaTypeToAsset(String userId,
String externalSourceGUID,
String externalSourceName,
String assetGUID,
String assetGUIDParameterName,
String schemaTypeGUID,
String schemaTypeGUIDParameterName,
String methodName)
Link the schema type and asset.
|
void |
classifyAssetAsReferenceData(String userId,
String assetGUID,
String assetGUIDParameterName,
String methodName)
Add the ReferenceData classification to an asset.
|
String |
createAssetInRepository(String userId,
String externalSourceGUID,
String externalSourceName,
String qualifiedName,
String displayName,
String description,
List<String> zoneMembership,
String owner,
int ownerType,
String originOrganizationCapabilityGUID,
String originBusinessCapabilityGUID,
Map<String,String> otherOriginValues,
Map<String,String> additionalProperties,
String typeGUID,
String typeName,
Map<String,Object> extendedProperties,
String methodName)
Add a simple asset description to the metadata repository.
|
void |
declassifyAssetAsReferenceData(String userId,
String assetGUID,
String assetGUIDParameterName,
String methodName)
Remove the ReferenceData classification from an Asset.
|
String |
detachSchemaTypeFromAsset(String userId,
String externalSourceGUID,
String externalSourceName,
String assetGUID,
String assetGUIDParameterName,
String methodName)
Remove any associated schema type.
|
List<String> |
findAssetGUIDs(String userId,
String searchString,
String searchStringParameter,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested search string in their name, qualified name
or description.
|
List<String> |
findAssetGUIDs(String userId,
String typeGUID,
String typeName,
String searchString,
String searchStringParameter,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested search string in their name, qualified name
or description.
|
List<B> |
findAssets(String userId,
String searchString,
String searchStringParameter,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested search string in their name, qualified name
or description.
|
List<B> |
findAssets(String userId,
String typeGUID,
String typeName,
String searchString,
String searchStringParameter,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested search string in their name, qualified name
or description.
|
List<B> |
findAssetsByName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested name in either the display name or qualified name.
|
List<B> |
findAssetsByName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested name in either the display name or qualified name.
|
List<B> |
getAllAssetsWithConnection(String userId,
String assetTypeGUID,
String assetTypeName,
int startFrom,
int pageSize,
String methodName)
Return the list of discovery services definitions that are stored.
|
B |
getAssetByNameWithConnection(String userId,
String name,
String nameParameterName,
String assetTypeGUID,
String assetTypeName,
String methodName)
Return an asset along with any associated connection.
|
String |
getAssetForConnection(String userId,
String connectionGUID,
String connectionGUIDParameterName,
List<String> serviceSupportedZones,
String methodName)
Returns the unique identifier for the asset connected to the requested connection.
|
String |
getAssetForConnectionName(String userId,
String connectionName,
String connectionNameParameter,
String methodName)
Returns the asset corresponding to the supplied connection name.
|
List<String> |
getAssetGUIDsByEndpoint(String userId,
String networkAddress,
String networkAddressParameterName,
int startFrom,
int pageSize,
String methodName)
Return the list of assets that have the same endpoint address.
|
List<String> |
getAssetGUIDsByKeyword(String userId,
String keywordGUID,
String keywordGUIDParameterName,
int startFrom,
int pageSize,
String methodName)
Return the list of unique identifiers for assets that are linked to a specific keyword either directly, or via one
of its schema elements.
|
List<String> |
getAssetGUIDsByName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested name in either the display name or qualified name.
|
List<String> |
getAssetGUIDsByName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested name in either the display name or qualified name.
|
List<String> |
getAssetGUIDsByTag(String userId,
String tagGUID,
String tagGUIDParameterName,
int startFrom,
int pageSize,
String methodName)
Return the list of unique identifiers for assets that are linked to a specific tag either directly, or via one
of its schema elements.
|
List<B> |
getAssetsByEndpoint(String userId,
String networkAddress,
String networkAddressParameterName,
String suppliedTypeName,
int startFrom,
int pageSize,
String methodName)
Return the list of assets that have the same endpoint address.
|
List<B> |
getAssetsByGlossaryTerm(String userId,
String termGUID,
String termGUIDParameterName,
int startFrom,
int pageSize,
String methodName)
Return the list of assets that are linked to a specific glossary term.
|
List<B> |
getAssetsByKeyword(String userId,
String keywordGUID,
String keywordGUIDParameterName,
int startFrom,
int pageSize,
String methodName)
Return the list of assets that are linked to a specific keyword.
|
List<B> |
getAssetsByName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested name in either the display name or qualified name.
|
List<B> |
getAssetsByName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return a list of assets with the requested name in either the display name or qualified name.
|
List<B> |
getAssetsByTag(String userId,
String tagGUID,
String tagGUIDParameterName,
int startFrom,
int pageSize,
String methodName)
Return the list of assets that are linked to a specific tag either directly, or via one
of its schema elements.
|
B |
getAssetWithConnection(String userId,
String assetGUID,
String assetGUIDParameterName,
String assetTypeName,
String methodName)
Return an asset along with any associated connection.
|
Map<String,String> |
getTypesOfAssetDescriptions()
Return the list of asset subtype names mapped to their descriptions.
|
List<String> |
getTypesOfAssetList()
Return the list of asset subtype names.
|
void |
publishAsset(String userId,
String assetGUID,
String assetGUIDParameterName,
String methodName)
Update the zones for a specific asset to the list set up in publish zones.
|
void |
removeAssetOrigin(String userId,
String assetGUID,
String assetGUIDParameterName,
String methodName)
Remove the asset origin classification to an asset.
|
void |
removeAssociatedSchemaType(String userId,
String externalSourceGUID,
String externalSourceName,
String assetGUID,
String assetGUIDParameterName,
String methodName)
Remove any associated schema type.
|
void |
saveSemanticAssignments(String userId,
String externalSourceGUID,
String externalSourceName,
String beanGUID,
String beanGUIDParameter,
List<String> glossaryTermGUIDs,
String glossaryTermGUIDsParameter,
String methodName)
Create relationships between the identified glossary terms and an Asset.
|
void |
updateAsset(String userId,
String externalSourceGUID,
String externalSourceName,
String assetGUID,
String assetGUIDParameterName,
String qualifiedName,
String displayName,
String description,
Map<String,String> additionalProperties,
String typeGUID,
String typeName,
Map<String,Object> extendedProperties,
String methodName)
Update an asset's properties.
|
void |
updateAssetOwner(String userId,
String assetGUID,
String assetGUIDParameterName,
String ownerId,
int ownerType,
String methodName)
Update the owner information for a specific asset.
|
void |
updateAssetWithConnection(String userId,
String externalSourceGUID,
String externalSourceName,
String assetGUID,
String assetGUIDParameterName,
String qualifiedName,
String displayName,
String description,
Map<String,String> additionalProperties,
String typeGUID,
String typeName,
Map<String,Object> extendedProperties,
String assetSummary,
Connection connection,
String methodName)
Update an asset's properties.
|
void |
updateAssetZones(String userId,
String assetGUID,
String assetGUIDParameterName,
List<String> assetZones,
String methodName)
Update the zones for a specific asset.
|
void |
withdrawAsset(String userId,
String assetGUID,
String assetGUIDParameterName,
String methodName)
Update the zones for a specific asset to the list set up in publish zones.
|
addSecurityTags, findBeanGUIDsByQualifiedName, findBeanGUIDsByQualifiedName, findBeansByQualifiedName, findBeansByQualifiedName, getBeanByQualifiedName, getBeanByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDsByQualifiedName, getBeanGUIDsByQualifiedName, getBeansByQualifiedName, getBeansByQualifiedName, getMoreInformation, getMoreInformation, getVendorProperties, removeSecurityTags, removeSemanticAssignment, saveSemanticAssignment, saveSemanticAssignmentcountAttachments, createBeanFromTemplate, createBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, findBeanGUIDs, findBeans, findBeans, findBeans, findEntities, getAllAttachmentLinks, getAnchorsForAttachedElements, getAttachedElement, getAttachedElement, getAttachedElementGUID, getAttachedElementGUID, getAttachedElementGUIDs, getAttachedElementGUIDs, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedEntities, getAttachedEntities, getAttachedEntity, getAttachedEntity, getAttachmentLinks, getAttachmentLinks, getBeanByUniqueName, getBeanByUniqueName, getBeanByValue, getBeanFromRepository, getBeanFromRepository, getBeanGUIDByUniqueName, getBeanGUIDsByClassification, getBeanGUIDsByType, getBeanGUIDsByType, getBeanGUIDsByValue, getBeansByClassification, getBeansByCreator, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getEntitiesByType, getEntitiesByValue, getEntitiesByValue, getEntityByValue, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityGUIDByValue, getRepositoryHelper, getServiceName, getUniqueAttachmentLink, linkElementToElement, linkElementToElement, relinkElementToNewElement, relinkElementToNewElement, setSecurityVerifier, unlinkAllElements, unlinkConnectedElement, unlinkElementFromElement, unlinkElementFromElement, updateBeanInRepository, updateBeanInRepository, updateBeanPropertyInRepository, updateBeanStatusInRepository, validateAnchorEntity, validateAnchorEntity, verifyExternalSourceIdentitypublic AssetHandler(OpenMetadataAPIGenericConverter<B> converter, Class<B> beanClass, String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, String localServerUserId, OpenMetadataServerSecurityVerifier securityVerifier, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog)
converter - specific converter for this bean classbeanClass - name of bean class that is represented by the generic class BserviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectslocalServerUserId - userId for this serversecurityVerifier - open metadata security services verifiersupportedZones - list of zones that the access service is allowed to serve B instances from.defaultZones - list of zones that the access service should set in all new B instances.publishZones - list of zones that the access service sets up in published B instances.auditLog - destination for audit log events.public List<String> getTypesOfAssetList()
public Map<String,String> getTypesOfAssetDescriptions()
public void attachSchemaTypeToAsset(String userId, String externalSourceGUID, String externalSourceName, String assetGUID, String assetGUIDParameterName, String schemaTypeGUID, String schemaTypeGUIDParameterName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external source - null for localassetGUID - unique identifier of the asset to connect the schema toassetGUIDParameterName - parameter providing the assetGUIDschemaTypeGUID - identifier for schema Type objectschemaTypeGUIDParameterName - parameter providing the schemaTypeGUIDmethodName - calling methodInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void removeAssociatedSchemaType(String userId, String externalSourceGUID, String externalSourceName, String assetGUID, String assetGUIDParameterName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external source - null for localassetGUID - unique identifier of the asset to connect the schema toassetGUIDParameterName - parameter providing the assetGUIDmethodName - calling methodInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String detachSchemaTypeFromAsset(String userId, String externalSourceGUID, String externalSourceName, String assetGUID, String assetGUIDParameterName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external source - null for localassetGUID - unique identifier of the asset to connect the schema toassetGUIDParameterName - parameter providing the assetGUIDmethodName - calling methodInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void saveSemanticAssignments(String userId, String externalSourceGUID, String externalSourceName, String beanGUID, String beanGUIDParameter, List<String> glossaryTermGUIDs, String glossaryTermGUIDsParameter, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external source - null for localbeanGUID - unique identifier of the referenceable that is being describedbeanGUIDParameter - parameter supply the beanGUIDglossaryTermGUIDs - list of unique identifiers of the glossary termsglossaryTermGUIDsParameter - parameter supplying the list of GlossaryTermGUIDsmethodName - calling methodInvalidParameterException - the guid properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String addAssetFromTemplate(String userId, String externalSourceGUID, String externalSourceName, String templateGUID, String templateGUIDParameterName, String expectedTypeGUID, String expectedTypeName, String qualifiedName, String qualifiedNameParameterName, String displayName, String description, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userIdexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcetemplateGUID - unique identifier of the metadata element to copytemplateGUIDParameterName - name of parameter providing the templateGUIDexpectedTypeGUID - unique identifier of type (or super type of asset identified by templateGUID)expectedTypeName - unique name of type (or super type of asset identified by templateGUID)qualifiedName - unique name for this asset - must not be nullqualifiedNameParameterName - parameter name providing qualifiedNamedisplayName - the stored display name property for the database - if null, the value from the template is useddescription - the stored description property associated with the database - if null, the value from the template is used.methodName - calling methodInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createAssetInRepository(String userId, String externalSourceGUID, String externalSourceName, String qualifiedName, String displayName, String description, List<String> zoneMembership, String owner, int ownerType, String originOrganizationCapabilityGUID, String originBusinessCapabilityGUID, Map<String,String> otherOriginValues, Map<String,String> additionalProperties, String typeGUID, String typeName, Map<String,Object> extendedProperties, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userexternalSourceGUID - unique identifier of software server capability representing the callerexternalSourceName - unique name of software server capability representing the callerqualifiedName - unique name for this assetdisplayName - the stored display name property for the assetdescription - the stored description property associated with the assetzoneMembership - initial zones for the asset - or null to allow the security module to set it upowner - identifier of the ownerownerType - is the owner identifier a user id, personal profile or team profileoriginOrganizationCapabilityGUID - unique identifier of originating organizationoriginBusinessCapabilityGUID - unique identifier of originating business capabilityotherOriginValues - the properties that characterize where this asset is fromadditionalProperties - any arbitrary properties not part of the type systemtypeGUID - identifier of the type that is a subtype of asset - or null to create standard typetypeName - name of the type that is a subtype of asset - or null to create standard typeextendedProperties - properties from any subtypemethodName - calling methodInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void updateAsset(String userId, String externalSourceGUID, String externalSourceName, String assetGUID, String assetGUIDParameterName, String qualifiedName, String displayName, String description, Map<String,String> additionalProperties, String typeGUID, String typeName, Map<String,Object> extendedProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier of software server capability representing the callerexternalSourceName - unique name of software server capability representing the callerassetGUID - unique identifier of the metadata element to updateassetGUIDParameterName - parameter name that supplied the assetGUIDqualifiedName - unique name for this databasedisplayName - the stored display name property for the databasedescription - the stored description property associated with the databaseadditionalProperties - any arbitrary properties not part of the type systemtypeGUID - identifier of the type that is a subtype of Database - or null to create standard typetypeName - name of the type that is a subtype of Database - or null to create standard typeextendedProperties - properties from any subtypemethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public void updateAssetWithConnection(String userId, String externalSourceGUID, String externalSourceName, String assetGUID, String assetGUIDParameterName, String qualifiedName, String displayName, String description, Map<String,String> additionalProperties, String typeGUID, String typeName, Map<String,Object> extendedProperties, String assetSummary, Connection connection, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier of software server capability representing the callerexternalSourceName - unique name of software server capability representing the callerassetGUID - unique identifier of the metadata element to updateassetGUIDParameterName - parameter name that supplied the assetGUIDqualifiedName - unique name for this databasedisplayName - the stored display name property for the databasedescription - the stored description property associated with the databaseadditionalProperties - any arbitrary properties not part of the type systemtypeGUID - identifier of the type that is a subtype of Database - or null to create standard typetypeName - name of the type that is a subtype of Database - or null to create standard typeextendedProperties - properties from any subtypeconnection - connection associated with the assetassetSummary - description of the asset from the perspective of the connectionmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public void classifyAssetAsReferenceData(String userId, String assetGUID, String assetGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user.assetGUID - unique identifier of the asset that contains reference data.assetGUIDParameterName - name of parameter providing assetGUIDmethodName - calling methodInvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public void declassifyAssetAsReferenceData(String userId, String assetGUID, String assetGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user.assetGUID - unique identifier of asset.assetGUIDParameterName - name of parameter providing assetGUIDmethodName - calling methodInvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public void addAssetOrigin(String userId, String assetGUID, String assetGUIDParameterName, String organizationGUID, String organizationGUIDParameterName, String businessCapabilityGUID, String businessCapabilityGUIDParameterName, Map<String,String> otherOriginValues, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of assetassetGUIDParameterName - parameter name supplying assetGUIDorganizationGUID - Unique identifier (GUID) of the organization where this asset originated from - or nullorganizationGUIDParameterName - parameter name supplying organizationGUIDbusinessCapabilityGUID - Unique identifier (GUID) of the business capability where this asset originated from.businessCapabilityGUIDParameterName - parameter name supplying businessCapabilityGUIDotherOriginValues - Descriptive labels describing origin of the assetmethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeAssetOrigin(String userId, String assetGUID, String assetGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of assetassetGUIDParameterName - parameter name supplying assetGUIDmethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void publishAsset(String userId, String assetGUID, String assetGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier for the asset to updateassetGUIDParameterName - parameter name supplying assetGUIDmethodName - calling methodInvalidParameterException - guid or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void withdrawAsset(String userId, String assetGUID, String assetGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier for the asset to updateassetGUIDParameterName - parameter name supplying assetGUIDmethodName - calling methodInvalidParameterException - guid or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateAssetZones(String userId, String assetGUID, String assetGUIDParameterName, List<String> assetZones, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier for the asset to updateassetGUIDParameterName - parameter name supplying assetGUIDassetZones - list of zones for the asset - these values override the current values - null means belongs
to all zones.methodName - calling methodInvalidParameterException - guid or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateAssetOwner(String userId, String assetGUID, String assetGUIDParameterName, String ownerId, int ownerType, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier for the asset to updateassetGUIDParameterName - parameter name supplying assetGUIDownerId - userId or profileGUID of the owner - or null to clear the fieldownerType - indicator of the type of Id provides above - or null to clear the fieldmethodName - calling methodInvalidParameterException - userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String getAssetForConnection(String userId, String connectionGUID, String connectionGUIDParameterName, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the userId of the requesting userconnectionGUID - unique identifier for the connectionconnectionGUIDParameterName - name of parameter supplying connectionGUIDserviceSupportedZones - list of supported zones for any connected assetmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public String getAssetForConnectionName(String userId, String connectionName, String connectionNameParameter, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.connectionName - this may be the qualifiedName or displayName of the connection.connectionNameParameter - name of parameter supplyingmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public B getAssetWithConnection(String userId, String assetGUID, String assetGUIDParameterName, String assetTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the assetassetGUIDParameterName - name of parameter supplying assetGUIDassetTypeName - type name of assetmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public B getAssetByNameWithConnection(String userId, String name, String nameParameterName, String assetTypeGUID, String assetTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - unique identifier of the assetnameParameterName - name of parameter supplying nameassetTypeGUID - type identifier of assetassetTypeName - type name of assetmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getAllAssetsWithConnection(String userId, String assetTypeGUID, String assetTypeName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userassetTypeGUID - subtype of asset requiredassetTypeName - subtype of asset requiredstartFrom - initial position in the stored listpageSize - maximum number of definitions to return on this callmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the discovery service definitions.public List<String> assetGUIDsScan(String userId, String subTypeGUID, String subTypeName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usersubTypeGUID - type of asset to scan for (null for all asset types)subTypeName - type of asset to scan for (null for all asset types)startFrom - scan pointerpageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> assetGUIDsScan(String userId, String subTypeGUID, String subTypeName, List<String> suppliedSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usersubTypeGUID - type of asset to scan for (null for all asset types)subTypeName - type of asset to scan for (null for all asset types)suppliedSupportedZones - list of supported zones from calling servicestartFrom - scan pointerpageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> assetScan(String userId, String subTypeGUID, String subTypeName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usersubTypeGUID - type of asset to scan for (null for all asset types)subTypeName - type of asset to scan for (null for all asset types)startFrom - scan pointerpageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> assetScan(String userId, String subTypeGUID, String subTypeName, List<String> suppliedSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usersubTypeGUID - type of asset to scan for (null for all asset types)subTypeName - type of asset to scan for (null for all asset types)startFrom - scan pointerpageSize - maximum number of resultssuppliedSupportedZones - list of supported zones from calling servicemethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> assetZoneScan(String userId, String zoneName, String subTypeGUID, String subTypeName, List<String> suppliedSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userzoneName - name of zone to scansubTypeGUID - type of asset to scan for (null for all asset types)subTypeName - type of asset to scan for (null for all asset types)suppliedSupportedZones - list of supported zones from calling servicestartFrom - scan pointerpageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> assetGUIDZoneScan(String userId, String zoneName, String subTypeGUID, String subTypeName, List<String> suppliedSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userzoneName - name of zone to scansubTypeGUID - type of asset to scan for (null for all asset types)subTypeName - type of asset to scan for (null for all asset types)suppliedSupportedZones - list of supported zones from calling servicestartFrom - scan pointerpageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> findAssetsByName(String userId, String typeGUID, String typeName, String name, String nameParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search for - this is a regular expression (RegEx)nameParameterName - property that provided the namestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> findAssetsByName(String userId, String typeGUID, String typeName, String name, String nameParameterName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search for - this is a regular expression (RegEx)nameParameterName - property that provided the nameserviceSupportedZones - list of supported zones for this servicestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getAssetGUIDsByName(String userId, String typeGUID, String typeName, String name, String nameParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search for - this must be an exact match either on the display name or the qualified namenameParameterName - property that provided the namestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getAssetGUIDsByName(String userId, String typeGUID, String typeName, String name, String nameParameterName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the nameserviceSupportedZones - list of supported zones for this servicestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getAssetsByName(String userId, String typeGUID, String typeName, String name, String nameParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the namestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getAssetsByName(String userId, String typeGUID, String typeName, String name, String nameParameterName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search for - this must be an exact match on the display name or qualified namenameParameterName - property that provided the nameserviceSupportedZones - list of supported zones for this servicestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getAssetGUIDsByEndpoint(String userId, String networkAddress, String networkAddressParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usernetworkAddress - address to query onnetworkAddressParameterName - parameter name supplying networkAddressstartFrom - place to start in querypageSize - number of results to returnmethodName - calling methodInvalidParameterException - the networkAddress is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiespublic List<B> getAssetsByEndpoint(String userId, String networkAddress, String networkAddressParameterName, String suppliedTypeName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usernetworkAddress - address to query onnetworkAddressParameterName - name of parameter passing the network addresssuppliedTypeName - name of asset subtype to validatestartFrom - place to start in querypageSize - number of results to returnmethodName - calling methodInvalidParameterException - the networkAddress is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiespublic List<String> findAssetGUIDs(String userId, String searchString, String searchStringParameter, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usersearchString - string to search for in textsearchStringParameter - name of parameter supplying the search stringstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - the searchString is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiespublic List<String> findAssetGUIDs(String userId, String typeGUID, String typeName, String searchString, String searchStringParameter, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for - null for generic AssettypeName - unique name of the asset type to search for - null for generic AssetsearchString - string to search for in textsearchStringParameter - parameter providing search stringstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - the searchString is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiespublic List<B> findAssets(String userId, String searchString, String searchStringParameter, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usersearchString - string to search for in textsearchStringParameter - parameter providing search stringstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - the searchString is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiespublic List<B> findAssets(String userId, String typeGUID, String typeName, String searchString, String searchStringParameter, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search fortypeName - unique name of the asset type to search forsearchString - string to search for in textsearchStringParameter - parameter providing search stringstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - the searchString is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiespublic List<String> getAssetGUIDsByTag(String userId, String tagGUID, String tagGUIDParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.tagGUID - unique identifier of tag.tagGUIDParameterName - name of parameter supplying the GUIDstartFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getAssetsByTag(String userId, String tagGUID, String tagGUIDParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.tagGUID - unique identifier of tag.tagGUIDParameterName - name of parameter supplying the GUIDstartFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getAssetGUIDsByKeyword(String userId, String keywordGUID, String keywordGUIDParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.keywordGUID - unique identifier of keyword.keywordGUIDParameterName - name of parameter supplying the guidstartFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getAssetsByKeyword(String userId, String keywordGUID, String keywordGUIDParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.keywordGUID - unique identifier of keyword.keywordGUIDParameterName - name of parameter supplying the guidstartFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getAssetsByGlossaryTerm(String userId, String termGUID, String termGUIDParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.termGUID - unique identifier of term.termGUIDParameterName - name of parameter supplying the guidstartFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.Copyright © 2018–2020 ODPi. All rights reserved.