Skip to content

Class: Report

Report

new Report()

Create a new instance of Report

Properties:

Name Type Description
content String The base64 report content
title String The report title
published Date The date published
reportFilters Array Array of the report filters
reportColumns Array Array of the report Columns
currentUser Object The current user of the report
project Object The report's project
paginatedDetailUrl String The url of the paginated Detail

Source: Report/Report.js, line 35

See:


Methods

create()

Create a new report.

Parameters:

Name Type Description
options.onSuccess Resource~onSuccess a callback function called in case of a success
options.onFailure Resource~onFailure a callback function called in case of a failure
options.baseUrl String base URL. If not set the current base URL will be used

Source: Report/Report.js, line 95

See:


generate_xml()

generate xml to create/update

Parameters:

Name Type Description
options.baseUrl String base URL. If not set the current base URL will be used

Source: Report/Report.js, line 226

See:


generateUrl()

Overrides Resource's generateUrl method to return the request url

Source: Report/Report.js, line 62

See:


loadPreset()

Overrides Resource's loadPreset method.

Source: Report/Report.js, line 56

See:


loadSet(rObject)

Overrides Resource's loadSet method to set local variables after request.

Parameters:

Name Type Description
rObject json JSON representation of the loaded data.

Source: Report/Report.js, line 72

See:


update()

Update a new Report.

Parameters:

Name Type Description
options.onSuccess Resource~onSuccess a callback function called in case of a success
options.onFailure Resource~onFailure a callback function called in case of a failure
options.baseUrl String base URL. If not set the current base URL will be used

Source: Report/Report.js, line 144

See: