Class DelayedNotificationUserSettingJpaRepository
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.repository.jpa.AbstractJpaEntityRepository<E>
-
- org.silverpeas.core.persistence.datasource.repository.jpa.BasicJpaEntityRepository<DelayedNotificationUserSetting>
-
- org.silverpeas.core.notification.user.delayed.repository.DelayedNotificationUserSettingJpaRepository
-
- All Implemented Interfaces:
DelayedNotificationUserSettingManager
,EntityRepository<DelayedNotificationUserSetting>
,WithSaveAndFlush<DelayedNotificationUserSetting>
@Repository public class DelayedNotificationUserSettingJpaRepository extends BasicJpaEntityRepository<DelayedNotificationUserSetting> implements DelayedNotificationUserSettingManager
-
-
Constructor Summary
Constructors Constructor Description DelayedNotificationUserSettingJpaRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteById(String id)
List<DelayedNotificationUserSetting>
findByUserId(int userId)
List<DelayedNotificationUserSetting>
findByUserIdAndChannel(int userId, int channel)
-
Methods inherited from class org.silverpeas.core.persistence.datasource.repository.jpa.BasicJpaEntityRepository
deleteByComponentInstanceId, saveAndFlush
-
Methods inherited from class org.silverpeas.core.persistence.datasource.repository.jpa.AbstractJpaEntityRepository
contains, countByCriteria, countFromJpqlString, delete, deleteById, deleteFromJpqlQuery, deleteFromNamedQuery, findByCriteria, findByNamedQuery, findFirstByNamedQuery, flush, getAll, getById, getById, getEntityClass, getEntityManager, getFromJpqlString, getFromJpqlString, getFromNamedQuery, getFromNamedQuery, getIdentifierConverter, getMaximumItemsInClause, listFromJpqlString, listFromJpqlString, listFromJpqlString, listFromJpqlString, listFromNamedQuery, listFromNamedQuery, newNamedParameters, noParameter, save, setMaximumItemsInClause, split, streamByNamedQuery, streamByNamedQuery, streamFromJpqlString, streamFromJpqlString, updateFromJpqlQuery, updateFromNamedQuery
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.EntityRepository
delete, deleteById, getById, save, save
-
-
-
-
Method Detail
-
findByUserId
public List<DelayedNotificationUserSetting> findByUserId(int userId)
- Specified by:
findByUserId
in interfaceDelayedNotificationUserSettingManager
-
findByUserIdAndChannel
public List<DelayedNotificationUserSetting> findByUserIdAndChannel(int userId, int channel)
- Specified by:
findByUserIdAndChannel
in interfaceDelayedNotificationUserSettingManager
-
deleteById
public void deleteById(String id)
-
-