C# Class EA.Iws.Domain.ImportNotificationAssessment.ImportNotificationAssessment

Inheritance: System.Entity
Show file Open project: EnvironmentAgency/prsd-iws Class Usage Examples

Public Methods

Method Description
Acknowledge ( System.DateTime date ) : void
AddStatusChangeRecord ( ImportNotificationStatusChange statusChange ) : void
BeginAssessment ( System.DateTime date, string officer ) : void
CompleteNotification ( System.DateTime date ) : void
GetAvailableDecisions ( ) : IEnumerable
ImportNotificationAssessment ( System.Guid notificationId ) : System
MarkFileClosed ( System.DateTime fileClosedDate ) : void
PaymentComplete ( System.DateTime date ) : void
Receive ( System.DateTime receivedDate ) : void
SetArchiveReference ( string reference ) : void
Submit ( ) : void
WithdrawConsent ( System.DateTime withdrawalDate, string reasonsForWithdrawal ) : void

Protected Methods

Method Description
ImportNotificationAssessment ( ) : System

Private Methods

Method Description
Consent ( DateRange dateRange, string conditions, System.Guid userId, System.DateTime consentedDate ) : ImportConsent
CreateStateMachine ( ) : Trigger>.StateMachine
Object ( System.DateTime date, string reasons ) : ImportObjection
OnAcknowledged ( System.DateTime acknowledgedDate ) : void
OnAssessmentStarted ( System.DateTime date, string officer ) : void
OnConsentWithdrawn ( System.DateTime withdrawnDate, string reasons ) : void
OnConsented ( System.DateTime consentDate ) : void
OnFileClosed ( System.DateTime fileClosedDate ) : void
OnFullyPaid ( System.DateTime paymentDate ) : void
OnNotificationCompleted ( System.DateTime completedDate ) : void
OnReceived ( System.DateTime receivedDate ) : void
OnTransition ( Trigger>.StateMachine transition ) : void
Withdraw ( System.DateTime date, string reasons ) : ImportWithdrawn

Method Details

Acknowledge() public method

public Acknowledge ( System.DateTime date ) : void
date System.DateTime
return void

AddStatusChangeRecord() public method

public AddStatusChangeRecord ( ImportNotificationStatusChange statusChange ) : void
statusChange ImportNotificationStatusChange
return void

BeginAssessment() public method

public BeginAssessment ( System.DateTime date, string officer ) : void
date System.DateTime
officer string
return void

CompleteNotification() public method

public CompleteNotification ( System.DateTime date ) : void
date System.DateTime
return void

GetAvailableDecisions() public method

public GetAvailableDecisions ( ) : IEnumerable
return IEnumerable

ImportNotificationAssessment() protected method

protected ImportNotificationAssessment ( ) : System
return System

ImportNotificationAssessment() public method

public ImportNotificationAssessment ( System.Guid notificationId ) : System
notificationId System.Guid
return System

MarkFileClosed() public method

public MarkFileClosed ( System.DateTime fileClosedDate ) : void
fileClosedDate System.DateTime
return void

PaymentComplete() public method

public PaymentComplete ( System.DateTime date ) : void
date System.DateTime
return void

Receive() public method

public Receive ( System.DateTime receivedDate ) : void
receivedDate System.DateTime
return void

SetArchiveReference() public method

public SetArchiveReference ( string reference ) : void
reference string
return void

Submit() public method

public Submit ( ) : void
return void

WithdrawConsent() public method

public WithdrawConsent ( System.DateTime withdrawalDate, string reasonsForWithdrawal ) : void
withdrawalDate System.DateTime
reasonsForWithdrawal string
return void