public class SoftwareServerCapabilityHandler extends Object
| Constructor and Description |
|---|
SoftwareServerCapabilityHandler(String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
String |
createDatabaseManager(String userId,
String uniqueName,
String displayName,
String description,
String type,
String version,
String patchLevel,
String source,
Map<String,String> additionalProperties,
Map<String,String> vendorProperties,
String methodName)
Create the capability for a relational database platform.
|
String |
createFileSystem(String userId,
String uniqueName,
String displayName,
String description,
String type,
String version,
String patchLevel,
String source,
String format,
String encryption,
Map<String,String> additionalProperties,
Map<String,String> vendorProperties,
String methodName)
Files live on a file system.
|
String |
createMetadataIntegrator(String userId,
String uniqueName,
String displayName,
String description,
String type,
String version,
String patchLevel,
String source,
Map<String,String> additionalProperties,
Map<String,String> vendorProperties,
String classificationGUID,
String classificationName,
String methodName)
Create the capability for a relational database platform.
|
List<SoftwareServerCapability> |
getSoftwareServerCapabilitiesByClassification(String userId,
String classificationName,
int startingFrom,
int maxPageSize,
String methodName)
Retrieve a list of defined software server capabilities.
|
List<SoftwareServerCapability> |
getSoftwareServerCapabilitiesByType(String userId,
String typeGUID,
String typeName,
int startingFrom,
int maxPageSize,
String methodName)
Retrieve a list of defined software server capabilities.
|
SoftwareServerCapability |
getSoftwareServerCapabilityByGUID(String userId,
String softwareServerCapabilityGUID,
String methodName)
Retrieve a software server capability by its unique identifier (GUID).
|
SoftwareServerCapability |
getSoftwareServerCapabilityByUniqueName(String userId,
String uniqueName,
String methodName)
Retrieve a software server capability by its unique name.
|
List<String> |
getSoftwareServerCapabilityGUIDsByClassification(String userId,
String classificationName,
int startingFrom,
int maxPageSize,
String methodName)
Retrieve a list of unique identifiers for defined software server capabilities.
|
List<String> |
getSoftwareServerCapabilityGUIDsByType(String userId,
String typeGUID,
String typeName,
int startingFrom,
int maxPageSize,
String methodName)
Retrieve a list of unique identifiers for defined software server capabilities.
|
void |
verifyIntegratorIdentity(String userId,
String integratorGUID,
String integratorName,
String methodName)
Verify that the integrator identities are either null or refer to a valid software server capability.
|
public SoftwareServerCapabilityHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper)
serviceName - 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 objectspublic String createFileSystem(String userId, String uniqueName, String displayName, String description, String type, String version, String patchLevel, String source, String format, String encryption, Map<String,String> additionalProperties, Map<String,String> vendorProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useruniqueName - qualified name for the file systemdisplayName - short display namedescription - description of the file systemtype - type of file systemversion - version of file systempatchLevel - patchLevel of software supporting the file systemsource - supplier of the software for this file systemformat - format of files on this file systemencryption - encryption type - null for unencryptedadditionalProperties - additional propertiesvendorProperties - properties about the vendor and/or their productmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String createDatabaseManager(String userId, String uniqueName, String displayName, String description, String type, String version, String patchLevel, String source, Map<String,String> additionalProperties, Map<String,String> vendorProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useruniqueName - qualified name for the file systemdisplayName - short display namedescription - description of the file systemtype - type of file systemversion - version of file systempatchLevel - patchLevel of software supporting the file systemsource - supplier of the software for this file systemadditionalProperties - additional propertiesvendorProperties - properties about the vendor and/or their productmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String createMetadataIntegrator(String userId, String uniqueName, String displayName, String description, String type, String version, String patchLevel, String source, Map<String,String> additionalProperties, Map<String,String> vendorProperties, String classificationGUID, String classificationName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useruniqueName - qualified name for the file systemdisplayName - short display namedescription - description of the file systemtype - type of file systemversion - version of file systempatchLevel - patchLevel of software supporting the file systemsource - supplier of the software for this file systemadditionalProperties - additional propertiesvendorProperties - properties about the vendor and/or their productclassificationGUID - unique identifier for the type of integratorclassificationName - unique name for the type of integratormethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic SoftwareServerCapability getSoftwareServerCapabilityByGUID(String userId, String softwareServerCapabilityGUID, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersoftwareServerCapabilityGUID - unique identifier used to locate the elementmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic SoftwareServerCapability getSoftwareServerCapabilityByUniqueName(String userId, String uniqueName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useruniqueName - unique name for the file systemmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> getSoftwareServerCapabilityGUIDsByType(String userId, String typeGUID, String typeName, int startingFrom, int maxPageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usertypeGUID - unique identifier of typetypeName - unique name of typestartingFrom - starting point in the listmaxPageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<SoftwareServerCapability> getSoftwareServerCapabilitiesByType(String userId, String typeGUID, String typeName, int startingFrom, int maxPageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usertypeGUID - unique identifier of typetypeName - unique name of typestartingFrom - starting point in the listmaxPageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<SoftwareServerCapability> getSoftwareServerCapabilitiesByClassification(String userId, String classificationName, int startingFrom, int maxPageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userclassificationName - name of classificationstartingFrom - starting point in the listmaxPageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> getSoftwareServerCapabilityGUIDsByClassification(String userId, String classificationName, int startingFrom, int maxPageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userclassificationName - name of the classification that identifies the type of software server capability requiredstartingFrom - starting point in the listmaxPageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void verifyIntegratorIdentity(String userId, String integratorGUID, String integratorName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userintegratorGUID - unique identifier of software server capability representing the callerintegratorName - unique name of software server capability representing the callermethodName - calling methodInvalidParameterException - the integrator GUID or name does not match what is in the metadata repositoryPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2020 ODPi. All rights reserved.