public interface OpenMetadataRepositorySecurity
| Modifier and Type | Method and Description |
|---|---|
boolean |
validateEntityReferenceCopySave(EntityDetail instance)
Tests for whether a reference copy should be saved to the repository.
|
boolean |
validateRelationshipReferenceCopySave(Relationship instance)
Tests for whether a reference copy should be saved to the repository.
|
void |
validateUserForEntityClassificationAdd(String userId,
String metadataCollectionName,
EntityDetail instance,
String classificationName,
InstanceProperties properties)
Tests for whether a specific user should have the right to add a classification to an entity instance
within a repository.
|
void |
validateUserForEntityClassificationDelete(String userId,
String metadataCollectionName,
EntityDetail instance,
String classificationName)
Tests for whether a specific user should have the right to delete a classification from an entity instance
within a repository.
|
void |
validateUserForEntityClassificationUpdate(String userId,
String metadataCollectionName,
EntityDetail instance,
String classificationName,
InstanceProperties properties)
Tests for whether a specific user should have the right to update a classification for an entity instance
within a repository.
|
void |
validateUserForEntityCreate(String userId,
String metadataCollectionName,
String entityTypeGUID,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus)
Tests for whether a specific user should have the right to create a instance within a repository.
|
void |
validateUserForEntityDelete(String userId,
String metadataCollectionName,
EntityDetail instance)
Tests for whether a specific user should have the right to delete a instance within a repository.
|
void |
validateUserForEntityProxyRead(String userId,
String metadataCollectionName,
EntityProxy instance)
Tests for whether a specific user should have read access to a specific instance within a repository.
|
EntityDetail |
validateUserForEntityRead(String userId,
String metadataCollectionName,
EntityDetail instance)
Tests for whether a specific user should have read access to a specific instance within a repository.
|
void |
validateUserForEntityReHoming(String userId,
String metadataCollectionName,
EntityDetail instance,
String newHomeMetadataCollectionId,
String newHomeMetadataCollectionName)
Tests for whether a specific user should have the right to change the home of a instance within a repository.
|
void |
validateUserForEntityReIdentification(String userId,
String metadataCollectionName,
EntityDetail instance,
String newGUID)
Tests for whether a specific user should have the right to change the guid on a instance within a repository.
|
void |
validateUserForEntityRestore(String userId,
String metadataCollectionName,
String deletedEntityGUID)
Tests for whether a specific user should have the right to restore a instance within a repository.
|
void |
validateUserForEntityReTyping(String userId,
String metadataCollectionName,
EntityDetail instance,
TypeDefSummary newTypeDefSummary)
Tests for whether a specific user should have the right to change the type of a instance within a repository.
|
void |
validateUserForEntitySummaryRead(String userId,
String metadataCollectionName,
EntitySummary instance)
Tests for whether a specific user should have read access to a specific instance within a repository.
|
void |
validateUserForEntityUpdate(String userId,
String metadataCollectionName,
EntityDetail instance)
Tests for whether a specific user should have the right to update a instance within a repository.
|
void |
validateUserForRelationshipCreate(String userId,
String metadataCollectionName,
String relationshipTypeGUID,
InstanceProperties initialProperties,
EntitySummary entityOneSummary,
EntitySummary entityTwoSummary,
InstanceStatus initialStatus)
Tests for whether a specific user should have the right to create a instance within a repository.
|
void |
validateUserForRelationshipDelete(String userId,
String metadataCollectionName,
Relationship instance)
Tests for whether a specific user should have the right to delete a instance within a repository.
|
Relationship |
validateUserForRelationshipRead(String userId,
String metadataCollectionName,
Relationship instance)
Tests for whether a specific user should have read access to a specific instance within a repository.
|
void |
validateUserForRelationshipReHoming(String userId,
String metadataCollectionName,
Relationship instance,
String newHomeMetadataCollectionId,
String newHomeMetadataCollectionName)
Tests for whether a specific user should have the right to change the home of a instance within a repository.
|
void |
validateUserForRelationshipReIdentification(String userId,
String metadataCollectionName,
Relationship instance,
String newGUID)
Tests for whether a specific user should have the right to change the guid on a instance within a repository.
|
void |
validateUserForRelationshipRestore(String userId,
String metadataCollectionName,
String deletedRelationshipGUID)
Tests for whether a specific user should have the right to restore a instance within a repository.
|
void |
validateUserForRelationshipReTyping(String userId,
String metadataCollectionName,
Relationship instance,
TypeDefSummary newTypeDefSummary)
Tests for whether a specific user should have the right to change the type of a instance within a repository.
|
void |
validateUserForRelationshipUpdate(String userId,
String metadataCollectionName,
Relationship instance)
Tests for whether a specific user should have the right to update a instance within a repository.
|
void |
validateUserForTypeCreate(String userId,
String metadataCollectionName,
AttributeTypeDef attributeTypeDef)
Tests for whether a specific user should have the right to create a type within a repository.
|
void |
validateUserForTypeCreate(String userId,
String metadataCollectionName,
TypeDef typeDef)
Tests for whether a specific user should have the right to create a type within a repository.
|
void |
validateUserForTypeDelete(String userId,
String metadataCollectionName,
AttributeTypeDef attributeTypeDef)
Tests for whether a specific user should have the right to delete a type within a repository.
|
void |
validateUserForTypeDelete(String userId,
String metadataCollectionName,
TypeDef typeDef)
Tests for whether a specific user should have the right to delete a type within a repository.
|
void |
validateUserForTypeRead(String userId,
String metadataCollectionName,
AttributeTypeDef attributeTypeDef)
Tests for whether a specific user should have read access to a specific type within a repository.
|
void |
validateUserForTypeRead(String userId,
String metadataCollectionName,
TypeDef typeDef)
Tests for whether a specific user should have read access to a specific type within a repository.
|
void |
validateUserForTypeReIdentify(String userId,
String metadataCollectionName,
AttributeTypeDef originalAttributeTypeDef,
String newTypeDefGUID,
String newTypeDefName)
Tests for whether a specific user should have the right to change the identifiers for a type within a repository.
|
void |
validateUserForTypeReIdentify(String userId,
String metadataCollectionName,
TypeDef originalTypeDef,
String newTypeDefGUID,
String newTypeDefName)
Tests for whether a specific user should have the right to change the identifiers for a type within a repository.
|
void |
validateUserForTypeUpdate(String userId,
String metadataCollectionName,
TypeDef typeDef,
TypeDefPatch patch)
Tests for whether a specific user should have the right to update a type within a repository.
|
void validateUserForTypeCreate(String userId, String metadataCollectionName, TypeDef typeDef) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectiontypeDef - type detailsUserNotAuthorizedException - the user is not authorized to maintain typesvoid validateUserForTypeCreate(String userId, String metadataCollectionName, AttributeTypeDef attributeTypeDef) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectionattributeTypeDef - type detailsUserNotAuthorizedException - the user is not authorized to maintain typesvoid validateUserForTypeRead(String userId, String metadataCollectionName, TypeDef typeDef) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectiontypeDef - type detailsUserNotAuthorizedException - the user is not authorized to retrieve typesvoid validateUserForTypeRead(String userId, String metadataCollectionName, AttributeTypeDef attributeTypeDef) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectionattributeTypeDef - type detailsUserNotAuthorizedException - the user is not authorized to retrieve typesvoid validateUserForTypeUpdate(String userId, String metadataCollectionName, TypeDef typeDef, TypeDefPatch patch) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectiontypeDef - current type detailspatch - proposed changes to typeUserNotAuthorizedException - the user is not authorized to maintain typesvoid validateUserForTypeDelete(String userId, String metadataCollectionName, TypeDef typeDef) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectiontypeDef - type detailsUserNotAuthorizedException - the user is not authorized to maintain typesvoid validateUserForTypeDelete(String userId, String metadataCollectionName, AttributeTypeDef attributeTypeDef) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectionattributeTypeDef - type detailsUserNotAuthorizedException - the user is not authorized to maintain typesvoid validateUserForTypeReIdentify(String userId, String metadataCollectionName, TypeDef originalTypeDef, String newTypeDefGUID, String newTypeDefName) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectionoriginalTypeDef - type detailsnewTypeDefGUID - the new identifier for the type.newTypeDefName - new name for this type.UserNotAuthorizedException - the user is not authorized to maintain typesvoid validateUserForTypeReIdentify(String userId, String metadataCollectionName, AttributeTypeDef originalAttributeTypeDef, String newTypeDefGUID, String newTypeDefName) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectionoriginalAttributeTypeDef - type detailsnewTypeDefGUID - the new identifier for the type.newTypeDefName - new name for this type.UserNotAuthorizedException - the user is not authorized to maintain typesvoid validateUserForEntityCreate(String userId, String metadataCollectionName, String entityTypeGUID, InstanceProperties initialProperties, List<Classification> initialClassifications, InstanceStatus initialStatus) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectionentityTypeGUID - unique identifier (guid) for the new entity's type.initialProperties - initial list of properties for the new entity null means no properties.initialClassifications - initial list of classifications for the new entity null means no classifications.initialStatus - initial status typically DRAFT, PREPARED or ACTIVE.UserNotAuthorizedException - the user is not authorized to maintain instancesEntityDetail validateUserForEntityRead(String userId, String metadataCollectionName, EntityDetail instance) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsUserNotAuthorizedException - the user is not authorized to retrieve instancesvoid validateUserForEntitySummaryRead(String userId, String metadataCollectionName, EntitySummary instance) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsUserNotAuthorizedException - the user is not authorized to retrieve instancesvoid validateUserForEntityProxyRead(String userId, String metadataCollectionName, EntityProxy instance) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsUserNotAuthorizedException - the user is not authorized to retrieve instancesvoid validateUserForEntityUpdate(String userId, String metadataCollectionName, EntityDetail instance) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsUserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForEntityClassificationAdd(String userId, String metadataCollectionName, EntityDetail instance, String classificationName, InstanceProperties properties) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsclassificationName - String name for the classification.properties - list of properties for the classification.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForEntityClassificationUpdate(String userId, String metadataCollectionName, EntityDetail instance, String classificationName, InstanceProperties properties) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsclassificationName - String name for the classification.properties - list of properties for the classification.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForEntityClassificationDelete(String userId, String metadataCollectionName, EntityDetail instance, String classificationName) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsclassificationName - String name for the classification.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForEntityDelete(String userId, String metadataCollectionName, EntityDetail instance) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsUserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForEntityRestore(String userId, String metadataCollectionName, String deletedEntityGUID) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectiondeletedEntityGUID - String unique identifier (guid) for the entity.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForEntityReIdentification(String userId, String metadataCollectionName, EntityDetail instance, String newGUID) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsnewGUID - the new guid for the instance.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForEntityReTyping(String userId, String metadataCollectionName, EntityDetail instance, TypeDefSummary newTypeDefSummary) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsnewTypeDefSummary - details of this instance's new TypeDef.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForEntityReHoming(String userId, String metadataCollectionName, EntityDetail instance, String newHomeMetadataCollectionId, String newHomeMetadataCollectionName) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsnewHomeMetadataCollectionId - unique identifier for the new home metadata collection/repository.newHomeMetadataCollectionName - display name for the new home metadata collection/repository.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForRelationshipCreate(String userId, String metadataCollectionName, String relationshipTypeGUID, InstanceProperties initialProperties, EntitySummary entityOneSummary, EntitySummary entityTwoSummary, InstanceStatus initialStatus) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectionrelationshipTypeGUID - unique identifier (guid) for the new relationship's type.initialProperties - initial list of properties for the new entity null means no properties.entityOneSummary - the unique identifier of one of the entities that the relationship is connecting together.entityTwoSummary - the unique identifier of the other entity that the relationship is connecting together.initialStatus - initial status typically DRAFT, PREPARED or ACTIVE.UserNotAuthorizedException - the user is not authorized to maintain instancesRelationship validateUserForRelationshipRead(String userId, String metadataCollectionName, Relationship instance) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsUserNotAuthorizedException - the user is not authorized to retrieve instancesvoid validateUserForRelationshipUpdate(String userId, String metadataCollectionName, Relationship instance) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsUserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForRelationshipDelete(String userId, String metadataCollectionName, Relationship instance) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsUserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForRelationshipRestore(String userId, String metadataCollectionName, String deletedRelationshipGUID) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectiondeletedRelationshipGUID - String unique identifier (guid) for the relationship.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForRelationshipReIdentification(String userId, String metadataCollectionName, Relationship instance, String newGUID) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsnewGUID - the new guid for the instance.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForRelationshipReTyping(String userId, String metadataCollectionName, Relationship instance, TypeDefSummary newTypeDefSummary) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsnewTypeDefSummary - details of this instance's new TypeDef.UserNotAuthorizedException - the user is not authorized to maintain instancesvoid validateUserForRelationshipReHoming(String userId, String metadataCollectionName, Relationship instance, String newHomeMetadataCollectionId, String newHomeMetadataCollectionName) throws UserNotAuthorizedException
userId - identifier of usermetadataCollectionName - configurable name of the metadata collectioninstance - instance detailsnewHomeMetadataCollectionId - unique identifier for the new home metadata collection/repository.newHomeMetadataCollectionName - display name for the new home metadata collection/repository.UserNotAuthorizedException - the user is not authorized to maintain instancesboolean validateEntityReferenceCopySave(EntityDetail instance)
instance - instance detailsboolean validateRelationshipReferenceCopySave(Relationship instance)
instance - instance detailsCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.