|
|||||||||||
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
wt.part.MultilevelBomCompareQueryProcessor
This template processor produces the HTML dialog to get parameters for
the Multilevel BOM Compare report. It defines several WindchillScript
methods.
Supported API: false
Extendable: false
Field Summary | |
static String |
ACTION
|
static String |
CLASS
|
private static String |
CLASSNAME
|
static String |
CONFIG_SPEC
|
static String |
CONFIG_SPEC_OTHER
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
FORM
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
PART
|
static String |
PART1
|
static String |
PART2
|
static String |
PRODUCT_INSTANCE
|
private static String |
RESOURCE
|
static String |
RETURN_ACTION
|
static String |
RETURN_OID
|
static String |
RETURN_OID2
|
static String |
RETURN_TEMPLATE
|
static String |
RETURN_TEMPLATE_PROCESSOR
|
(package private) static long |
serialVersionUID
|
static String |
SOURCE_CONFIG_SPEC
|
static String |
TARGET_CONFIG_SPEC
|
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 |
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 | |
MultilevelBomCompareQueryProcessor()
|
Method Summary | |
String |
getButton(String name,
String value)
|
String |
getButton(String name,
String value,
String onclick)
|
ConfigSpec |
getConfigSpec(String encodedConfigSpec)
|
protected HTMLTemplate |
getConfigSpecDisplayTemplate(ConfigSpec spec,
Locale locale)
Returns the HTMLTemplate for displaying the properties of the configuration specification |
protected ServletSessionCookie |
getCookie(String cookieName)
|
private String |
getDataProperty(String key)
|
String |
getFormDataProperty(String name)
|
String |
getHiddenField(String name,
String value)
|
private WTPartMaster |
getPartMaster(String oidValue)
|
private String |
getPartMaster1Oid()
|
private String |
getPartMaster2Oid()
|
private WTProductInstance2 |
getProductInstance(String oidValue)
|
String |
getQueryDataProperty(String name)
|
String |
getSourceConfigSpecEncoding()
|
String |
getTargetConfigSpecEncoding()
|
boolean |
hasIdenticalSourceAndTarget()
|
boolean |
hasTargetVersion()
|
void |
outputCancelButton(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputConfigSpecLink(Properties properties,
Locale locale,
OutputStream os)
Outputs a link to modify the config spec. |
void |
outputGenerateReportButton(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputHiddenFieldsForConfigSpecProcessor(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputPartMaster2OidField(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputPlanningDate(Properties properties,
Locale locale,
OutputStream os)
Outputs a l10n representation of true/false in the configuration specification. |
void |
outputProductInstanceConfigSpecLink(Properties properties,
Locale locale,
OutputStream os)
|
void |
outputSearchPartsButton(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputSetConfigSpecButton(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputSourceConfigSpecEncodingHiddenField(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputSourceConfigSpecIdentity(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputSourcePartIdentity(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputTargetConfigSpecEncodingHiddenField(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputTargetConfigSpecIdentity(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputTargetPartIdentity(Properties parameters,
Locale locale,
OutputStream os)
|
void |
outputTargetPartIdentityField(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(MultilevelBomCompareQueryProcessor thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
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
public static final String SOURCE_CONFIG_SPEC
public static final String TARGET_CONFIG_SPEC
public static final String FORM
public static final String CLASS
public static final String ACTION
public static final String RETURN_ACTION
public static final String RETURN_TEMPLATE
public static final String RETURN_TEMPLATE_PROCESSOR
public static final String CONFIG_SPEC
public static final String RETURN_OID
public static final String RETURN_OID2
public static final String CONFIG_SPEC_OTHER
public static final String PART1
public static final String PART2
public static final String PART
public static final String PRODUCT_INSTANCE
public static final boolean VERBOSE
Constructor Detail |
public MultilevelBomCompareQueryProcessor()
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(MultilevelBomCompareQueryProcessor 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 outputHiddenFieldsForConfigSpecProcessor(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public String getHiddenField(String name, String value) throws WTException
WTException
public void outputSourceConfigSpecEncodingHiddenField(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public String getTargetConfigSpecEncoding() throws WTException
WTException
public void outputTargetConfigSpecEncodingHiddenField(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public String getSourceConfigSpecEncoding() throws WTException
WTException
public void outputSourcePartIdentity(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void outputTargetPartIdentity(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void outputTargetPartIdentityField(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void outputSourceConfigSpecIdentity(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
protected HTMLTemplate getConfigSpecDisplayTemplate(ConfigSpec spec, Locale locale) throws WTException
WTException
public void outputConfigSpecLink(Properties properties, Locale locale, OutputStream os)
properties
- the Properties object containing the script parameterslocale
- the locale in which to display the linkos
- the OutputStream to write the link topublic void outputProductInstanceConfigSpecLink(Properties properties, Locale locale, OutputStream os) throws WTException
WTException
public void outputPlanningDate(Properties properties, Locale locale, OutputStream os)
properties
- the Properties object containing the script parameterslocale
- the locale in which to display the linkos
- the OutputStream to write the link topublic void outputTargetConfigSpecIdentity(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void outputSearchPartsButton(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void outputSetConfigSpecButton(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void outputGenerateReportButton(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void outputCancelButton(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
private String getDataProperty(String key)
public String getFormDataProperty(String name) throws WTException
WTException
public String getQueryDataProperty(String name) throws WTException
WTException
private WTPartMaster getPartMaster(String oidValue) throws WTException
WTException
private WTProductInstance2 getProductInstance(String oidValue) throws WTException
WTException
private String getPartMaster1Oid() throws WTException
WTException
private String getPartMaster2Oid() throws WTException
WTException
public void outputPartMaster2OidField(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public ConfigSpec getConfigSpec(String encodedConfigSpec) throws WTException
WTException
public String getButton(String name, String value) throws WTException
WTException
public String getButton(String name, String value, String onclick) throws WTException
WTException
public boolean hasTargetVersion() throws WTException
WTException
public boolean hasIdenticalSourceAndTarget() throws WTException
WTException
protected ServletSessionCookie getCookie(String cookieName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |