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

Inheritance: System.Entity
显示文件 Open project: EnvironmentAgency/prsd-iws Class Usage Examples

Public Methods

Method Description
AddStatusChangeRecord ( ImportFinancialGuaranteeStatusChange statusChange ) : void
Complete ( System.DateTime date ) : void
GetAvailableDecisions ( ) : IEnumerable
ImportFinancialGuarantee ( System.Guid importNotificationId, System.DateTime receivedDate ) : System
Refuse ( System.DateTime date, string reason ) : ImportFinancialGuaranteeRefusal
Release ( System.DateTime date ) : ImportFinancialGuaranteeRelease
UpdateReceivedDate ( System.DateTime date ) : void

Protected Methods

Method Description
ImportFinancialGuarantee ( ) : System

Private Methods

Method Description
Approve ( System.DateTime date, string reference ) : ImportFinancialGuaranteeApproval
CreateStateMachine ( ) : Trigger>.StateMachine
OnComplete ( System.DateTime completedDate ) : void
OnTransitionAction ( Trigger>.StateMachine transition ) : void

Method Details

AddStatusChangeRecord() public method

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

Complete() public method

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

GetAvailableDecisions() public method

public GetAvailableDecisions ( ) : IEnumerable
return IEnumerable

ImportFinancialGuarantee() protected method

protected ImportFinancialGuarantee ( ) : System
return System

ImportFinancialGuarantee() public method

public ImportFinancialGuarantee ( System.Guid importNotificationId, System.DateTime receivedDate ) : System
importNotificationId System.Guid
receivedDate System.DateTime
return System

Refuse() public method

public Refuse ( System.DateTime date, string reason ) : ImportFinancialGuaranteeRefusal
date System.DateTime
reason string
return ImportFinancialGuaranteeRefusal

Release() public method

public Release ( System.DateTime date ) : ImportFinancialGuaranteeRelease
date System.DateTime
return ImportFinancialGuaranteeRelease

UpdateReceivedDate() public method

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