Class ExportXMLRunnerHandler
Can be used in a IQueryRunnerStep as a handler for exporting xml config
Implements
Inherited Members
Namespace: LemonEdge.API.Core.Reporting.Queries
Assembly: LemonEdge.API.dll
Syntax
public class ExportXMLRunnerHandler : IQueryRunnerHandler
Constructors
ExportXMLRunnerHandler()
Declaration
public ExportXMLRunnerHandler()
Fields
PARAM_ID_NAME
Declaration
public const string PARAM_ID_NAME = "@ID"
Field Value
| Type | Description |
|---|---|
| string |
PARAM_TYPE_NAME
Declaration
public const string PARAM_TYPE_NAME = "@TYPE"
Field Value
| Type | Description |
|---|---|
| string |
UNIQUEID
Declaration
public const string UNIQUEID = "BE05E538-EA64-48DF-8CC3-1BED1C7DA42F"
Field Value
| Type | Description |
|---|---|
| string |
Properties
CustomHandlerInstanceItems
A list of custom instances that can be used by this handler
Declaration
public IEnumerable<KeyValuePair<Guid, string>> CustomHandlerInstanceItems { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<KeyValuePair<Guid, string>> |
HandlerName
The user friendly name for this type of query runner handler
Declaration
public string HandlerName { get; }
Property Value
| Type | Description |
|---|---|
| string |
QueryRunnerHandlerTypeID
The unique type of this handler. Can be a TypeID of the entity that can be used in a IQueryRunnerStep, or a unique id if no instance is required
Declaration
public Guid QueryRunnerHandlerTypeID { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
RequiresHandlerInstance
Indicates the type of instance required for use by this handler.
None indicates none, Entity indicates an instance of an entity of type QueryRunnerHandlerTypeID, and custom indicates an instance from CustomHandlerInstanceItems
Declaration
public QueryRunnerHandlerInstanceType RequiresHandlerInstance { get; }
Property Value
| Type | Description |
|---|---|
| QueryRunnerHandlerInstanceType |
SettingsType
Declaration
public Type SettingsType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Methods
GetParameters(Guid?, UserInfo, IReadOnlyCache, IEntityUpdater)
Returns all the parameters for deleting an item, the TypeID, and ID
Declaration
public Task<IEnumerable<ISQLTypeWrapper>> GetParameters(Guid? forHandlerID, UserInfo user, IReadOnlyCache cache, IEntityUpdater updater)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid? | forHandlerID | The id of the instance, which should always be null for an entity delete |
| UserInfo | user | The logged in user this is running for |
| IReadOnlyCache | cache | A local cache |
| IEntityUpdater | updater | A context for fetching items |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<ISQLTypeWrapper>> | All the parameters for identifying the item to delete |