Miner.Responder.Framework.Requests Namespace : DashboardRequest Class |
'Declaration
<UseQueryServicesAttribute()> <System.SerializableAttribute()> Public Class DashboardRequest Inherits Miner.Responder.Shared.Requests.RequestedDataSetMixin Implements Miner.Responder.Shared.IDataRequest
'Usage
Dim instance As DashboardRequest
[UseQueryServices()] [System.Serializable()] public class DashboardRequest : Miner.Responder.Shared.Requests.RequestedDataSetMixin, Miner.Responder.Shared.IDataRequest
public class DashboardRequest = class(Miner.Responder.Shared.Requests.RequestedDataSetMixin, Miner.Responder.Shared.IDataRequest)
UseQueryServicesAttribute() System.SerializableAttribute() public class DashboardRequest extends Miner.Responder.Shared.Requests.RequestedDataSetMixin implements Miner.Responder.Shared.IDataRequest
[UseQueryServices()] [System.Serializable()] public __gc class DashboardRequest : public Miner.Responder.Shared.Requests.RequestedDataSetMixin, Miner.Responder.Shared.IDataRequest
[UseQueryServices()] [System.Serializable()] public ref class DashboardRequest : public Miner.Responder.Shared.Requests.RequestedDataSetMixin, Miner.Responder.Shared.IDataRequest
This request object was created to support the retrieval of data for the Responder Web dashboard. There are a number of different sets of data that are required (e.g. data for Crews, Customers, Incidents, etc). The only difference in the request operation for each case is the specific data that needs to be retrieved - i.e. the queries that must be performed. Therefore, this single request can handle all of the different requests required provided it can determine which set of queries are required. One design option would be to have the client supply the queries which it needs. This has two drawbacks: first, the client must know the arrangement of the database data, and, second, passing the query over the network allows injection of harmful database update operations. Instead, each set of queries required is stored on the limited-access middle-tier server and each set is given a unique name which is used by the client to specify which set of queries should be performed. For out-of-the-box dashboard items, the queries are hardcoded into this request object. To allow customization, future queries can be configured in an XML file and this request object will read that file to locate the queries to perform. This customization option has not yet been implemented.
System.Object
Miner.Responder.Shared.Requests.RequestedDataSetMixin
Miner.Responder.Framework.Requests.DashboardRequest
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2