C# Класс EA.Iws.Domain.Movement.Movement

Наследование: System.Entity
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddStatusChangeRecord ( MovementStatusChange statusChange ) : void
Cancel ( ) : void
Capture ( int movementNumber, System.Guid notificationId, System.DateTime actualDate, System.DateTime prenotificationDate, bool hasNoPrenotification, System.Guid createdBy ) : Movement
Complete ( System.DateTime completedDate, System.Guid fileId, System.Guid createdBy ) : void
CompleteInternally ( System.DateTime completedDate, System.Guid createdBy ) : void
Receive ( System.Guid fileId, System.DateTime dateReceived, ShipmentQuantity quantity, System.Guid createdBy ) : void
ReceiveInternally ( System.DateTime dateReceived, ShipmentQuantity quantity, System.Guid createdBy ) : void
Submit ( System.Guid fileId ) : void
SubmitInternally ( System.DateTime prenotificationDate ) : void
UpdateDate ( System.DateTime newDate, IUpdatedMovementDateValidator validator ) : System.Threading.Tasks.Task

Защищенные методы

Метод Описание
Movement ( ) : System

Приватные методы

Метод Описание
CreateStateMachine ( ) : Trigger>.StateMachine
Movement ( int movementNumber, System.Guid notificationId, System.DateTime date, System.Guid createdBy ) : System
OnCompleted ( System.DateTime completedDate, System.Guid fileId, System.Guid createdBy ) : void
OnInternallyCompleted ( System.DateTime completedDate, System.Guid createdBy ) : void
OnInternallyReceived ( InternallyAcceptedTriggerParameters parameters ) : void
OnInternallySubmitted ( System.DateTime prenotificationDate ) : void
OnReceived ( AcceptedTriggerParameters parameters ) : void
OnSubmitted ( System.Guid fileId ) : void
OnTransitionAction ( Trigger>.StateMachine transition ) : void
Reject ( System.DateTime dateReceived, string reason, string furtherDetails ) : MovementRejection

Описание методов

AddStatusChangeRecord() публичный Метод

public AddStatusChangeRecord ( MovementStatusChange statusChange ) : void
statusChange MovementStatusChange
Результат void

Cancel() публичный Метод

public Cancel ( ) : void
Результат void

Capture() публичный статический Метод

public static Capture ( int movementNumber, System.Guid notificationId, System.DateTime actualDate, System.DateTime prenotificationDate, bool hasNoPrenotification, System.Guid createdBy ) : Movement
movementNumber int
notificationId System.Guid
actualDate System.DateTime
prenotificationDate System.DateTime
hasNoPrenotification bool
createdBy System.Guid
Результат Movement

Complete() публичный Метод

public Complete ( System.DateTime completedDate, System.Guid fileId, System.Guid createdBy ) : void
completedDate System.DateTime
fileId System.Guid
createdBy System.Guid
Результат void

CompleteInternally() публичный Метод

public CompleteInternally ( System.DateTime completedDate, System.Guid createdBy ) : void
completedDate System.DateTime
createdBy System.Guid
Результат void

Movement() защищенный Метод

protected Movement ( ) : System
Результат System

Receive() публичный Метод

public Receive ( System.Guid fileId, System.DateTime dateReceived, ShipmentQuantity quantity, System.Guid createdBy ) : void
fileId System.Guid
dateReceived System.DateTime
quantity ShipmentQuantity
createdBy System.Guid
Результат void

ReceiveInternally() публичный Метод

public ReceiveInternally ( System.DateTime dateReceived, ShipmentQuantity quantity, System.Guid createdBy ) : void
dateReceived System.DateTime
quantity ShipmentQuantity
createdBy System.Guid
Результат void

Submit() публичный Метод

public Submit ( System.Guid fileId ) : void
fileId System.Guid
Результат void

SubmitInternally() публичный Метод

public SubmitInternally ( System.DateTime prenotificationDate ) : void
prenotificationDate System.DateTime
Результат void

UpdateDate() публичный Метод

public UpdateDate ( System.DateTime newDate, IUpdatedMovementDateValidator validator ) : System.Threading.Tasks.Task
newDate System.DateTime
validator IUpdatedMovementDateValidator
Результат System.Threading.Tasks.Task