Class CapabilityManagerClient
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.itinfrastructure.client.CapabilityManagerClient
-
- All Implemented Interfaces:
SoftwareCapabilityManagerInterface,SoftwareServerCapabilityManagerInterface
public class CapabilityManagerClient extends Object implements SoftwareCapabilityManagerInterface, SoftwareServerCapabilityManagerInterface
CapabilityManagerClient supports the APIs to maintain software server capabilities and their related objects.
-
-
Constructor Summary
Constructors Constructor Description CapabilityManagerClient(String serverName, String serverPlatformURLRoot)Create a new client with no authentication embedded in the HTTP request.CapabilityManagerClient(String serverName, String serverPlatformURLRoot, String userId, String password)Create a new client that passes userId and password in each HTTP request.CapabilityManagerClient(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog)Create a new client that passes userId and password in each HTTP request.CapabilityManagerClient(String serverName, String serverPlatformURLRoot, ITInfrastructureRESTClient restClient, int maxPageSize)Create a new client that is going to be used in an OMAG Server.CapabilityManagerClient(String serverName, String serverPlatformURLRoot, AuditLog auditLog)Create a new client with no authentication embedded in the HTTP request.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringcreateServerAssetUse(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String capabilityGUID, String assetGUID, ServerAssetUseProperties properties)Create a new metadata relationship to represent the use of an asset by a software server capability.StringcreateSoftwareCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String classificationName, SoftwareCapabilityProperties capabilityProperties)Create a new metadata element to represent a software server capability.StringcreateSoftwareCapabilityFromTemplate(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String templateGUID, TemplateProperties templateProperties)Create a new metadata element to represent a software capability using an existing metadata element as a template.StringcreateSoftwareServerCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String classificationName, SoftwareServerCapabilityProperties capabilityProperties)Deprecated.StringcreateSoftwareServerCapabilityFromTemplate(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String templateGUID, TemplateProperties templateProperties)Deprecated.List<SoftwareCapabilityElement>findSoftwareCapabilities(String userId, String searchString, Date effectiveTime, int startFrom, int pageSize)Retrieve the list of software capability metadata elements that contain the search string.List<SoftwareServerCapabilityElement>findSoftwareServerCapabilities(String userId, String searchString, Date effectiveTime, int startFrom, int pageSize)Deprecated.List<ServerAssetUseElement>getCapabilityUsesForAsset(String userId, String assetGUID, ServerAssetUseType useType, Date effectiveTime, int startFrom, int pageSize)Return the list of software server capabilities that make use of a specific asset.ServerAssetUseElementgetServerAssetUseByGUID(String userId, String guid)Retrieve the server asset use type relationship with the supplied unique identifier.List<ServerAssetUseElement>getServerAssetUsesForCapability(String userId, String capabilityGUID, ServerAssetUseType useType, Date effectiveTime, int startFrom, int pageSize)Return the list of server asset use relationships associated with a software server capability.List<ServerAssetUseElement>getServerAssetUsesForElements(String userId, String capabilityGUID, String assetGUID, Date effectiveTime, int startFrom, int pageSize)Retrieve the list of relationships between a specific software server capability and a specific asset.List<SoftwareCapabilityElement>getSoftwareCapabilitiesByName(String userId, String name, Date effectiveTime, int startFrom, int pageSize)Retrieve the list of software capability metadata elements with a matching qualified or display name.SoftwareCapabilityElementgetSoftwareCapabilityByGUID(String userId, String guid)Retrieve the software capability metadata element with the supplied unique identifier.List<SoftwareServerCapabilityElement>getSoftwareServerCapabilitiesByName(String userId, String name, Date effectiveTime, int startFrom, int pageSize)Deprecated.SoftwareServerCapabilityElementgetSoftwareServerCapabilityByGUID(String userId, String guid)Deprecated.voidremoveServerAssetUse(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String serverAssetUseGUID)Remove the metadata relationship to represent the use of an asset by a software server capability.voidremoveSoftwareCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String capabilityGUID)Remove the metadata element representing a software capability.voidremoveSoftwareServerCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String capabilityGUID)Deprecated.voidupdateServerAssetUse(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String serverAssetUseGUID, boolean isMergeUpdate, ServerAssetUseProperties properties)Update the metadata relationship to represent the use of an asset by a software server capability.voidupdateSoftwareCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String capabilityGUID, boolean isMergeUpdate, SoftwareCapabilityProperties capabilityProperties)Update the metadata element representing a software capability.voidupdateSoftwareServerCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String capabilityGUID, boolean isMergeUpdate, SoftwareServerCapabilityProperties capabilityProperties)Deprecated.
-
-
-
Constructor Detail
-
CapabilityManagerClient
public CapabilityManagerClient(String serverName, String serverPlatformURLRoot, AuditLog auditLog) throws InvalidParameterException
Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST serversauditLog- logging destination- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
CapabilityManagerClient
public CapabilityManagerClient(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servers- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
CapabilityManagerClient
public CapabilityManagerClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST serversuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requests- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
CapabilityManagerClient
public CapabilityManagerClient(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog) throws InvalidParameterException
Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST serversuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requestsauditLog- logging destination- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
CapabilityManagerClient
public CapabilityManagerClient(String serverName, String serverPlatformURLRoot, ITInfrastructureRESTClient restClient, int maxPageSize) throws InvalidParameterException
Create a new client that is going to be used in an OMAG Server.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST serversrestClient- client that issues the REST API callsmaxPageSize- maximum number of results supported by this server- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
-
Method Detail
-
createSoftwareServerCapability
@Deprecated public String createSoftwareServerCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String classificationName, SoftwareServerCapabilityProperties capabilityProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Deprecated.Create a new metadata element to represent a software server capability.- Specified by:
createSoftwareServerCapabilityin interfaceSoftwareServerCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callerinfrastructureManagerIsHome- should the software server capability be marked as owned by the infrastructure manager so others can not update?classificationName- optional classification name that refines the type of the software server capability.capabilityProperties- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
InvalidParameterException- 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)
-
createSoftwareServerCapabilityFromTemplate
@Deprecated public String createSoftwareServerCapabilityFromTemplate(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String templateGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Deprecated.Create a new metadata element to represent a software server capability using an existing metadata element as a template.- Specified by:
createSoftwareServerCapabilityFromTemplatein interfaceSoftwareServerCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callerinfrastructureManagerIsHome- should the software server capability be marked as owned by the infrastructure manager so others can not update?templateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
InvalidParameterException- 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)
-
updateSoftwareServerCapability
@Deprecated public void updateSoftwareServerCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String capabilityGUID, boolean isMergeUpdate, SoftwareServerCapabilityProperties capabilityProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Deprecated.Update the metadata element representing a software server capability.- Specified by:
updateSoftwareServerCapabilityin interfaceSoftwareServerCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callercapabilityGUID- unique identifier of the metadata element to updateisMergeUpdate- are unspecified properties unchanged (true) or removed?capabilityProperties- new properties for this element- Throws:
InvalidParameterException- 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)
-
removeSoftwareServerCapability
@Deprecated public void removeSoftwareServerCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String capabilityGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Deprecated.Remove the metadata element representing a software server capability.- Specified by:
removeSoftwareServerCapabilityin interfaceSoftwareServerCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callercapabilityGUID- unique identifier of the metadata element to remove- Throws:
InvalidParameterException- 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)
-
findSoftwareServerCapabilities
@Deprecated public List<SoftwareServerCapabilityElement> findSoftwareServerCapabilities(String userId, String searchString, Date effectiveTime, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Deprecated.Retrieve the list of software server capability metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findSoftwareServerCapabilitiesin interfaceSoftwareServerCapabilityManagerInterface- Parameters:
userId- calling usersearchString- string to find in the propertieseffectiveTime- effective time for the querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getSoftwareServerCapabilitiesByName
@Deprecated public List<SoftwareServerCapabilityElement> getSoftwareServerCapabilitiesByName(String userId, String name, Date effectiveTime, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Deprecated.Retrieve the list of software server capability metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getSoftwareServerCapabilitiesByNamein interfaceSoftwareServerCapabilityManagerInterface- Parameters:
userId- calling username- name to search foreffectiveTime- effective time for the querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getSoftwareServerCapabilityByGUID
@Deprecated public SoftwareServerCapabilityElement getSoftwareServerCapabilityByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Deprecated.Retrieve the software server capability metadata element with the supplied unique identifier.- Specified by:
getSoftwareServerCapabilityByGUIDin interfaceSoftwareServerCapabilityManagerInterface- Parameters:
userId- calling userguid- unique identifier of the requested metadata element- Returns:
- matching metadata element
- Throws:
InvalidParameterException- 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)
-
createSoftwareCapability
public String createSoftwareCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String classificationName, SoftwareCapabilityProperties capabilityProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a software server capability.- Specified by:
createSoftwareCapabilityin interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callerinfrastructureManagerIsHome- should the software server capability be marked as owned by the infrastructure manager so others can not update?classificationName- optional classification name that refines the type of the software server capability.capabilityProperties- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
InvalidParameterException- 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)
-
createSoftwareCapabilityFromTemplate
public String createSoftwareCapabilityFromTemplate(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String templateGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a software capability using an existing metadata element as a template.- Specified by:
createSoftwareCapabilityFromTemplatein interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callerinfrastructureManagerIsHome- should the software server capability be marked as owned by the infrastructure manager so others can not update?templateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
InvalidParameterException- 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)
-
updateSoftwareCapability
public void updateSoftwareCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String capabilityGUID, boolean isMergeUpdate, SoftwareCapabilityProperties capabilityProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the metadata element representing a software capability.- Specified by:
updateSoftwareCapabilityin interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callercapabilityGUID- unique identifier of the metadata element to updateisMergeUpdate- are unspecified properties unchanged (true) or removed?capabilityProperties- new properties for this element- Throws:
InvalidParameterException- 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)
-
removeSoftwareCapability
public void removeSoftwareCapability(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String capabilityGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the metadata element representing a software capability.- Specified by:
removeSoftwareCapabilityin interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callercapabilityGUID- unique identifier of the metadata element to remove- Throws:
InvalidParameterException- 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)
-
findSoftwareCapabilities
public List<SoftwareCapabilityElement> findSoftwareCapabilities(String userId, String searchString, Date effectiveTime, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of software capability metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findSoftwareCapabilitiesin interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling usersearchString- string to find in the propertieseffectiveTime- effective time for the querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getSoftwareCapabilitiesByName
public List<SoftwareCapabilityElement> getSoftwareCapabilitiesByName(String userId, String name, Date effectiveTime, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of software capability metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getSoftwareCapabilitiesByNamein interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling username- name to search foreffectiveTime- effective time for the querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getSoftwareCapabilityByGUID
public SoftwareCapabilityElement getSoftwareCapabilityByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the software capability metadata element with the supplied unique identifier.- Specified by:
getSoftwareCapabilityByGUIDin interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userguid- unique identifier of the requested metadata element- Returns:
- matching metadata element
- Throws:
InvalidParameterException- 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)
-
createServerAssetUse
public String createServerAssetUse(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String capabilityGUID, String assetGUID, ServerAssetUseProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata relationship to represent the use of an asset by a software server capability.- Specified by:
createServerAssetUsein interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callerinfrastructureManagerIsHome- should the software server capability be marked as owned by the infrastructure manager so others can not update?capabilityGUID- unique identifier of a software server capabilityassetGUID- unique identifier of an assetproperties- properties about the ServerAssetUse relationship- Returns:
- unique identifier of the new ServerAssetUse relationship
- Throws:
InvalidParameterException- 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)
-
updateServerAssetUse
public void updateServerAssetUse(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String serverAssetUseGUID, boolean isMergeUpdate, ServerAssetUseProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the metadata relationship to represent the use of an asset by a software server capability.- Specified by:
updateServerAssetUsein interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callerserverAssetUseGUID- unique identifier of the relationship between a software server capability and an assetisMergeUpdate- are unspecified properties unchanged (true) or removed?properties- new properties for the ServerAssetUse relationship- Throws:
InvalidParameterException- 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)
-
removeServerAssetUse
public void removeServerAssetUse(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String serverAssetUseGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the metadata relationship to represent the use of an asset by a software server capability.- Specified by:
removeServerAssetUsein interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the callerinfrastructureManagerName- unique name of software server capability representing the callerserverAssetUseGUID- unique identifier of the relationship between a software server capability and an asset- Throws:
InvalidParameterException- 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)
-
getServerAssetUsesForCapability
public List<ServerAssetUseElement> getServerAssetUsesForCapability(String userId, String capabilityGUID, ServerAssetUseType useType, Date effectiveTime, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return the list of server asset use relationships associated with a software server capability.- Specified by:
getServerAssetUsesForCapabilityin interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling usercapabilityGUID- unique identifier of the software server capability to queryuseType- value to search for. Null means all use types.startFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching relationships
- Throws:
InvalidParameterException- 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)
-
getCapabilityUsesForAsset
public List<ServerAssetUseElement> getCapabilityUsesForAsset(String userId, String assetGUID, ServerAssetUseType useType, Date effectiveTime, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return the list of software server capabilities that make use of a specific asset.- Specified by:
getCapabilityUsesForAssetin interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userassetGUID- unique identifier of the asset to queryuseType- Optionally restrict the search to a specific user type. Null means all use types.effectiveTime- effective time for the querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching relationships
- Throws:
InvalidParameterException- 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)
-
getServerAssetUsesForElements
public List<ServerAssetUseElement> getServerAssetUsesForElements(String userId, String capabilityGUID, String assetGUID, Date effectiveTime, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of relationships between a specific software server capability and a specific asset.- Specified by:
getServerAssetUsesForElementsin interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling usercapabilityGUID- unique identifier of a software server capabilityassetGUID- unique identifier of an asseteffectiveTime- effective time for the querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching relationships
- Throws:
InvalidParameterException- 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)
-
getServerAssetUseByGUID
public ServerAssetUseElement getServerAssetUseByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the server asset use type relationship with the supplied unique identifier.- Specified by:
getServerAssetUseByGUIDin interfaceSoftwareCapabilityManagerInterface- Parameters:
userId- calling userguid- unique identifier of the requested metadata element- Returns:
- requested relationship
- Throws:
InvalidParameterException- 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)
-
-