Generated by
JDiff

Interface org.cyclos.impl.users.GroupsHandler

Documentation changed from old to new.

Removed Methods
List<BasicGroup> getAllAccessibleBasicGroups(Group) Returns the accessible groups for the given group, including group.enabled=false In case groupsets are included, all of the groups contained in that groupset are also automatically included.
 

Added Methods
Set<BasicGroup> getAccessibleBasicGroups(BasicGroup, ProductsAccessor) Gets accessible basic groups for the given group and products.
Set<BasicGroup> getDefaultGroupFilter(BasicGroup, ProductsAccessor) Returns the groups used by default for searches, if any, for the given group and accessor
Set<BasicGroup> getSearchOnGroups() Returns the groups the logged user can search other users on
Set<BasicGroup> getSearchOnGroups(BasicGroup, ProductsAccessor) Returns the groups an user can search other users on with the given group and products
Set<BasicGroup> getUserDirectoryOnGroups() Returns the groups the logged user can view on the directory (map)
Set<BasicGroup> getUserDirectoryOnGroups(BasicGroup, ProductsAccessor) Returns the groups an user can view on the directory (map) with the given group and products
Set<BasicGroup> getViewProfileOnGroups() Returns the groups the logged user can view profile of users
Set<BasicGroup> getViewProfileOnGroups(BasicGroup, ProductsAccessor) Returns the groups an user view profile with the given group and products
 

Changed Methods
Set<Group> flatten(Collection<BasicGroup>) Documentation changed from old to new.
Expands the given groups / group sets into a set of groups.
Set<BasicGroup> getAccessibleBasicUserGroups() Change in return type from List<BasicGroup> to Set<BasicGroup>.
Same as .getAccessibleBasicGroups(), but without admin groups.
Set<BasicGroup> getAllAccessibleBasicUserGroups() Change in return type from List<BasicGroup> to Set<BasicGroup>.
Same as .getAllAccessibleBasicGroups(), but with admin groups excluded.
Set<Group> getAllAccessibleGroups() Change in return type from List<Group> to Set<Group>.
Documentation changed from old to new.
Gets accessible groups for the current user, excluding groupsets.
Set<BasicGroup> getVisibleGroups(GroupVisibility) Change in return type from List<BasicGroup> to Set<BasicGroup>.
Documentation changed from old to new.
Returns either an empty list for GroupVisibility.NONE or null, only visible group sets for GroupVisibility.GROUP_SET or visible groups / group sets for GroupVisibility.GROUP
Set<Group> flattenVOs(Collection<?, extends, BasicGroupVO>, boolean) Documentation changed from old to new.
See .flatten(Collection), but takes the VO's as input, and includes disabled groups depending on the boolean parameter.
Set<BasicGroup> getAccessibleBasicGroups() Change in return type from List<BasicGroup> to Set<BasicGroup>.
Documentation changed from old to new.
Gets accessible basic groups for the current user.
Set<Group> getAccessibleGroups() Change in return type from List<Group> to Set<Group>.
Gets accessible groups for the current user.
Set<Group> getAccessibleGroups(User) Change in return type from List<Group> to Set<Group>.
Returns the accessible groups for the given user, excluding groups with group.enabled=false
Set<UserGroup> getAccessibleUserGroups() Change in return type from List<UserGroup> to Set<UserGroup>.
Returns the accessible groups with type=USER and enabled=true for the current user
Set<UserGroup> getAccessibleUserGroups(User) Change in return type from List<UserGroup> to Set<UserGroup>.
Returns the accessible groups with type=USER and enabled=true for the given
Set<BasicGroup> getAllAccessibleBasicGroups() Change in return type from List<BasicGroup> to Set<BasicGroup>.
Documentation changed from old to new.
Gets accessible basic groups for the current user.
Set<BasicGroup> getDefaultGroupFilter() Change in return type from BasicGroup to Set<BasicGroup>.
Documentation changed from old to new.
Returns the groups used by default for searches, if any
Set<Group> getPossibleRegistrationGroups() Change in return type from List<Group> to Set<Group>.
Returns the possible initial groups for the loggedUser.
Set<Group> getPossibleRegistrationGroups(boolean) Change in return type from List<Group> to Set<Group>.
Returns the possible initial groups for the loggedUser.