Package quadbase.reportorganizer.menuAPI
Class ScheduleJob
java.lang.Object
quadbase.reportorganizer.menuAPI.ScheduleJob
-
Constructor Summary
ConstructorsConstructorDescriptionScheduleJob(QbMenu qbMenu, int packageID, int scheduleID) retrieve ScheduleJob object from Package ID and ScheduleJob IDScheduleJob(QbMenu qbMenu, String fullID) retrieve ScheduleJob object from Full ID -
Method Summary
Modifier and TypeMethodDescriptionlonggetArchiveDate(int index) returns the date of the specified achive filegetArchiveFileLocation(int index) returns archive file location for the specified achive file indexgetArchiveFileLocation(int index, int paramIndex) returns archive file location for the specified achive file index and parameter setintreturns total number of archive filesreturns chart file locationlongreturns the end date of this schedule job return -1 if no end date is specifiedgetID()returns full ScheduleJob ID (i.e.getName()returns job namelongreturns the next scheduled export time for this taskString[]Object[]getParamSet(int setNumber) returns the selected value(s) for the specified parameter setintreturns total number of parameter setreturns report file locationreturns scheduled file locationgetScheduledFileLocation(int paramIndex) returns scheduled file location for specified parameter setreturns the security level of this jobDeprecated.longreturns the start date of this schedule jobbooleanreturns whether this is archive jobbooleanisChart()returns whether this job is for chartbooleanreturn whether this schedule/ archive job is readable for this userbooleanisReport()returns whether this job is for reportbooleanreturns whether this is schedule job
-
Constructor Details
-
Method Details
-
getName
returns job name -
isScheduleJob
public boolean isScheduleJob()returns whether this is schedule job -
isArchiveJob
public boolean isArchiveJob()returns whether this is archive job -
getChartLocation
returns chart file location -
getReportLocation
returns report file location -
getScheduledFileLocation
returns scheduled file location -
getScheduledFileLocation
returns scheduled file location for specified parameter set- Parameters:
paramIndex- specified parameter set index
-
getArchiveFilesCount
public int getArchiveFilesCount()returns total number of archive files -
getArchiveDate
public long getArchiveDate(int index) returns the date of the specified achive file- Parameters:
index- archive file index
-
getArchiveFileLocation
returns archive file location for the specified achive file index- Parameters:
index- archive file index
-
getArchiveFileLocation
returns archive file location for the specified achive file index and parameter set- Parameters:
index- archive file indexparamIndex- specified parameter set index
-
getParamSetCount
public int getParamSetCount()returns total number of parameter set -
getParamSet
returns the selected value(s) for the specified parameter set- Parameters:
setNumber- specified parameter set index
-
isChart
public boolean isChart()returns whether this job is for chart -
isReport
public boolean isReport()returns whether this job is for report -
getSercuityLevel
Deprecated.UsegetSecurityLevel()instead.returns the security level of this job- Throws:
Exception
-
getSecurityLevel
returns the security level of this job- Throws:
Exception
-
getNextExportTime
public long getNextExportTime()returns the next scheduled export time for this task -
getStartDate
public long getStartDate()returns the start date of this schedule job -
getEndDate
public long getEndDate()returns the end date of this schedule job return -1 if no end date is specified -
getID
returns full ScheduleJob ID (i.e. packageID-scheduleID) -
isReadable
return whether this schedule/ archive job is readable for this user- Throws:
Exception
-
getParamNames
-
getSecurityLevel()instead.