Class SupervisorTenantVisibilityContext

  • All Implemented Interfaces:
    UserProvider, VisibilityContext

    public final class SupervisorTenantVisibilityContext
    extends java.lang.Object
    implements VisibilityContext
    This class represents a supervisor visibility context for a tenant
    Since:
    10.0.146
    • Method Detail

      • getVisibility

        public SupervisorTenantVisibility getVisibility()
        Returns the visibility of this context
        Returns:
        the SupervisorTenantVisibility for this context
        Since:
        10.0.146
      • getAssignedVisibilityContext

        public static final SupervisorTenantVisibilityContext getAssignedVisibilityContext​(User user)
        Creates an SupervisorTenantVisibilityContext for the given user. The context of this method has the SupervisorTenantVisibility.ASSIGNED visibility
        Parameters:
        user - the user for the context
        Returns:
        the SupervisorTenantVisibilityContext
        Since:
        10.0.146
      • getAssignedAndOrphansVisibilityContext

        public static final SupervisorTenantVisibilityContext getAssignedAndOrphansVisibilityContext​(User user)
        Creates an SupervisorTenantVisibilityContext for the given user. The context of this method has the SupervisorTenantVisibility.ASSIGNED_AND_ORPHANS visibility
        Parameters:
        user - the user for the context
        Returns:
        the SupervisorTenantVisibilityContext
        Since:
        10.0.146