|
ORE Studio 0.0.4
|
Interface for entity-specific operations in the detail dialog. More...
#include <EntityDetailOperations.hpp>


Public Member Functions | |
| virtual std::string | entity_type_name () const =0 |
| Display name for the entity type (e.g. "Party", "Counterparty"). | |
| virtual bool | has_party_category () const =0 |
| Whether this entity type has a party_category field. | |
| virtual operation_result | save_entity (ClientManager *cm, const entity_data &data) const =0 |
| Save the entity via protocol messages. | |
| virtual operation_result | delete_entity (ClientManager *cm, const boost::uuids::uuid &id) const =0 |
| Delete the entity via protocol messages. | |
| virtual load_all_entities_result | load_all_entities (ClientManager *cm) const =0 |
| Load all entities for parent combo and hierarchy tree. | |
| virtual load_identifiers_result | load_identifiers (ClientManager *cm, const boost::uuids::uuid &entity_id) const =0 |
| Load identifiers for a specific entity. | |
| virtual operation_result | save_identifier (ClientManager *cm, const identifier_entry &entry) const =0 |
| Save an identifier. | |
| virtual operation_result | delete_identifier (ClientManager *cm, const boost::uuids::uuid &id) const =0 |
| Delete an identifier. | |
| virtual load_contacts_result | load_contacts (ClientManager *cm, const boost::uuids::uuid &entity_id) const =0 |
| Load contacts for a specific entity. | |
| virtual operation_result | save_contact (ClientManager *cm, const contact_entry &entry) const =0 |
| Save a contact. | |
| virtual operation_result | delete_contact (ClientManager *cm, const boost::uuids::uuid &id) const =0 |
| Delete a contact. | |
Interface for entity-specific operations in the detail dialog.
Abstracts the differences between party and counterparty protocol messages, allowing the EntityDetailDialog to share all UI code. Implementations are synchronous and intended to be called from QtConcurrent::run.
|
pure virtual |
Display name for the entity type (e.g. "Party", "Counterparty").
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Whether this entity type has a party_category field.
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Save the entity via protocol messages.
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Delete the entity via protocol messages.
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Load all entities for parent combo and hierarchy tree.
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Load identifiers for a specific entity.
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Save an identifier.
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Delete an identifier.
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Load contacts for a specific entity.
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Save a contact.
Implemented in counterparty_detail_operations, and party_detail_operations.
|
pure virtual |
Delete a contact.
Implemented in counterparty_detail_operations, and party_detail_operations.