Class QbSchedulePackage
java.lang.Object
quadbase.reportorganizer.organizerAPI.QbSchedulePackage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOne of the constants returned by the method getEmailType() that specifies an email type.static final intOne of the constants returned by the method getEmailType() that specifies an email type.static final intDeprecated.Useruntime variable instead static final intOne of the constants returned by the method getIntervalType() that specifies export time interval.static final intOne of the constants returned by the method getTaskOption() that specifies a type of task.static final intOne of the constants returned by the method getIntervalType() that specifies export time interval.static final intOne of the constants returned by the method getEmailType() that specifies an email type.static final intOne of the constants returned by the method getTaskOption() that specifies a type of task.static final intOne of the constants returned by the method getPNGCompression() that specifies png compression.static final intOne of the constants returned by the method getPNGCompression() that specifies png compression.static final intOne of the constants returned by the method getPNGCompression() that specifies png compression.static final intOne of the constants returned by the method getPNGCompression() that specifies png compression.static final intOne of the constants returned by the method getIntervalType() that specifies export time interval.static final intOne of the constants returned by the method getTaskOption() that specifies a type of task. -
Constructor Summary
ConstructorsConstructorDescriptionQbSchedulePackage(String name, QbOrganizer organizer) QbSchedulePackage(quadbase.reportorganizer.data.SchedulePackage schedulePackage) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanremove schedule job from the queuereturns Vector of all QbScheduleObjects in this packageFor Email feature: returns the body text of the emailintreturns exported chart type: IExportConstants.JPEG, IExportConstants.GIF, IExportConstants.PNG...intif task option is TIME_INTERVAL: returns day interval in daysintFor Email feature: returns email type: ASATTACHMENT/ ASLINK/ ASHTMLlongif task option is TIME_INTERVAL / FIXEDDAYS: if endDate = -1, it runs indefinitely returns end date for scheduled eventintreturns end time for daily frequency featurelongFor DHTML export: Specifies the external style sheet file used for DHTML export returns the name of the external style sheetFor Fail Job Email feature: returns the body text of the emailFor Fail Job Email feature: returns the subject of the emailFor Fail Job Email feature: returns receivers' email addressesFor Email feature: returns sender email addressreturns FTP file pathreturns FTP hostreturns FTP passwordreturns FTP user nameintreturns exported image heightintreturns exported image widthintif task option is TIME_INTERVAL: returns export time interval: TIME/ DAYS/ MONTHSintreturns JPEG file qualityintif task option is TIME_INTERVAL: returns month interval in monthsgetName()intlongreturn next export time in millisecondFor PDF export: returns the PDF owner passwordFor PDF export: returns the PDF user passwordintreturns PNG compressionintPRINTING: get "from" pageintPRINTING: get "to" pageintreturns exported report type: IExportConstants.PDF, IExportConstants.DHTML, IExportConstants.HTML...getScheduleObjectById(int scheduleId) returns selected printerint[]if task option is FIXEDDAYS: returns export file datesint[]if task option is FIXEDDAYS: returns export file daysint[]if task option is FIXEDDAYS: returns export file time in minute for daily frequency featurelongreturns start date for scheduled eventlongintreturns start time for daily frequency featureFor Email feature: returns the subject of the emailintreturns task option: ONE_TIME - export once TIME_INTERVAL - export report after certain time interval FIXEDDAYS - only export report in certain fixed days/ datesintFor TXT and CSV export: returns the text delimiter: IDelimiterConstants.TAB, IDelimiterConstanst.SPACE, IDelimiterConstant.COMMA...intif task option is TIME_INTERVAL: returns time interval in minsbooleanreturns whether it is archive jobbooleanFor PDF export: returns whether use encoding for DFT exportbooleanDHTML/ HTML option: returns whether export report to multi-pagesbooleanFor DHTML/ HTML export: export return in one single page with pagination returns state of exporting report to single page with paginationbooleanbooleanreturns whether the gif file export contains transparent backgroundbooleanDHTML/ HTML option: returns whether using optimize memory exportbooleanbooleanreturns whether using printer deliverybooleanFor Email feature: returns whether email notification/delivery is used for the exported reportbooleanreturns whether timestamp is attached to export locationbooleanFor DHTML export: returns whether use external style sheet for DHTML exportbooleanFor DHTML export: returns whether use internal style sheet for DHTML exportvoidvoidsetArchive(boolean isArchive) set archive jobvoidsetBodyText(String bodyText) For Email feature: specifies the body text of the emailvoidsetChartExportType(int type) specifies exported chart type: IExportConstants.JPEG, IExportConstants.GIF, IExportConstants.PNG...voidsetDayInterval(int dayInterval) if task option is TIME_INTERVAL: specifies day interval in minsvoidsetEmailType(int emailType) For Email feature: specifies email type: ASATTACHMENT/ ASLINK/ ASHTML for package object, it only supports ASATTACHMENT/ ASLINKvoidsetEncodePdf(boolean isEncodePdf) For PDF export: specifies whether use encoding for PDF exportvoidsetEndDate(long endDate) if task option is TIME_INTERVAL / FIXEDDAYS: if endDate = -1, it runs indefinitely specifies end date in millis second for scheduled eventvoidsetEndTime(int endTime) if task option is FIXEDDAYS: specifies end time for daily frequency featurevoidsetExportTime(long exportTime) voidsetExportToMultiPages(boolean exportToMultiPages) DHTML/ HTML option: specifies whether export report to multi-pagesvoidsetExportToSingleWPagination(boolean isExportToSingleWPagination) For DHTML/ HTML export: export return in one single page with pagination specifies state of exporting report to single page with paginationvoidsetExternalStyleSheetName(String externalStyleSheetName) For DHTML export: Specifies the external style sheet file used for DHTML exportvoidsetFailBodyText(String failBodyText) For Fail Job Email feature: specifies the body text of the emailvoidsetFailSubject(String failSubject) For Fail Job Email feature: specifies the subject of the emailvoidsetFailToAddress(String failToAddress) For Fail Job Email feature: specifies recievers' email addressesvoidsetFromAddress(String fromAddress) For Email feature: specifies sender email addressvoidsetFtpDelivery(boolean ftpDelivery) using FTP deliveryvoidsetFtpFilePath(String ftpFilePath) set FTP file pathvoidsetFtpHost(String ftpHost) set FTP hostvoidsetFtpPassword(String ftpPassword) set FTP passwordvoidsetFtpUserName(String ftpUserName) set FTP user namevoidsetGifTransparent(boolean gifTransparent) using transparent background for GIF exportvoidsetImageHeight(int imageHeight) set exported image heightvoidsetImageWidth(int imageWidth) set exported image widthvoidsetIntervalType(int intervalType) if task option is TIME_INTERVAL: specifies export time interval: TIME/ DAYS/ MONTHSvoidsetJpegQuality(int jpegQuality) set JPEG qualityvoidsetMemoryOptimized(boolean memoryOptimized) report export option: specifies whether using optimize memory exportvoidsetMonthInterval(int monthInterval) if task option is TIME_INTERVAL: specifies month interval in minsvoidvoidsetNewLineDelimiter(int newLineDelimiter) voidsetPdfOwnerPassword(String pdfOwnerPassword) For PDF export: specifies the PDF owner passwordvoidsetPdfUserPassword(String pdfUserPassword) For PDF export: specifies the PDF user passwordvoidsetPngCompression(int pngCompression) set PNG compressionvoidsetPrinterDelivery(boolean printerDelivery) using printer deliveryvoidsetPrintFromPage(int printFromPage) PRINTING: set "from" pagevoidsetPrintToPage(int printToPage) PRINTING: set "to" pagevoidsetReportExportType(int reportExportType) voidsetSelectedPrinter(String selectedPrinter) set selected printervoidsetSendEmail(boolean sendEmail) For Email feature: specifies whether email notification/delivery is used for the exported reportvoidsetSpecifyDates(int[] dates) if task option is FIXEDDAYS: specifies export file datesvoidsetSpecifyDays(int[] days) if task option is FIXEDDAYS: specifies export file daysvoidsetSpecifyTime(int[] time) if task option is FIXEDDAYS: specifies export file time in minute for daily frequency featurevoidsetStartDate(long startDate) specifies start date for scheduled eventvoidsetStartExportTime(long startExportTime) voidsetStartTime(int startTime) if task option is FIXEDDAYS: specifies start time for daily frequency featurevoidsetSubject(String subject) For Email feature: specifies the subject of the emailvoidsetTaskOption(int taskOption) specifies task option: ONE_TIME - export once TIME_INTERVAL - export report after certain time interval FIXEDDAYS - only export report in certain fixed days/ datesvoidsetTextDelimiter(int textDelimiter) For TXT and CSV export: specifies the text delimiter: IDelimiterConstants.TAB, IDelimiterConstanst.SPACE, IDelimiterConstant.COMMA...voidsetTimeInterval(int timeInterval) if task option is TIME_INTERVAL: specifies time interval in minsvoidsetTimestampAttached(boolean timestampAttached) specifies whether timestamp is attached to export locationvoidsetUseExternalStyleSheet(boolean isUseExternalStyleSheet) For DHTML export: specifies whether use external style sheet for DHTML exportvoidsetUseInternalStyleSheet(boolean isUseInternalStyleSheet) For DHTML export: specifies whether use internal style sheet for DHTML export
-
Field Details
-
PNG_COMPRESSION_DEFAULT
public static final int PNG_COMPRESSION_DEFAULTOne of the constants returned by the method getPNGCompression() that specifies png compression.- See Also:
-
PNG_COMPRESSION_FAST
public static final int PNG_COMPRESSION_FASTOne of the constants returned by the method getPNGCompression() that specifies png compression.- See Also:
-
PNG_COMPRESSION_MAX
public static final int PNG_COMPRESSION_MAXOne of the constants returned by the method getPNGCompression() that specifies png compression.- See Also:
-
PNG_COMPRESSION_NONE
public static final int PNG_COMPRESSION_NONEOne of the constants returned by the method getPNGCompression() that specifies png compression.- See Also:
-
ASATTACHMENT
public static final int ASATTACHMENTOne of the constants returned by the method getEmailType() that specifies an email type.- See Also:
-
ASLINK
Deprecated.Useruntime variable instead One of the constants returned by the method getEmailType() that specifies an email type.- See Also:
-
ASHTML
public static final int ASHTMLOne of the constants returned by the method getEmailType() that specifies an email type.- See Also:
-
NONE
public static final int NONEOne of the constants returned by the method getEmailType() that specifies an email type.- See Also:
-
ONE_TIME
public static final int ONE_TIMEOne of the constants returned by the method getTaskOption() that specifies a type of task.- See Also:
-
TIME_INTERVAL
public static final int TIME_INTERVALOne of the constants returned by the method getTaskOption() that specifies a type of task.- See Also:
-
FIXED_DAYS
public static final int FIXED_DAYSOne of the constants returned by the method getTaskOption() that specifies a type of task.- See Also:
-
TIME
public static final int TIMEOne of the constants returned by the method getIntervalType() that specifies export time interval.- See Also:
-
DAYS
public static final int DAYSOne of the constants returned by the method getIntervalType() that specifies export time interval.- See Also:
-
MONTHS
public static final int MONTHSOne of the constants returned by the method getIntervalType() that specifies export time interval.- See Also:
-
-
Constructor Details
-
QbSchedulePackage
- Throws:
Exception
-
QbSchedulePackage
public QbSchedulePackage(quadbase.reportorganizer.data.SchedulePackage schedulePackage)
-
-
Method Details
-
addScheduleObject
- Parameters:
QbScheduleObject-
-
removeScheduleObject
- Parameters:
QbScheduleObject-
-
getScheduleObjectById
- Parameters:
scheduleId-- Returns:
-
getAllScheduleObjects
returns Vector of all QbScheduleObjects in this package -
getBodyText
For Email feature: returns the body text of the email -
getDayInterval
public int getDayInterval()if task option is TIME_INTERVAL: returns day interval in days -
getEmailType
public int getEmailType()For Email feature: returns email type: ASATTACHMENT/ ASLINK/ ASHTML -
getEndDate
public long getEndDate()if task option is TIME_INTERVAL / FIXEDDAYS: if endDate = -1, it runs indefinitely returns end date for scheduled event -
getEndTime
public int getEndTime()returns end time for daily frequency feature -
getExportTime
public long getExportTime()- Returns:
- See Also:
-
getExternalStyleSheetName
For DHTML export: Specifies the external style sheet file used for DHTML export returns the name of the external style sheet -
getFailBodyText
For Fail Job Email feature: returns the body text of the email -
getFailSubject
For Fail Job Email feature: returns the subject of the email -
getFailToAddress
For Fail Job Email feature: returns receivers' email addresses -
getFromAddress
For Email feature: returns sender email address -
getFtpFilePath
returns FTP file path -
getFtpHost
returns FTP host -
getFtpPassword
returns FTP password -
getFtpUserName
returns FTP user name -
getChartExportType
public int getChartExportType()returns exported chart type: IExportConstants.JPEG, IExportConstants.GIF, IExportConstants.PNG...- See Also:
-
getImageHeight
public int getImageHeight()returns exported image height -
getImageWidth
public int getImageWidth()returns exported image width -
getIntervalType
public int getIntervalType()if task option is TIME_INTERVAL: returns export time interval: TIME/ DAYS/ MONTHS -
getJpegQuality
public int getJpegQuality()returns JPEG file quality -
getMonthInterval
public int getMonthInterval()if task option is TIME_INTERVAL: returns month interval in months -
getName
- Returns:
- See Also:
-
getNewLineDelimiter
public int getNewLineDelimiter()- Returns:
- See Also:
-
getOwnerId
- Returns:
- See Also:
-
getPdfOwnerPassword
For PDF export: returns the PDF owner password -
getPdfUserPassword
For PDF export: returns the PDF user password -
getPngCompression
public int getPngCompression()returns PNG compression -
getPrintFromPage
public int getPrintFromPage()PRINTING: get "from" page -
getPrintToPage
public int getPrintToPage()PRINTING: get "to" page -
getReportExportType
public int getReportExportType()returns exported report type: IExportConstants.PDF, IExportConstants.DHTML, IExportConstants.HTML...- See Also:
-
getSelectedPrinter
returns selected printer -
getSpecifyDates
public int[] getSpecifyDates()if task option is FIXEDDAYS: returns export file dates -
getSpecifyDays
public int[] getSpecifyDays()if task option is FIXEDDAYS: returns export file days -
getSpecifyTime
public int[] getSpecifyTime()if task option is FIXEDDAYS: returns export file time in minute for daily frequency feature -
getStartDate
public long getStartDate()returns start date for scheduled event -
getStartExportTime
public long getStartExportTime()- Returns:
- See Also:
-
getStartTime
public int getStartTime()returns start time for daily frequency feature -
getSubject
For Email feature: returns the subject of the email -
getTaskOption
public int getTaskOption()returns task option: ONE_TIME - export once TIME_INTERVAL - export report after certain time interval FIXEDDAYS - only export report in certain fixed days/ dates -
getTextDelimiter
public int getTextDelimiter()For TXT and CSV export: returns the text delimiter: IDelimiterConstants.TAB, IDelimiterConstanst.SPACE, IDelimiterConstant.COMMA...- See Also:
-
getTimeInterval
public int getTimeInterval()if task option is TIME_INTERVAL: returns time interval in mins -
getUserName
- Returns:
- See Also:
-
isArchive
public boolean isArchive()returns whether it is archive job -
isEncodePdf
public boolean isEncodePdf()For PDF export: returns whether use encoding for DFT export -
isExportToMultiPages
public boolean isExportToMultiPages()DHTML/ HTML option: returns whether export report to multi-pages -
isExportToSingleWPagination
public boolean isExportToSingleWPagination()For DHTML/ HTML export: export return in one single page with pagination returns state of exporting report to single page with pagination -
isFtpDelivery
public boolean isFtpDelivery()- Returns:
- See Also:
-
isGifTransparent
public boolean isGifTransparent()returns whether the gif file export contains transparent background -
isMemoryOptimized
public boolean isMemoryOptimized()DHTML/ HTML option: returns whether using optimize memory export -
isOwnerGroup
public boolean isOwnerGroup()- Returns:
- See Also:
-
isPrinterDelivery
public boolean isPrinterDelivery()returns whether using printer delivery -
isSendEmail
public boolean isSendEmail()For Email feature: returns whether email notification/delivery is used for the exported report -
isTimestampAttached
public boolean isTimestampAttached()returns whether timestamp is attached to export location -
isUseExternalStyleSheet
public boolean isUseExternalStyleSheet()For DHTML export: returns whether use external style sheet for DHTML export -
isUseInternalStyleSheet
public boolean isUseInternalStyleSheet()For DHTML export: returns whether use internal style sheet for DHTML export -
setArchive
public void setArchive(boolean isArchive) set archive job -
setBodyText
For Email feature: specifies the body text of the email -
setDayInterval
public void setDayInterval(int dayInterval) if task option is TIME_INTERVAL: specifies day interval in mins -
setEmailType
public void setEmailType(int emailType) For Email feature: specifies email type: ASATTACHMENT/ ASLINK/ ASHTML for package object, it only supports ASATTACHMENT/ ASLINK -
setEncodePdf
public void setEncodePdf(boolean isEncodePdf) For PDF export: specifies whether use encoding for PDF export -
setEndDate
public void setEndDate(long endDate) if task option is TIME_INTERVAL / FIXEDDAYS: if endDate = -1, it runs indefinitely specifies end date in millis second for scheduled event -
setEndTime
public void setEndTime(int endTime) if task option is FIXEDDAYS: specifies end time for daily frequency feature -
setExportTime
public void setExportTime(long exportTime) - Parameters:
exportTime-- See Also:
-
setExportToMultiPages
public void setExportToMultiPages(boolean exportToMultiPages) DHTML/ HTML option: specifies whether export report to multi-pages -
setExportToSingleWPagination
public void setExportToSingleWPagination(boolean isExportToSingleWPagination) For DHTML/ HTML export: export return in one single page with pagination specifies state of exporting report to single page with pagination -
setExternalStyleSheetName
For DHTML export: Specifies the external style sheet file used for DHTML export- Parameters:
s- the name of the external style sheet
-
setFailBodyText
For Fail Job Email feature: specifies the body text of the email -
setFailSubject
For Fail Job Email feature: specifies the subject of the email -
setFailToAddress
For Fail Job Email feature: specifies recievers' email addresses -
setFromAddress
For Email feature: specifies sender email address -
setFtpDelivery
public void setFtpDelivery(boolean ftpDelivery) using FTP delivery -
setFtpFilePath
set FTP file path -
setFtpHost
set FTP host -
setFtpPassword
set FTP password -
setFtpUserName
set FTP user name -
setGifTransparent
public void setGifTransparent(boolean gifTransparent) using transparent background for GIF export -
setChartExportType
public void setChartExportType(int type) specifies exported chart type: IExportConstants.JPEG, IExportConstants.GIF, IExportConstants.PNG...- See Also:
-
setImageHeight
public void setImageHeight(int imageHeight) set exported image height -
setImageWidth
public void setImageWidth(int imageWidth) set exported image width -
setIntervalType
public void setIntervalType(int intervalType) if task option is TIME_INTERVAL: specifies export time interval: TIME/ DAYS/ MONTHS -
setJpegQuality
public void setJpegQuality(int jpegQuality) set JPEG quality -
setMemoryOptimized
public void setMemoryOptimized(boolean memoryOptimized) report export option: specifies whether using optimize memory export -
setMonthInterval
public void setMonthInterval(int monthInterval) if task option is TIME_INTERVAL: specifies month interval in mins -
setName
- Parameters:
name-- See Also:
-
setNewLineDelimiter
public void setNewLineDelimiter(int newLineDelimiter) - Parameters:
newLineDelimiter-- See Also:
-
setPdfOwnerPassword
For PDF export: specifies the PDF owner password -
setPdfUserPassword
For PDF export: specifies the PDF user password -
setPngCompression
public void setPngCompression(int pngCompression) set PNG compression -
setPrinterDelivery
public void setPrinterDelivery(boolean printerDelivery) using printer delivery -
setPrintFromPage
public void setPrintFromPage(int printFromPage) PRINTING: set "from" page -
setPrintToPage
public void setPrintToPage(int printToPage) PRINTING: set "to" page -
setReportExportType
public void setReportExportType(int reportExportType) - Parameters:
reportExportType-- See Also:
-
setSelectedPrinter
set selected printer -
setSendEmail
public void setSendEmail(boolean sendEmail) For Email feature: specifies whether email notification/delivery is used for the exported report -
setSpecifyDates
public void setSpecifyDates(int[] dates) if task option is FIXEDDAYS: specifies export file dates -
setSpecifyDays
public void setSpecifyDays(int[] days) if task option is FIXEDDAYS: specifies export file days -
setSpecifyTime
public void setSpecifyTime(int[] time) if task option is FIXEDDAYS: specifies export file time in minute for daily frequency feature -
setStartDate
public void setStartDate(long startDate) specifies start date for scheduled event -
setStartExportTime
public void setStartExportTime(long startExportTime) - Parameters:
startExportTime-- See Also:
-
setStartTime
public void setStartTime(int startTime) if task option is FIXEDDAYS: specifies start time for daily frequency feature -
setSubject
For Email feature: specifies the subject of the email -
setTaskOption
public void setTaskOption(int taskOption) specifies task option: ONE_TIME - export once TIME_INTERVAL - export report after certain time interval FIXEDDAYS - only export report in certain fixed days/ dates -
setTextDelimiter
public void setTextDelimiter(int textDelimiter) For TXT and CSV export: specifies the text delimiter: IDelimiterConstants.TAB, IDelimiterConstanst.SPACE, IDelimiterConstant.COMMA...- See Also:
-
setTimeInterval
public void setTimeInterval(int timeInterval) if task option is TIME_INTERVAL: specifies time interval in mins -
setTimestampAttached
public void setTimestampAttached(boolean timestampAttached) specifies whether timestamp is attached to export location -
setUseExternalStyleSheet
public void setUseExternalStyleSheet(boolean isUseExternalStyleSheet) For DHTML export: specifies whether use external style sheet for DHTML export -
setUseInternalStyleSheet
public void setUseInternalStyleSheet(boolean isUseInternalStyleSheet) For DHTML export: specifies whether use internal style sheet for DHTML export -
deleteJob
public boolean deleteJob()remove schedule job from the queue -
getNextExportTime
public long getNextExportTime()return next export time in millisecond
-