|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.doc.DocumentContentProcessing
Warning! This class is no longer used in most of the content processing done
in any of the clients. This class will probably be deprecated or moved
in a future release when the supported clients no longer use this class.
Client class used as a place holder for content processing associated
with document structures. The content processing for the selected document
is done by the beans in the user interface. This class will handle the
content process for other documents in the structure. This is not a
delegate but may be overridden or replaced. Change the wt.doc.DocumentContentProcessing=wt.doc.DocumentContentProcessing
property in wt.properties if another class should be used instead of
this class.
Supported API: true
Extendable: true
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
DEBUG
|
static String |
GETCONTENT
Used for the method name when calling DocumentContentProcessing.runContentProcess() . |
static String |
POSTCREATE
Used for the method name when calling DocumentContentProcessing.runContentProcess() . |
static String |
POSTUPDATE
Used for the method name when calling DocumentContentProcessing.runContentProcess() . |
static String |
PRECHECKIN
Used for the method name when calling DocumentContentProcessing.runContentProcess() . |
private static String |
RESOURCE
|
Constructor Summary | |
DocumentContentProcessing()
|
Method Summary | |
protected static void |
downloadStructureContent(WTDocument doc,
String upload_from_path,
HTTPUploadDownloadTask download_task)
|
static String |
getContent(DocumentFormData form_data,
FormatContentHolder doc)
Method that is called after the Check Out and Get Content to allow for customizers to do any local file handling on other documents in the structure. |
static String |
postCreate(DocumentFormData form_data,
ReferenceHolder doc_handle)
Method that is called after the create of the document and any links are created to allow customizers to do any local file handling on other documents in the structure. |
static String |
postUpdate(DocumentFormData form_data,
ReferenceHolder doc_handle)
Method that is called after the update of the document and any links are updated to allow customizers to do any local file handling on other documents in the structure. |
static String |
preCheckin(DocumentFormData form_data,
ReferenceHolder doc_handle)
Method that is called before the checkin to allow for customizers to do any local file handling on other documents in the structure. |
static String |
runContentProcess(String method_name,
DocumentFormData form_data,
FormatContentHolder doc)
This method is used to call the other methods in this class through the document UI. |
static String |
runContentProcess(String method_name,
DocumentFormData form_data,
ReferenceHolder doc_handle)
This method is used to call the other methods in this class through the document UI. |
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
private static final String CLASSNAME
private static boolean DEBUG
public static final String GETCONTENT
DocumentContentProcessing.runContentProcess()
.
public static final String POSTCREATE
DocumentContentProcessing.runContentProcess()
.
public static final String POSTUPDATE
DocumentContentProcessing.runContentProcess()
.
public static final String PRECHECKIN
DocumentContentProcessing.runContentProcess()
.
Constructor Detail |
public DocumentContentProcessing()
Method Detail |
public static String postCreate(DocumentFormData form_data, ReferenceHolder doc_handle) throws WTException
form_data
- Name value pairs from the UI.doc_handle
- A reference to the document that will be processed.
WTException
public static String postUpdate(DocumentFormData form_data, ReferenceHolder doc_handle) throws WTException
form_data
- Name value pairs from the UI.doc_handle
- A reference to the document that will be processed.
WTException
public static String preCheckin(DocumentFormData form_data, ReferenceHolder doc_handle) throws WTException
form_data
- Name value pairs from the UI.doc_handle
- A reference to the document that will be processed.
WTException
public static String getContent(DocumentFormData form_data, FormatContentHolder doc) throws WTException
form_data
- Name value pairs from the UI.doc
- A reference to the document that will be processed.
WTException
public static String runContentProcess(String method_name, DocumentFormData form_data, ReferenceHolder doc_handle) throws WTException
method_name
- form_data
- Name value pairs from the UI.doc_handle
- A reference to the document that will be processed.
WTException
public static String runContentProcess(String method_name, DocumentFormData form_data, FormatContentHolder doc) throws WTException
method_name
- form_data
- Name value pairs from the UI.doc
- A reference to the document that will be processed.
WTException
protected static void downloadStructureContent(WTDocument doc, String upload_from_path, HTTPUploadDownloadTask download_task) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |