@Security public class NotificationServiceSecurity extends BaseServiceSecurity implements NotificationService
NotificationService| Constructor and Description |
|---|
NotificationServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
void |
markAllRead(UserLocatorVO userVO)
Marks as read all the notifications of the given user.
|
void |
markAsRead(java.util.List<java.lang.Long> ids)
Marks as read the given notification ids
|
void |
remove(java.lang.Long id)
Removes the given notification id
|
void |
removeAll(java.util.Collection<java.lang.Long> ids)
Removes a set of notifications
|
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 |
Page<NotificationVO> |
search(NotificationQuery params)
Searches for notifications for the logged 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 void markAllRead(UserLocatorVO userVO)
NotificationServicemarkAllRead in interface NotificationServicepublic void markAsRead(java.util.List<java.lang.Long> ids)
NotificationServicemarkAsRead in interface NotificationServicepublic void remove(java.lang.Long id)
NotificationServiceremove in interface NotificationServicepublic void removeAll(java.util.Collection<java.lang.Long> ids)
NotificationServiceremoveAll in interface NotificationServicepublic Page<NotificationVO> search(NotificationQuery params) throws FrameworkException
NotificationServicesearch in interface NotificationServiceFrameworkExceptionprotected org.cyclos.impl.access.EntityCheck<?> resolveEntityCheck()
BaseServiceSecurityEntityCheck managed by this security component, or null if
noneresolveEntityCheck in class BaseServiceSecurity