new Report()
Create a new instance of Report
- Source:
- Report/Report.js, line 35
- See:
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 |
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:
- Report/Report.js, line 95
- 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:
- 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 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:
- Report/Report.js, line 144
- See: