21 lines
920 B
Java
21 lines
920 B
Java
package net.gepafin.tendermanagement.service;
|
|
|
|
import jakarta.servlet.http.HttpServletRequest;
|
|
import net.gepafin.tendermanagement.enums.NotificationEnum;
|
|
import net.gepafin.tendermanagement.model.request.NotificationReq;
|
|
import net.gepafin.tendermanagement.model.response.NotificationResponse;
|
|
|
|
import java.util.List;
|
|
|
|
public interface NotificationService {
|
|
NotificationResponse sendNotification(Long userId, NotificationReq notificationReq, Long companyId);
|
|
|
|
public NotificationResponse getNotificationById(HttpServletRequest servletRequest, Long id);
|
|
|
|
public List<NotificationResponse> getNotificationByUserId(HttpServletRequest servletRequest, Long userId, Long companyId, List<NotificationEnum> statuses);
|
|
|
|
public NotificationResponse updateNotificationStatus(HttpServletRequest request, Long id, NotificationEnum status);
|
|
|
|
public void deleteNotification(HttpServletRequest request, Long id);
|
|
}
|