Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Reports.ExecuteReport Class Referenceabstract

Abstract base class for commands executing a report. More...

Inheritance diagram for Waher.Reports.ExecuteReport:
Waher.Things.ICommand Waher.Reports.Files.Commands.ExecuteReportFileCommand Waher.Service.IoTBroker.Sources.Reports.ExecuteServerAdminReport 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

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...
 

Detailed Description

Abstract base class for commands executing a report.

Definition at line 12 of file ExecuteReport.cs.

Constructor & Destructor Documentation

◆ ExecuteReport()

Waher.Reports.ExecuteReport.ExecuteReport ( ReportNode  Report)

Abstract base class for commands executing a report.

Parameters
ReportReport node.

Definition at line 20 of file ExecuteReport.cs.

Member Function Documentation

◆ CanExecuteAsync()

async Task< bool > Waher.Reports.ExecuteReport.CanExecuteAsync ( RequestOrigin  Caller)

If the command can be executed by the caller.

Parameters
CallerInformation about caller.
Returns
If the command can be executed by the caller.

Implements Waher.Things.ICommand.

Definition at line 82 of file ExecuteReport.cs.

◆ Copy()

◆ ExecuteCommandAsync()

Task Waher.Reports.ExecuteReport.ExecuteCommandAsync ( )

Executes the command.

Implements Waher.Things.ICommand.

Definition at line 90 of file ExecuteReport.cs.

◆ GetConfirmationStringAsync()

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.

Parameters
LanguageLanguage to use.

Implements Waher.Things.ICommand.

◆ GetFailureStringAsync()

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.

Parameters
LanguageLanguage to use.

Implements Waher.Things.ICommand.

◆ GetNameAsync()

◆ GetSuccessStringAsync()

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.

Parameters
LanguageLanguage to use.

Implements Waher.Things.ICommand.

◆ StartQueryExecutionAsync()

Property Documentation

◆ CommandID

string Waher.Reports.ExecuteReport.CommandID
get

ID of command.

Implements Waher.Things.ICommand.

Definition at line 33 of file ExecuteReport.cs.

◆ Report

ReportNode Waher.Reports.ExecuteReport.Report
get

Report node.

Definition at line 28 of file ExecuteReport.cs.

◆ SortCategory

string Waher.Reports.ExecuteReport.SortCategory
get

Sort Category, if available.

Implements Waher.Things.ICommand.

Definition at line 43 of file ExecuteReport.cs.

◆ SortKey

string Waher.Reports.ExecuteReport.SortKey
get

Sort Key, if available.

Implements Waher.Things.ICommand.

Definition at line 48 of file ExecuteReport.cs.

◆ Type

CommandType Waher.Reports.ExecuteReport.Type
get

Type of command.

Implements Waher.Things.ICommand.

Definition at line 38 of file ExecuteReport.cs.


The documentation for this class was generated from the following file: