Method Summary |
|
public ReportTO | add(byte[] content, String description) Adds the specified report to the system. |
public boolean | canOperate() Checks if the current user has permissions to operate reports or not. |
public boolean | canReview() Checks if the current user has permissions to review reports or not. |
public boolean | delete(String name) Deletes the specified report. |
public boolean | exists(String name) Checks if the specified report exists or not.
Parameters: name - is a report name to check. |
public ReportTO | get(String name) Retrieves a report by specified name.
Parameters: name - is a report name to retrieve. |
public ReportTO[] | getAll() Retrieves all reports. |
public byte[] | getContent(String name) Retrieves content of specified report.
Parameters: name - is a report name to retrieve content. |
public String | getFilename(String name) Retrieves attachment filename.
Parameters: name - is a report name to get its attachment filename. |