Interface AssetDuplicateManagementInterface
-
public interface AssetDuplicateManagementInterfaceAssetDuplicateManagementInterface defines the operations to manage the linking of elements that are duplicates of one another. It is possible to link assets as well as schema elements for the assets.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlinkElementsAsDuplicates(String userId, String element1GUID, String element2GUID)Create a simple relationship between two elements in an Asset description (typically the asset itself or attributes in their schema).voidunlinkElementsAsDuplicates(String userId, String element1GUID, String element2GUID)Remove the relationship between two elements that marks them as duplicates.
-
-
-
Method Detail
-
linkElementsAsDuplicates
void linkElementsAsDuplicates(String userId, String element1GUID, String element2GUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a simple relationship between two elements in an Asset description (typically the asset itself or attributes in their schema).- Parameters:
userId- calling userelement1GUID- unique identifier of first elementelement2GUID- unique identifier of second element- Throws:
InvalidParameterException- one of the parameters is null or invalidPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
unlinkElementsAsDuplicates
void unlinkElementsAsDuplicates(String userId, String element1GUID, String element2GUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the relationship between two elements that marks them as duplicates.- Parameters:
userId- calling userelement1GUID- unique identifier of first elementelement2GUID- unique identifier of second element- Throws:
InvalidParameterException- one of the parameters is null or invalid or the elements are not linked as duplicatesPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
-