|
|||||||||||
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.caddoc.EPMGetDepsTemplateProcessor
Supported API: false
Extendable: false
Fields inherited from class wt.templateutil.processor.DefaultTemplateProcessor |
ACTION, CLASS, CODEBASE, LINE_FEED_DELIMITER, MESSAGE_SEPARATOR, OID, VERBOSE |
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 | |
EPMGetDepsTemplateProcessor()
|
Method Summary | |
QueryResult |
compressResultsLinkId(QueryResult links,
String role,
Hashtable lookup,
ConfigSpec configSpec)
|
private String |
depTypeDisplayValueMap()
|
private String |
displayBooleanTextMap(Locale locale)
|
private String |
displayFamilyTypeValueMap(Locale locale)
|
private String[] |
getColumnHeaders(String role)
|
private int[] |
getColumnSizes(String role)
|
static EPMDocument |
getCorrectIteration(EPMDocumentMaster doc,
Hashtable lookup,
ConfigSpec configSpec,
ConfigSpec latest)
|
void |
getDepList(Properties parameters,
Locale locale,
OutputStream os)
Supported API: false |
private static EPMDescribeLink[] |
getDescribesLinksForDocs(EPMDocument doc)
|
private String |
getFamilyType(EPMDocument doc,
Locale locale)
|
private String |
getFamilyTypeNew(EPMDocument doc,
Locale locale)
|
private String |
getI18NDepType(String key)
|
private String[] |
getI18NHeaders(String[] headers)
|
protected static String |
getIconResource(WTObject obj)
|
private String |
getNumberVersionId(EPMDocument doc)
|
private String |
getNumberVersionId(WTPart part)
|
void |
getOnLoadScript(Properties parameters,
Locale locale,
OutputStream os)
Supported API: false |
static Object[] |
getPartsForDisplay(EPMDocument source,
Locale locale)
|
private static QueryResult |
getQueryResultForDoc(EPMDocument source)
|
private String[] |
getRowdata(String role)
|
private String |
getVersion(Versioned doc)
|
private String |
newDocSpecData(EPMDocumentMaster dm,
EPMDocument doc,
String[] names,
String lookupName,
String lookupValue,
boolean current,
Locale locale)
|
private String |
newEPMDescribesLinkDepSpecData(EPMDescribeLink lnk,
String names,
String lookupName,
String lookupValue)
|
private String |
newEPMMemberLinkDepSpecData(EPMMemberLink lnk,
String[] names,
String lookupName,
String lookupValue)
|
private String |
newEPMReferenceLinkDepSpecData(EPMReferenceLink lnk,
String[] names,
String lookupName,
String lookupValue)
|
private String |
newEPMVariantLinkDepSpecData(EPMVariantLink lnk,
String[] names,
String lookupName,
String lookupValue,
String depth)
|
private String |
newPartSpecData(WTPartMaster dm,
WTPart part,
String[] names,
String lookupName,
String lookupValue,
String linktype,
Locale locale)
|
private String |
newWTDocSpecData(WTDocumentMaster dm,
WTDocument doc,
String[] names,
String lookupName,
String lookupValue,
boolean current,
Locale locale)
|
private String |
normalizeURL(URL url)
|
private void |
printCustomRowFunction(PrintWriter out,
String role)
|
private void |
printDescribesObjects(PrintWriter out,
Object cobj,
Locale locale)
|
private void |
printFamilyObjects(PrintWriter out,
boolean askProE,
Object cobj,
Locale locale)
|
private void |
printFamilyObjectsNested(PrintWriter out,
boolean askProE,
Object cobj,
Locale locale)
|
private void |
printFooterFunction(PrintWriter out,
String role)
|
private void |
printHeaderFunction(PrintWriter out,
String role)
|
private void |
printProEDepsParams(PrintWriter out,
Object doc,
String role,
String serverName,
String wsName)
|
private void |
printProEFunctionCall(PrintWriter out,
EPMDocument doc,
String role,
String serverName,
String wsName)
|
void |
processContextBasedExpandCollapseHeaderSubTemplate(Properties parameters,
Locale locale,
OutputStream os)
|
private Enumeration |
queryLinks(String role,
String linkClassName,
String otherSideClass,
String useMaster,
Object cobj)
|
private QueryResult |
queryLinks2(String role,
String linkClassName,
String otherSideClass,
String useMaster,
Object cobj)
|
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(EPMGetDepsTemplateProcessor thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
recurseFamily(PrintWriter out,
boolean askProE,
boolean useNumber,
EPMDocument current,
EPMDocument propPageDocument,
int level,
Hashtable validInstances,
Locale locale)
|
private static ArrayList |
removeDuplicates(QueryResult variants)
|
private boolean |
useNewerIteration(String role,
BinaryLink link1,
BinaryLink link2)
|
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 Locale currentLocale
private boolean debugMode
public static IconDelegateFactory delegateFactory
private static final String MERGE_KEY
private static String EPM_WORKSPACE_NAME_PARAMETER
private static final String JS_NAME
private static final String JS_NUMBER
private static final String JS_LATEST_VERSION
private static final String JS_ALL_VERSIONS
private static final String JS_TYPE
private static final String JS_VERSION
private static final String JS_ICON
private static final String JS_FAMILY_TYPE
private static final String JS_DEPTH
private static final String JS_ASSOC_TYPE
private static final String JS_PLACED
private static final String JS_REQUIRED
private static final String JS_SUPPRESSED
private static final String JS_QUANTITY
private static final String JS_DEPENDENCY_TYPE
private static final String JS_GEOMETRY_MODIFIED
private static final String JS_INDICATOR
private static final String NAME
private static final String NUMBER
private static final String PLACED
private static final String REQUIRED
private static final String SUPPRESSED
private static final String QUANTITY
private static final String LATEST_VERSION
private static final String DEPENDENCY_TYPE
private static final String VERSION
private static final String GEOMETRY_MODIFIED
private static final String TYPE
private static final String ICON
private static final String INDENTED_ICON
private static final String INDICATOR
private static final String FAMILY_TYPE
private static final String ASSOC_TYPE
private static final HashMap custrow_attrs
private static final HashMap header_keys
private static final String defaultBundle
private static final HashMap bundles
private static final String USES_ROLE
private static final String[] USES_JS_DOC_ATTRS
private static final String[] USES_JS_DEP_ATTRS
private static final String[] USES_COLUMNS
private static final int[] USES_COLSPAN
private static final String[] USES_ROWDATA
private static final String[] USES_BOM_COMPARE_KEYS
private static final String REFERENCES_ROLE
private static final String[] REFERENCES_JS_DOC_ATTRS
private static final String[] REFERENCES_JS_DEP_ATTRS
private static final String[] REFERENCES_COLUMNS
private static final int[] REFERENCES_COLSPAN
private static final String[] REFERENCES_ROWDATA
private static final String[] REFERENCES_BOM_COMPARE_KEYS
private static final String USEDBY_ROLE
private static final String[] USEDBY_JS_DOC_ATTRS
private static final String[] USEDBY_JS_DEP_ATTRS
private static final String[] USEDBY_COLUMNS
private static final int[] USEDBY_COLSPAN
private static final String[] USEDBY_ROWDATA
private static final String[] USEDBY_BOM_COMPARE_KEYS
private static final String REFERENCEDBY_ROLE
private static final String[] REFERENCEDBY_JS_DOC_ATTRS
private static final String[] REFERENCEDBY_JS_DEP_ATTRS
private static final String[] REFERENCEDBY_COLUMNS
private static final int[] REFERENCEDBY_COLSPAN
private static final String[] REFERENCEDBY_ROWDATA
private static final String[] REFERENCEDBY_BOM_COMPARE_KEYS
private static final String DESCRIBES_ROLE
private static final String[] DESCRIBES_JS_DOC_ATTRS
private static final String[] DESCRIBES_JS_DEP_ATTRS
private static final String[] DESCRIBES_COLUMNS
private static final int[] DESCRIBES_COLSPAN
private static final String[] DESCRIBES_ROWDATA
private static final String[] DESCRIBES_BOM_COMPARE_KEYS
private static final String FAMILY_ROLE
private static final String[] FAMILY_JS_DOC_ATTRS
private static final String[] FAMILY_JS_DEP_ATTRS
private static final String[] FAMILY_COLUMNS
private static final int[] FAMILY_COLSPAN
private static final String[] FAMILY_ROWDATA
private static final String[] FAMILY_BOM_COMPARE_KEYS
private static final String[] PROE_CACHE_SUPPORTED_ROLES
private static final String[] PROE_CACHE_GHOST_SUPPORTED_ROLES
Constructor Detail |
public EPMGetDepsTemplateProcessor()
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(EPMGetDepsTemplateProcessor 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 getDepList(Properties parameters, Locale locale, OutputStream os) throws WTException, MalformedURLException
parameters
- locale
- os
-
WTException
MalformedURLException
public void getOnLoadScript(Properties parameters, Locale locale, OutputStream os)
parameters
- locale
- os
- private String depTypeDisplayValueMap()
private String newEPMMemberLinkDepSpecData(EPMMemberLink lnk, String[] names, String lookupName, String lookupValue)
lnk
- names
- lookupName
- lookupValue
-
private String newEPMReferenceLinkDepSpecData(EPMReferenceLink lnk, String[] names, String lookupName, String lookupValue)
lnk
- names
- lookupName
- lookupValue
-
private String normalizeURL(URL url)
url
-
private String newDocSpecData(EPMDocumentMaster dm, EPMDocument doc, String[] names, String lookupName, String lookupValue, boolean current, Locale locale)
dm
- doc
- names
- lookupName
- lookupValue
- current
- locale
-
private void printHeaderFunction(PrintWriter out, String role)
out
- role
- private String[] getColumnHeaders(String role)
role
-
private int[] getColumnSizes(String role)
role
-
private void printFooterFunction(PrintWriter out, String role)
out
- role
- private void printProEFunctionCall(PrintWriter out, EPMDocument doc, String role, String serverName, String wsName)
out
- doc
- role
- serverName
- wsName
- private void printCustomRowFunction(PrintWriter out, String role)
out
- role
- private String newEPMDescribesLinkDepSpecData(EPMDescribeLink lnk, String names, String lookupName, String lookupValue)
lnk
- names
- lookupName
- lookupValue
-
private Enumeration queryLinks(String role, String linkClassName, String otherSideClass, String useMaster, Object cobj)
role
- linkClassName
- otherSideClass
- useMaster
- cobj
-
private String newPartSpecData(WTPartMaster dm, WTPart part, String[] names, String lookupName, String lookupValue, String linktype, Locale locale)
dm
- part
- names
- lookupName
- lookupValue
- linktype
- locale
-
private String getI18NDepType(String key)
key
-
private String newEPMVariantLinkDepSpecData(EPMVariantLink lnk, String[] names, String lookupName, String lookupValue, String depth)
lnk
- names
- lookupName
- lookupValue
- depth
-
private String getVersion(Versioned doc)
private String[] getI18NHeaders(String[] headers)
private String[] getRowdata(String role)
private void printFamilyObjects(PrintWriter out, boolean askProE, Object cobj, Locale locale)
private void printFamilyObjectsNested(PrintWriter out, boolean askProE, Object cobj, Locale locale)
private void recurseFamily(PrintWriter out, boolean askProE, boolean useNumber, EPMDocument current, EPMDocument propPageDocument, int level, Hashtable validInstances, Locale locale)
private static ArrayList removeDuplicates(QueryResult variants)
private String getFamilyType(EPMDocument doc, Locale locale)
private String getFamilyTypeNew(EPMDocument doc, Locale locale)
private void printDescribesObjects(PrintWriter out, Object cobj, Locale locale)
public static Object[] getPartsForDisplay(EPMDocument source, Locale locale) throws WTException
WTException
private static QueryResult getQueryResultForDoc(EPMDocument source) throws WTException
WTException
private static EPMDescribeLink[] getDescribesLinksForDocs(EPMDocument doc) throws WTException
WTException
private String displayFamilyTypeValueMap(Locale locale)
private String displayBooleanTextMap(Locale locale)
private String getNumberVersionId(EPMDocument doc)
private String getNumberVersionId(WTPart part)
private void printProEDepsParams(PrintWriter out, Object doc, String role, String serverName, String wsName)
public static EPMDocument getCorrectIteration(EPMDocumentMaster doc, Hashtable lookup, ConfigSpec configSpec, ConfigSpec latest) throws WTException
WTException
private QueryResult queryLinks2(String role, String linkClassName, String otherSideClass, String useMaster, Object cobj)
public QueryResult compressResultsLinkId(QueryResult links, String role, Hashtable lookup, ConfigSpec configSpec)
public void processContextBasedExpandCollapseHeaderSubTemplate(Properties parameters, Locale locale, OutputStream os)
private String newWTDocSpecData(WTDocumentMaster dm, WTDocument doc, String[] names, String lookupName, String lookupValue, boolean current, Locale locale)
protected static String getIconResource(WTObject obj) throws WTException, PropertyVetoException, InvocationTargetException, IllegalAccessException
WTException
PropertyVetoException
InvocationTargetException
IllegalAccessException
private boolean useNewerIteration(String role, BinaryLink link1, BinaryLink link2)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |