|
|||||||||||
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.wsoption.WsConfigSpecPrefFormTaskDelegate
This is used for both the doc & part config spec options editing.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
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 | |
WsConfigSpecPrefFormTaskDelegate()
|
Method Summary | |
private Properties |
createInterTabParameters(WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
Create a Propeties object to be passed from one tab to other tab as hidden form field for the trequired data which other tab needs to be aware of. |
private Properties |
createPickerHiddenProperties(String pickerOperation)
Set up all the required key/value pairs for the Picker page. |
private boolean |
getAndvalidateBaseline1PanelData(Properties formData,
WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
Get the user specified form values for Baseline radio button & set these values to the WsConfigSpecEditUtilities bean. |
private boolean |
getAndvalidateBaseline2PanelData(Properties formData,
WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
Get the user specified form values for 'Baseline for Iterm' & set these values to the WsConfigSpecEditUtilities bean. |
private boolean |
getAndvalidateEffectivityPanelData(Properties formData,
WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
Get the user specified form values for effectivity & set these values to the WsConfigSpecEditUtilities bean. |
private boolean |
getAndvalidateStandardPanelData(Properties formData,
WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
Get the user specified form values for Standard radio button & set these values to the WsConfigSpecEditUtilities bean. |
EPMWorkspace |
getEPMWorkspace()
|
private Properties |
getParametersForRefererPage()
Get the properties object used for passing back params to the referer page. |
private boolean |
modifyConfigSpec(WsConfigSpecEditUtilities wsConfigSpecEditUtilities,
String buttonSelected,
EPMWorkspace workspace,
String identicalForOther)
Update the doc & part (if requested) config spec of the workspace |
private boolean |
modifyDocOrPartConfigSpec(WsConfigSpecEditUtilities wsConfigSpecEditUtilities,
String buttonSelected,
EPMWorkspace workspace)
update the doc or part config spec of the workspace. |
void |
processAction(ContentHTTPStream contentStream)
Deprecated. |
private void |
redirectToPickerPage(String pickerOperation)
Re-direct to the picker page. |
private void |
redirectToRefererPage(String refUrl,
boolean cancelPressed)
|
private boolean |
saveCsChangeToWs(WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
Check whther user has indicated to save the config spec changes to the workspace. |
void |
setKeyValuePairForRefererPage(String key,
String value)
Set the specified key/value pair into the properties file which would be later included as hidden fields to the referer page. |
private void |
setPickerQueryAndTypeList(Properties hiddenProperties,
String pickerOperation)
|
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 VERBOSE
Constructor Detail |
public WsConfigSpecPrefFormTaskDelegate()
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: true
processAction
in class FormTaskDelegate
contentStream
-
Exception
private boolean modifyConfigSpec(WsConfigSpecEditUtilities wsConfigSpecEditUtilities, String buttonSelected, EPMWorkspace workspace, String identicalForOther)
private boolean modifyDocOrPartConfigSpec(WsConfigSpecEditUtilities wsConfigSpecEditUtilities, String buttonSelected, EPMWorkspace workspace)
public EPMWorkspace getEPMWorkspace()
private boolean getAndvalidateStandardPanelData(Properties formData, WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
private boolean getAndvalidateBaseline1PanelData(Properties formData, WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
private boolean getAndvalidateBaseline2PanelData(Properties formData, WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
private boolean getAndvalidateEffectivityPanelData(Properties formData, WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
public void setKeyValuePairForRefererPage(String key, String value)
private Properties getParametersForRefererPage()
private void redirectToRefererPage(String refUrl, boolean cancelPressed)
private void redirectToPickerPage(String pickerOperation)
private Properties createPickerHiddenProperties(String pickerOperation)
private void setPickerQueryAndTypeList(Properties hiddenProperties, String pickerOperation)
private Properties createInterTabParameters(WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
private boolean saveCsChangeToWs(WsConfigSpecEditUtilities wsConfigSpecEditUtilities)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |