Class SupervisorCategoryVisibilityContext

  • All Implemented Interfaces:
    UserProvider, VisibilityContext

    public final class SupervisorCategoryVisibilityContext
    extends java.lang.Object
    implements VisibilityContext
    This class represents a supervisor visibility context for a category
    Since:
    11.0
    • Method Detail

      • getVisibility

        public SupervisorCategoryVisibility getVisibility()
        Returns the visibility of this context
        Returns:
        the SupervisorCategoryVisibility for this context
        Since:
        11.0
      • forUserWithOrphans

        public static final SupervisorCategoryVisibilityContext forUserWithOrphans​(User user)
        Creates an SupervisorCategoryVisibility for the given user. The context of this method has the SupervisorCategoryVisibility.VISIBLE_AND_ORPHANS visibility
        Parameters:
        user - the user for the context
        Returns:
        the SupervisorCategoryVisibility
        Since:
        11.0
      • forUser

        public static final SupervisorCategoryVisibilityContext forUser​(User user)
        Creates an SupervisorCategoryVisibility for the given user. The context of this method has the SupervisorCategoryVisibility.VISIBLE visibility
        Parameters:
        user - the user for the context
        Returns:
        the SupervisorCategoryVisibility
        Since:
        11.0