Class SoftwareServerCapabilityHandler
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler<B>
-
- org.odpi.openmetadata.commonservices.generichandlers.ReferenceableHandler<SoftwareServerCapability>
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.synchronization.SoftwareServerCapabilityHandler
-
public class SoftwareServerCapabilityHandler extends ReferenceableHandler<SoftwareServerCapability>
Handler for SoftwareServerCapability object.
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones
-
-
Constructor Summary
Constructors Constructor Description SoftwareServerCapabilityHandler(OpenMetadataAPIGenericConverter<SoftwareServerCapability> converter, 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 collection handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcreateSoftwareServerCapability(String userId, String source, String methodName)Create a new metadata element to represent a SoftwareServerCapability.SoftwareServerCapabilityfindSoftwareServerCapability(String userId, String identifier, String methodName)Returns the software server capability object corresponding to the requested identifier.SoftwareServerCapabilitygetSoftwareServerCapability(String userId, String guid, String guidParameter, String methodName)Returns the SoftwareServerCapability object corresponding to the supplied GUID.-
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.ReferenceableHandler
addOwner, addSecurityTags, addTemplateClassification, clearBusinessSignificant, findBeanGUIDsByQualifiedName, findBeanGUIDsByQualifiedName, findBeansByQualifiedName, findBeansByQualifiedName, getBeanByQualifiedName, getBeanByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDsByQualifiedName, getBeanGUIDsByQualifiedName, getBeansByQualifiedName, getBeansByQualifiedName, getCollectionMembers, getEntityByUniqueQualifiedName, getMoreInformation, getMoreInformation, getVendorProperties, linkElementsAsDuplicates, removeOwner, removeResourceListMember, removeSecurityTags, removeSemanticAssignment, removeTemplateClassification, saveResourceListMember, saveSemanticAssignment, saveSemanticAssignment, setBusinessSignificant, setVendorProperties, unlinkElementsAsDuplicates
-
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler
addAnchorsClassification, archiveBeanInRepository, archiveBeanInRepository, countAttachments, createBeanFromTemplate, createBeanInRepository, deleteAnchoredEntity, deleteBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, entityMatchSearchCriteria, findAttachmentLinks, findBeanGUIDs, findBeans, findBeans, findBeans, findBeans, findEntities, getAllAttachmentLinks, getAnchorGUIDFromAnchorsClassification, getAnchorsForAttachedElements, getAttachedElement, getAttachedElement, getAttachedElementGUID, getAttachedElementGUID, getAttachedElementGUIDs, getAttachedElementGUIDs, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedEntities, getAttachedEntities, getAttachedEntities, getAttachedEntity, getAttachedEntity, getAttachedFilteredEntities, getAttachedFilteredEntities, getAttachmentLinks, getAttachmentLinks, getAttachmentLinks, getBeanByUniqueName, getBeanByUniqueName, getBeanByValue, getBeanFromEntity, getBeanFromRepository, getBeanFromRepository, getBeanGUIDByUniqueName, getBeanGUIDByUniqueName, getBeanGUIDsByClassification, getBeanGUIDsByType, getBeanGUIDsByType, getBeanGUIDsByValue, getBeansByClassification, getBeansByCreator, getBeansByIntValue, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getEntitiesByIntValue, getEntitiesByType, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntityByValue, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityGUIDByValue, getEntityGUIDsByValue, getRepositoryHandler, getRepositoryHelper, getServerName, getServiceName, getTypeDefByName, getUniqueAttachmentLink, getUniqueAttachmentLink, isBeanIsolated, linkElementToElement, linkElementToElement, maintainSupplementaryProperties, regexSearchCriteria, relinkElementToNewElement, relinkElementToNewElement, removeClassificationFromRepository, removeClassificationFromRepository, setClassificationInRepository, setClassificationInRepository, setSecurityVerifier, unlinkAllElements, unlinkAllElements, unlinkConnectedElement, unlinkConnectedElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, updateBeanEffectivityDates, updateBeanInRepository, updateBeanInRepository, updateBeanPropertyInRepository, updateBeanStatusInRepository, updateBeanStatusInRepository, updateClassificationEffectivityDates, updateElementToElementLink, updateElementToElementLink, updateRelationshipEffectivityDates, updateRelationshipProperties, validateAnchorEntity, validateAnchorEntity, validateUniqueProperty, verifyExternalSourceIdentity
-
-
-
-
Constructor Detail
-
SoftwareServerCapabilityHandler
public SoftwareServerCapabilityHandler(OpenMetadataAPIGenericConverter<SoftwareServerCapability> converter, 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 collection handler.- Parameters:
converter- specific for SoftwareServerCapability bean classserviceName- 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 Asset instances from.defaultZones- list of zones that the access service should set in all new Asset instances.publishZones- list of zones that the access service sets up in published Asset instances.auditLog- destination for audit log events.
-
-
Method Detail
-
createSoftwareServerCapability
public String createSoftwareServerCapability(String userId, String source, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a SoftwareServerCapability.- Parameters:
userId- calling usersource- identifier of the server capability (url of the service)methodName- calling method- Returns:
- unique identifier of the created collection.
- 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)
-
findSoftwareServerCapability
public SoftwareServerCapability findSoftwareServerCapability(String userId, String identifier, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Returns the software server capability object corresponding to the requested identifier.- Parameters:
userId- String - userId of user making requestidentifier- the identifier for the requested objectmethodName- calling method- Returns:
- software server capability
- Throws:
InvalidParameterException- one of the properties (probably the GUID) is invalidPropertyServerException- the repository services hit an unexpected problemUserNotAuthorizedException- the user is not permitted to access this entity
-
getSoftwareServerCapability
public SoftwareServerCapability getSoftwareServerCapability(String userId, String guid, String guidParameter, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Returns the SoftwareServerCapability object corresponding to the supplied GUID.- Parameters:
userId- String - userId of user making requestguid- the unique id for the SoftwareServerCapabilityguidParameter- name of parameter supplying the guidmethodName- calling method- Returns:
- SoftwareServerCapability retrieved from the repository
- Throws:
InvalidParameterException- one of the properties (probably the GUID) is invalidPropertyServerException- the repository services hit an unexpected problemUserNotAuthorizedException- the user is not permitted to access this entity
-
-