public interface ReportingManagerInterface
Modifier and Type | Field and Description |
---|---|
static short |
ARCH_FULL_RIGHTS
Specifies ARCH_FULL_RIGHTS code.
|
static short |
ARCH_MODIFY_RIGHTS
Specifies ARCH_MODIFY_RIGHTS code.
|
static short |
ARCH_VIEW_RIGHTS
Specifies ARCH_VIEW_RIGHTS code.
|
static java.lang.String |
CP_MARGIN_BOTTOM_NO
Specifies bottom margin parameter code.
|
static java.lang.String |
CP_MARGIN_LEFT_NO
Specifies left margin parameter code.
|
static java.lang.String |
CP_MARGIN_RIGHT_NO
Specifies right margin parameter code.
|
static java.lang.String |
CP_MARGIN_TOP_NO
Specifies top margin parameter code.
|
static java.lang.String |
CP_MEASURE_NO
Specifies units of measurements parameter code.
|
static java.lang.String |
CP_PAGE_HEIGHT_NO
Specifies page height parameter code.
|
static java.lang.String |
CP_PAGE_SIZE_A4_CD
Specifies A4 paper code.
|
static java.lang.String |
CP_PAGE_SIZE_CD
Specifies page size parameter code.
|
static java.lang.String |
CP_PAGE_SIZE_CUSTOM_CD
Specifies Custom paper code.
|
static java.lang.String |
CP_PAGE_SIZE_LETTER_CD
Specifies Letter paper code.
|
static java.lang.String |
CP_PAGE_WIDTH_NO
Specifies page width parameter code.
|
static int |
CP_UNITS_OF_MEASURE_METRIC
Specifies metric units of measurement code.
|
static int |
CP_UNITS_OF_MEASURE_US
Specifies US units of measurement code.
|
static java.lang.String |
DFLT_FONT_NAME
Specifies system default font name.
|
static short |
NO_ARCH_RIGHTS
Specifies NO_ARCH_RIGHTS code.
|
static short |
NO_COST_SUPP_RIGHTS
Specifies NO_COST_SUPP_RIGHTS code.
|
static short |
NO_LABOR_SUPP_RIGHTS
Specifies NO_LABOR_SUPP_RIGHTS code.
|
static short |
NO_ORG_SEC_RIGHTS
Specifies NO_ORG_SEC_RIGHTS code.
|
static short |
NO_PRICE_SUPP_RIGHTS
Specifies NO_PRICE_SUPP_RIGHTS code.
|
static short |
NO_SSN_SUPP_RIGHTS
Specifies NO_SSN_SUPP_RIGHTS code.
|
static short |
NO_SUCH_ARCHIVE
Specifies NO_SUCH_ARCHIVE code.
|
static java.lang.String |
USA_LOCALE
Specifies US locale.
|
Modifier and Type | Method and Description |
---|---|
boolean |
archiveExists(java.lang.String name)
Tests whether archived report exists.
|
boolean |
canModifyArchive(java.lang.String archiveId,
ResultSetInterface rs,
boolean addMessage)
Check whether expiration policy of archived report can be modified.
|
boolean |
canViewArchive(java.lang.String archiveId,
ResultSetInterface rs,
boolean addMessage)
Check whether archived report can be viewed.
|
short |
checkUserArchiveRights(java.lang.String archiveId,
AppInterface app)
Checks whether archived report can be accessed by a user.
|
void |
deleteArchive(java.lang.String name)
Deletes archived report.
|
void |
deleteReport(java.lang.String name)
Deletes a report.
|
PrinterInterface |
getDefaultPrinter()
Returns default printer.
|
java.util.List<PrinterInterface> |
getListOfPrinters()
Returns list of printers.
|
java.util.List<java.lang.String> |
getListOfSystemFonts()
Returns list of available fonts
|
PrinterInterface |
getPrinter(java.lang.String id)
Returns printer.
|
java.lang.String |
getSystemDfltFont(AppInterface app)
Returns system default font.
|
boolean |
reportExists(java.lang.String name)
Tests whether report exists.
|
void |
startArchive()
Starts achive/cleanup utility.
|
static final java.lang.String USA_LOCALE
static final short NO_SUCH_ARCHIVE
static final short NO_LABOR_SUPP_RIGHTS
static final short NO_COST_SUPP_RIGHTS
static final short NO_PRICE_SUPP_RIGHTS
static final short NO_SSN_SUPP_RIGHTS
static final short NO_ORG_SEC_RIGHTS
static final short NO_ARCH_RIGHTS
static final short ARCH_VIEW_RIGHTS
static final short ARCH_MODIFY_RIGHTS
static final short ARCH_FULL_RIGHTS
static final java.lang.String DFLT_FONT_NAME
static final int CP_UNITS_OF_MEASURE_US
static final int CP_UNITS_OF_MEASURE_METRIC
static final java.lang.String CP_PAGE_SIZE_LETTER_CD
static final java.lang.String CP_PAGE_SIZE_A4_CD
static final java.lang.String CP_PAGE_SIZE_CUSTOM_CD
static final java.lang.String CP_PAGE_SIZE_CD
static final java.lang.String CP_MEASURE_NO
static final java.lang.String CP_PAGE_HEIGHT_NO
static final java.lang.String CP_PAGE_WIDTH_NO
static final java.lang.String CP_MARGIN_LEFT_NO
static final java.lang.String CP_MARGIN_RIGHT_NO
static final java.lang.String CP_MARGIN_BOTTOM_NO
static final java.lang.String CP_MARGIN_TOP_NO
boolean reportExists(java.lang.String name) throws DEException
name
- String report name.DEException
- thrown due to system error.boolean archiveExists(java.lang.String name) throws DEException
name
- String archived report name.DEException
- thrown due to system error.java.util.List<PrinterInterface> getListOfPrinters() throws DEException
DEException
- thrown if an error occured.PrinterInterface getDefaultPrinter() throws DEException
DEException
- thrown if an error occured.PrinterInterface getPrinter(java.lang.String id) throws DEException
id
- printer ID.DEException
- thrown if an error occured.void startArchive() throws DEException
DEException
- thrown if an error occured.void deleteReport(java.lang.String name) throws DEException
name
- report name.DEException
- thrown if an error occured.void deleteArchive(java.lang.String name) throws DEException
name
- report name.DEException
- thrown if an error occured.short checkUserArchiveRights(java.lang.String archiveId, AppInterface app) throws DEException
archiveId
- archived report ID.app
- application.DEException
- thrown if an error occured.boolean canViewArchive(java.lang.String archiveId, ResultSetInterface rs, boolean addMessage) throws DEException
archiveId
- archived report ID.rs
- results set.addMessage
- if true and no rights error message will be added.DEException
- thrown if an error occured.boolean canModifyArchive(java.lang.String archiveId, ResultSetInterface rs, boolean addMessage) throws DEException
archiveId
- archived report ID.rs
- results set.addMessage
- if true and no rights error message will be added.DEException
- thrown if an error occured.java.lang.String getSystemDfltFont(AppInterface app) throws DEException
app
- application settings.DEException
- thrown if an error occured.java.util.List<java.lang.String> getListOfSystemFonts() throws DEException
DEException
- thrown if an error occured.