|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.templateutil.processor.FormTaskDelegate
com.ptc.windchill.cadx.placeHolder.PlaceHolderTaskDelegate
Supported API: false
Extendable: false
Field Summary | |
private CADDocSpecs |
cadDocSpec
|
private static String |
CLASSNAME
|
private WTContainer |
container
|
private EPMWorkspace |
currentWorkspace
|
private EncodingConverter |
encoder
|
private EPMDocument |
newDocObj
|
private Vector |
newObjVector
|
private static String |
RESOURCE
|
private List |
responseMessageList
|
private static boolean |
VERBOSE
|
Fields inherited from class wt.templateutil.processor.FormTaskDelegate |
|
Fields inherited from interface wt.templateutil.processor.ContextHolder |
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS |
Constructor Summary | |
PlaceHolderTaskDelegate()
|
Method Summary | |
private void |
addToResponseMessageList(String key,
Object[] params)
|
private boolean |
copyDocumentContent(String modelType,
String CADModelName)
|
private boolean |
createDocument(String modelType,
String CADModelName)
|
private static Locale |
getLocale()
|
private String |
getModelTypeforproeExt(String extension)
|
private EPMDocument |
getTemplateByConfiguredDocNumber(String modelType)
For the specified model type, get the template EPMDocument as per the template cad doc number specified in the configuration file for this type of model. |
private EPMDocument |
getTemplateCadDocForContainer(String modelType)
For the specified model type, get the template cad doc as found in the container. |
private EPMDocument |
getTemplateEPMDocument(String modelType)
|
void |
processAction(ContentHTTPStream contentStream)
Deprecated. |
protected void |
redirectToDefaultRefererPage(Object contextObj)
|
protected static EPMDocument |
renameDocContents(EPMDocument newDocument)
|
private void |
setResponseMessages()
From the saved list of response messages, construct a one-liner message and send that as response message. |
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 EPMWorkspace currentWorkspace
private EPMDocument newDocObj
private CADDocSpecs cadDocSpec
private Vector newObjVector
private WTContainer container
private EncodingConverter encoder
private List responseMessageList
private static boolean VERBOSE
Constructor Detail |
public PlaceHolderTaskDelegate()
Method Detail |
public void processAction(ContentHTTPStream contentStream) throws Exception
Use the addToResponse methods to pass back messages on the status/results
of the action.
Supported API: false
processAction
in class FormTaskDelegate
contentStream
-
Exception
protected void redirectToDefaultRefererPage(Object contextObj)
private String getModelTypeforproeExt(String extension)
private boolean copyDocumentContent(String modelType, String CADModelName) throws WTException
WTException
private boolean createDocument(String modelType, String CADModelName) throws WTException
WTException
protected static EPMDocument renameDocContents(EPMDocument newDocument) throws WTException
WTException
private EPMDocument getTemplateEPMDocument(String modelType) throws WTException
WTException
private EPMDocument getTemplateCadDocForContainer(String modelType) throws WTException
WTException
private EPMDocument getTemplateByConfiguredDocNumber(String modelType) throws WTException
WTException
private static Locale getLocale()
private void addToResponseMessageList(String key, Object[] params)
private void setResponseMessages()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |