Interface DelayedNotificationDataRepository
-
- All Superinterfaces:
EntityRepository<DelayedNotificationData>
,WithSaveAndFlush<DelayedNotificationData>
- All Known Implementing Classes:
DelayedNotificationDataJpaRepository
public interface DelayedNotificationDataRepository extends EntityRepository<DelayedNotificationData>, WithSaveAndFlush<DelayedNotificationData>
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
deleteByIds(Collection<Long> ids)
List<Integer>
findAllUsersToBeNotified(Collection<Integer> aimedChannels)
List<DelayedNotificationData>
findByUserId(int userId, Collection<Integer> aimedChannels)
List<DelayedNotificationData>
findDelayedNotification(DelayedNotificationData delayedNotification)
List<Integer>
findUsersToBeNotified(Set<NotifChannel> aimedChannels, Set<DelayedNotificationFrequency> aimedFrequencies, boolean isThatUsersWithNoSettingHaveToBeNotified)
-
Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.EntityRepository
contains, delete, delete, deleteByComponentInstanceId, deleteById, deleteById, findByCriteria, flush, getAll, getById, getById, getById, save, save, save
-
Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush
saveAndFlush
-
-
-
-
Method Detail
-
findAllUsersToBeNotified
List<Integer> findAllUsersToBeNotified(Collection<Integer> aimedChannels)
-
findByUserId
List<DelayedNotificationData> findByUserId(int userId, Collection<Integer> aimedChannels)
-
deleteByIds
long deleteByIds(Collection<Long> ids)
-
findUsersToBeNotified
List<Integer> findUsersToBeNotified(Set<NotifChannel> aimedChannels, Set<DelayedNotificationFrequency> aimedFrequencies, boolean isThatUsersWithNoSettingHaveToBeNotified)
-
findDelayedNotification
List<DelayedNotificationData> findDelayedNotification(DelayedNotificationData delayedNotification)
-
-