public interface AssetVisibilityInterface
| Modifier and Type | Method and Description |
|---|---|
void |
createGovernanceZone(String userId,
String qualifiedName,
String displayName,
String description,
String criteria,
Map<String,String> additionalProperties)
Create a definition of a governance zone.
|
GovernanceZone |
getGovernanceZone(String userId,
String qualifiedName)
Return information about a specific governance zone.
|
List<GovernanceZone> |
getGovernanceZones(String userId,
int startingFrom,
int maximumResults)
Return information about the defined governance zones.
|
void |
updateAssetOwner(String userId,
String assetGUID,
String ownerId,
OwnerType ownerType)
Update the owner information for a specific asset.
|
void |
updateAssetZones(String userId,
String assetGUID,
List<String> assetZones)
Update the zones for a specific asset.
|
void createGovernanceZone(String userId, String qualifiedName, String displayName, String description, String criteria, Map<String,String> additionalProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userqualifiedName - unique name for the zone - used in other configurationdisplayName - short display name for the zonedescription - description of the governance zonecriteria - the criteria for inclusion in a governance zoneadditionalProperties - additional properties for a governance zoneInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemGovernanceZone getGovernanceZone(String userId, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userqualifiedName - unique name for the zoneInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<GovernanceZone> getGovernanceZones(String userId, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userstartingFrom - position in the list (used when there are so many reports that paging is neededmaximumResults - maximum number of elements to return an this callInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid updateAssetZones(String userId, String assetGUID, List<String> assetZones) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier for the asset to updateassetZones - list of zones for the asset - these values override the current values - null means belongs
to no zones.InvalidParameterException - guid or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid updateAssetOwner(String userId, String assetGUID, String ownerId, OwnerType ownerType) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier for the asset to updateownerId - userId or profileGUID of the owner - or null to clear the fieldownerType - indicator of the type of Id provides above - or null to clear the fieldInvalidParameterException - userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2019 ODPi. All rights reserved.