|
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.
returns true if the product can be unassigned from the owner without problems. checks specifically onthethe accounts. Note that this method doesn't check permissions, it just checks on problems with accounts lost because of unassigning the product.
Handler interface for groups. All methods returning Collections of groups are to be placed here.Class GroupsHandler, Set<Group> flatten(Collection<BasicGroup>)
Methods retrieving groups have the following logic for their names:get[All][Accessible][Basic]Groups()Extra keywords may be included in the method name for methods doing extra filtering beyond this.
- The word
Allindicates that disabled groups are included. Otherwise these are excluded.DisabeldDisabeld groups (groups with enabled=false) are groups only visible to admins, and which have no users anymore (but had in the past).- The word
Accessiblemeans that groups visible to the logged user are returned. Otherwise anygroupgroup in the system may be returned (depending other applied filtering).- The word
Basicmeans that groupsets are included. In such a case, a Listis returned. Otherwise, only groups are included and List is returned. In case groupsets are included, the result is always flattened, meaning thatthat the groupsets as well as the contained groups are included in the result, even if the containing groups are not explicitly included inthethe original collection/entity.- The word
Usermeans that only UserGroups are returned, so admin groups are excluded.
The result lists are usually only sorted alphabetically; more sophisticated sorting respecting hierarchy is tobebe done by GroupService. TODO: The latter may change in future, as listHierarchy is candidate for placement in GroupsHandler. @author luis @author rinke
Expands the given groups / group sets into a set of groups. Of each encountered groupSet, all theClass GroupsHandler, Set<Group> flattenVOs(Collection<? extends BasicGroupVO>, boolean)belongingbelonging groups are added. The groupset itself is left out.
Disabled groups are included if they are explicitly included in the input collection. If the disabledgroupgroup belongs to a groupset, and this groupset is included in the input collection (without the disabled group itself being explicitly included),thenthen the disabled group is NOT included in the result. So if you want to include any disabled group, be sure to add it explicitly in the input parameter.
See .flatten(Collection), but takes the VO's as input, and includes disabled groups depending onClass GroupsHandler, Set<BasicGroup> getAccessibleBasicGroups()thethe boolean parameter. @param includeDisabledGroupsOfGroupset boolean, if false, the behavior is as flattenVOs(Collection). If true,thethe disabled groups are included if they are part of a groupSet which is selected, no matter if they are explicitlyselectedselected or not.
Gets accessible basic groups for the current user. Groupsets are included, but groups with enabled=falseClass GroupsHandler, Set<BasicGroup> getAllAccessibleBasicGroups()areare excluded. If groupsets are included, their contained groups are automatically also included.
Gets accessible basic groups for the current user. Groups with enabled=false are included. Note that thisClass GroupsHandler, Set<Group> getAllAccessibleGroups()onlyonly make sense for admins, because admins are the only ones who can see disabled groups. So for others than admins the result is the sameasas getAccessibleBasicGroups(). In case groupsets are included, all of the groups contained in that groupset are also automatically included.
Gets accessible groups for the current user, excluding groupsets. Groups with enabled=false are included.Class GroupsHandler, Set<BasicGroup> getDefaultGroupFilter()NoteNote that this only make sense for admins, because admins are the only ones who can see disabled groups. So for others than admins the result is the sameasas getAccessibleBasicGroups().
Returns theClass GroupsHandler, Set<BasicGroup> getVisibleGroups(GroupVisibility)groupgroups used by default for searches, if any
Returns either an empty list for GroupVisibility.NONE or null, only visible group setsforfor GroupVisibility.GROUP_SET or visible groups / group sets for GroupVisibility.GROUP
Converts a map of some type to BooleanProperties into a list of objects, for each entry, uses BooleanProperties.instantiate(Class) to instantiate a bean and fills the key as a property inthethe resulting beans
Returns a list containing all ProfileField - all BasicProfileFields andClass ProfileFieldHandler, List<ProfileField> getEnabledProfileFields(BasicUser)allall UserCustomFields
Returns the list of profile fields that are enabled in the givenClass ProfileFieldHandler, List<UserProfileFieldActions> getFieldActions(BasicUser)products accessoruser
Returns the enabled fields for the given user (and visible to the logged user) and the actions that theClass ProfileFieldHandler, Object getFieldValue(BasicUser, ProfileField)loggedlogged user can perform over them The contexts which can be used are: - Internal or public registration: the given user should be transient - The logged user is viewing other user's profile. - The logged user is viewing his own profile, in which case the parameter should be the logged user.
Returns the value of the given profle field for the given user. The value depends on the profile field type:Class ProfileFieldHandler, List<ProfileField> getMatchingFields(<any>, Map<BooleanPath, Boolean>)
- BasicProfileField.LOGIN_NAME, BasicProfileField.FULL_NAME, BasicProfileField.EMAIL: Returns a string with the value
- BasicProfileField.PHONE, BasicProfileField.ADDRESS, BasicProfileField.IMAGE:
ReturnsReturns a collection with the entities- BasicProfileField.ACCOUNT_NUMBER: Returns a collection with the unmasked strings for all
activeactive accounts- Custom field: Returns the custom field value. See CustomFieldHelper.getValue(Long, Collection)
Returns a list of the enabled profile fields that matches all the given filters in the map: for each map key, retains only fields whose that boolean flag is the same as the map value.Class ProfileFieldHandler, List<ProductMyProfileFieldDTO> getMyProfileFields(ProductAccessor)
Returns the aggregate my profile fields for the given products accessor. Should not be called when there is an user, only for general products.Class ProfileFieldHandler, List<ProductUserProfileFieldDTO> getUserProfileFields(ProductAccessor)
Returns the aggregate user profile fields for the given products accessor. Should not be called when there is an user, only for general products.Class ProfileFieldHandler, ProfileField toEntity(ProfileField)
Returns a profile field compatible to storing as an entity, converting UserCustomFieldVOsClass ProfileFieldHandler, ProfileField toVO(ProfileField)toto UserCustomFields.
Returns a profile field compatible to send to client, converting UserCustomFieldstoto CustomFieldDetailedVOs.
It activates the user's accounts, create a password (if needed) and send the activation email only if the user'ss group is an active one.
Builds the registration result for the given user. @param user the already registered user @param generatedPasswordTypes set of password types for which the passwords were generated.Class UserValidationServiceLocal, void setEmailChangeValidation(BasicUser, String)
Sets the user validation key for e-mail change confirmation, restores the original e-mail (saving thecurrentcurrent e-mail in new email) and sends the e-mail