|
|||||||||||
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
com.ptc.windchill.cadx.wsoption.WsPrefCommonTemplateProcessor
This ProcessorService has the common methods useful to all the workspace
preferences tab. For example, getTitle() method is common to all the
General, Part Config Spec & Doc Config Spec option tabs.
Supported API: true
Extendable: false
Field Summary | |
private static String |
BG_TAB_OFF
|
private static String |
BG_TAB_ON
|
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private HTTPState |
theState
|
private static boolean |
VERBOSE
|
static String |
WORKSPACE_DOC_CONFIG_SPEC_OPTIONS_ACTION
This is the action as specified in the service.properties file for the template or sub-template. |
static String |
WORKSPACE_DOC_CONFIG_SPEC_OPTIONS_PAGE_ACTION
|
static String |
WORKSPACE_GENERAL_OPTIONS_ACTION
This is the action as specified in the service.properties file. |
static String |
WORKSPACE_OPTIONS_COOKIE
|
static String |
WORKSPACE_PART_CONFIG_SPEC_OPTIONS_ACTION
This is the action as specified in the service.properties file for the template or sub-template. |
static String |
WORKSPACE_PART_CONFIG_SPEC_OPTIONS_PAGE_ACTION
|
Fields inherited from class wt.templateutil.processor.DefaultTemplateProcessor |
ACTION, CLASS, CODEBASE, LINE_FEED_DELIMITER, MESSAGE_SEPARATOR, OID |
Fields inherited from interface wt.templateutil.processor.ProcessorService |
STATE |
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 |
Fields inherited from interface wt.templateutil.processor.ContextTranslator |
CONTEXT_LIST_IN, CONTEXT_LIST_OUT |
Constructor Summary | |
WsPrefCommonTemplateProcessor()
|
Method Summary | |
void |
getDefaultOrFormDataValue(Properties parameters,
Locale locale,
OutputStream os)
For the specified name attribute, get either the default or the user entered (before the page refresh) value from the form data. |
void |
getDocConfigSpecPrefLink(Properties parameters,
Locale locale,
OutputStream os)
Get URL link in the anchor format for the Workspace CAD Doc Config Spec Preference tab. |
void |
getDocConfigSpecPrefLinkColor(Properties parameters,
Locale locale,
OutputStream os)
Get URL link color for the Workspace Doc Config Spec Preference tab. |
void |
getEditWorkspaceOptionsURL(Properties parameters,
Locale locale,
OutputStream os)
Create the Edit Workspace Options (General) page URL. |
void |
getEditWsConfigSpecOptionsURL(Properties parameters,
Locale locale,
OutputStream os)
Create the Edit Workspace Config Spec Options page URL. |
void |
getGeneralPrefLink(Properties parameters,
Locale locale,
OutputStream os)
Get URL link in the anchor format for the Workspace General Preference tab. |
void |
getGeneralPrefLinkColor(Properties parameters,
Locale locale,
OutputStream os)
Get URL link color for the Workspace General Preference tab. |
void |
getHelpContext(Properties parameters,
Locale locale,
OutputStream os)
Return help context key based editOnlyConficSpec flag. |
void |
getPageTitle(Properties parameters,
Locale locale,
OutputStream os)
Provides page title which also includes workspace name. |
void |
getPartConfigSpecPrefLink(Properties parameters,
Locale locale,
OutputStream os)
Get URL link in the anchor format for the Workspace Part Config Spec Preference tab. |
void |
getPartConfigSpecPrefLinkColor(Properties parameters,
Locale locale,
OutputStream os)
Get URL link color for the Workspace Part Config Spec Preference tab. |
private void |
getPrefLink(Properties parameters,
Locale locale,
OutputStream os,
String action,
String label,
boolean saveRefURL)
|
private String |
getPrefLinkStyleClass(String action)
If the specified action is same as the current context action, return the 'bg-tab-on' style class. |
HTTPState |
getState()
Gets the object for the association that plays role: theState. |
void |
getWsRefUrl(Properties parameters,
Locale locale,
OutputStream os)
Get URL for the referer page. |
void |
isInvokedFromCheckoutDownloadPage(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(WsPrefCommonTemplateProcessor thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setState(HTTPState a_State)
Sets the object for the association that plays role: theState. |
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
public static final String WORKSPACE_GENERAL_OPTIONS_ACTION
public static final String WORKSPACE_PART_CONFIG_SPEC_OPTIONS_ACTION
public static final String WORKSPACE_DOC_CONFIG_SPEC_OPTIONS_ACTION
private HTTPState theState
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final String WORKSPACE_PART_CONFIG_SPEC_OPTIONS_PAGE_ACTION
public static final String WORKSPACE_DOC_CONFIG_SPEC_OPTIONS_PAGE_ACTION
private static final String BG_TAB_OFF
private static final String BG_TAB_ON
public static final String WORKSPACE_OPTIONS_COOKIE
private static boolean VERBOSE
Constructor Detail |
public WsPrefCommonTemplateProcessor()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class DefaultTemplateProcessor
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class DefaultTemplateProcessor
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WsPrefCommonTemplateProcessor 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 getPageTitle(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public void getGeneralPrefLink(Properties parameters, Locale locale, OutputStream os)
parameters
- locale
- os
- public void getPartConfigSpecPrefLink(Properties parameters, Locale locale, OutputStream os)
parameters
- locale
- os
- public void getDocConfigSpecPrefLink(Properties parameters, Locale locale, OutputStream os)
parameters
- locale
- os
- public void getDefaultOrFormDataValue(Properties parameters, Locale locale, OutputStream os)
parameters
- locale
- os
- public void getWsRefUrl(Properties parameters, Locale locale, OutputStream os)
parameters
- locale
- os
- public void getGeneralPrefLinkColor(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public void getPartConfigSpecPrefLinkColor(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public void getDocConfigSpecPrefLinkColor(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- locale
- os
-
WTException
public HTTPState getState()
getState
in interface ProcessorService
getState
in class BasicTemplateProcessor
public void setState(HTTPState a_State)
setState
in interface ProcessorService
setState
in class BasicTemplateProcessor
a_State
- private void getPrefLink(Properties parameters, Locale locale, OutputStream os, String action, String label, boolean saveRefURL)
private String getPrefLinkStyleClass(String action)
public void getEditWorkspaceOptionsURL(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getEditWsConfigSpecOptionsURL(Properties parameters, Locale locale, OutputStream os)
public void getHelpContext(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void isInvokedFromCheckoutDownloadPage(Properties parameters, Locale locale, OutputStream os)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |