|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
org.torweg.pulse.component.statistics.user.UserStatisticsController
org.torweg.pulse.component.statistics.user.UserStatisticsGFXController
org.torweg.pulse.component.statistics.user.UserStatisticsPDFController
public class UserStatisticsPDFController
Extends the UserStatisticsGFXController by reporting functionality
(creates a PDF).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Field Summary |
|---|
| Fields inherited from class org.torweg.pulse.component.statistics.user.UserStatisticsController |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
UserStatisticsPDFController()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createUserStatisticsPDF(ServiceRequest request)
Returns a PNG - the year chart for the users. |
| Methods inherited from class org.torweg.pulse.component.statistics.user.UserStatisticsGFXController |
|---|
buildMonthChart, buildYearChart, loadMonthChart, loadYearChart |
| Methods inherited from class org.torweg.pulse.component.statistics.user.UserStatisticsController |
|---|
buildInitialisationResult, getConfiguration, initialize, initUserStatistics, loadMonthTotals, loadTotal, loadYearTotals |
| Methods inherited from class org.torweg.pulse.bundle.Controller |
|---|
getAlwaysRun, isAlwaysRun, setAlwaysRun |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserStatisticsPDFController()
| Method Detail |
|---|
@RequireToken @Action(value="createUserStatisticsPDF", generate=true) @Permission(value="createUserStatisticsPDF") @Groups(values="Admin.Report.User.Statistics") public final java.lang.Object createUserStatisticsPDF(ServiceRequest request)
The PNG will be rendered with a default height 600px and width of 800px unless request parameters height and/or width are specified.
| request parameter name | description | required | default |
|---|---|---|---|
year |
the year to start from (e.g. 2000 will produce chart for all Users created created from 2000 until now) |
false | as configured |
months |
number of months to go back from current | false | as configured |
request - the current ServiceRequest
PDFOutputEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||