@Security public class NotificationSettingsServiceSecurity extends BaseServiceSecurity implements NotificationSettingsService
NotificationSettingsService| Constructor and Description |
|---|
NotificationSettingsServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
AdminNotificationSettingsData |
getAdminNotificationSettingsData()
Return the notification preferences for the logged admin
|
UserNotificationSettingsData |
getUserNotificationSettingsData(UserLocatorVO locator)
Return the notifications preference data for the given user
|
protected org.cyclos.impl.access.EntityCheck<?> |
resolveEntityCheck()
Must be implemented in order to return the
EntityCheck managed by this security component, or null if
none |
void |
saveAdmin(AdminNotificationSettingsDTO dto)
It saves the notifications preference for the logged admin ignoring the user sets in the dto parameter.
|
void |
saveUser(UserNotificationSettingsDTO dto)
It saves the notifications preference for an user.
|
checkGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initializecanManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getAccountHandler, getAuthHandler, getBaseEntityManagerHandler, getChannelConfiguration, getConfiguration, getConversionHandler, getCustomFieldValueHandler, getEntityManagerHandler, getGroupsHandler, getLoggedBasicUser, getLoggedUser, getProducts, getProductsHandler, getReportHandler, getTranslatedName, getTranslatedValue, getUserLocatorHandler, getValidationResult, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, toDate, toDateTime, validatedelete, detach, find, flush, from, getApplicationContext, getConfigurationHandler, getDataTranslationHandler, getFormatter, getFormatter, getFormatter, getLogger, getNotificationHandler, getProfileFieldHandler, getRemoteAddress, getSessionData, getTransactionHandler, getTranslationHandler, message, message, persist, processBatch, refresh, remove, subQuery, updatepublic AdminNotificationSettingsData getAdminNotificationSettingsData()
NotificationSettingsServicegetAdminNotificationSettingsData in interface NotificationSettingsServicepublic UserNotificationSettingsData getUserNotificationSettingsData(UserLocatorVO locator)
NotificationSettingsServicegetUserNotificationSettingsData in interface NotificationSettingsServicepublic void saveAdmin(AdminNotificationSettingsDTO dto)
NotificationSettingsServicesaveAdmin in interface NotificationSettingsServicepublic void saveUser(UserNotificationSettingsDTO dto)
NotificationSettingsServicesaveUser in interface NotificationSettingsServiceprotected org.cyclos.impl.access.EntityCheck<?> resolveEntityCheck()
BaseServiceSecurityEntityCheck managed by this security component, or null if
noneresolveEntityCheck in class BaseServiceSecurity