public class GovernanceZoneHandler<B> extends OpenMetadataAPIGenericHandler<B>
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones| Constructor and Description |
|---|
GovernanceZoneHandler(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 governance zone handler with information needed to work with B objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createGovernanceZone(String userId,
String externalSourceGUID,
String externalSourceName,
String qualifiedName,
String displayName,
String description,
String criteria,
String scope,
int domainIdentifier,
Map<String,String> additionalProperties,
Map<String,Object> extendedProperties,
String methodName)
Create a definition of a governance zone.
|
B |
getGovernanceZone(String userId,
String qualifiedName,
String qualifiedNameParameter,
String methodName)
Return information about a specific governance zone.
|
List<B> |
getGovernanceZones(String userId,
int startingFrom,
int maximumResults,
String methodName)
Return information about the defined governance zones.
|
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 GovernanceZoneHandler(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 void createGovernanceZone(String userId, String externalSourceGUID, String externalSourceName, String qualifiedName, String displayName, String description, String criteria, String scope, int domainIdentifier, Map<String,String> additionalProperties, 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 zone - used in other configurationdisplayName - short display name for the zonedescription - description of the governance zonecriteria - the criteria for inclusion in a governance zonescope - scope of the organization that this some applies todomainIdentifier - the identifier of the governance domain where the zone is managedadditionalProperties - additional properties for a governance zoneextendedProperties - properties for a governance zone subtypemethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic B getGovernanceZone(String userId, String qualifiedName, String qualifiedNameParameter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userqualifiedName - unique name for the zonequalifiedNameParameter - name of parameter supplying the qualifiedNamemethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<B> getGovernanceZones(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.