|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wvs.server.schedule.ScheduleJobs
Helper methods for the customization of WVS schedule publish jobs
Supported API: true
Nested Class Summary | |
static class |
ScheduleJobs.Server
|
Field Summary | |
static String |
CONTAINER_REF
|
private static DateFormat |
dateFormat
|
static String |
DELETE_COMPLETED
|
static String |
DELETE_COMPLETED_SUCCESSFUL
|
static String |
GENERATE_3D_THUMBNAILS
|
static String |
GENERATE_LATEST_3D_THUMBNAILS
|
static String |
GENERATE_LATEST_THUMBNAILS
|
static String |
GENERATE_THUMBNAILS
|
private static WVSProperties |
properties
|
static String |
REGENERATE_LATEST_THUMBNAILS
|
static String |
REGENERATE_THUMBNAILS
|
private static String |
RESOURCE
|
private static boolean |
SERVER
|
private static String |
SERVER_CLASS
|
private static boolean |
testonly
|
private static boolean |
VERBOSE
|
Constructor Summary | |
ScheduleJobs()
|
Method Summary | |
static String |
add3DThumbnails()
Returns a String to indicate to add 3D thumbnails for all representation that do not have a 3D thumbnail but already have a 2D thumbnail Supported API: false |
static String |
addLatest3DThumbnails()
Returns a String to indicate to add 3D thumbnails for all representation that do not have a 3D thumbnail but already have a 2D thumbnail, and who's Representable is a latest interation Supported API: false |
static QueryResult |
allDefaultDerivedImages()
Returns QuerySpec to determine all default DerivedImages which have been generated from an EPMDocument, and hence can be re-generated Supported API: false |
static QuerySpec |
allEPMDocuments()
Returns QuerySpec to determine all EPMDocuments in the database Supported API: false |
static QueryResult |
allEPMDocumentsNoRepresentation()
Returns QueryResult of all the EPMDocuments that does not have a default Representation associated Supported API: false |
private static QueryResult |
allEPMDocumentsNoRepresentation(boolean onlyLatest)
|
static QueryResult |
allLatestEPMDocumentsNoRepresentation()
Returns QueryResult of all the latest EPMDocuments that does not have a default Representation associated Supported API: false |
static QueryResult |
allLatestWTDocuments()
|
static QueryResult |
allLatestWTDocumentsNoRepresentation()
|
static QuerySpec |
allWTDocuments()
|
static QueryResult |
allWTDocumentsInternal(boolean onlyLatest,
boolean onlyWithNoRep)
|
static QueryResult |
allWTDocumentsNoRepresentation()
|
static QuerySpec |
allWTPartNoDefaultDerivedImage()
Returns QuerySpec to determine all EPMDocuments with no default Representation (Derived Image) Supported API: false |
static String |
deleteCompletedJobs()
Returns a String to indicate to delete all completed jobs Supported API: false |
static String |
deleteCompletedSuccessfulJobs()
Returns a String to indicate to delete all completed and successful jobs Supported API: false |
static void |
doBatchJob(String jobString)
Initiates a batch job Supported API: false |
static void |
doBatchJob(String targetClass,
String targetMethod,
String targetPublish)
Initiates a batch job, by executing the targetMethod specified in the class file, the should return a QuerySpec which is then used to find objects or a QueryResult of objects which are sent to the publisher Supported API: false |
static void |
doBatchJob(String targetClass,
String targetMethod,
String targetPublish,
Boolean listOnlyObj)
|
static void |
doBatchJob(String targetClass,
String targetMethod,
String targetPublish,
Boolean listOnlyObj,
String containerRef,
String logFileName)
Initiates a batch job, by executing the targetMethod specified in the class file, the should return a QuerySpec which is then used to find objects or a QueryResult of objects which are sent to the publisher Supported API: false |
static String |
generateLatestThumbnails()
Returns a String to indicate to generate thumbnails for all representation that do not have a thumbnail and who's Representable is a latest interation Supported API: false |
static String |
generateThumbnails()
Returns a String to indicate to generate thumbnails for all representation that do not have a thumbnail Supported API: false |
private static void |
generateThumbnailsInternal(boolean latestOnly,
boolean listOnly,
StringBuffer logBuffer,
PrintWriter pw,
boolean add3D,
boolean regenerate)
|
static WTContainerRef |
getCurrentContainer()
Returns the WTContainerRef of the current container context for the schedule job. |
private static void |
login(String username,
String password)
|
static void |
logMessage(StringBuffer logBuffer,
PrintWriter pw,
String msg)
|
static void |
main(String[] args)
|
static QueryResult |
outOfDateDerivedImages()
Returns QuerySpec to determine all DerivedImages which are marked as being out of date Supported API: false |
static String |
regenerateLatestThumbnails()
Returns a String to indicate to regenerate thumbnails for all representation and who's Representable is a latest interation Supported API: false |
static String |
regenerateThumbnails()
Returns a String to indicate to regenerate thumbnails for all representation Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
public static final String DELETE_COMPLETED
public static final String DELETE_COMPLETED_SUCCESSFUL
public static final String GENERATE_LATEST_THUMBNAILS
public static final String GENERATE_THUMBNAILS
public static final String GENERATE_LATEST_3D_THUMBNAILS
public static final String GENERATE_3D_THUMBNAILS
public static final String REGENERATE_LATEST_THUMBNAILS
public static final String REGENERATE_THUMBNAILS
public static final String CONTAINER_REF
private static final String SERVER_CLASS
private static final boolean SERVER
private static WVSProperties properties
private static boolean testonly
private static boolean VERBOSE
private static DateFormat dateFormat
Constructor Detail |
public ScheduleJobs()
Method Detail |
public static void doBatchJob(String jobString)
jobString
- The schedule job as defined in wvs.propertiespublic static void doBatchJob(String targetClass, String targetMethod, String targetPublish)
targetClass
- The target classtargetMethod
- The target methodtargetPublish
- The target descriptionpublic static void doBatchJob(String targetClass, String targetMethod, String targetPublish, Boolean listOnlyObj)
public static void doBatchJob(String targetClass, String targetMethod, String targetPublish, Boolean listOnlyObj, String containerRef, String logFileName)
targetClass
- The target classtargetMethod
- The target methodtargetPublish
- The target descriptionpublic static void logMessage(StringBuffer logBuffer, PrintWriter pw, String msg)
private static void login(String username, String password)
public static WTContainerRef getCurrentContainer()
public static QuerySpec allWTDocuments()
public static QueryResult allLatestWTDocuments()
public static QueryResult allWTDocumentsNoRepresentation()
public static QueryResult allLatestWTDocumentsNoRepresentation()
public static QueryResult allWTDocumentsInternal(boolean onlyLatest, boolean onlyWithNoRep)
public static QuerySpec allEPMDocuments()
public static QuerySpec allWTPartNoDefaultDerivedImage()
public static QueryResult allDefaultDerivedImages()
public static QueryResult outOfDateDerivedImages()
public static String deleteCompletedSuccessfulJobs()
public static String deleteCompletedJobs()
public static String generateLatestThumbnails()
public static String generateThumbnails()
public static String addLatest3DThumbnails()
public static String add3DThumbnails()
public static String regenerateLatestThumbnails()
public static String regenerateThumbnails()
private static void generateThumbnailsInternal(boolean latestOnly, boolean listOnly, StringBuffer logBuffer, PrintWriter pw, boolean add3D, boolean regenerate)
public static QueryResult allEPMDocumentsNoRepresentation()
public static QueryResult allLatestEPMDocumentsNoRepresentation()
private static QueryResult allEPMDocumentsNoRepresentation(boolean onlyLatest)
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |