Implementing pagination in few APIs
This commit is contained in:
@@ -74,4 +74,9 @@ public class NotificationServiceImpl implements NotificationService {
|
||||
UserEntity userEntity = validator.validateUser(request);
|
||||
return notificationDao.getAllNotification(userId,notificationRequestBean);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PageableResponseBean<List<NotificationResponse>> getNotificationsByUserIdAndCompanyIdByPagination(HttpServletRequest request, Long userId, Long companyId, NotificationRequestBean notificationRequestBean) {
|
||||
return notificationDao.getNotificationsByUserIdAndCompanyIdByPagination(userId,companyId,notificationRequestBean);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user