Table of Contents

Class ReportService

Namespace
Dynamicweb.Tracking.Reporting
Assembly
Dynamicweb.Tracking.dll
The ReportService class providing methods for querying and saving The Report Aggregate to and from persistence.
public class ReportService
Inheritance
ReportService
Inherited Members

Constructors

ReportService()

Initializes a new instance of the ReportService class.
public ReportService()

ReportService(string)

Initializes a new instance of the ReportService class.
public ReportService(string folder)

Parameters

folder string
The folder.

Methods

Delete(string)

Delete report
public void Delete(string name)

Parameters

name string

GetAll()

Gets all reports
public IEnumerable<Report> GetAll()

Returns

IEnumerable<Report>

GetByName(string)

Gets by name
public Report GetByName(string name)

Parameters

name string

Returns

Report
The analytic report

GetCampaigns()

Gets the campaigns.
public Dictionary<string, long> GetCampaigns()

Returns

Dictionary<string, long>

GetData(ReportQuery)

Gets the data.
public DataCollection GetData(ReportQuery query)

Parameters

query ReportQuery
The query.

Returns

DataCollection

GetReportData(Report)

Get report data
public DataCollection GetReportData(Report report)

Parameters

report Report

Returns

DataCollection

GetSourceMediums()

Gets the source mediums.
public Dictionary<string, long> GetSourceMediums()

Returns

Dictionary<string, long>

GetSourceNames()

Gets the source names.
public Dictionary<string, long> GetSourceNames()

Returns

Dictionary<string, long>

GetSourceTerm()

Gets the source terms.
public Dictionary<string, long> GetSourceTerm()

Returns

Dictionary<string, long>

GetSubFolders()

Gets sub folders
public IEnumerable<string> GetSubFolders()

Returns

IEnumerable<string>

IsExist(string)

Is report with such name exist
public bool IsExist(string name)

Parameters

name string

Returns

bool

IsValidName(string)

Is report name valid
public bool IsValidName(string name)

Parameters

name string

Returns

bool

Save(Report)

Saves the specified report
public void Save(Report report)

Parameters

report Report
The analytic report
To top