Package com.datahub.authorization
Class ResolvedEntitySpec
java.lang.Object
com.datahub.authorization.ResolvedEntitySpec
Wrapper around authorization request with field resolvers for lazily fetching the field values
for each field type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFetch the platform instance for a Resolved Resource SpecgetFieldValues(EntityFieldType entityFieldType) Fetch the group membership for an entity.Fetch the owners for an entity.
-
Constructor Details
-
ResolvedEntitySpec
public ResolvedEntitySpec()
-
-
Method Details
-
getFieldValues
-
getOwners
Fetch the owners for an entity.- Returns:
- a set of owner urns, or empty set if none exist.
-
getDataPlatformInstance
Fetch the platform instance for a Resolved Resource Spec- Returns:
- a Platform Instance or null if one does not exist.
-
getGroupMembership
Fetch the group membership for an entity.- Returns:
- a set of groups urns, or empty set if none exist.
-