forked from nus-cs2103-AY2324S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into findcommand-update
- Loading branch information
Showing
30 changed files
with
587 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
@startuml | ||
!include style.puml | ||
skinparam ArrowFontStyle plain | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":LogicManager" as LogicManager LOGIC_COLOR | ||
participant ":AddressBookParser" as AddressBookParser LOGIC_COLOR | ||
participant ":DeleteOrderCommandParser" as DeleteOrderCommandParser LOGIC_COLOR | ||
participant "d:DeleteOrderCommand" as DeleteOrderCommand LOGIC_COLOR | ||
participant "r:CommandResult" as CommandResult LOGIC_COLOR | ||
end box | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant "m:Model" as Model MODEL_COLOR | ||
end box | ||
|
||
[-> LogicManager : execute(args) | ||
activate LogicManager | ||
|
||
LogicManager -> AddressBookParser : parseCommand(args) | ||
activate AddressBookParser | ||
|
||
create DeleteOrderCommandParser | ||
AddressBookParser -> DeleteOrderCommandParser | ||
activate DeleteOrderCommandParser | ||
|
||
DeleteOrderCommandParser --> AddressBookParser | ||
deactivate DeleteOrderCommandParser | ||
|
||
AddressBookParser -> DeleteOrderCommandParser : parse(args) | ||
activate DeleteOrderCommandParser | ||
|
||
create DeleteOrderCommand | ||
DeleteOrderCommandParser -> DeleteOrderCommand | ||
activate DeleteOrderCommand | ||
|
||
DeleteOrderCommand --> DeleteOrderCommandParser : | ||
deactivate DeleteOrderCommand | ||
|
||
DeleteOrderCommandParser --> AddressBookParser : d | ||
deactivate DeleteOrderCommandParser | ||
DeleteOrderCommandParser -[hidden]-> AddressBookParser | ||
destroy DeleteOrderCommandParser | ||
|
||
AddressBookParser --> LogicManager : d | ||
deactivate AddressBookParser | ||
|
||
LogicManager -> DeleteOrderCommand : execute(m) | ||
activate DeleteOrderCommand | ||
|
||
DeleteOrderCommand -> Model : getFilteredPersonList() | ||
activate Model | ||
Model --> DeleteOrderCommand : lastShownList | ||
deactivate Model | ||
|
||
DeleteOrderCommand -> Model : getSortedOrders(order) | ||
activate Model | ||
Model --> DeleteOrderCommand : sortedOrders | ||
deactivate Model | ||
|
||
DeleteOrderCommand -> Model : deleteOrder(person, order) | ||
activate Model | ||
Model --> DeleteOrderCommand | ||
deactivate Model | ||
|
||
create CommandResult | ||
DeleteOrderCommand -> CommandResult : | ||
activate CommandResult | ||
|
||
CommandResult --> DeleteOrderCommand | ||
deactivate CommandResult | ||
|
||
DeleteOrderCommand --> LogicManager : r | ||
deactivate DeleteOrderCommand | ||
|
||
[<-- LogicManager : r | ||
deactivate LogicManager | ||
@enduml |
Oops, something went wrong.