Interface GroupsHandlerInternal

    • Method Detail

      • getAccessibleBasicGroups

        Set<BasicGroup> getAccessibleBasicGroups​(boolean overBrokered,
                                                 BasicGroup group,
                                                 ProductsAccessor products)
        Gets accessible basic groups for the given group and products. Groupsets are included, but groups with enabled=false are excluded. If groupsets are included, their contained groups are automatically also included.
      • getConversionHandler

        ConversionHandler getConversionHandler()
        Returns the unique conversion handler present in the context (as a utility for the GroupListView)
      • getDefaultGroupFilter

        Set<BasicGroup> getDefaultGroupFilter​(boolean overBrokered,
                                              BasicGroup group,
                                              ProductsAccessor products)
        Returns the groups used by default for searches, if any, for the given group and accessor
      • getDefaultGroupFilter

        Set<BasicGroupVO> getDefaultGroupFilter​(boolean overBrokered,
                                                Collection<? extends BasicGroupVO> availableGroups)
        Returns the groups used by default for searches, if any, contained in the available for search collection
      • getGroupVisibility

        GroupVisibility getGroupVisibility​(ProductsAccessor accessor,
                                           boolean overBrokered)
        Returns the GroupVisibility in the given accessor or the one for the current user when null. As broker we must have the same or bigger visibility than as member, so when brokering, it is used as base-line the visibility set in member products.
      • getSearchOnGroups

        Set<BasicGroup> getSearchOnGroups​(boolean overBrokered,
                                          BasicGroup group,
                                          ProductsAccessor products)
        Returns the groups a user can search other users on with the given group and products
      • getUserDirectoryOnGroups

        Set<BasicGroup> getUserDirectoryOnGroups​(BasicGroup group,
                                                 ProductsAccessor products)
        Returns the groups a user can view on the directory (map) with the given group and products