C# Class Cats.Services.Common.NotificationService

Inheritance: INotificationService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddNotification ( Notification notification ) : bool
AddNotificationForEarlyWaringFromRegions ( string destinationURl, int requestId, int regionId ) : bool
AddNotificationForHubManagersFromTransportOrder ( string destinationUrl, int transportOrderId, string transportOrderNo, List hubId ) : bool
AddNotificationForLogistcisFromEarlyWaring ( string destinationURl, int requisitionID, int regionId, string requisitioNo ) : bool
AddNotificationForProcurementFromLogistics ( string destinationURl, TransportRequisition transportRequisition ) : bool
AddNotificationForProcurmentForGRNDiscripancy ( string destinationURl, int transportOrderId, string transportOrderNo ) : bool
DeleteById ( int id ) : bool
DeleteNotification ( Notification notification ) : bool
Dispose ( ) : void
EditNotification ( Notification notification ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Notification
GetAllNotification ( ) : List
NotificationService ( IUnitOfWork unitOfWork ) : System

Method Details

AddNotification() public method

public AddNotification ( Notification notification ) : bool
notification Cats.Models.Notification
return bool

AddNotificationForEarlyWaringFromRegions() public method

public AddNotificationForEarlyWaringFromRegions ( string destinationURl, int requestId, int regionId ) : bool
destinationURl string
requestId int
regionId int
return bool

AddNotificationForHubManagersFromTransportOrder() public method

public AddNotificationForHubManagersFromTransportOrder ( string destinationUrl, int transportOrderId, string transportOrderNo, List hubId ) : bool
destinationUrl string
transportOrderId int
transportOrderNo string
hubId List
return bool

AddNotificationForLogistcisFromEarlyWaring() public method

public AddNotificationForLogistcisFromEarlyWaring ( string destinationURl, int requisitionID, int regionId, string requisitioNo ) : bool
destinationURl string
requisitionID int
regionId int
requisitioNo string
return bool

AddNotificationForProcurementFromLogistics() public method

public AddNotificationForProcurementFromLogistics ( string destinationURl, TransportRequisition transportRequisition ) : bool
destinationURl string
transportRequisition Cats.Models.TransportRequisition
return bool

AddNotificationForProcurmentForGRNDiscripancy() public method

public AddNotificationForProcurmentForGRNDiscripancy ( string destinationURl, int transportOrderId, string transportOrderNo ) : bool
destinationURl string
transportOrderId int
transportOrderNo string
return bool

DeleteById() public method

public DeleteById ( int id ) : bool
id int
return bool

DeleteNotification() public method

public DeleteNotification ( Notification notification ) : bool
notification Cats.Models.Notification
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditNotification() public method

public EditNotification ( Notification notification ) : bool
notification Cats.Models.Notification
return bool

FindBy() public method

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

FindById() public method

public FindById ( int id ) : Notification
id int
return Cats.Models.Notification

GetAllNotification() public method

public GetAllNotification ( ) : List
return List

NotificationService() public method

public NotificationService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
return System