![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Abstract base class for commands executing a report. More...
Public Member Functions | |
| ExecuteReport (ReportNode Report) | |
| Abstract base class for commands executing a report. More... | |
| virtual Task< string > | GetNameAsync (Language Language) |
| Gets the displayable name of the command. More... | |
| Task< string > | GetConfirmationStringAsync (Language Language) |
| Gets a confirmation string, if any, of the command. If no confirmation is necessary, null, or the empty string can be returned. More... | |
| Task< string > | GetFailureStringAsync (Language Language) |
| Gets a failure string, if any, of the command. If no specific failure string is available, null, or the empty string can be returned. More... | |
| Task< string > | GetSuccessStringAsync (Language Language) |
| Gets a success string, if any, of the command. If no specific success string is available, null, or the empty string can be returned. More... | |
| async Task< bool > | CanExecuteAsync (RequestOrigin Caller) |
| If the command can be executed by the caller. More... | |
| Task | ExecuteCommandAsync () |
| Executes the command. More... | |
| abstract Task | StartQueryExecutionAsync (Query Query, Language Language) |
| Starts the execution of a query. More... | |
| abstract ICommand | Copy () |
| Creates a copy of the command object. More... | |
Properties | |
| ReportNode | Report [get] |
| Report node. More... | |
| string | CommandID [get] |
| ID of command. More... | |
| CommandType | Type [get] |
| Type of command. More... | |
| string | SortCategory [get] |
| Sort Category, if available. More... | |
| string | SortKey [get] |
| Sort Key, if available. More... | |
Abstract base class for commands executing a report.
Definition at line 12 of file ExecuteReport.cs.
| Waher.Reports.ExecuteReport.ExecuteReport | ( | ReportNode | Report | ) |
Abstract base class for commands executing a report.
| Report | Report node. |
Definition at line 20 of file ExecuteReport.cs.
| async Task< bool > Waher.Reports.ExecuteReport.CanExecuteAsync | ( | RequestOrigin | Caller | ) |
If the command can be executed by the caller.
| Caller | Information about caller. |
Implements Waher.Things.ICommand.
Definition at line 82 of file ExecuteReport.cs.
|
pure virtual |
Creates a copy of the command object.
Implements Waher.Things.ICommand.
Implemented in Waher.Service.IoTBroker.Sources.Reports.Events.Commands.EventStatisticsCommand, Waher.Service.IoTBroker.Sources.Reports.Events.Commands.SearchEventsCommand, Waher.Service.IoTBroker.Sources.Reports.Performance.Commands.LockedObjectsCommand, Waher.Service.IoTBroker.Sources.Reports.Performance.Commands.SampleStatisticsCommand, Waher.Service.IoTBroker.Sources.Reports.Protocols.Commands.HttpStatisticsCommand, Waher.Service.IoTBroker.Sources.Reports.Protocols.Commands.XmppStatisticsCommand, and Waher.Reports.Files.Commands.ExecuteReportFileCommand.
| Task Waher.Reports.ExecuteReport.ExecuteCommandAsync | ( | ) |
Executes the command.
Implements Waher.Things.ICommand.
Definition at line 90 of file ExecuteReport.cs.
| Task< string > Waher.Reports.ExecuteReport.GetConfirmationStringAsync | ( | Language | Language | ) |
Gets a confirmation string, if any, of the command. If no confirmation is necessary, null, or the empty string can be returned.
| Language | Language to use. |
Implements Waher.Things.ICommand.
| Task< string > Waher.Reports.ExecuteReport.GetFailureStringAsync | ( | Language | Language | ) |
Gets a failure string, if any, of the command. If no specific failure string is available, null, or the empty string can be returned.
| Language | Language to use. |
Implements Waher.Things.ICommand.
|
virtual |
Gets the displayable name of the command.
| Language | Language to use. |
Implements Waher.Things.ICommand.
Reimplemented in Waher.Service.IoTBroker.Sources.Reports.Events.Commands.EventStatisticsCommand, Waher.Service.IoTBroker.Sources.Reports.Events.Commands.SearchEventsCommand, Waher.Service.IoTBroker.Sources.Reports.Performance.Commands.LockedObjectsCommand, Waher.Service.IoTBroker.Sources.Reports.Performance.Commands.SampleStatisticsCommand, Waher.Service.IoTBroker.Sources.Reports.Protocols.Commands.HttpStatisticsCommand, and Waher.Service.IoTBroker.Sources.Reports.Protocols.Commands.XmppStatisticsCommand.
Definition at line 54 of file ExecuteReport.cs.
| Task< string > Waher.Reports.ExecuteReport.GetSuccessStringAsync | ( | Language | Language | ) |
Gets a success string, if any, of the command. If no specific success string is available, null, or the empty string can be returned.
| Language | Language to use. |
Implements Waher.Things.ICommand.
|
pure virtual |
Starts the execution of a query.
| Query | Query data receptor. |
| Language | Language to use. |
Implements Waher.Things.ICommand.
Implemented in Waher.Service.IoTBroker.Sources.Reports.Events.Commands.EventStatisticsCommand, Waher.Service.IoTBroker.Sources.Reports.Events.Commands.SearchEventsCommand, Waher.Service.IoTBroker.Sources.Reports.Performance.Commands.LockedObjectsCommand, Waher.Service.IoTBroker.Sources.Reports.Performance.Commands.SampleStatisticsCommand, Waher.Service.IoTBroker.Sources.Reports.Protocols.Commands.HttpStatisticsCommand, Waher.Service.IoTBroker.Sources.Reports.Protocols.Commands.XmppStatisticsCommand, and Waher.Reports.Files.Commands.ExecuteReportFileCommand.
|
get |
|
get |
Report node.
Definition at line 28 of file ExecuteReport.cs.
|
get |
Sort Category, if available.
Implements Waher.Things.ICommand.
Definition at line 43 of file ExecuteReport.cs.
|
get |
Sort Key, if available.
Implements Waher.Things.ICommand.
Definition at line 48 of file ExecuteReport.cs.
|
get |