|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.templateutil.processor.DefaultTemplateProcessor
wt.templateutil.processor.GenerateFormProcessor
com.ptc.windchill.cadx.wsoption.WsConfigSpecPrefTemplateProcessor
This is used for both the part & doc config spec options.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static String |
newline
HTML log error/info/warning code: last used WSDCSP0000001 |
protected static long |
OLD_FORMAT_VERSION_UID
|
private String |
PICKER_SELECTED_BASELINEABLE_BRANCH_ID
|
private String |
PICKER_SELECTED_BASELINEABLE_NUMBER
|
private static String |
RESOURCE
|
private String |
SAVE_CONFIG_SPEC_TO_WORKSPACE_SUB_TEMPLATE
|
(package private) static long |
serialVersionUID
|
private String |
subSystemName
|
private static boolean |
VERBOSE
|
Fields inherited from class wt.templateutil.processor.GenerateFormProcessor |
DEFAULT_LIFECYCLE, ON_CHANGE_EVENT_NAME, TEAMTEMPLATE_INPUT_NAME |
Fields inherited from class wt.templateutil.processor.DefaultTemplateProcessor |
ACTION, CLASS, CODEBASE, LINE_FEED_DELIMITER, MESSAGE_SEPARATOR, OID |
Fields inherited from interface wt.templateutil.processor.ContextTranslator |
CONTEXT_LIST_IN, CONTEXT_LIST_OUT |
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 | |
WsConfigSpecPrefTemplateProcessor()
|
Method Summary | |
void |
browseBaselineNumbers(Properties parameters,
Locale locale,
OutputStream os)
|
String |
createStandardCSViewNamesSelectElement(Properties parameters,
Locale locale,
String currentViewName)
Deprecated. |
private Vector |
getBaselineNumbers(Baselineable baselineableItem,
String baselineableItemNumber)
For the given baselineable item (part or document), get all the baselines it existed in. |
void |
getBaselineNumberValue(Properties parameters,
Locale locale,
OutputStream os)
|
private void |
getBrowseButton(Properties parameters,
Locale locale,
OutputStream os)
Programetically, call the getButton() method of the UtilProcessorService. |
void |
getCheckBoxStatus(Properties parameters,
Locale locale,
OutputStream os)
|
private WTPartConfigSpec |
getCurrentWTPartConfigSpec()
|
void |
getEffectivityConfigItemName(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
getEffectivityConfigItemType(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
getEffectivityContextName(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getEffectivityEffectiveDate(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
getEffectivityEffectiveUnit(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getEffectivityEndingEmptyRow(Properties parameters,
Locale locale,
OutputStream os)
Get an empty row at the end of the effectivity information |
void |
getEffectivityRadio(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
getEffectivityViewName(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
EPMWorkspace |
getEPMWorkspace()
|
void |
getFormActionURLProcessorLink(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
getIdenticalForOtherLabel(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
getItemName(Properties parameters,
Locale locale,
OutputStream os)
|
String |
getItemNumberForBaseline()
Get the user entered item number for which baseline needs to be retrieved |
void |
getPartStandardCSViewTRElement(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
private long |
getPickerSelectedBaselineableBranchId()
|
private String |
getPickerSelectedBaselineableNumber()
|
void |
getRadioNum(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getRefererSpecifiedPageTitle(Properties parameters,
Locale locale,
OutputStream os)
If the referer page has explicitly indicated the page title to be used, get that title. |
String |
getSubSystemName()
Get subSystemName and save as this object's state to avoid repeated lookup |
void |
getTabsTemplateAction(Properties parameters,
Locale locale,
OutputStream os)
Depending upon how the launching page has indicated, show the tab. |
void |
getTagID(Properties parameters,
Locale locale,
OutputStream os)
Based on the specified name for the tag, derive the tag id value |
private void |
getViewName(Properties parameters,
Locale locale,
OutputStream os,
String label,
String currentViewName)
Create the list of all the views in the form of a HTML SELECT tag and pre-select the specified view. |
void |
getWantChoiceToSaveCSToWs(Properties parameters,
Locale locale,
OutputStream os)
Check to see whether the referer page has indicated that user should have a choice to save the config spec change to the workspace or not. |
void |
isCheckboxChecked(Properties parameters,
Locale locale,
OutputStream os)
For the specified control name, return "checked" if it's value is 'true' |
void |
isEditOnlyConfigSpec(Properties parameters,
Locale locale,
OutputStream os)
Check whether the referer page has indicated that only edit config spec tabs should be shown. |
void |
listBaselinesItemBelongsTo(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
listStandardLCStates(Properties parameters,
Locale locale,
OutputStream os)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(WsConfigSpecPrefTemplateProcessor thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
refreshFieldFromSelectedObject(Object pickerSelectedObject)
|
void |
refreshFormDataAfterPicker(Properties parameters,
Locale locale,
OutputStream os)
If control came back to this page from picker, the original FormData (before Picker operation was initiated) is missing from the FormData state. |
void |
renderIdenticalForOtherTypeOption(Properties parameters,
Locale locale,
OutputStream os)
Render 'Identical for Parts/Docs option This option will not be available in Pro/Intralink context |
void |
renderSaveConfigSpecToWs(Properties parameters,
Locale locale,
OutputStream os)
Render the lines for the 'Save for Workspace'. |
private void |
resetFormDataValue(String key,
String value)
For the specified key, reset the value in the FormData object. |
private void |
resetFormFieldAfterPicker(String pickerAction)
Reset the form field based upon the result of the Picker operation. |
private void |
savePickerSelectedBaselineableBranchId(long branchIdentifier)
Save the branch id of the picker selected baselineable item. |
private void |
savePickerSelectedBaselineableNumber(String baselineableNumber)
|
private void |
setEffectivityContextBrowseButtonName(Properties props)
|
private String |
translateValueToHtml(String value)
If the value is null, return a "" string back. |
private boolean |
wasLastActionPicker(String formAction)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
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
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static String newline
private String subSystemName
private final String SAVE_CONFIG_SPEC_TO_WORKSPACE_SUB_TEMPLATE
private final String PICKER_SELECTED_BASELINEABLE_BRANCH_ID
private final String PICKER_SELECTED_BASELINEABLE_NUMBER
private static boolean VERBOSE
Constructor Detail |
public WsConfigSpecPrefTemplateProcessor()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class GenerateFormProcessor
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class GenerateFormProcessor
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WsConfigSpecPrefTemplateProcessor thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void listBaselinesItemBelongsTo(Properties parameters, Locale locale, OutputStream os)
parameters
- locale
- os
- private WTPartConfigSpec getCurrentWTPartConfigSpec()
public void getPartStandardCSViewTRElement(Properties parameters, Locale locale, OutputStream os)
parameters
- locale
- os
- public void getFormActionURLProcessorLink(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public void getIdenticalForOtherLabel(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public void getEffectivityRadio(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public void getEffectivityViewName(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public void getEffectivityEffectiveDate(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public void getEffectivityConfigItemName(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public void getEffectivityConfigItemType(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public String createStandardCSViewNamesSelectElement(Properties parameters, Locale locale, String currentViewName)
parameters
- locale
- currentViewName
-
public void listStandardLCStates(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getBaselineNumberValue(Properties parameters, Locale locale, OutputStream os) throws QueryException, WTException
QueryException
WTException
public void browseBaselineNumbers(Properties parameters, Locale locale, OutputStream os)
public void getRadioNum(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getCheckBoxStatus(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getItemName(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public EPMWorkspace getEPMWorkspace()
public String getItemNumberForBaseline()
private Vector getBaselineNumbers(Baselineable baselineableItem, String baselineableItemNumber)
private void getViewName(Properties parameters, Locale locale, OutputStream os, String label, String currentViewName)
public void getEffectivityEndingEmptyRow(Properties parameters, Locale locale, OutputStream os)
private String translateValueToHtml(String value)
public String getSubSystemName()
public void getTagID(Properties parameters, Locale locale, OutputStream os)
public void refreshFormDataAfterPicker(Properties parameters, Locale locale, OutputStream os)
private boolean wasLastActionPicker(String formAction)
private void resetFormFieldAfterPicker(String pickerAction)
private void refreshFieldFromSelectedObject(Object pickerSelectedObject)
private void resetFormDataValue(String key, String value)
private void getBrowseButton(Properties parameters, Locale locale, OutputStream os)
public void renderSaveConfigSpecToWs(Properties parameters, Locale locale, OutputStream os)
public void getTabsTemplateAction(Properties parameters, Locale locale, OutputStream os)
public void getWantChoiceToSaveCSToWs(Properties parameters, Locale locale, OutputStream os)
public void isEditOnlyConfigSpec(Properties parameters, Locale locale, OutputStream os)
public void getRefererSpecifiedPageTitle(Properties parameters, Locale locale, OutputStream os)
public void isCheckboxChecked(Properties parameters, Locale locale, OutputStream os)
public void getEffectivityContextName(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
private void setEffectivityContextBrowseButtonName(Properties props) throws WTException
WTException
public void getEffectivityEffectiveUnit(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
private void savePickerSelectedBaselineableBranchId(long branchIdentifier)
private long getPickerSelectedBaselineableBranchId()
private void savePickerSelectedBaselineableNumber(String baselineableNumber)
private String getPickerSelectedBaselineableNumber()
public void renderIdenticalForOtherTypeOption(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |