public class ScheduleJob
extends java.lang.Object
Constructor and Description |
---|
ScheduleJob(QbMenu qbMenu,
int packageID,
int scheduleID)
retrieve ScheduleJob object from Package ID and ScheduleJob ID
|
ScheduleJob(QbMenu qbMenu,
java.lang.String fullID)
retrieve ScheduleJob object from Full ID
|
Modifier and Type | Method and Description |
---|---|
long |
getArchiveDate(int index)
returns the date of the specified achive file
|
java.lang.String |
getArchiveFileLocation(int index)
returns archive file location for the specified achive file index
|
java.lang.String |
getArchiveFileLocation(int index,
int paramIndex)
returns archive file location for the specified achive file index and parameter set
|
int |
getArchiveFilesCount()
returns total number of archive files
|
java.lang.String |
getChartLocation()
returns chart file location
|
long |
getEndDate()
returns the end date of this schedule job return -1 if no end date is specified
|
java.lang.String |
getID()
returns full ScheduleJob ID (i.e.
|
java.lang.String |
getName()
returns job name
|
long |
getNextExportTime()
returns the next scheduled export time for this task
|
java.lang.String[] |
getParamNames() |
java.lang.Object[] |
getParamSet(int setNumber)
returns the selected value(s) for the specified parameter set
|
int |
getParamSetCount()
returns total number of parameter set
|
java.lang.String |
getReportLocation()
returns report file location
|
java.lang.String |
getScheduledFileLocation()
returns scheduled file location
|
java.lang.String |
getScheduledFileLocation(int paramIndex)
returns scheduled file location for specified parameter set
|
java.lang.String |
getSecurityLevel()
returns the security level of this job
|
java.lang.String |
getSercuityLevel()
Deprecated.
Use
getSecurityLevel() instead. |
long |
getStartDate()
returns the start date of this schedule job
|
boolean |
isArchiveJob()
returns whether this is archive job
|
boolean |
isChart()
returns whether this job is for chart
|
boolean |
isReadable()
return whether this schedule/ archive job is readable for this user
|
boolean |
isReport()
returns whether this job is for report
|
boolean |
isScheduleJob()
returns whether this is schedule job
|
public ScheduleJob(QbMenu qbMenu, int packageID, int scheduleID) throws java.lang.Exception
java.lang.Exception
public ScheduleJob(QbMenu qbMenu, java.lang.String fullID) throws java.lang.Exception
java.lang.Exception
public java.lang.String getName()
public boolean isScheduleJob()
public boolean isArchiveJob()
public java.lang.String getChartLocation()
public java.lang.String getReportLocation()
public java.lang.String getScheduledFileLocation()
public java.lang.String getScheduledFileLocation(int paramIndex)
paramIndex
- specified parameter set indexpublic int getArchiveFilesCount()
public long getArchiveDate(int index)
index
- archive file indexpublic java.lang.String getArchiveFileLocation(int index)
index
- archive file indexpublic java.lang.String getArchiveFileLocation(int index, int paramIndex)
index
- archive file indexparamIndex
- specified parameter set indexpublic int getParamSetCount()
public java.lang.Object[] getParamSet(int setNumber)
setNumber
- specified parameter set indexpublic boolean isChart()
public boolean isReport()
@Deprecated public java.lang.String getSercuityLevel() throws java.lang.Exception
getSecurityLevel()
instead.java.lang.Exception
public java.lang.String getSecurityLevel() throws java.lang.Exception
java.lang.Exception
public long getNextExportTime()
public long getStartDate()
public long getEndDate()
public java.lang.String getID()
public boolean isReadable() throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getParamNames()