|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packageorg.cyclos.impl.messagingas 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 the logged user can view his messages. In case of an admin, the method returns true if hecancan view the system messages.
Returns the notification type which the given type is based on.Class NotificationSettingsServiceLocal, boolean isAllowedNotificationType(AdminNotificationType, User, Object)
This method must be used when the given type does not have a corresponding setting, but uses settings from another type.
E.g: AdminNotificationType.USER_IMPORT_REGISTRATION is basedonon AdminNotificationType.USER_REGISTRATION
It checks if the user has the Permission.MY_NOTIFICATIONS_ENABLE permission and is allowed to beClass NotificationSettingsServiceLocal, boolean isEnabled(UserNotificationType, User)notifiednotified by the specified type and the selected option. It assumes the user has selected being notified by the specified type
For example: if type is AdminNotificationType.PAYMENT_PERFORMED (option must be a TransferTypeVO) then this method will return true if that TT is contained in the available TT list. @param type the notification type to be checked @param user the user to check if he/she is allowed to be notified @param option (optional) the selected option to be notified by (chosen by the user). If it's null thismethodmethod only checks if there are any available options. @return true if the user can be notified.
It returns true if the notification type is enabled by permission and if the user had selected being notifiedbyby that type