|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packageorg.cyclos.impl.usersas colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Class GroupsHandler, Set<UserGroup> getAccessibleUserGroups(User)Handler interface for groups. All methods returning Collections ofThe groupsare to be placed heremanagement involves the following concepts.
Firstly,Methods retrieving groups have the following logic for their namesthere are four distinguished group collections related to an user:get[All][Accessible][Basic]Groups()
- The
word Allgroupsindicates that disabled groups arein which an user canincluded.accessOtherwiseothertheseusersare- The
excluded.groupsDisabeld groupsin which(groupsanwithuserenabled=false)canare groups only visible tosearch for ads of otheradmins,usersand- The
which have no users anymoregroups in which an user(butcanhad in thesearch for otherpast).users- The
word Accessible means thatgroupsvisible tointhe loggedwhich an userarecanreturned.searchOtherwise any group infor other users on thesystem may bedirectoryreturnedmap(dependingotherSecondly,appliedallfiltering).ofThethosewordcollectionsBasiccouldmeans that groupsets are includedinclude disabled groups or not.InDisabledsuch agroupscase,areaonlyListvisibleis returnedto admins.
OtherwiseFinally,onlythegroups are included anduser has associated aListgroupisvisibilityreturned.meaningIn case groupsets arehow groups information isincluded,visiblethe result isto regular usersalways(membersflattened,andmeaningbrokers)
that
the groupsets as well as the contained groups are included in theThis class is the starting point to work with all of thoseresult,concepts.
even if the containing groups are notTo get access to each collection includingexplicitlyonlyincludedenabledingroupstheuse:original
collection/entity- .accessibles()
The word.ads()User- .users(boolean)
means- .directory(boolean)
thatonly UserGroups areTo get accessreturned,toso adminthe visible groupsareaccordingexcluded.totheExtraGroupVisibilitykeywords may be included inassociated to the user usethe.visibles()method name for methods doing extra filtering beyond thisas a way to get the correct factory accessor.The result listsIf you needareto include also theusuallydisabled groups (onlysortedfor admins) thenalphabetically;usemore.all() forsophisticated sorting respectingthe right factoryhierarchy(weis to be done byhave support to include disabledGroupService.groupsTODO:onlyThe latter mayfor the accessiblechangecollection)in@seefuture,GroupListViewFactoryAccessoras@seelistHierarchyGroupListViewFactoryis@seecandidateGroupListViewfor@seeplacementGroupListin@authorGroupsHandler.ameyer @author luis @author rinke
Returns the accessible groups with type=USER and enabled=true for the given user
If the logged user is a restricted operator, returns his access over the given accounttype(never null). If not a restricted operator, returns null.
Returns the validator for the given phone anduser groupowner user
Returnsthe value ofa principal the given user can use to access a channel with the given configuration
SetsSends theuserchangevalidationforgottenkey to forgotpasswordand sendscode by the