Interface IReportDesignerController
The interface IReportDesignerController has the declaration of action methods that are defined in Web API Controller for report processing.
Inherited Members
Namespace: BoldReports.Web.ReportDesigner
Assembly: BoldReports.Web.dll
Syntax
public interface IReportDesignerController : IReportController
Methods
GetData(String, String)
Gets the resource from storage location.
Declaration
ResourceInfo GetData(string key, string itemId)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The unique key for request identification. |
System.String | itemId | The unique key to get the required resource. |
Returns
Type | Description |
---|---|
ResourceInfo | Returns the resource data and error message, ResourceInfo. |
GetImage(String, String)
Action (HttpGet) method for getting resource of images in the report.
Declaration
object GetImage(string key, string image)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The unique key for request identification. |
System.String | image | The name of requested image. |
Returns
Type | Description |
---|---|
System.Object | Returns the image as HttpResponseMessage content. |
PostDesignerAction(Dictionary<String, Object>)
Action (HttpPost) method for posting the request for designer actions.
Declaration
object PostDesignerAction(Dictionary<string, object> jsonResult)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | jsonResult | A collection of keys and values to process the designer request. |
Returns
Type | Description |
---|---|
System.Object | Json result for the current request. |
PostFormDesignerAction()
Action (HttpPost) method for posting the request for designer actions.
Declaration
object PostFormDesignerAction()
Returns
Type | Description |
---|---|
System.Object | Json result for the current request. |
SetData(String, String, ItemInfo, out String)
Sets the resource into storage location.
Declaration
bool SetData(string key, string itemId, ItemInfo itemData, out string errMsg)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The unique key for request identification. |
System.String | itemId | The unique key to get the required resource. |
ItemInfo | itemData | Contains the resource data, ItemInfo |
System.String | errMsg | Returns the error message, if the write action is failed. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true, if resource is successfully written into storage location. |
UploadReportAction()
Action (HttpPost) method for posted or uploaded file actions.
Declaration
void UploadReportAction()