Class ResolvedEntitySpec


  • public class ResolvedEntitySpec
    extends java.lang.Object
    Wrapper around authorization request with field resolvers for lazily fetching the field values for each field type
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDataPlatformInstance()
      Fetch the platform instance for a Resolved Resource Spec
      java.util.Set<java.lang.String> getFieldValues​(EntityFieldType entityFieldType)  
      java.util.Set<java.lang.String> getGroupMembership()
      Fetch the group membership for an entity.
      java.util.Set<java.lang.String> getOwners()
      Fetch the owners for an entity.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResolvedEntitySpec

        public ResolvedEntitySpec()
    • Method Detail

      • getFieldValues

        public java.util.Set<java.lang.String> getFieldValues​(EntityFieldType entityFieldType)
      • getOwners

        public java.util.Set<java.lang.String> getOwners()
        Fetch the owners for an entity.
        Returns:
        a set of owner urns, or empty set if none exist.
      • getDataPlatformInstance

        @Nullable
        public java.lang.String getDataPlatformInstance()
        Fetch the platform instance for a Resolved Resource Spec
        Returns:
        a Platform Instance or null if one does not exist.
      • getGroupMembership

        public java.util.Set<java.lang.String> getGroupMembership()
        Fetch the group membership for an entity.
        Returns:
        a set of groups urns, or empty set if none exist.