|
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 the active brokering for the given user and broker, or throws EntityNotFoundException if nothishis broker or the relation has expired
checks if this user is online. @returntrueif the user is the LoggedUser;falseif the loggedUser has nopermissionpermission to view who's online; for other users it returns true if the requested user has a session which is not yet expired.
Returns the default admins group, that is, either global admins if in global mode, or the current networkadminsadmins otherwise
Returns the visible phones of the given user. If the current user manages the given user, hidden phonesareare returned
Returns the DTO property which represents the related value collection for the given property, if any, or nullifif not applicable
Make sure the given value is related to the given product via a DTO property. Also makes sure theClass ProductServiceLocal, void removeAllRelationships(<any>, SimpleEntity)correspondingcorresponding permission is set
For each product related to the given value via DTO path, remove the value from the collection, and, ifthethe collection is empty, remove the corresponding permission
Returns a product accessor for an user in a specific channel and using a specific principal typeClass ProductsHandler, ProductsAccessor getAccessorFor(Collection<Product>, Channel, PrincipalType)
Returns a products accessor for the given products filtering the products list by the specified channel and principal type.
Applies all additional actions to be performed in case of gain of the specified products.Class ProductsUserServiceLocal, void applyProductLossActions(User, Collection<Product>, Collection<Product>)DoesDoes NOT assign the products; that is the task of the calling method.
The Actions taken are:@param owner the user loosing access to the given products. @param gainedProducts the regained products in case of a group changes; these are the products of the new group.
- create the associated accounts.
Applies all additional actions to be performed in case of loss of the specified products.Class ProductsUserServiceLocal, Set<UserAccount> getLostAccounts(User, Collection<Product>, Collection<Product>)DoesDoes NOT unassign the products; that is the task of the calling method.
The Actions taken are:@param owner The user loosing access to the given products. @param lostProducts The products to which the user will loose access. @param gainedProducts The products he has at the same time gained. For example, when changing groups. Otherwise, null.
- Dispose the account, @see org.cyclos.impl.banking.AccountServiceLocal#disposeAccounts(User, Collection)
- remove brokerings
gets the accounts which the user will loose if the given products are unassigned, so the user doesn't haveaccessaccess to the products anymore. @param user @param lostProducts all products which will be unassigned to the user. @param gainedProducts all products which will be assigned to the user in case of a group change. This can benullnull or an empty collection in case of a plain product unassignment. @return a list with lost user accounts as a result of the unassignment or group change.
Notifies a transaction feedback in case transfer type has feedback enabled and configured to be sentafterafter payment is done
Locates an user on the given network, using a RawEntityManagerHandler. Doesn't enforces the returned user to be related to the current session. It is allowed either id or any of the profile fields marked in the product as show in keywords, plus theClass UserLocatorHandler, LocateUserResult locate(Network, UserLocatorVO, Set<LocateUserOption>)visiblevisible tokens.
Locates an user on the given network, using a RawEntityManagerHandler, using custom options. Doesn't enforces the returned user to be related to the current session. It is allowed either id or any of the profile fields marked in the product as show in keywords, plus theClass UserLocatorHandler, LocateUserResult locate(UserLocatorVO)visiblevisible tokens.
Locates an user on the current network, using a RawEntityManagerHandler. Enforces the returned user to be related to the current session. It is allowed either id or any of the profile fields marked in the product as show in keywords, plus theClass UserLocatorHandler, LocateUserResult locate(UserLocatorVO, Set<LocateUserOption>)visiblevisible tokens.
Locates an user on the current network, using a RawEntityManagerHandler, using custom options. Enforces the returned user to be related to the current session. It is allowed either id or any of the profile fields marked in the product as show in keywords, plus thevisiblevisible tokens.