public class RepositoryHandler extends Object
| Constructor and Description |
|---|
RepositoryHandler(AuditLog auditLog,
RepositoryErrorHandler errorHandler,
OMRSMetadataCollection metadataCollection,
int maxPageSize)
Construct the basic handler with information needed to call the repository services and report any error.
|
| Modifier and Type | Method and Description |
|---|---|
String |
addUniqueAttachedEntityToElement(String userId,
String externalSourceGUID,
String externalSourceName,
String startingEntityGUID,
String startingEntityTypeName,
String startingRelationshipTypeGUID,
String startingRelationshipTypeName,
InstanceProperties startingRelationshipProperties,
String attachedEntityTypeGUID,
String attachedEntityTypeName,
InstanceProperties attachedEntityProperties,
String methodName)
Remove an entity attached to an starting.
|
EntityDetail |
classifyEntity(String userId,
String entityGUID,
String classificationName,
InstanceProperties properties,
String methodName)
Deprecated.
|
EntityDetail |
classifyEntity(String userId,
String entityGUID,
String classificationTypeGUID,
String classificationTypeName,
InstanceProperties properties,
String methodName)
Deprecated.
|
EntityDetail |
classifyEntity(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String classificationTypeGUID,
String classificationTypeName,
ClassificationOrigin classificationOrigin,
String classificationOriginGUID,
InstanceProperties properties,
String methodName)
Add a new classification to an existing entity in the open metadata repository.
|
int |
countAttachedRelationshipsByType(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Count the number of relationships of a specific type attached to an starting entity.
|
String |
createEntity(String userId,
String entityTypeGUID,
String entityTypeName,
InstanceProperties properties,
String methodName)
Deprecated.
|
String |
createEntity(String userId,
String entityTypeGUID,
String entityTypeName,
String externalSourceGUID,
String externalSourceName,
InstanceProperties properties,
InstanceStatus instanceStatus,
String methodName)
Create a new entity in the open metadata repository with the specified instance status.
|
String |
createEntity(String userId,
String entityTypeGUID,
String entityTypeName,
String externalSourceGUID,
String externalSourceName,
InstanceProperties properties,
List<Classification> initialClassifications,
InstanceStatus instanceStatus,
String methodName)
Create a new entity in the open metadata repository with the specified instance status.
|
String |
createEntity(String userId,
String entityTypeGUID,
String entityTypeName,
String externalSourceGUID,
String externalSourceName,
InstanceProperties properties,
List<Classification> initialClassifications,
String methodName)
Create a new entity in the open metadata repository with the ACTIVE instance status.
|
String |
createEntity(String userId,
String entityTypeGUID,
String entityTypeName,
String externalSourceGUID,
String externalSourceName,
InstanceProperties properties,
String methodName)
Create a new entity in the open metadata repository with the ACTIVE instance status.
|
String |
createExternalEntity(String userId,
String entityTypeGUID,
String entityTypeName,
String externalSourceGUID,
String externalSourceName,
InstanceProperties properties,
InstanceStatus instanceStatus,
String methodName)
Deprecated.
|
void |
createExternalRelationship(String userId,
String relationshipTypeGUID,
String externalSourceGUID,
String externalSourceName,
String end1GUID,
String end2GUID,
InstanceProperties relationshipProperties,
String methodName)
Create a relationship from an external source between two entities.
|
Relationship |
createRelationship(String userId,
String relationshipTypeGUID,
String externalSourceGUID,
String externalSourceName,
String end1GUID,
String end2GUID,
InstanceProperties relationshipProperties,
String methodName)
Create a relationship between two entities.
|
void |
declassifyEntity(String userId,
String entityGUID,
String classificationTypeName,
InstanceAuditHeader existingClassificationHeader,
String methodName)
Deprecated.
|
void |
declassifyEntity(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String classificationTypeGUID,
String classificationTypeName,
InstanceAuditHeader existingClassificationHeader,
String methodName)
Remove an existing classification from an existing entity in the open metadata repository.
|
void |
ensureRelationship(String userId,
String end1TypeName,
String externalSourceGUID,
String externalSourceName,
String end1GUID,
String end2GUID,
String relationshipTypeGUID,
String relationshipTypeName,
InstanceProperties relationshipProperties,
String methodName)
Ensure a relationship exists between two entities.
|
List<EntityDetail> |
findEntities(String userId,
String entityTypeGUID,
List<String> entitySubtypeGUIDs,
SearchProperties searchProperties,
List<InstanceStatus> limitResultsByStatus,
SearchClassifications searchClassifications,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int startingFrom,
int pageSize,
String methodName)
Return a list of entities that match the supplied criteria.
|
List<Relationship> |
findRelationships(String userId,
String relationshipTypeGUID,
List<String> relationshipSubtypeGUIDs,
SearchProperties searchProperties,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int startingFrom,
int pageSize,
String methodName)
Return a list of relationships that match the requested conditions.
|
List<EntityDetail> |
getAttachedEntitiesFromUser(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String attachedEntityTypeGUID,
String attachedEntityTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the list of entities at the other end of the requested relationship type that were created or
edited by the requesting user.
|
EntityDetail |
getAttachedEntityFromUser(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String attachedEntityTypeGUID,
String attachedEntityTypeName,
String methodName)
Return the list of entities at the other end of the requested relationship type that were created or edited by
the requesting user.
|
List<EntityDetail> |
getEntitiesByAllProperties(String userId,
InstanceProperties properties,
String entityTypeGUID,
int startingFrom,
int pageSize,
String methodName)
Return the entities that match all supplied properties.
|
List<EntityDetail> |
getEntitiesByName(String userId,
InstanceProperties nameProperties,
String entityTypeGUID,
int startingFrom,
int pageSize,
String methodName)
Return the requested entity by name.
|
List<EntityDetail> |
getEntitiesByPropertyValue(String userId,
String entityTypeGUID,
String searchCriteria,
int startingFrom,
int pageSize,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
String methodName)
Return the entities that match all supplied properties.
|
List<EntityDetail> |
getEntitiesByType(String userId,
String entityTypeGUID,
int startingFrom,
int pageSize,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
String methodName)
Return the requested entities that match the requested type.
|
List<EntityDetail> |
getEntitiesByType(String userId,
String entityTypeGUID,
int startingFrom,
int pageSize,
String methodName)
Return the requested entities that match the requested type.
|
List<EntityDetail> |
getEntitiesByValue(String userId,
String propertyValue,
String entityTypeGUID,
int startingFrom,
int pageSize,
String methodName)
Return the entities that match all supplied properties.
|
List<EntityDetail> |
getEntitiesForClassificationType(String userId,
String entityEntityTypeGUID,
String classificationName,
int startingFrom,
int pageSize,
String methodName)
Return the list of entities by the requested classification type.
|
List<EntityDetail> |
getEntitiesForRelationshipEnd(String userId,
String anchorEntityGUID,
String anchorEntityTypeName,
boolean anchorAtEnd1,
String relationshipTypeGUID,
String relationshipTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the list of entities at the requested end of the requested relationship type.
|
List<EntityDetail> |
getEntitiesForRelationshipType(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the list of entities at the other end of the requested relationship type.
|
List<EntityDetail> |
getEntitiesForType(String userId,
String entityTypeGUID,
String entityTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the list of entities of the requested type.
|
List<EntityDetail> |
getEntitiesWithoutPropertyValues(String userId,
InstanceProperties properties,
String entityTypeGUID,
int startingFrom,
int pageSize,
String methodName)
Return the entities that match all supplied properties.
|
EntityDetail |
getEntityByGUID(String userId,
String guid,
String guidParameterName,
String entityTypeName,
String methodName)
Return the requested entity, converting any errors from the repository services into the local
OMAS exceptions.
|
List<EntityDetail> |
getEntityByName(String userId,
InstanceProperties nameProperties,
String entityTypeGUID,
String methodName)
Return the requested entity by name.
|
EntityDetail |
getEntityForRelationshipType(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Return the entity at the other end of the requested relationship type.
|
InstanceGraph |
getEntityNeighborhood(String userId,
String entityGUID,
List<String> entityTypeGUIDs,
List<String> relationshipTypeGUIDs,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
int level,
String methodName)
Return the entities and relationships that radiate out from the supplied entity GUID.
|
OMRSMetadataCollection |
getMetadataCollection()
Return the metadata collection for the repository.
|
EntityProxy |
getOtherEnd(String startingEntityGUID,
Relationship relationship)
Return the entity proxy for the related entity.
|
EntityProxy |
getOtherEnd(String startingEntityGUID,
String startingEntityTypeName,
Relationship relationship,
String methodName)
Return the entity proxy for the related entity.
|
List<Relationship> |
getPagedRelationshipsByType(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
int startingFrom,
int maximumResults,
String methodName)
Return the list of relationships of the requested type connected to the starting entity.
|
List<EntityProxy> |
getRelatedEntityProxies(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the list of entity proxies for the entities at the far end of the relationships linked to the
starting entity.
|
Relationship |
getRelationshipBetweenEntities(String userId,
String entity1GUID,
String entity1TypeName,
String entity2GUID,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Return the first found relationship of the requested type connecting the supplied entities.
|
Relationship |
getRelationshipByGUID(String userId,
String relationshipGUID,
String methodName)
Deprecated.
|
Relationship |
getRelationshipByGUID(String userId,
String relationshipGUID,
String relationshipParameterName,
String relationshipTypeName,
String methodName)
Return the current version of a requested relationship.
|
List<Relationship> |
getRelationshipsBetweenEntities(String userId,
String entity1GUID,
String entity1TypeName,
String entity2GUID,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Return the list of relationships of the requested type connecting the supplied entities.
|
List<Relationship> |
getRelationshipsByType(String userId,
String startingEntityGUID,
String relationshipTypeGUID,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int startingFrom,
int pageSize,
String methodName)
Return the list of relationships of the requested type connected to the starting entity.
|
List<Relationship> |
getRelationshipsByType(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the list of relationships of the requested type connected to the starting entity.
|
List<Relationship> |
getRelationshipsByType(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Return the list of relationships of the requested type connected to the starting entity.
|
List<Relationship> |
getRequiredRelationshipsByType(String userId,
String anchorEntityGUID,
String anchorEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
int startingFrom,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize,
String methodName)
Return the list of relationships of the requested type connected to the anchor entity.
|
List<Relationship> |
getRequiredRelationshipsByType(String userId,
String anchorEntityGUID,
String anchorEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Return the list of relationships of the requested type connected to the anchor entity.
|
EntityDetail |
getUniqueEntityByName(String userId,
String nameValue,
String nameParameterName,
InstanceProperties nameProperties,
String entityTypeGUID,
String entityTypeName,
String methodName)
Return the requested entity by name.
|
Relationship |
getUniqueParentRelationshipByType(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
boolean parentAtEnd1,
String methodName)
Return the relationship of the requested type connected to the starting entity and where the starting entity is the logical child.
|
Relationship |
getUniqueRelationshipByType(String userId,
String startingEntityGUID,
String startingEntityTypeName,
boolean startAtEnd1,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Return the list of relationships of the requested type connected to the starting entity where the
starting entity is at the end indicated by the startAtEnd1 boolean parameter.
|
Relationship |
getUniqueRelationshipByType(String userId,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Return the relationship of the requested type connected to the starting entity.
|
boolean |
isEntityATypeOf(String userId,
String guid,
String guidParameterName,
String entityTypeName,
String methodName)
Test whether an entity is of a particular type or not.
|
EntitySummary |
isEntityKnown(String userId,
String guid,
String entityTypeName,
String methodName,
String guidParameterName)
Validate that the supplied GUID is for a real entity.
|
void |
purgeEntity(String userId,
String obsoleteEntityGUID,
String entityTypeGUID,
String entityTypeName,
String methodName)
Purge an entity stored in a repository that does not support delete.
|
void |
purgeRelationship(String userId,
String relationshipTypeGUID,
String relationshipTypeName,
String relationshipGUID,
String methodName)
Purge a relationship between two entities.
|
void |
reclassifyEntity(String userId,
String entityGUID,
String classificationTypeName,
InstanceAuditHeader existingClassificationHeader,
InstanceProperties newProperties,
String methodName)
Deprecated.
|
void |
reclassifyEntity(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String classificationTypeGUID,
String classificationTypeName,
InstanceAuditHeader existingClassificationHeader,
InstanceProperties newProperties,
String methodName)
Update the properties of an existing classification to an existing entity in the open metadata repository.
|
void |
removeAllRelationshipsOfType(String userId,
String externalSourceGUID,
String externalSourceName,
String startingEntityGUID,
String startingEntityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Remove all relationships of a certain type starting at a particular entity.
|
void |
removeEntity(String userId,
String obsoleteEntityGUID,
String entityTypeGUID,
String entityTypeName,
String validatingPropertyName,
String validatingProperty,
String methodName)
Deprecated.
|
void |
removeEntity(String userId,
String externalSourceGUID,
String externalSourceName,
String obsoleteEntityGUID,
String obsoleteEntityGUIDParameterName,
String entityTypeGUID,
String entityTypeName,
String validatingPropertyName,
String validatingProperty,
String methodName)
Remove an entity from the open metadata repository if the validating properties match.
|
void |
removeEntityOnLastUse(String userId,
String externalSourceGUID,
String externalSourceName,
String obsoleteEntityGUID,
String guidParameterName,
String entityTypeGUID,
String entityTypeName,
String methodName)
Remove an entity from the repository if it is no longer connected to any other entity.
|
void |
removeIsolatedEntity(String userId,
String obsoleteEntityGUID,
String entityTypeGUID,
String entityTypeName,
String methodName)
Deprecated.
|
void |
removeRelationship(String userId,
String externalSourceGUID,
String externalSourceName,
Relationship relationship,
String methodName)
Delete a relationship between two entities.
|
void |
removeRelationship(String userId,
String relationshipTypeGUID,
String relationshipTypeName,
String relationshipGUID,
String methodName)
Deprecated.
|
void |
removeRelationship(String userId,
String externalSourceGUID,
String externalSourceName,
String relationshipTypeName,
String relationshipGUID,
String methodName)
Delete a relationship between two entities.
|
void |
removeRelationshipBetweenEntities(String userId,
String externalSourceGUID,
String externalSourceName,
String relationshipTypeGUID,
String relationshipTypeName,
String entity1GUID,
String entity1TypeName,
String entity2GUID,
String methodName)
Delete a relationship between two specific entities.
|
void |
removeUniqueRelationshipByType(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityTypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Remove the relationship connected to the supplied entity.
|
void |
restoreEntity(String userId,
String deletedEntityGUID,
String methodName)
Deprecated.
|
void |
restoreEntity(String userId,
String externalSourceGUID,
String externalSourceName,
String deletedEntityGUID,
String methodName)
Restore the requested entity to the state it was before it was deleted.
|
void |
restoreRelationship(String userId,
String deletedRelationshipGUID,
String methodName)
Deprecated.
|
void |
restoreRelationship(String userId,
String externalSourceGUID,
String externalSourceName,
String deletedRelationshipGUID,
String methodName)
Restore the requested relationship to the state it was before it was deleted.
|
EntityDetail |
updateEntity(String userId,
String entityGUID,
String entityTypeGUID,
String entityTypeName,
InstanceProperties properties,
List<Classification> classifications,
String methodName)
Deprecated.
|
EntityDetail |
updateEntity(String userId,
String entityGUID,
String entityTypeGUID,
String entityTypeName,
InstanceProperties properties,
String methodName)
Deprecated.
|
EntityDetail |
updateEntity(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityTypeGUID,
String entityTypeName,
InstanceProperties properties,
List<Classification> classifications,
String methodName)
Update an existing entity in the open metadata repository.
|
EntityDetail |
updateEntityProperties(String userId,
String entityGUID,
EntityDetail originalEntity,
String entityTypeGUID,
String entityTypeName,
InstanceProperties newProperties,
String methodName)
Deprecated.
|
void |
updateEntityProperties(String userId,
String externalSourceGUID,
String externalSourceName,
InstanceHeader entityHeader,
String entityTypeGUID,
String entityTypeName,
InstanceProperties properties,
String methodName)
Update an existing entity in the open metadata repository.
|
EntityDetail |
updateEntityProperties(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
EntityDetail originalEntity,
String entityTypeGUID,
String entityTypeName,
InstanceProperties newProperties,
String methodName)
Update the properties of an existing entity in the open metadata repository.
|
EntityDetail |
updateEntityProperties(String userId,
String entityGUID,
String entityTypeGUID,
String entityTypeName,
InstanceProperties updateProperties,
String methodName)
Deprecated.
|
EntityDetail |
updateEntityProperties(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityTypeGUID,
String entityTypeName,
InstanceProperties updateProperties,
String methodName)
Update the properties of an existing entity in the open metadata repository.
|
void |
updateEntityStatus(String userId,
String entityGUID,
String entityTypeGUID,
String entityTypeName,
InstanceStatus instanceStatus,
String methodName)
Deprecated.
|
void |
updateEntityStatus(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityTypeGUID,
String entityTypeName,
InstanceStatus instanceStatus,
String methodName)
Update an existing entity status in the open metadata repository.
|
void |
updateRelationshipProperties(String userId,
String relationshipGUID,
InstanceProperties relationshipProperties,
String methodName)
Deprecated.
|
void |
updateRelationshipProperties(String userId,
String externalSourceGUID,
String externalSourceName,
Relationship relationship,
InstanceProperties relationshipProperties,
String methodName)
Update the properties in the requested relationship.
|
void |
updateRelationshipProperties(String userId,
String externalSourceGUID,
String externalSourceName,
String relationshipGUID,
InstanceProperties relationshipProperties,
String methodName)
Update the properties in the requested relationship.
|
void |
updateRelationshipStatus(String userId,
String relationshipGUID,
InstanceStatus instanceStatus,
String methodName)
Deprecated.
|
void |
updateRelationshipStatus(String userId,
String externalSourceGUID,
String externalSourceName,
String relationshipGUID,
String relationshipParameterName,
String relationshipTypeName,
InstanceStatus instanceStatus,
String methodName)
Update the status in the requested relationship.
|
void |
updateSelectedEntityClassifications(String userId,
String externalSourceGUID,
String externalSourceName,
String entityGUID,
String entityTypeGUID,
String entityTypeName,
List<Classification> newClassifications,
String methodName)
Update just the specific list of classifications on an existing entity in the open metadata repository.
|
void |
updateUniqueRelationshipByType(String userId,
String externalSourceGUID,
String externalSourceName,
String end1GUID,
String end1TypeName,
String end2GUID,
String end2TypeName,
String relationshipTypeGUID,
String relationshipTypeName,
String methodName)
Ensure that the unique relationship between two entities is established.
|
EntitySummary |
validateEntityGUID(String userId,
String guid,
String entityTypeName,
String methodName,
String guidParameterName)
Validate that the supplied GUID is for a real entity and map exceptions if not
|
public RepositoryHandler(AuditLog auditLog, RepositoryErrorHandler errorHandler, OMRSMetadataCollection metadataCollection, int maxPageSize)
auditLog - logging destinationerrorHandler - generates error messages and exceptionsmetadataCollection - access to the repository content.maxPageSize - maximum number of instances that can be returned on a single callpublic EntitySummary validateEntityGUID(String userId, String guid, String entityTypeName, String methodName, String guidParameterName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - user making the request.guid - unique identifier of the entity.entityTypeName - expected type of asset.methodName - name of method called.guidParameterName - name of parameter that passed the guidInvalidParameterException - entity not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic EntitySummary isEntityKnown(String userId, String guid, String entityTypeName, String methodName, String guidParameterName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the request.guid - unique identifier of the entity.entityTypeName - expected type of asset.methodName - name of method called.guidParameterName - name of parameter that passed the guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public String createExternalEntity(String userId, String entityTypeGUID, String entityTypeName, String externalSourceGUID, String externalSourceName, InstanceProperties properties, InstanceStatus instanceStatus, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.properties - properties for the entityinstanceStatus - initial status (needs to be valid for type)methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public String createEntity(String userId, String entityTypeGUID, String entityTypeName, InstanceProperties properties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeproperties - properties for the entitymethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String createEntity(String userId, String entityTypeGUID, String entityTypeName, String externalSourceGUID, String externalSourceName, InstanceProperties properties, List<Classification> initialClassifications, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.properties - properties for the entityinitialClassifications - list of classifications to attach to the entitymethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String createEntity(String userId, String entityTypeGUID, String entityTypeName, String externalSourceGUID, String externalSourceName, InstanceProperties properties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.properties - properties for the entitymethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String createEntity(String userId, String entityTypeGUID, String entityTypeName, String externalSourceGUID, String externalSourceName, InstanceProperties properties, InstanceStatus instanceStatus, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.properties - properties for the entityinstanceStatus - initial status (needs to be valid for type)methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String createEntity(String userId, String entityTypeGUID, String entityTypeName, String externalSourceGUID, String externalSourceName, InstanceProperties properties, List<Classification> initialClassifications, InstanceStatus instanceStatus, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.properties - properties for the entityinitialClassifications - list of classifications for the first version of this entity.instanceStatus - initial status (needs to be valid for type)methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String addUniqueAttachedEntityToElement(String userId, String externalSourceGUID, String externalSourceName, String startingEntityGUID, String startingEntityTypeName, String startingRelationshipTypeGUID, String startingRelationshipTypeName, InstanceProperties startingRelationshipProperties, String attachedEntityTypeGUID, String attachedEntityTypeName, InstanceProperties attachedEntityProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.startingEntityGUID - unique identifier of the starting entitystartingEntityTypeName - name of starting entity's typestartingRelationshipTypeGUID - unique identifier for the relationship's typestartingRelationshipTypeName - unique name for the relationship's typestartingRelationshipProperties - properties from relationshipattachedEntityTypeGUID - unique identifier for the attached entity's typeattachedEntityTypeName - name of the attached entity's typeattachedEntityProperties - properties of entitymethodName - name of calling methodInvalidParameterException - the entity guid is not knownUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem accessing the property server@Deprecated public EntityDetail updateEntityProperties(String userId, String entityGUID, String entityTypeGUID, String entityTypeName, InstanceProperties updateProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userentityGUID - unique identifier of entity to updateentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeupdateProperties - properties for the entitymethodName - name of calling methodInvalidParameterException - problem with the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic EntityDetail updateEntityProperties(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityTypeGUID, String entityTypeName, InstanceProperties updateProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityGUID - unique identifier of entity to updateentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeupdateProperties - properties for the entitymethodName - name of calling methodInvalidParameterException - problem with the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public EntityDetail updateEntityProperties(String userId, String entityGUID, EntityDetail originalEntity, String entityTypeGUID, String entityTypeName, InstanceProperties newProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userentityGUID - unique identifier of entity to updateoriginalEntity - entity retrieved from repositoryentityTypeGUID - type of entity to createentityTypeName - name of the entity's typenewProperties - properties for the entitymethodName - name of calling methodInvalidParameterException - problem with the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic EntityDetail updateEntityProperties(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, EntityDetail originalEntity, String entityTypeGUID, String entityTypeName, InstanceProperties newProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityGUID - unique identifier of entity to updateoriginalEntity - entity retrieved from repositoryentityTypeGUID - type of entity to createentityTypeName - name of the entity's typenewProperties - properties for the entitymethodName - name of calling methodInvalidParameterException - problem with the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateSelectedEntityClassifications(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityTypeGUID, String entityTypeName, List<Classification> newClassifications, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityGUID - unique identifier of entity to updateentityTypeGUID - type of entity to createentityTypeName - name of the entity's typenewClassifications - classifications for the entitymethodName - name of calling methodInvalidParameterException - problem with the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public EntityDetail updateEntity(String userId, String entityGUID, String entityTypeGUID, String entityTypeName, InstanceProperties properties, List<Classification> classifications, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userentityGUID - unique identifier entity to updateentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeproperties - properties for the entityclassifications - classifications for entitymethodName - name of calling methodInvalidParameterException - problem with the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic EntityDetail updateEntity(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityTypeGUID, String entityTypeName, InstanceProperties properties, List<Classification> classifications, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityGUID - unique identifier entity to updateentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeproperties - properties for the entityclassifications - classifications for entitymethodName - name of calling methodInvalidParameterException - problem with the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateEntityProperties(String userId, String externalSourceGUID, String externalSourceName, InstanceHeader entityHeader, String entityTypeGUID, String entityTypeName, InstanceProperties properties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityHeader - unique identifier of entity to updateentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeproperties - properties for the entitymethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public void updateEntityStatus(String userId, String entityGUID, String entityTypeGUID, String entityTypeName, InstanceStatus instanceStatus, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityGUID - unique identifier of entity to updateentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeinstanceStatus - initial status (needs to be valid for type)methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateEntityStatus(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityTypeGUID, String entityTypeName, InstanceStatus instanceStatus, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityGUID - unique identifier of entity to updateentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeinstanceStatus - initial status (needs to be valid for type)methodName - name of calling methodInvalidParameterException - problem with the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public EntityDetail updateEntity(String userId, String entityGUID, String entityTypeGUID, String entityTypeName, InstanceProperties properties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityGUID - unique identifier of entity to updateentityTypeGUID - type of entity to createentityTypeName - name of the entity's typeproperties - properties for the entitymethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public EntityDetail classifyEntity(String userId, String entityGUID, String classificationName, InstanceProperties properties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityGUID - unique identifier of entity to updateclassificationName - name of the classification's typeproperties - properties for the classificationmethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public EntityDetail classifyEntity(String userId, String entityGUID, String classificationTypeGUID, String classificationTypeName, InstanceProperties properties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityGUID - unique identifier of entity to updateclassificationTypeGUID - identifier of the classification's typeclassificationTypeName - name of the classification's typeproperties - properties for the classificationmethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic EntityDetail classifyEntity(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String classificationTypeGUID, String classificationTypeName, ClassificationOrigin classificationOrigin, String classificationOriginGUID, InstanceProperties properties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityGUID - unique identifier of entity to updateclassificationTypeGUID - type of classification to createclassificationTypeName - name of the classification's typeclassificationOrigin - is this classification assigned or propagated?classificationOriginGUID - which entity did a propagated classification originate from?properties - properties for the classificationmethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public void reclassifyEntity(String userId, String entityGUID, String classificationTypeName, InstanceAuditHeader existingClassificationHeader, InstanceProperties newProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userentityGUID - unique identifier of entity to updateclassificationTypeName - name of the classification's typeexistingClassificationHeader - current value of classificationnewProperties - properties for the classificationmethodName - name of calling methodInvalidParameterException - invalid parameters passed - probably GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void reclassifyEntity(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String classificationTypeGUID, String classificationTypeName, InstanceAuditHeader existingClassificationHeader, InstanceProperties newProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityGUID - unique identifier of entity to updateclassificationTypeGUID - type of classification to createclassificationTypeName - name of the classification's typeexistingClassificationHeader - current value of classificationnewProperties - properties for the classificationmethodName - name of calling methodInvalidParameterException - invalid parameters passed - probably GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public void declassifyEntity(String userId, String entityGUID, String classificationTypeName, InstanceAuditHeader existingClassificationHeader, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userentityGUID - unique identifier of entity to updateclassificationTypeName - name of the classification's typeexistingClassificationHeader - current value of classificationmethodName - name of calling methodInvalidParameterException - one of the parameters is invalid = probably the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void declassifyEntity(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String classificationTypeGUID, String classificationTypeName, InstanceAuditHeader existingClassificationHeader, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityGUID - unique identifier of entity to updateclassificationTypeGUID - type of classification to createclassificationTypeName - name of the classification's typeexistingClassificationHeader - current value of classificationmethodName - name of calling methodInvalidParameterException - one of the parameters is invalid = probably the GUIDPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public void removeEntity(String userId, String obsoleteEntityGUID, String entityTypeGUID, String entityTypeName, String validatingPropertyName, String validatingProperty, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userobsoleteEntityGUID - unique identifier of the entityentityTypeGUID - type of entity to deleteentityTypeName - name of the entity's typevalidatingPropertyName - name of property that should be in the entity if we have the correct one.validatingProperty - value of property that should be in the entity if we have the correct one.methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemInvalidParameterException - mismatch on propertiespublic void removeEntity(String userId, String externalSourceGUID, String externalSourceName, String obsoleteEntityGUID, String obsoleteEntityGUIDParameterName, String entityTypeGUID, String entityTypeName, String validatingPropertyName, String validatingProperty, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.obsoleteEntityGUID - unique identifier of the entityobsoleteEntityGUIDParameterName - name for unique identifier of the entityentityTypeGUID - type of entity to deleteentityTypeName - name of the entity's typevalidatingPropertyName - name of property that should be in the entity if we have the correct one.validatingProperty - value of property that should be in the entity if we have the correct one.methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemInvalidParameterException - mismatch on propertiespublic void removeEntityOnLastUse(String userId, String externalSourceGUID, String externalSourceName, String obsoleteEntityGUID, String guidParameterName, String entityTypeGUID, String entityTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.obsoleteEntityGUID - unique identifier of the entityguidParameterName - name of parameter that passed the entity guidentityTypeGUID - unique identifier for the entity's typeentityTypeName - name of the entity's typemethodName - name of calling methodInvalidParameterException - the entity guid is not knownUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem accessing the property server@Deprecated public void removeIsolatedEntity(String userId, String obsoleteEntityGUID, String entityTypeGUID, String entityTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userobsoleteEntityGUID - unique identifier of the entityentityTypeGUID - type of entity to deleteentityTypeName - name of the entity's typemethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void purgeEntity(String userId, String obsoleteEntityGUID, String entityTypeGUID, String entityTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userobsoleteEntityGUID - unique identifier of the entityentityTypeGUID - type of entity to deleteentityTypeName - name of the entity's typemethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public void restoreEntity(String userId, String deletedEntityGUID, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - unique identifier for requesting user.deletedEntityGUID - String unique identifier (guid) for the entity.methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void restoreEntity(String userId, String externalSourceGUID, String externalSourceName, String deletedEntityGUID, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - unique identifier for requesting user.externalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.deletedEntityGUID - String unique identifier (guid) for the entity.methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<EntityDetail> getEntitiesForType(String userId, String entityTypeGUID, String entityTypeName, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requestentityTypeGUID - identifier for the entity's typeentityTypeName - name for the entity's typestartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - name of calling methodPropertyServerException - problem accessing the property serverUserNotAuthorizedException - security access problempublic List<EntityDetail> getEntitiesForRelationshipType(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followstartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - name of calling methodPropertyServerException - problem accessing the property serverUserNotAuthorizedException - security access problempublic List<EntityDetail> getEntitiesForClassificationType(String userId, String entityEntityTypeGUID, String classificationName, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requestentityEntityTypeGUID - starting entity's GUIDclassificationName - type name for the classification to followstartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - name of calling methodPropertyServerException - problem accessing the property serverUserNotAuthorizedException - security access problempublic List<EntityDetail> getEntitiesForRelationshipEnd(String userId, String anchorEntityGUID, String anchorEntityTypeName, boolean anchorAtEnd1, String relationshipTypeGUID, String relationshipTypeName, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requestanchorEntityGUID - starting entity's GUIDanchorEntityTypeName - starting entity's type nameanchorAtEnd1 - indicates that the match of the anchor entity must be at end 1 (otherwise it is at end two)relationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followstartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - name of calling methodPropertyServerException - problem accessing the property serverUserNotAuthorizedException - security access problempublic EntityDetail getAttachedEntityFromUser(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, String attachedEntityTypeGUID, String attachedEntityTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followattachedEntityTypeGUID - identifier for the relationship to followattachedEntityTypeName - type name for the relationship to followmethodName - name of calling methodInvalidParameterException - the entity at the other end is not of the expected typePropertyServerException - problem accessing the property serverUserNotAuthorizedException - security access problempublic List<EntityDetail> getAttachedEntitiesFromUser(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, String attachedEntityTypeGUID, String attachedEntityTypeName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followattachedEntityTypeGUID - identifier for the relationship to followattachedEntityTypeName - type name for the relationship to followstartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - name of calling methodPropertyServerException - problem accessing the property serverUserNotAuthorizedException - security access problemInvalidParameterException - one of the parameters is in errorpublic List<EntityProxy> getRelatedEntityProxies(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followstartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - calling methodInvalidParameterException - the starting entity is not of the expected typePropertyServerException - problem accessing the property serverUserNotAuthorizedException - security access problempublic EntityProxy getOtherEnd(String startingEntityGUID, Relationship relationship)
startingEntityGUID - unique identifier of the starting entityrelationship - relationship to another entitypublic EntityProxy getOtherEnd(String startingEntityGUID, String startingEntityTypeName, Relationship relationship, String methodName) throws InvalidParameterException
startingEntityGUID - unique identifier of the starting entitystartingEntityTypeName - type of the entityrelationship - relationship to another entitymethodName - calling methodInvalidParameterException - the type of the starting entity is incorrectpublic EntityDetail getEntityForRelationshipType(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followmethodName - name of calling methodPropertyServerException - problem accessing the property serverUserNotAuthorizedException - security access problempublic EntityDetail getEntityByGUID(String userId, String guid, String guidParameterName, String entityTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userguid - unique identifier for the entityguidParameterName - name of the guid parameter for error handlingentityTypeName - expected type of the entitymethodName - calling method nameInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public boolean isEntityATypeOf(String userId, String guid, String guidParameterName, String entityTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userguid - unique identifier of the entity.guidParameterName - name of the parameter containing the guid.entityTypeName - name of the type to test formethodName - 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<EntityDetail> getEntityByName(String userId, InstanceProperties nameProperties, String entityTypeGUID, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userIdnameProperties - list of name properties to search on.entityTypeGUID - unique identifier of the entity's typemethodName - calling methodUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<EntityDetail> getEntitiesByName(String userId, InstanceProperties nameProperties, String entityTypeGUID, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userIdnameProperties - list of name properties to search on.entityTypeGUID - unique identifier of the entity's typestartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - calling methodUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<EntityDetail> getEntitiesByAllProperties(String userId, InstanceProperties properties, String entityTypeGUID, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userIdproperties - list of name properties to search on.entityTypeGUID - unique identifier of the entity's typestartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - calling methodUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<EntityDetail> getEntitiesWithoutPropertyValues(String userId, InstanceProperties properties, String entityTypeGUID, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userIdproperties - list of name properties to search on.entityTypeGUID - unique identifier of the entity's typestartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - calling methodUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<EntityDetail> getEntitiesByValue(String userId, String propertyValue, String entityTypeGUID, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userIdpropertyValue - string value to search on - may be a RegEx.entityTypeGUID - unique identifier of the entity's typestartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - calling methodUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<EntityDetail> getEntitiesByPropertyValue(String userId, String entityTypeGUID, String searchCriteria, int startingFrom, int pageSize, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userentityTypeGUID - unique identifier of the entity's typesearchCriteria - String Java regular expression used to match against any of the String property values
within entity instances of the specified type(s).
This parameter must not be null.startingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.asOfTime - Requests a historical query of the entity. Null means return the present values.sequencingOrder - Enum defining how the results should be ordered.methodName - calling methodsequencingProperty - String name of the property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).methodName - calling methodUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public EntityDetail getUniqueEntityByName(String userId, String nameValue, String nameParameterName, InstanceProperties nameProperties, String entityTypeGUID, String entityTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userIdnameValue - property name being searched fornameParameterName - name of parameter that passed the name valuenameProperties - list of name properties to search onentityTypeGUID - type of entity to createentityTypeName - name of the entity's typemethodName - calling methodUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<EntityDetail> getEntitiesByType(String userId, String entityTypeGUID, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userIdentityTypeGUID - type of entity requiredstartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - calling methodUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<EntityDetail> getEntitiesByType(String userId, String entityTypeGUID, int startingFrom, int pageSize, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userIdentityTypeGUID - type of entity requiredstartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.asOfTime - Requests a historical query of the entity. Null means return the present values.sequencingProperty - String name of the entity property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.methodName - calling methodUserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<EntityDetail> findEntities(String userId, String entityTypeGUID, List<String> entitySubtypeGUIDs, SearchProperties searchProperties, List<InstanceStatus> limitResultsByStatus, SearchClassifications searchClassifications, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - unique identifier for requesting user.entityTypeGUID - String unique identifier for the entity type of interest (null means any entity type).entitySubtypeGUIDs - optional list of the unique identifiers (guids) for subtypes of the entityTypeGUID to
include in the search results. Null means all subtypes.searchProperties - Optional list of entity property conditions to match.limitResultsByStatus - By default, entities in all statuses are returned. However, it is possible
to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all
status values.searchClassifications - Optional list of entity classifications to match.asOfTime - Requests a historical query of the entity. Null means return the present values.sequencingProperty - String name of the entity property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.startingFrom - the starting element number of the entities to return.
This is used when retrieving elements
beyond the first page of results. Zero means start from the first element.pageSize - the maximum number of result entities that can be returned on this request. Zero means
unrestricted return results size.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<Relationship> findRelationships(String userId, String relationshipTypeGUID, List<String> relationshipSubtypeGUIDs, SearchProperties searchProperties, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - unique identifier for requesting user.relationshipTypeGUID - String unique identifier for the entity type of interest (null means any entity type).relationshipSubtypeGUIDs - optional list of the unique identifiers (guids) for subtypes of the relationshipTypeGUID to
include in the search results. Null means all subtypes.searchProperties - Optional list of entity property conditions to match.limitResultsByStatus - By default, entities in all statuses are returned. However, it is possible
to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all
status values.asOfTime - Requests a historical query of the entity. Null means return the present values.sequencingProperty - String name of the entity property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.startingFrom - the starting element number of the entities to return.
This is used when retrieving elements
beyond the first page of results. Zero means start from the first element.pageSize - the maximum number of result entities that can be returned on this request. Zero means
unrestricted return results size.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the entity.public List<Relationship> getRelationshipsByType(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followmethodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property server@Deprecated public Relationship getRelationshipByGUID(String userId, String relationshipGUID, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requestrelationshipGUID - String unique identifier for the relationship.methodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic Relationship getRelationshipByGUID(String userId, String relationshipGUID, String relationshipParameterName, String relationshipTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - user making the requestrelationshipGUID - unique identifier for the relationshiprelationshipParameterName - parameter name supplying relationshipGUIDrelationshipTypeName - type name for the relationshipmethodName - name of calling methodInvalidParameterException - the GUID is invalidUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic List<Relationship> getRelationshipsByType(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followstartingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic List<Relationship> getRelationshipsByType(String userId, String startingEntityGUID, String relationshipTypeGUID, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int startingFrom, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDrelationshipTypeGUID - identifier for the relationship to followlimitResultsByStatus - By default, relationships in all statuses are returned. However, it is possible
to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all
status values.asOfTime - Requests a historical query of the relationships for the entity. Null means return the
present values.sequencingProperty - String name of the property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.startingFrom - initial position in the stored list.pageSize - maximum number of definitions to return on this call.methodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic List<Relationship> getRequiredRelationshipsByType(String userId, String anchorEntityGUID, String anchorEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requestanchorEntityGUID - starting entity's GUIDanchorEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followmethodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic List<Relationship> getRequiredRelationshipsByType(String userId, String anchorEntityGUID, String anchorEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, int startingFrom, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requestanchorEntityGUID - starting entity's GUIDanchorEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followmethodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic int countAttachedRelationshipsByType(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws PropertyServerException, UserNotAuthorizedException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followmethodName - name of calling methodUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic List<Relationship> getRelationshipsBetweenEntities(String userId, String entity1GUID, String entity1TypeName, String entity2GUID, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - user making the requestentity1GUID - entity at end 1 GUIDentity1TypeName - entity 1's type nameentity2GUID - entity at end 2 GUIDrelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followmethodName - name of calling methodInvalidParameterException - wrong type in entity 1UserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic Relationship getRelationshipBetweenEntities(String userId, String entity1GUID, String entity1TypeName, String entity2GUID, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - user making the requestentity1GUID - entity at end 1 GUIDentity1TypeName - entity 1's type nameentity2GUID - entity at end 2 GUIDrelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followmethodName - name of calling methodInvalidParameterException - wrong type in entity 1UserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic List<Relationship> getPagedRelationshipsByType(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, int startingFrom, int maximumResults, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followstartingFrom - results starting pointmaximumResults - page sizemethodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic Relationship getUniqueParentRelationshipByType(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, boolean parentAtEnd1, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followparentAtEnd1 - boolean flag to indicate which end has the parent elementmethodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic Relationship getUniqueRelationshipByType(String userId, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namerelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followmethodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic Relationship getUniqueRelationshipByType(String userId, String startingEntityGUID, String startingEntityTypeName, boolean startAtEnd1, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - user making the requeststartingEntityGUID - starting entity's GUIDstartingEntityTypeName - starting entity's type namestartAtEnd1 - is the starting entity at end 1 of the relationshiprelationshipTypeGUID - identifier for the relationship to followrelationshipTypeName - type name for the relationship to followmethodName - name of calling methodUserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic Relationship createRelationship(String userId, String relationshipTypeGUID, String externalSourceGUID, String externalSourceName, String end1GUID, String end2GUID, InstanceProperties relationshipProperties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userrelationshipTypeGUID - unique identifier of the relationship's typeexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.end1GUID - entity to store at end 1end2GUID - entity to store at end 2relationshipProperties - properties for the relationshipmethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void ensureRelationship(String userId, String end1TypeName, String externalSourceGUID, String externalSourceName, String end1GUID, String end2GUID, String relationshipTypeGUID, String relationshipTypeName, InstanceProperties relationshipProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userend1TypeName - unique name of the end 1's typeexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.end1GUID - entity to store at end 1end2GUID - entity to store at end 2relationshipTypeGUID - unique identifier of the relationship's typerelationshipTypeName - unique name of the relationship's typerelationshipProperties - properties for the relationshipmethodName - name of calling methodInvalidParameterException - type of end 1 is not correctPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void createExternalRelationship(String userId, String relationshipTypeGUID, String externalSourceGUID, String externalSourceName, String end1GUID, String end2GUID, InstanceProperties relationshipProperties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userrelationshipTypeGUID - unique identifier of the relationship's typeexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.end1GUID - entity to store at end 1end2GUID - entity to store at end 2relationshipProperties - properties for the relationshipmethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public void removeRelationship(String userId, String relationshipTypeGUID, String relationshipTypeName, String relationshipGUID, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userrelationshipTypeGUID - unique identifier of the type of relationship to deleterelationshipTypeName - name of the type of relationship to deleterelationshipGUID - unique identifier of the relationship to deletemethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeRelationship(String userId, String externalSourceGUID, String externalSourceName, String relationshipTypeName, String relationshipGUID, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.relationshipTypeName - name of the type of relationship to deleterelationshipGUID - unique identifier of the relationship to deletemethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeRelationship(String userId, String externalSourceGUID, String externalSourceName, Relationship relationship, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.relationship - relationship to deletemethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void purgeRelationship(String userId, String relationshipTypeGUID, String relationshipTypeName, String relationshipGUID, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userrelationshipTypeGUID - unique identifier of the type of relationship to deleterelationshipTypeName - name of the type of relationship to deleterelationshipGUID - unique identifier of the relationship to deletemethodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated public void restoreRelationship(String userId, String deletedRelationshipGUID, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - unique identifier for requesting user.deletedRelationshipGUID - String unique identifier (guid) for the relationship.methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void restoreRelationship(String userId, String externalSourceGUID, String externalSourceName, String deletedRelationshipGUID, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - unique identifier for requesting user.deletedRelationshipGUID - String unique identifier (guid) for the relationship.methodName - name of calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeAllRelationshipsOfType(String userId, String externalSourceGUID, String externalSourceName, String startingEntityGUID, String startingEntityTypeName, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.startingEntityGUID - identifier of starting entitystartingEntityTypeName - type of entityrelationshipTypeGUID - unique identifier of the relationship typerelationshipTypeName - unique name of the relationship typemethodName - calling methodPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeRelationshipBetweenEntities(String userId, String externalSourceGUID, String externalSourceName, String relationshipTypeGUID, String relationshipTypeName, String entity1GUID, String entity1TypeName, String entity2GUID, String methodName) throws UserNotAuthorizedException, PropertyServerException, InvalidParameterException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.relationshipTypeGUID - unique identifier of the type of relationship to deleterelationshipTypeName - name of the type of relationship to deleteentity1GUID - unique identifier of the entity at end 1 of the relationship to deleteentity1TypeName - type name of the entity at end 1 of the relationship to deleteentity2GUID - unique identifier of the entity at end 1 of the relationship to deletemethodName - name of calling methodInvalidParameterException - type of entity 1 is not correctPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateRelationshipProperties(String userId, String externalSourceGUID, String externalSourceName, Relationship relationship, InstanceProperties relationshipProperties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.relationship - relationship to update.relationshipProperties - new properties for relationshipmethodName - name of calling method.PropertyServerException - there is a problem communicating with the repository.UserNotAuthorizedException - security access problem@Deprecated public void updateRelationshipProperties(String userId, String relationshipGUID, InstanceProperties relationshipProperties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userrelationshipGUID - unique identifier of the relationship.relationshipProperties - new properties for relationshipmethodName - name of calling method.PropertyServerException - there is a problem communicating with the repository.UserNotAuthorizedException - security access problempublic void updateRelationshipProperties(String userId, String externalSourceGUID, String externalSourceName, String relationshipGUID, InstanceProperties relationshipProperties, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.relationshipGUID - unique identifier of the relationship.relationshipProperties - new properties for relationshipmethodName - name of calling method.PropertyServerException - there is a problem communicating with the repository.UserNotAuthorizedException - security access problem@Deprecated public void updateRelationshipStatus(String userId, String relationshipGUID, InstanceStatus instanceStatus, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userrelationshipGUID - unique identifier of the relationship.instanceStatus - new InstanceStatus for the entity.methodName - name of calling method.PropertyServerException - there is a problem communicating with the repository.UserNotAuthorizedException - security access problempublic void updateRelationshipStatus(String userId, String externalSourceGUID, String externalSourceName, String relationshipGUID, String relationshipParameterName, String relationshipTypeName, InstanceStatus instanceStatus, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userrelationshipGUID - unique identifier of the relationship.relationshipParameterName - parameter name supplying relationshipGUIDrelationshipTypeName - type name for the relationshipinstanceStatus - new InstanceStatus for the entity.methodName - name of calling method.PropertyServerException - there is a problem communicating with the repository.UserNotAuthorizedException - security access problempublic void updateUniqueRelationshipByType(String userId, String externalSourceGUID, String externalSourceName, String end1GUID, String end1TypeName, String end2GUID, String end2TypeName, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source.externalSourceName - unique name for the external source.end1GUID - unique identifier of the entity for end 1 of the relationship.end1TypeName - type of the entity for end 1end2GUID - unique identifier of the entity for end 2 of the relationship.end2TypeName - type of the entity for end 2relationshipTypeGUID - unique identifier of the type of relationship to create.relationshipTypeName - name of the type of relationship to create.methodName - name of calling method.PropertyServerException - there is a problem communicating with the repository.UserNotAuthorizedException - security access problempublic void removeUniqueRelationshipByType(String userId, String externalSourceGUID, String externalSourceName, String entityGUID, String entityTypeName, String relationshipTypeGUID, String relationshipTypeName, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - unique identifier (guid) for the external source, or null for local.externalSourceName - unique name for the external source.entityGUID - unique identity of the starting entity.entityTypeName - type name of entityrelationshipTypeGUID - unique identifier of the relationship's typerelationshipTypeName - name of the relationship's typemethodName - calling methodUserNotAuthorizedException - security access problemPropertyServerException - there is a problem communicating with the repository.public InstanceGraph getEntityNeighborhood(String userId, String entityGUID, List<String> entityTypeGUIDs, List<String> relationshipTypeGUIDs, List<InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, int level, String methodName) throws UserNotAuthorizedException, PropertyServerException
userId - unique identifier for requesting user.entityGUID - the starting point of the query.entityTypeGUIDs - list of entity types to include in the query results. Null means include
all entities found, irrespective of their type.relationshipTypeGUIDs - list of relationship types to include in the query results. Null means include
all relationships found, irrespective of their type.limitResultsByStatus - By default, relationships in all statuses are returned. However, it is possible
to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all
status values.limitResultsByClassification - List of classifications that must be present on all returned entities.asOfTime - Requests a historical query of the relationships for the entity. Null means return the
present values.level - the number of the relationships out from the starting entity that the query will traverse to
gather results.methodName - name of calling method.UserNotAuthorizedException - security access problemPropertyServerException - problem accessing the property serverpublic OMRSMetadataCollection getMetadataCollection()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.