|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wvs.server.schedule.SchedulerHelper
The server side methods to handle requestes from Schedule
Supported API: false
Extendable: false
Field Summary | |
private static String |
deleteGif
|
private static String |
gifOption
|
private static String |
jspScheduleList
|
static String |
QUEUENAME
|
private static ScheduleDefinitions |
sdefns
|
private static String |
TABLEEVENROWBG
|
private static String |
TABLEODDROWBG
|
private static String |
TARGETCLASS
|
private static String |
TARGETMETHOD
|
private static boolean |
VERBOSE
|
private static WVSProperties |
wvsProperties
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
SchedulerHelper()
|
Method Summary | |
static Boolean |
createScheduleItem(String name,
String description,
String publish,
Boolean immediate,
Timestamp start,
Integer nruns,
Long periodicity,
String containerRef,
Boolean listOnly)
Create a schedule entry Supported API: false |
private static boolean |
createScheduleQueue(String queueName)
Create a schedule Queue Supported API: false |
static Boolean |
deleteScheduleItem(String objectReference)
Deletes a schedule entry Supported API: false |
private static MethodArgument[] |
getArgsUtil(ScheduleItem item)
Temporary just until the scheduler is correctly submitted |
static String |
getContainerName(String containerRef)
|
private static WTContainerRef |
getContainerRef(String oid)
|
static String |
getListHTML(String statusText,
String containerRef,
Locale locale)
Returns a list of all the Scheduled jobs Supported API: false |
static String |
getLogFileContents(String objectReference)
get the log file contents for a schedule job Supported API: false |
private static String |
getPublishClass(String scheduleJob)
For the schedulejob selected, return the class definition from the properties file Supported API: false |
private static String |
getPublishMethod(String scheduleJob)
For the schedulejob selected, return the method definition from the properties file Supported API: false |
static String |
getPublishMethods(String containerRef)
retrives the Publish Methods in a form of an HTML SELECT list Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String QUEUENAME
private static String TARGETCLASS
private static String TARGETMETHOD
private static String TABLEODDROWBG
private static String TABLEEVENROWBG
private static String jspScheduleList
private static String deleteGif
private static String gifOption
private static ScheduleDefinitions sdefns
private static boolean VERBOSE
private static WVSProperties wvsProperties
Constructor Detail |
public SchedulerHelper()
Method Detail |
private static WTContainerRef getContainerRef(String oid) throws WTException
WTException
public static String getContainerName(String containerRef)
public static String getLogFileContents(String objectReference)
objectReference
- queue entry
public static String getListHTML(String statusText, String containerRef, Locale locale)
private static boolean createScheduleQueue(String queueName)
public static Boolean createScheduleItem(String name, String description, String publish, Boolean immediate, Timestamp start, Integer nruns, Long periodicity, String containerRef, Boolean listOnly)
name
- The name of the schedule entry to be createddescription
- The description of the schedule entry to be createdpublish
- The type of job to submitimmediate
- true if job is to be submitted immediately (otherewise uses start)start
- Time for job to start (if not immediate)nruns
- The number of runsperiodicity
- The frequency in seconds
public static Boolean deleteScheduleItem(String objectReference)
objectReference
- entry to delete
public static String getPublishMethods(String containerRef)
private static String getPublishClass(String scheduleJob)
scheduleJob
- The scheduleJob
private static String getPublishMethod(String scheduleJob)
scheduleJob
- The scheduleJob
private static MethodArgument[] getArgsUtil(ScheduleItem item)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |