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:
See:

Methods

create()

Create a new report.
Parameters:
Name Type Argument Description
options.onSuccess Resource~onSuccess a callback function called in case of a success
options.onFailure Resource~onFailure <optional>
a callback function called in case of a failure
options.baseUrl String <optional>
base URL. If not set the current base URL will be used
Source:
See:

generate_xml()

generate xml to create/update
Parameters:
Name Type Argument Description
options.baseUrl String <optional>
base URL. If not set the current base URL will be used
Source:
See:

generateUrl()

Overrides Resource's generateUrl method to return the request url
Source:
See:

loadPreset()

Overrides Resource's loadPreset method.
Source:
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:
See:

update()

Update a new Report.
Parameters:
Name Type Argument Description
options.onSuccess Resource~onSuccess a callback function called in case of a success
options.onFailure Resource~onFailure <optional>
a callback function called in case of a failure
options.baseUrl String <optional>
base URL. If not set the current base URL will be used
Source:
See: