Generated by
JDiff

org.cyclos.impl.users Documentation Differences

This file contains all the changes in documentation in the package org.cyclos.impl.users as colored differences. Deletions are shown like 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 BaseProductsOwnerServiceLocal, boolean canHaveProductUnassigned(Product, Long)

returns true if the product can be unassigned from the owner without problems. checks specifically on thethe accounts. Note that this method doesn't check permissions, it just checks on problems with accounts lost because of unassigning the product.

Class GroupsHandler

Handler interface for groups. All methods returning Collections of groups are to be placed here.

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 result lists are usually only sorted alphabetically; more sophisticated sorting respecting hierarchy is to bebe done by GroupService. TODO: The latter may change in future, as listHierarchy is candidate for placement in GroupsHandler. @author luis @author rinke
Class GroupsHandler, Set<Group> flatten(Collection<BasicGroup>)

Expands the given groups / group sets into a set of groups. Of each encountered groupSet, all the 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 disabled groupgroup 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.
Class GroupsHandler, Set<Group> flattenVOs(Collection<? extends BasicGroupVO>, boolean)

See .flatten(Collection), but takes the VO's as input, and includes disabled groups depending on 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 explicitly selectedselected or not.
Class GroupsHandler, Set<BasicGroup> getAccessibleBasicGroups()

Gets accessible basic groups for the current user. Groupsets are included, but groups with enabled=false areare excluded. If groupsets are included, their contained groups are automatically also included.
Class GroupsHandler, Set<BasicGroup> getAllAccessibleBasicGroups()

Gets accessible basic groups for the current user. Groups with enabled=false are included. Note that this 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 same asas getAccessibleBasicGroups(). In case groupsets are included, all of the groups contained in that groupset are also automatically included.
Class GroupsHandler, Set<Group> getAllAccessibleGroups()

Gets accessible groups for the current user, excluding groupsets. Groups with enabled=false are included. 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 same asas getAccessibleBasicGroups().
Class GroupsHandler, Set<BasicGroup> getDefaultGroupFilter()

Returns the groupgroups used by default for searches, if any
Class GroupsHandler, Set<BasicGroup> getVisibleGroups(GroupVisibility)

Returns either an empty list for GroupVisibility.NONE or null, only visible group sets forfor GroupVisibility.GROUP_SET or visible groups / group sets for GroupVisibility.GROUP

Class ProductsHandler, List<R> toList(Collection<K>, <any>, Class<R>, <any>)

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 in thethe resulting beans

Class ProfileFieldHandler, List<ProfileField> getAllProfileFields()

Returns a list containing all ProfileField - all BasicProfileFields and allall UserCustomFields
Class ProfileFieldHandler, List<ProfileField> getEnabledProfileFields(BasicUser)

Returns the list of profile fields that are enabled in the given products accessoruser
Class ProfileFieldHandler, List<UserProfileFieldActions> getFieldActions(BasicUser)

Returns the enabled fields for the given user (and visible to the logged user) and the actions that the 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.
Class ProfileFieldHandler, Object getFieldValue(BasicUser, ProfileField)

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>)

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 UserCustomFieldVOs toto UserCustomFields.
Class ProfileFieldHandler, ProfileField toVO(ProfileField)

Returns a profile field compatible to send to client, converting UserCustomFields toto CustomFieldDetailedVOs.

Class UserServiceLocal, void activateUserIfNeeded(User)

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.

Class UserValidationServiceLocal, UserRegistrationResult buildRegistrationResult(BasicUser, Set<PasswordType>)

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 the currentcurrent e-mail in new email) and sends the e-mail