public class OpenMetadataAPIGenericHandler<B> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AuditLog |
auditLog |
protected Class<B> |
beanClass |
protected OpenMetadataAPIGenericConverter<B> |
converter |
protected List<String> |
defaultZones |
protected RepositoryErrorHandler |
errorHandler |
protected InvalidParameterHandler |
invalidParameterHandler |
protected String |
localServerUserId |
protected List<String> |
publishZones |
protected RepositoryHandler |
repositoryHandler |
protected OMRSRepositoryHelper |
repositoryHelper |
protected OpenMetadataServerSecurityVerifier |
securityVerifier |
protected String |
serverName |
protected String |
serviceName |
protected List<String> |
supportedZones |
| Constructor and Description |
|---|
OpenMetadataAPIGenericHandler(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 handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
int |
countAttachments(String userId,
String elementGUID,
String elementTypeName,
String attachmentTypeGUID,
String attachmentTypeName,
String methodName)
Count up the number of elements of a certain type that are attached to a specific entity.
|
String |
createBeanFromTemplate(String userId,
String externalSourceGUID,
String externalSourceName,
String templateGUID,
String templateGUIDParameterName,
String entityTypeGUID,
String entityTypeName,
String uniqueParameterValue,
String uniqueParameterName,
OpenMetadataAPIGenericBuilder propertyBuilder,
String methodName)
Create a new entity in the repository based on the contents of an existing entity (the template).
|
String |
createBeanInRepository(String userId,
String externalSourceGUID,
String externalSourceName,
String entityTypeGUID,
String entityTypeName,
String uniqueParameterValue,
String uniqueParameterName,
OpenMetadataAPIGenericBuilder propertyBuilder,
String methodName)
Create a new entity in the repository assuming all parameters are ok.
|
void |
deleteBeanInRepository(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityGUIDParameterName,
String entityTypeGUID,
String entityTypeName,
String validatingPropertyName,
String validatingPropertyValue,
List<String> serviceSupportedZones,
String methodName)
Delete an entity from the repository.
|
void |
deleteBeanInRepository(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityGUIDParameterName,
String entityTypeGUID,
String entityTypeName,
String validatingPropertyName,
String validatingPropertyValue,
String methodName)
Delete an entity from the repository.
|
List<String> |
findBeanGUIDs(String userId,
String searchString,
String searchStringParameterName,
String resultTypeGUID,
String resultTypeName,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that match the supplied value.
|
List<B> |
findBeans(String userId,
String searchString,
String searchStringParameterName,
String resultTypeGUID,
String resultTypeName,
int startFrom,
int pageSize,
String methodName)
Return the list of beans matching the supplied searchString.
|
List<B> |
findBeans(String userId,
String searchString,
String searchStringParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return the list of beans matching the supplied searchString.
|
List<B> |
findBeans(String userId,
String searchString,
String searchStringParameterName,
String resultTypeGUID,
String resultTypeName,
String requiredClassificationName,
String omittedClassificationName,
int startFrom,
int pageSize,
String methodName)
Return the list of beans matching the supplied searchString.
|
List<EntityDetail> |
findEntities(String userId,
String searchString,
String searchStringParameterName,
String resultTypeGUID,
String resultTypeName,
String requiredClassificationName,
String omittedClassificationName,
int startFrom,
int pageSize,
String methodName)
Return the list of entities matching the supplied searchString.
|
List<Relationship> |
getAllAttachmentLinks(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String methodName)
Return all relationships attached to a specific entity.
|
List<B> |
getAnchorsForAttachedElements(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
String requiredClassificationName,
String omittedClassificationName,
int selectionEnd,
List<String> serviceSupportedZones,
int startingFrom,
int pageSize,
String methodName)
Return the elements of the requested type attached to an entity identified by the starting GUID.
|
B |
getAttachedElement(String userId,
String startingElementGUID,
String startingElementGUIDParameterName,
String startingElementTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String resultingElementTypeName,
List<String> serviceSupportedZones,
String methodName)
Return the Bean for the required relationship attached to a specific element.
|
B |
getAttachedElement(String userId,
String startingElementGUID,
String startingElementGUIDParameterName,
String startingElementTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String resultingElementTypeName,
String methodName)
Return the Bean for the required relationship attached to a specific element.
|
String |
getAttachedElementGUID(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
int selectionEnd,
List<String> serviceSupportedZones,
String methodName)
Return the elements of the requested type attached to an entity identified by the starting GUID.
|
String |
getAttachedElementGUID(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
int selectionEnd,
String methodName)
Return the elements of the requested type attached to an entity identified by the starting GUID.
|
List<String> |
getAttachedElementGUIDs(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the elements of the requested type attached to an entity identified by the starting GUID.
|
List<String> |
getAttachedElementGUIDs(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
List<String> serviceSupportedZones,
int startingFrom,
int pageSize,
String methodName)
Return the elements of the requested type attached to an entity identified by the starting GUID.
|
List<B> |
getAttachedElements(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the elements of the requested type attached to an entity identified by the starting GUID.
|
List<B> |
getAttachedElements(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
List<String> serviceSupportedZones,
int startingFrom,
int pageSize,
String methodName)
Return the elements of the requested type attached to an entity identified by the starting GUID.
|
List<B> |
getAttachedElements(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
String requiredClassificationName,
String omittedClassificationName,
int selectionEnd,
int startingFrom,
int pageSize,
String methodName)
Return the elements of the requested type attached to an entity identified by the starting GUID.
|
List<B> |
getAttachedElements(String userId,
String anchorGUID,
String anchorGUIDParameterName,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
String requiredClassificationName,
String omittedClassificationName,
int selectionEnd,
List<String> serviceSupportedZones,
int startingFrom,
int pageSize,
String methodName)
Return the elements of the requested type attached to an entity identified by the starting GUID.
|
List<EntityDetail> |
getAttachedEntities(String userId,
String startingElementGUID,
String startingElementGUIDParameterName,
String startingElementTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String resultingElementTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the entities for the required relationships attached to a specific entity.
|
List<EntityDetail> |
getAttachedEntities(String userId,
String startingElementGUID,
String startingElementGUIDParameterName,
String startingElementTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String resultingElementTypeName,
String requiredClassificationName,
String omittedClassificationName,
List<String> serviceSupportedZones,
int startingFrom,
int pageSize,
String methodName)
Return the entities for the required relationships attached to a specific entity.
|
EntityDetail |
getAttachedEntity(String userId,
String startingElementGUID,
String startingElementGUIDParameterName,
String startingElementTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String resultingElementTypeName,
List<String> serviceSupportedZones,
String methodName)
Return the entity for the required relationship attached to a specific entity.
|
EntityDetail |
getAttachedEntity(String userId,
String startingElementGUID,
String startingElementGUIDParameterName,
String startingElementTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String resultingElementTypeName,
String methodName)
Return the entity for the required relationship attached to a specific entity.
|
List<Relationship> |
getAttachmentLinks(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the relationships to required elements attached to a specific entity.
|
List<Relationship> |
getAttachmentLinks(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityGUID,
String attachmentEntityTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the relationships to required elements attached to a specific entity.
|
B |
getBeanByUniqueName(String userId,
String name,
String nameParameterName,
String namePropertyName,
String resultTypeGUID,
String resultTypeName,
List<String> serviceSupportedZones,
String methodName)
Return the list of beans of the requested type that match the supplied value.
|
B |
getBeanByUniqueName(String userId,
String name,
String nameParameterName,
String namePropertyName,
String resultTypeGUID,
String resultTypeName,
String methodName)
Return the list of beans of the requested type that match the supplied value.
|
B |
getBeanByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
String methodName)
Return the bean that matches the requested value.
|
B |
getBeanFromRepository(String userId,
String guid,
String guidParameterName,
String entityTypeName,
List<String> serviceSupportedZones,
String methodName)
Return the bean for the supplied unique identifier (guid).
|
B |
getBeanFromRepository(String userId,
String guid,
String guidParameterName,
String resultTypeName,
String methodName)
Use the supplied unique identifier (guid) of an entity in the repository to retrieve its contents as a bean.
|
String |
getBeanGUIDByUniqueName(String userId,
String name,
String nameParameterName,
String namePropertyName,
String resultTypeGUID,
String resultTypeName,
List<String> serviceSupportedZones,
String methodName)
Return the list of beans of the requested type that match the supplied value.
|
List<String> |
getBeanGUIDsByClassification(String userId,
String resultTypeGUID,
String resultClassificationName,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that match the supplied name.
|
List<String> |
getBeanGUIDsByType(String userId,
String resultTypeGUID,
String resultTypeName,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type.
|
List<String> |
getBeanGUIDsByType(String userId,
String resultTypeGUID,
String resultTypeName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type.
|
List<String> |
getBeanGUIDsByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
boolean exactValueMatch,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that match the supplied value.
|
List<B> |
getBeansByClassification(String userId,
String resultTypeGUID,
String resultClassificationName,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that match the supplied name.
|
List<B> |
getBeansByCreator(String userId,
String searchString,
String searchStringParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
boolean exactValueMatch,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that were created by the requesting user.
|
List<B> |
getBeansByType(String userId,
String resultTypeGUID,
String resultTypeName,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type.
|
List<B> |
getBeansByType(String userId,
String resultTypeGUID,
String resultTypeName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that match the supplied name.
|
List<B> |
getBeansByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
boolean exactValueMatch,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that match the supplied value.
|
List<B> |
getBeansByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
boolean exactValueMatch,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that match the supplied value.
|
List<B> |
getBeansByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
boolean exactValueMatch,
String requiredClassificationName,
String omittedClassificationName,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that match the supplied value.
|
List<B> |
getBeansByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
boolean exactValueMatch,
String requiredClassificationName,
String omittedClassificationName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return the list of beans of the requested type that match the supplied value.
|
List<EntityDetail> |
getEntitiesByType(String userId,
String resultTypeGUID,
String resultTypeName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return the list of entities of the requested type.
|
List<EntityDetail> |
getEntitiesByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
boolean exactValueMatch,
String requiredClassificationName,
String omittedClassificationName,
int startFrom,
int pageSize,
String methodName)
Return the list of entities of the requested type that match the supplied value.
|
List<EntityDetail> |
getEntitiesByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
boolean exactValueMatch,
String requiredClassificationName,
String omittedClassificationName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return the list of entities of the requested type that match the supplied value.
|
EntityDetail |
getEntityByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
String methodName)
Return the entity that matches the requested value.
|
EntityDetail |
getEntityFromRepository(String userId,
String requestedEntityGUID,
String requestedEntityGUIDParameterName,
String requestedEntityTypeName,
String methodName)
Return the keyword for the supplied unique identifier (guid).
|
EntityDetail |
getEntityFromRepository(String userId,
String requestedEntityGUID,
String requestedEntityGUIDParameterName,
String requestedEntityTypeName,
String requiredClassificationName,
String omittedClassificationName,
List<String> serviceSupportedZones,
String methodName)
Return the entity for the supplied unique identifier (guid).
|
EntityDetail |
getEntityFromRepository(String userId,
String requestedEntityGUID,
String requestedEntityGUIDParameterName,
String requestedEntityTypeName,
String requiredClassificationName,
String omittedClassificationName,
String methodName)
Return the keyword for the supplied unique identifier (guid).
|
String |
getEntityGUIDByValue(String userId,
String value,
String valueParameterName,
String resultTypeGUID,
String resultTypeName,
List<String> specificMatchPropertyNames,
String methodName)
Return the unique identifier of the entity matching the value.
|
OMRSRepositoryHelper |
getRepositoryHelper()
Return the repository helper for this server.
|
String |
getServiceName()
Return the name of this service.
|
Relationship |
getUniqueAttachmentLink(String userId,
String startingGUID,
String startingGUIDParameterName,
String startingTypeName,
String attachmentRelationshipTypeGUID,
String attachmentRelationshipTypeName,
String attachmentEntityGUID,
String attachmentEntityTypeName,
String methodName)
Return the relationship between the requested elements - there should be only one.
|
void |
linkElementToElement(String userId,
String externalSourceGUID,
String externalSourceName,
String startingGUID,
String startingGUIDParameterName,
String startingElementTypeName,
String attachingGUID,
String attachingGUIDParameterName,
String attachingElementTypeName,
List<String> suppliedSupportedZones,
String attachmentTypeGUID,
String attachmentTypeName,
InstanceProperties relationshipProperties,
String methodName)
Creates a relationship between two elements and updates the LatestChange in each one's anchor entity (if they have one).
|
void |
linkElementToElement(String userId,
String externalSourceGUID,
String externalSourceName,
String startingGUID,
String startingGUIDParameterName,
String startingElementTypeName,
String attachingGUID,
String attachingGUIDParameterName,
String attachingElementTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
InstanceProperties relationshipProperties,
String methodName)
Creates a relationship between two elements and updates the LatestChange in each one's anchor entity (if they have one).
|
void |
relinkElementToNewElement(String userId,
String externalSourceGUID,
String externalSourceName,
String startingGUID,
String startingGUIDParameterName,
String startingElementTypeName,
boolean startAtEnd1,
String newAttachingGUID,
String newAttachingGUIDParameterName,
String newAttachingElementTypeName,
List<String> suppliedSupportedZones,
String attachmentTypeGUID,
String attachmentTypeName,
InstanceProperties relationshipProperties,
String methodName)
Deleted the existing relationship between the starting element and another element then create a new relationship
between the starting element element and the new attaching element.
|
void |
relinkElementToNewElement(String userId,
String externalSourceGUID,
String externalSourceName,
String startingGUID,
String startingGUIDParameterName,
String startingElementTypeName,
boolean startAtEnd1,
String newAttachingGUID,
String newAttachingGUIDParameterName,
String newAttachingElementTypeName,
String attachmentTypeGUID,
String attachmentTypeName,
InstanceProperties relationshipProperties,
String methodName)
Delete the existing relationship between the starting element and another element then create a new relationship
between the starting element element and the new attaching element.
|
void |
setSecurityVerifier(OpenMetadataServerSecurityVerifier securityVerifier)
Set up a new security verifier (the handler runs with a default verifier until this method is called).
|
void |
unlinkAllElements(String userId,
boolean onlyCreatorPermitted,
String externalSourceGUID,
String externalSourceName,
String startingGUID,
String startingGUIDParameterName,
String startingElementTypeName,
List<String> suppliedSupportedZones,
String attachmentTypeGUID,
String attachmentTypeName,
String methodName)
Calls unlinkElementFromElement for all relationships of a certain type emanating from the requested element.
|
String |
unlinkConnectedElement(String userId,
boolean onlyCreatorPermitted,
String externalSourceGUID,
String externalSourceName,
String startingGUID,
String startingGUIDParameterName,
String startingElementTypeName,
List<String> suppliedSupportedZones,
String attachmentTypeGUID,
String attachmentTypeName,
String detachedElementTypeName,
String methodName)
Removes the relationship of a specific type attached to an entity.
|
void |
unlinkElementFromElement(String userId,
boolean onlyCreatorPermitted,
String externalSourceGUID,
String externalSourceName,
String startingGUID,
String startingGUIDParameterName,
String startingElementTypeName,
String attachedGUID,
String attachedGUIDParameterName,
String attachedElementTypeGUID,
String attachedElementTypeName,
List<String> suppliedSupportedZones,
String attachmentTypeGUID,
String attachmentTypeName,
String methodName)
Removes a relationship between two specified elements.
|
void |
unlinkElementFromElement(String userId,
boolean onlyCreatorPermitted,
String externalSourceGUID,
String externalSourceName,
String startingGUID,
String startingGUIDParameterName,
String startingElementTypeName,
String attachingGUID,
String attachingGUIDParameterName,
String attachingElementTypeGUID,
String attachingElementTypeName,
String attachmentTypeGUID,
String attachmentTypeName,
String methodName)
Removes a relationship between two elements.
|
void |
updateBeanInRepository(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityGUIDParameterName,
String entityTypeGUID,
String entityTypeName,
InstanceProperties properties,
boolean isMergeUpdate,
String methodName)
Update one or more properties in the requested entity.
|
void |
updateBeanInRepository(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityGUIDParameterName,
String entityTypeGUID,
String entityTypeName,
List<String> serviceSupportedZones,
InstanceProperties updateProperties,
boolean isMergeUpdate,
String methodName)
Update one or more updateProperties in the requested entity.
|
void |
updateBeanPropertyInRepository(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityGUIDParameterName,
String entityTypeGUID,
String entityTypeName,
String propertyName,
String propertyValue,
String methodName)
Update one or more properties in the requested entity.
|
void |
updateBeanStatusInRepository(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityGUIDParameterName,
String entityTypeGUID,
String entityTypeName,
List<String> serviceSupportedZones,
InstanceStatus newStatus,
String newStatusParameterName,
String methodName)
Update the instance status in the requested entity.
|
EntityDetail |
validateAnchorEntity(String userId,
String connectToGUID,
String connectToType,
EntityDetail connectToEntity,
String connectToGUIDParameterName,
boolean isUpdate,
List<String> suppliedSupportedZones,
String methodName)
Validates whether an operation is valid based on the type of entity it is connecting to, who the user is and whether it is a read or an
update.
|
EntityDetail |
validateAnchorEntity(String userId,
String connectToGUID,
String connectToGUIDParameterName,
String connectToType,
boolean isUpdate,
List<String> suppliedSupportedZones,
String methodName)
Validates whether an operation is valid based on the type of entity it is connecting to, who the user is and whether it is a read or an update.
|
void |
verifyExternalSourceIdentity(String userId,
String externalSourceGUID,
String externalSourceName,
String methodName)
Verify that the integrator identities are either null or refer to a valid software server capability.
|
protected OpenMetadataAPIGenericConverter<B> converter
protected String serviceName
protected String serverName
protected OMRSRepositoryHelper repositoryHelper
protected RepositoryHandler repositoryHandler
protected InvalidParameterHandler invalidParameterHandler
protected String localServerUserId
protected OpenMetadataServerSecurityVerifier securityVerifier
protected RepositoryErrorHandler errorHandler
protected AuditLog auditLog
public OpenMetadataAPIGenericHandler(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 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.public void setSecurityVerifier(OpenMetadataServerSecurityVerifier securityVerifier)
securityVerifier - new security verifierpublic OMRSRepositoryHelper getRepositoryHelper()
public String getServiceName()
public EntityDetail validateAnchorEntity(String userId, String connectToGUID, String connectToGUIDParameterName, String connectToType, boolean isUpdate, List<String> suppliedSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.connectToGUID - unique id for the object to connect the attachment to.connectToGUIDParameterName - name of the parameter that passed the connect to guidconnectToType - type of the connect to element.isUpdate - is this an update request?suppliedSupportedZones - supported zone list from calling servicemethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem adding the asset properties to the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public EntityDetail validateAnchorEntity(String userId, String connectToGUID, String connectToType, EntityDetail connectToEntity, String connectToGUIDParameterName, boolean isUpdate, List<String> suppliedSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.connectToGUID - unique id for the object to connect the attachment toconnectToType - name of type of connectToEntityconnectToEntity - entity retrieved from the repositoryconnectToGUIDParameterName - name of the parameter that passed the connect to guidisUpdate - is this an update request?suppliedSupportedZones - list of supported zones from the caller.methodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem accessing the properties in the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public int countAttachments(String userId, String elementGUID, String elementTypeName, String attachmentTypeGUID, String attachmentTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userelementGUID - unique identifier for the entity that the object is attached to (anchor entity)elementTypeName - type of the anchor entityattachmentTypeGUID - unique identifier of the attachment relationship's typeattachmentTypeName - unique name of the attachment's typemethodName - calling methodInvalidParameterException - the parameters are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic EntityDetail getAttachedEntity(String userId, String startingElementGUID, String startingElementGUIDParameterName, String startingElementTypeName, String relationshipTypeGUID, String relationshipTypeName, String resultingElementTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingElementGUID - identifier for the entity that the identifier is attached tostartingElementGUIDParameterName - name of the parameter used to pass the guidstartingElementTypeName - type name for anchorrelationshipTypeGUID - unique identifier of the attachment's relationship typerelationshipTypeName - unique name of the attachment's relationship typeresultingElementTypeName - unique name of the attached entity's typemethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic EntityDetail getAttachedEntity(String userId, String startingElementGUID, String startingElementGUIDParameterName, String startingElementTypeName, String relationshipTypeGUID, String relationshipTypeName, String resultingElementTypeName, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingElementGUID - identifier for the entity that the identifier is attached tostartingElementGUIDParameterName - name of the parameter used to pass the guidstartingElementTypeName - type name for anchorrelationshipTypeGUID - unique identifier of the attachment's relationship typerelationshipTypeName - unique name of the attachment's relationship typeresultingElementTypeName - unique name of the attached entity's typeserviceSupportedZones - supported zones for calling servicemethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<EntityDetail> getAttachedEntities(String userId, String startingElementGUID, String startingElementGUIDParameterName, String startingElementTypeName, String relationshipTypeGUID, String relationshipTypeName, String resultingElementTypeName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingElementGUID - identifier for the entity that the identifier is attached tostartingElementGUIDParameterName - name of the parameter used to pass the guidstartingElementTypeName - type name for anchorrelationshipTypeGUID - unique identifier of the attachment's relationship typerelationshipTypeName - unique name of the attachment's relationship typeresultingElementTypeName - unique name of the attached entity's typestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<EntityDetail> getAttachedEntities(String userId, String startingElementGUID, String startingElementGUIDParameterName, String startingElementTypeName, String relationshipTypeGUID, String relationshipTypeName, String resultingElementTypeName, String requiredClassificationName, String omittedClassificationName, List<String> serviceSupportedZones, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingElementGUID - identifier for the entity that the identifier is attached tostartingElementGUIDParameterName - name of the parameter used to pass the guidstartingElementTypeName - type name for anchorrelationshipTypeGUID - unique identifier of the attachment's relationship typerelationshipTypeName - unique name of the attachment's relationship typeresultingElementTypeName - unique name of the attached entity's typerequiredClassificationName - name of a classification that must be on the entity for a matchomittedClassificationName - name of a classification that must NOT be on the entity for a matchserviceSupportedZones - supported zones for calling servicestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic Relationship getUniqueAttachmentLink(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityGUID, String attachmentEntityTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of the parameter used to pass the guidstartingTypeName - type name for anchorattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityGUID - unique identifier of the entity on the other end or null if unknownattachmentEntityTypeName - unique name of the attached entity's typemethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<Relationship> getAllAttachmentLinks(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of the parameter used to pass the guidstartingTypeName - type name for anchormethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<Relationship> getAttachmentLinks(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of the parameter used to pass the guidstartingTypeName - type name for anchorattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<Relationship> getAttachmentLinks(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityGUID, String attachmentEntityTypeName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of the parameter used to pass the guidstartingTypeName - type name for anchorattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityGUID - unique identifier of the entity on the other end or null if unknownattachmentEntityTypeName - unique name of the attached entity's typestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic String createBeanInRepository(String userId, String externalSourceGUID, String externalSourceName, String entityTypeGUID, String entityTypeName, String uniqueParameterValue, String uniqueParameterName, OpenMetadataAPIGenericBuilder propertyBuilder, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.externalSourceGUID - 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 sourceentityTypeGUID - unique identifier of the type of entity to createentityTypeName - unique name of the type of entity to createuniqueParameterValue - value of unique parameter (or null if no unique properties)uniqueParameterName - name of unique parameter (or null if no unique properties)propertyBuilder - builder pre-populated with the properties and classifications of the new entitymethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem adding the properties to the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public String createBeanFromTemplate(String userId, String externalSourceGUID, String externalSourceName, String templateGUID, String templateGUIDParameterName, String entityTypeGUID, String entityTypeName, String uniqueParameterValue, String uniqueParameterName, OpenMetadataAPIGenericBuilder propertyBuilder, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
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 sourcetemplateGUID - unique identifier of existing entity to usetemplateGUIDParameterName - name of parameter passing the templateGUIDentityTypeGUID - unique identifier of the type for the entityentityTypeName - unique name of the type for the entityuniqueParameterValue - the value of a unique property (eg qualifiedName) in the new entity - this is used to create unique names in the
attachments.uniqueParameterName - name of the property where the unique value is stored.propertyBuilder - this property builder has the new properties supplied by the caller. They will be augmented by the template
properties and classification.methodName - calling methodInvalidParameterException - one of the parameters is invalidPropertyServerException - there is a problem in the repository servicesUserNotAuthorizedException - the user is not authorized to access one of the elements.public void updateBeanPropertyInRepository(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityGUIDParameterName, String entityTypeGUID, String entityTypeName, String propertyName, String propertyValue, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
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 sourceentityGUID - unique identifier of object to updateentityGUIDParameterName - name of parameter supplying the GUIDentityTypeGUID - unique identifier of the entity's typeentityTypeName - unique name of the entity's typepropertyName - name of bean property to updatepropertyValue - new value for bean propertymethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem updating the properties tin the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void updateBeanInRepository(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityGUIDParameterName, String entityTypeGUID, String entityTypeName, InstanceProperties properties, boolean isMergeUpdate, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
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 sourceentityGUID - unique identifier of object to updateentityGUIDParameterName - name of parameter supplying the GUIDentityTypeGUID - unique identifier of the entity's typeentityTypeName - unique name of the entity's typeproperties - object containing the properties for the repository instances based on the properties of the beanisMergeUpdate - should the supplied properties be merged with existing properties (true) only replacing the properties with
matching names, or should the entire properties of the instance be replaced?methodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem updating the properties in the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void updateBeanInRepository(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityGUIDParameterName, String entityTypeGUID, String entityTypeName, List<String> serviceSupportedZones, InstanceProperties updateProperties, boolean isMergeUpdate, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
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 sourceentityGUID - unique identifier of object to updateentityGUIDParameterName - name of parameter supplying the GUIDentityTypeGUID - unique identifier of the entity's typeentityTypeName - unique name of the entity's typeserviceSupportedZones - supported zones for calling serviceupdateProperties - object containing the propertiesisMergeUpdate - should the supplied updateProperties be merged with existing updateProperties (true) only replacing the updateProperties with
matching names, or should the entire updateProperties of the instance be replaced?methodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem adding the new properties to the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void updateBeanStatusInRepository(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityGUIDParameterName, String entityTypeGUID, String entityTypeName, List<String> serviceSupportedZones, InstanceStatus newStatus, String newStatusParameterName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
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 sourceentityGUID - unique identifier of object to updateentityGUIDParameterName - name of parameter supplying the GUIDentityTypeGUID - unique identifier of the entity's typeentityTypeName - unique name of the entity's typeserviceSupportedZones - supported zones for calling servicenewStatus - new status valuenewStatusParameterName - parameter providing the new status valuemethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem adding the new properties to the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void deleteBeanInRepository(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityGUIDParameterName, String entityTypeGUID, String entityTypeName, String validatingPropertyName, String validatingPropertyValue, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
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 sourceentityGUID - unique identifier of object to updateentityGUIDParameterName - name of parameter supplying the GUIDentityTypeGUID - unique identifier of the entity's typeentityTypeName - unique name of the entity's typevalidatingPropertyName - name of property to verify - of null if no verification is requiredvalidatingPropertyValue - value of property to verifymethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem removing the properties from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void deleteBeanInRepository(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityGUIDParameterName, String entityTypeGUID, String entityTypeName, String validatingPropertyName, String validatingPropertyValue, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
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 sourceentityGUID - unique identifier of object to updateentityGUIDParameterName - name of parameter supplying the GUIDentityTypeGUID - unique identifier of the entity's typeentityTypeName - unique name of the entity's typevalidatingPropertyName - name of property to verify - of null if no verification is requiredvalidatingPropertyValue - value of property to verifyserviceSupportedZones - supported zones for calling servicemethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem removing the properties from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getAttachedElementGUIDs(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of parameter supplying the GUIDstartingTypeName - name of the type of object being attached toattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<String> getAttachedElementGUIDs(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, List<String> serviceSupportedZones, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of parameter supplying the GUIDstartingTypeName - name of the type of object being attached toattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typeserviceSupportedZones - supported zones for calling servicestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic String getAttachedElementGUID(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, int selectionEnd, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of parameter supplying the GUIDstartingTypeName - name of the type of object being attached toattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typeselectionEnd - 0 means either end, 1 means only take from end 1, 2 means only take from end 2methodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic String getAttachedElementGUID(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, int selectionEnd, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of parameter supplying the GUIDstartingTypeName - name of the type of object being attached toattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typeselectionEnd - 0 means either end, 1 means only take from end 1, 2 means only take from end 2serviceSupportedZones - supported zones for calling servicemethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic B getAttachedElement(String userId, String startingElementGUID, String startingElementGUIDParameterName, String startingElementTypeName, String relationshipTypeGUID, String relationshipTypeName, String resultingElementTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingElementGUID - identifier for the entity that the identifier is attached tostartingElementGUIDParameterName - name of the parameter used to pass the guidstartingElementTypeName - type name for anchorrelationshipTypeGUID - unique identifier of the attachment's relationship typerelationshipTypeName - unique name of the attachment's relationship typeresultingElementTypeName - unique name of the attached entity's typemethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic B getAttachedElement(String userId, String startingElementGUID, String startingElementGUIDParameterName, String startingElementTypeName, String relationshipTypeGUID, String relationshipTypeName, String resultingElementTypeName, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingElementGUID - identifier for the entity that the identifier is attached tostartingElementGUIDParameterName - name of the parameter used to pass the guidstartingElementTypeName - type name for anchorrelationshipTypeGUID - unique identifier of the attachment's relationship typerelationshipTypeName - unique name of the attachment's relationship typeresultingElementTypeName - unique name of the attached entity's typeserviceSupportedZones - supported zones for calling servicemethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<B> getAttachedElements(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of parameter supplying the GUIDstartingTypeName - name of the type of object being attached toattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<B> getAttachedElements(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, List<String> serviceSupportedZones, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of parameter supplying the GUIDstartingTypeName - name of the type of object being attached toattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typeserviceSupportedZones - supported zones for calling servicestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<B> getAttachedElements(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, String requiredClassificationName, String omittedClassificationName, int selectionEnd, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of parameter supplying the GUIDstartingTypeName - name of the type of object being attached toattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typerequiredClassificationName - String the name of the classification that must be on the attached entity.omittedClassificationName - String the name of a classification that must not be on the attached entity.selectionEnd - 0 means either end, 1 means only take from end 1, 2 means only take from end 2startingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<B> getAttachedElements(String userId, String anchorGUID, String anchorGUIDParameterName, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, String requiredClassificationName, String omittedClassificationName, int selectionEnd, List<String> serviceSupportedZones, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling useranchorGUID - expected anchorGUID for this elementanchorGUIDParameterName - parameter supplying anchorGUIDstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of parameter supplying the GUIDstartingTypeName - name of the type of object being attached toattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typerequiredClassificationName - String the name of the classification that must be on the attached entity.omittedClassificationName - String the name of a classification that must not be on the attached entity.selectionEnd - 0 means either end, 1 means only take from end 1, 2 means only take from end 2serviceSupportedZones - supported zones for calling servicestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic List<B> getAnchorsForAttachedElements(String userId, String startingGUID, String startingGUIDParameterName, String startingTypeName, String attachmentRelationshipTypeGUID, String attachmentRelationshipTypeName, String attachmentEntityTypeName, String requiredClassificationName, String omittedClassificationName, int selectionEnd, List<String> serviceSupportedZones, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userstartingGUID - identifier for the entity that the identifier is attached tostartingGUIDParameterName - name of parameter supplying the GUIDstartingTypeName - name of the type of object being attached toattachmentRelationshipTypeGUID - unique identifier of the relationship type connect to the attachmentattachmentRelationshipTypeName - unique name of the relationship type connect to the attachmentattachmentEntityTypeName - unique name of the attached entity's typerequiredClassificationName - String the name of the classification that must be on the attached entity.omittedClassificationName - String the name of a classification that must not be on the attached entity.selectionEnd - 0 means either end, 1 means only take from end 1, 2 means only take from end 2serviceSupportedZones - supported zones for calling servicestartingFrom - start position for resultspageSize - maximum number of resultsmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the repositoriespublic EntityDetail getEntityFromRepository(String userId, String requestedEntityGUID, String requestedEntityGUIDParameterName, String requestedEntityTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of the user making the requestrequestedEntityGUID - unique identifier of the entity to retrieve from the repositoryrequestedEntityGUIDParameterName - name of the parameter supplying the GUIDrequestedEntityTypeName - name of type of entity to retrievemethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public EntityDetail getEntityFromRepository(String userId, String requestedEntityGUID, String requestedEntityGUIDParameterName, String requestedEntityTypeName, String requiredClassificationName, String omittedClassificationName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of the user making the requestrequestedEntityGUID - unique identifier of the entity to retrieve from the repositoryrequestedEntityGUIDParameterName - name of the parameter supplying the GUIDrequestedEntityTypeName - name of type of entity to retrieverequiredClassificationName - String the name of the classification that must be on the attached entity.omittedClassificationName - String the name of a classification that must not be on the attached entity.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public EntityDetail getEntityFromRepository(String userId, String requestedEntityGUID, String requestedEntityGUIDParameterName, String requestedEntityTypeName, String requiredClassificationName, String omittedClassificationName, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of the user making the requestrequestedEntityGUID - unique identifier of the entity to retrieve from the repositoryrequestedEntityGUIDParameterName - name of the parameter supplying the GUIDrequestedEntityTypeName - name of type of entity to retrieverequiredClassificationName - String the name of the classification that must be on the attached entity.omittedClassificationName - String the name of a classification that must not be on the attached entity.serviceSupportedZones - supported zones for calling servicemethodName - calling methodInvalidParameterException - the userId is null or invalid, the entity does not exist.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public B getBeanFromRepository(String userId, String guid, String guidParameterName, String resultTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userguid - unique identifier of the entity to retrieveguidParameterName - parameter supplying the unique identifierresultTypeName - type of the retrieve entitymethodName - calling methodInvalidParameterException - one of the properties (probably the GUID) is invalidPropertyServerException - the repository services hit an unexpected problemUserNotAuthorizedException - the user is not permitted to access this entitypublic B getBeanFromRepository(String userId, String guid, String guidParameterName, String entityTypeName, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of the user making the requestguid - unique identifier of the entity to retrieve from the repositoryguidParameterName - name of the parameter supplying the GUIDentityTypeName - name of type of entity to retrieveserviceSupportedZones - supported zones for calling servicemethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public String getBeanGUIDByUniqueName(String userId, String name, String nameParameterName, String namePropertyName, String resultTypeGUID, String resultTypeName, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling username - value to searchnameParameterName - parameter providing valuenamePropertyName - open metadata property name to match onresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withserviceSupportedZones - list of supported zones for this servicemethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public B getBeanByUniqueName(String userId, String name, String nameParameterName, String namePropertyName, String resultTypeGUID, String resultTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling username - value to searchnameParameterName - parameter providing valuenamePropertyName - open metadata property name to match onresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public B getBeanByUniqueName(String userId, String name, String nameParameterName, String namePropertyName, String resultTypeGUID, String resultTypeName, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling username - value to searchnameParameterName - parameter providing valuenamePropertyName - open metadata property name to match onresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withserviceSupportedZones - list of supported zones for this servicemethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public B getBeanByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.methodName - calling methodInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the bean definition.public List<B> getBeansByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, boolean exactValueMatch, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.exactValueMatch - indicates whether the value must match the whole property value in a matching result, or whether it is a
RegEx partial matchstartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> findBeans(String userId, String searchString, String searchStringParameterName, String resultTypeGUID, String resultTypeName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the searchString of the calling user.searchString - searchString of endpoint. This may include wild card characters.searchStringParameterName - name of parameter providing search stringresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withstartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> findBeans(String userId, String searchString, String searchStringParameterName, String resultTypeGUID, String resultTypeName, String requiredClassificationName, String omittedClassificationName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the searchString of the calling user.searchString - searchString of endpoint. This may include wild card characters.searchStringParameterName - name of parameter providing search stringresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withrequiredClassificationName - String the name of the classification that must be on the entity.omittedClassificationName - String the name of a classification that must not be on the entity.startFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> findBeans(String userId, String searchString, String searchStringParameterName, String resultTypeGUID, String resultTypeName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the searchString of the calling user.searchString - searchString of endpoint. This may include wild card characters.searchStringParameterName - name of parameter providing search stringserviceSupportedZones - list of supported zones for this service.resultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withstartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getBeansByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, boolean exactValueMatch, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.exactValueMatch - indicates whether the value must match the whole property value in a matching result, or whether it is a
RegEx partial matchserviceSupportedZones - list of supported zones for this servicestartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getBeansByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, boolean exactValueMatch, String requiredClassificationName, String omittedClassificationName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.exactValueMatch - indicates whether the value must match the whole property value in a matching result, or whether it is a
RegEx partial matchrequiredClassificationName - String the name of the classification that must be on the entity.omittedClassificationName - String the name of a classification that must not be on the entity.startFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getBeansByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, boolean exactValueMatch, String requiredClassificationName, String omittedClassificationName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.exactValueMatch - indicates whether the value must match the whole property value in a matching result, or whether it is a
RegEx partial matchrequiredClassificationName - String the name of the classification that must be on the entity.omittedClassificationName - String the name of a classification that must not be on the entity.serviceSupportedZones - list of supported zones for this servicestartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<EntityDetail> getEntitiesByType(String userId, String resultTypeGUID, String resultTypeName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique name of the type that the results should match withserviceSupportedZones - list of supported zones for this servicestartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<EntityDetail> findEntities(String userId, String searchString, String searchStringParameterName, String resultTypeGUID, String resultTypeName, String requiredClassificationName, String omittedClassificationName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the searchString of the calling user.searchString - searchString of endpoint. This may include wild card characters.searchStringParameterName - name of parameter providing search stringresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withrequiredClassificationName - String the name of the classification that must be on the entity.omittedClassificationName - String the name of a classification that must not be on the entity.startFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<EntityDetail> getEntitiesByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, boolean exactValueMatch, String requiredClassificationName, String omittedClassificationName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.exactValueMatch - indicates whether the value must match the whole property value in a matching result, or whether it is a
RegEx partial matchrequiredClassificationName - String the name of the classification that must be on the attached entity.omittedClassificationName - String the name of a classification that must not be on the attached entity.startFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<EntityDetail> getEntitiesByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, boolean exactValueMatch, String requiredClassificationName, String omittedClassificationName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.exactValueMatch - indicates whether the value must match the whole property value in a matching result, or whether it is a
RegEx partial matchrequiredClassificationName - String the name of the classification that must be on the attached entity.omittedClassificationName - String the name of a classification that must not be on the attached entity.serviceSupportedZones - list of supported zones for this servicestartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public EntityDetail getEntityByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.methodName - calling methodInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public String getEntityGUIDByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.methodName - calling methodInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<String> findBeanGUIDs(String userId, String searchString, String searchStringParameterName, String resultTypeGUID, String resultTypeName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the searchString of the calling user.searchString - searchString of endpoint. This may include wild card characters.searchStringParameterName - name of parameter providing search stringresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withstartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getBeanGUIDsByValue(String userId, String value, String valueParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, boolean exactValueMatch, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the calling uservalue - value to searchvalueParameterName - parameter providing valueresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique value of the type that the results should match withspecificMatchPropertyNames - list of property value to look in - if null or empty list then all string properties are checked.exactValueMatch - indicates whether the value must match the whole property value in a matching result, or whether it is a
RegEx partial matchserviceSupportedZones - list of supported zones for this servicestartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getBeansByCreator(String userId, String searchString, String searchStringParameterName, String resultTypeGUID, String resultTypeName, List<String> specificMatchPropertyNames, boolean exactValueMatch, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling usersearchString - value that describes what to search forsearchStringParameterName - parameter providing search stringresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique name of the type that the results should match withspecificMatchPropertyNames - name of properties to visitexactValueMatch - does the value need to match exactly?serviceSupportedZones - list of supported zones for this servicestartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getBeansByType(String userId, String resultTypeGUID, String resultTypeName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique name of the type that the results should match withstartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getBeansByType(String userId, String resultTypeGUID, String resultTypeName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique name of the type that the results should match withserviceSupportedZones - list of supported zones for this servicestartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getBeanGUIDsByType(String userId, String resultTypeGUID, String resultTypeName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique name of the type that the results should match withstartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getBeanGUIDsByType(String userId, String resultTypeGUID, String resultTypeName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userresultTypeGUID - unique identifier of the type that the results should match withresultTypeName - unique name of the type that the results should match withserviceSupportedZones - list of supported zones for this servicestartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getBeansByClassification(String userId, String resultTypeGUID, String resultClassificationName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userresultTypeGUID - unique identifier of the type that the results should match withresultClassificationName - unique name of the classification that the results should match withstartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getBeanGUIDsByClassification(String userId, String resultTypeGUID, String resultClassificationName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userresultTypeGUID - unique identifier of the type that the results should match withresultClassificationName - unique name of the classification that the results should match withstartFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to returnmethodName - calling methodInvalidParameterException - the userId is null or invalid.PropertyServerException - there is a problem retrieving information from the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void linkElementToElement(String userId, String externalSourceGUID, String externalSourceName, String startingGUID, String startingGUIDParameterName, String startingElementTypeName, String attachingGUID, String attachingGUIDParameterName, String attachingElementTypeName, String relationshipTypeGUID, String relationshipTypeName, InstanceProperties relationshipProperties, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestexternalSourceGUID - 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 sourcestartingGUID - unique id for the starting element's entitystartingGUIDParameterName - name of the parameter supplying the startingGUIDstartingElementTypeName - type name of the starting element's entityattachingGUID - unique id of the entity for the element that is being attachedattachingGUIDParameterName - name of the parameter supplying the attachingGUIDattachingElementTypeName - type name of the attaching element's entityrelationshipTypeGUID - unique identifier of type of the relationship to createrelationshipTypeName - unique name of type of the relationship to createrelationshipProperties - properties to add to the relationship or null if no properties to addmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem updating the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void linkElementToElement(String userId, String externalSourceGUID, String externalSourceName, String startingGUID, String startingGUIDParameterName, String startingElementTypeName, String attachingGUID, String attachingGUIDParameterName, String attachingElementTypeName, List<String> suppliedSupportedZones, String attachmentTypeGUID, String attachmentTypeName, InstanceProperties relationshipProperties, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestexternalSourceGUID - 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 sourcestartingGUID - unique id for the starting element's entitystartingGUIDParameterName - name of the parameter supplying the startingGUIDstartingElementTypeName - type name of the starting element's entityattachingGUID - unique id of the entity for the element that is being attachedattachingGUIDParameterName - name of the parameter supplying the attachingGUIDattachingElementTypeName - type name of the attaching element's entitysuppliedSupportedZones - list of zones that any asset must be a member of at least one to be visibleattachmentTypeGUID - unique identifier of type of the relationship to createattachmentTypeName - unique name of type of the relationship to createrelationshipProperties - properties to add to the relationship or null if no properties to addmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem adding the relationship to the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void relinkElementToNewElement(String userId, String externalSourceGUID, String externalSourceName, String startingGUID, String startingGUIDParameterName, String startingElementTypeName, boolean startAtEnd1, String newAttachingGUID, String newAttachingGUIDParameterName, String newAttachingElementTypeName, String attachmentTypeGUID, String attachmentTypeName, InstanceProperties relationshipProperties, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestexternalSourceGUID - 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 sourcestartingGUID - unique id for the starting element's entitystartingGUIDParameterName - name of the parameter supplying the startingGUIDstartingElementTypeName - type name of the starting element's entitystartAtEnd1 - is the starting element at end 1 of the relationshipnewAttachingGUID - unique id of the entity for the element that is being attachednewAttachingGUIDParameterName - name of the parameter supplying the newAttachingGUIDnewAttachingElementTypeName - type name of the attaching element's entityattachmentTypeGUID - unique identifier of type of the relationship to createattachmentTypeName - unique name of type of the relationship to createrelationshipProperties - properties to add to the relationship or null if no properties to addmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid; or the relationship to change is not obviousPropertyServerException - there is a problem adding the relationship to the repositoriesUserNotAuthorizedException - the requesting user is not authorized to issue this request.public void relinkElementToNewElement(String userId, String externalSourceGUID, String externalSourceName, String startingGUID, String startingGUIDParameterName, String startingElementTypeName, boolean startAtEnd1, String newAttachingGUID, String newAttachingGUIDParameterName, String newAttachingElementTypeName, List<String> suppliedSupportedZones, String attachmentTypeGUID, String attachmentTypeName, InstanceProperties relationshipProperties, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestexternalSourceGUID - 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 sourcestartingGUID - unique id for the starting element's entitystartingGUIDParameterName - name of the parameter supplying the startingGUIDstartingElementTypeName - type name of the starting element's entitystartAtEnd1 - is the starting element at end 1 of the relationshipnewAttachingGUID - unique id of the entity for the element that is being attachednewAttachingGUIDParameterName - name of the parameter supplying the newAttachingGUIDnewAttachingElementTypeName - type name of the attaching element's entitysuppliedSupportedZones - list of zones that any asset must be a member of at least one to be visibleattachmentTypeGUID - unique identifier of type of the relationship to createattachmentTypeName - unique name of type of the relationship to createrelationshipProperties - properties to add to the relationship or null if no properties to addmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid; or the relationship to change is not obviousPropertyServerException - there is a problem adding the relationship to the repositoriesUserNotAuthorizedException - the requesting user is not authorized to issue this request.public void unlinkElementFromElement(String userId, boolean onlyCreatorPermitted, String externalSourceGUID, String externalSourceName, String startingGUID, String startingGUIDParameterName, String startingElementTypeName, String attachingGUID, String attachingGUIDParameterName, String attachingElementTypeGUID, String attachingElementTypeName, String attachmentTypeGUID, String attachmentTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestonlyCreatorPermitted - operation only permitted if the userId was the same one that created the relationshipexternalSourceGUID - 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 sourcestartingGUID - unique id for the starting element's entitystartingGUIDParameterName - name of the parameter supplying the startingGUIDstartingElementTypeName - type name of the starting element's entityattachingGUID - unique id of the entity for the element that is being attachedattachingGUIDParameterName - name of the parameter supplying the attachingGUIDattachingElementTypeGUID - type identifier of the attaching element's entityattachingElementTypeName - type name of the attaching element's entityattachmentTypeGUID - unique identifier of type of the relationship to createattachmentTypeName - unique name of type of the relationship to createmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem updating relationship in the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void unlinkElementFromElement(String userId, boolean onlyCreatorPermitted, String externalSourceGUID, String externalSourceName, String startingGUID, String startingGUIDParameterName, String startingElementTypeName, String attachedGUID, String attachedGUIDParameterName, String attachedElementTypeGUID, String attachedElementTypeName, List<String> suppliedSupportedZones, String attachmentTypeGUID, String attachmentTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestonlyCreatorPermitted - operation only permitted if the userId was the same one that created the relationshipexternalSourceGUID - 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 sourcestartingGUID - unique id for the starting element's entitystartingGUIDParameterName - name of the parameter supplying the startingGUIDstartingElementTypeName - type name of the starting element's entityattachedGUID - unique id of the entity for the element that is being attachedattachedGUIDParameterName - name of the parameter supplying the attachedGUIDattachedElementTypeGUID - type GUID of the attaching element's entityattachedElementTypeName - type name of the attaching element's entitysuppliedSupportedZones - list of zones that any asset must be a member of at least one to be visibleattachmentTypeGUID - unique identifier of type of the relationship to createattachmentTypeName - unique name of type of the relationship to createmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem updating relationship in the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void unlinkAllElements(String userId, boolean onlyCreatorPermitted, String externalSourceGUID, String externalSourceName, String startingGUID, String startingGUIDParameterName, String startingElementTypeName, List<String> suppliedSupportedZones, String attachmentTypeGUID, String attachmentTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestonlyCreatorPermitted - operation only permitted if the userId was the same one that created the relationshipexternalSourceGUID - 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 sourcestartingGUID - unique id for the starting element's entitystartingGUIDParameterName - name of the parameter supplying the startingGUIDstartingElementTypeName - type name of the starting element's entitysuppliedSupportedZones - list of zones that any asset must be a member of at least one to be visibleattachmentTypeGUID - unique identifier of type of the relationship to createattachmentTypeName - unique name of type of the relationship to createmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem updating the relationships in the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public String unlinkConnectedElement(String userId, boolean onlyCreatorPermitted, String externalSourceGUID, String externalSourceName, String startingGUID, String startingGUIDParameterName, String startingElementTypeName, List<String> suppliedSupportedZones, String attachmentTypeGUID, String attachmentTypeName, String detachedElementTypeName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making requestonlyCreatorPermitted - operation only permitted if the userId was the same one that created the relationshipexternalSourceGUID - 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 sourcestartingGUID - unique id for the starting element's entitystartingGUIDParameterName - name of the parameter supplying the startingGUIDstartingElementTypeName - type name of the starting element's entitysuppliedSupportedZones - list of zones that any asset must be a member of at least one to be visibleattachmentTypeGUID - unique identifier of type of the relationship to createattachmentTypeName - unique name of type of the relationship to createdetachedElementTypeName - name of type of element that will be detachedmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem updating the relationship in the repositories.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void verifyExternalSourceIdentity(String userId, String externalSourceGUID, String externalSourceName, 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 sourcemethodName - calling methodInvalidParameterException - the integrator GUID or name does not match what is in the metadata repositoryPropertyServerException - problem accessing repositoriesUserNotAuthorizedException - security access problemCopyright © 2018–2020 ODPi. All rights reserved.