public class OperatingPlatformHandler<B> extends OpenMetadataAPIGenericHandler<B>
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones| Constructor and Description |
|---|
OperatingPlatformHandler(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 operating platform handler with information needed to work with B objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearNestedOperatingPlatform(String userId,
String externalSourceGUID,
String externalSourceName,
String hostGUID,
String hostGUIDParameterName,
String operatingPlatformGUID,
String operatingPlatformGUIDParameterName,
String methodName)
Remove a relationship between a host and an operating platform..
|
void |
createOperatingPlatform(String userId,
String externalSourceGUID,
String externalSourceName,
String qualifiedName,
String name,
String description,
String operatingSystem,
int byteOrdering,
Map<String,String> additionalProperties,
String suppliedTypeName,
Map<String,Object> extendedProperties,
String methodName)
Create a definition of a operating platform.
|
B |
getOperatingPlatform(String userId,
String qualifiedName,
String qualifiedNameParameter,
String methodName)
Return information about a specific operating platform.
|
List<B> |
getOperatingPlatforms(String userId,
int startingFrom,
int maximumResults,
String methodName)
Return information about the defined operating platforms.
|
void |
removeOperatingPlatform(String userId,
String externalSourceGUID,
String externalSourceName,
String operatingPlatformGUID,
String operatingPlatformGUIDParameterName,
String methodName)
Remove the metadata element representing a operatingPlatform.
|
void |
setupHostOperatingPlatform(String userId,
String externalSourceGUID,
String externalSourceName,
String hostGUID,
String hostGUIDParameterName,
String operatingPlatformGUID,
String operatingPlatformGUIDParameterName,
String methodName)
Create a relationship between a host and an operating platform.
|
void |
updateOperatingPlatform(String userId,
String externalSourceGUID,
String externalSourceName,
String operatingPlatformGUID,
String operatingPlatformGUIDParameterName,
String qualifiedName,
String name,
String description,
String operatingSystem,
int byteOrdering,
Map<String,String> additionalProperties,
String suppliedTypeName,
Map<String,Object> extendedProperties,
String methodName)
Update the operating platform.
|
archiveBeanInRepository, archiveBeanInRepository, countAttachments, createBeanFromTemplate, createBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, findAttachmentLinks, findBeanGUIDs, findBeans, findBeans, findBeans, findBeans, findEntities, getAllAttachmentLinks, getAnchorsForAttachedElements, getAttachedElement, getAttachedElement, getAttachedElementGUID, getAttachedElementGUID, getAttachedElementGUIDs, getAttachedElementGUIDs, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedEntities, getAttachedEntities, getAttachedEntities, getAttachedEntity, getAttachedEntity, getAttachmentLinks, getAttachmentLinks, getAttachmentLinks, getBeanByUniqueName, getBeanByUniqueName, getBeanByValue, getBeanFromEntity, getBeanFromRepository, getBeanFromRepository, getBeanGUIDByUniqueName, getBeanGUIDByUniqueName, getBeanGUIDsByClassification, getBeanGUIDsByType, getBeanGUIDsByType, getBeanGUIDsByValue, getBeansByClassification, getBeansByCreator, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getEntitiesByType, getEntitiesByValue, getEntitiesByValue, getEntityByValue, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityGUIDByValue, getEntityGUIDsByValue, getRepositoryHelper, getServiceName, getUniqueAttachmentLink, getUniqueAttachmentLink, linkElementToElement, linkElementToElement, maintainSupplementaryProperties, relinkElementToNewElement, relinkElementToNewElement, 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, verifyExternalSourceIdentitypublic OperatingPlatformHandler(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 operating platforms that the access service is allowed to serve B instances from.defaultZones - list of operating platforms that the access service should set in all new B instances.publishZones - list of operating platforms that the access service sets up in published B instances.auditLog - destination for audit log events.public void createOperatingPlatform(String userId, String externalSourceGUID, String externalSourceName, String qualifiedName, String name, String description, String operatingSystem, int byteOrdering, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> extendedProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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 sourcequalifiedName - unique name for the operating platform - used in other configurationname - short display name for the operating platformdescription - description of the operating platformoperatingSystem - the operating system running on this platformbyteOrdering - the identifier of the endiannessadditionalProperties - additional properties for a operating platformsuppliedTypeName - type of operatingPlatformextendedProperties - properties for a operating platform subtypemethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateOperatingPlatform(String userId, String externalSourceGUID, String externalSourceName, String operatingPlatformGUID, String operatingPlatformGUIDParameterName, String qualifiedName, String name, String description, String operatingSystem, int byteOrdering, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> extendedProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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 sourceoperatingPlatformGUID - unique identifier of the operating platform to updateoperatingPlatformGUIDParameterName - parameter passing the operatingPlatformGUIDqualifiedName - unique name for the operating platform - used in other configurationname - short display name for the operating platformdescription - description of the governance operating platformadditionalProperties - additional properties for a governance operatingPlatformextendedProperties - properties for a governance operatingPlatform subtypemethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void setupHostOperatingPlatform(String userId, String externalSourceGUID, String externalSourceName, String hostGUID, String hostGUIDParameterName, String operatingPlatformGUID, String operatingPlatformGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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 sourcehostGUID - unique identifier of the hosthostGUIDParameterName - parameter supplying the hostGUIDoperatingPlatformGUID - unique identifier of the operating platformoperatingPlatformGUIDParameterName - parameter supplying the operatingPlatformGUIDmethodName - 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 clearNestedOperatingPlatform(String userId, String externalSourceGUID, String externalSourceName, String hostGUID, String hostGUIDParameterName, String operatingPlatformGUID, String operatingPlatformGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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 sourcehostGUID - unique identifier of the hosthostGUIDParameterName - parameter supplying the hostGUIDoperatingPlatformGUID - unique identifier of the operating platformoperatingPlatformGUIDParameterName - parameter supplying the operatingPlatformGUIDmethodName - 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 removeOperatingPlatform(String userId, String externalSourceGUID, String externalSourceName, String operatingPlatformGUID, String operatingPlatformGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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 sourceoperatingPlatformGUID - unique identifier of the metadata element to removeoperatingPlatformGUIDParameterName - parameter supplying the operatingPlatformGUIDmethodName - 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 B getOperatingPlatform(String userId, String qualifiedName, String qualifiedNameParameter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userqualifiedName - unique name for the operating platformqualifiedNameParameter - name of parameter supplying the qualifiedNamemethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<B> getOperatingPlatforms(String userId, int startingFrom, int maximumResults, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userstartingFrom - position in the list (used when there are so many reports that paging is neededmaximumResults - maximum number of elements to return an this callmethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.