Interface ViewPermission

  • All Superinterfaces:
    Entity, Resource, Serializable

    public interface ViewPermission
    extends Resource
    Represents a permission to view a resource.
    • Method Detail

      • getUserId

        UUID getUserId()
        Returns the UUID of the user that is the owner of this ViewPermission, if the owner is a user, otherwise null will be returned.
        Returns:
        the UUID of the user
      • getUserGroupId

        UUID getUserGroupId()
        Returns the UUID UserGroup that is the owner of this ViewPermission, if the owner is a group, otherwise null will be returned.
        Returns:
        the UUID of the userGroup
      • getBaseResource

        ResourceReference getBaseResource()
        Returns the ResourceReference associated to this ViewPermission. The Resource is either a Domain or a Community.
        Returns:
        the ResourceReference of the linked Resource