com.ptc.windchill.cadx.caddoc
Class EPMGetDepsTemplateProcessor

java.lang.Object
  extended bywt.enterprise.BasicTemplateProcessor
      extended bywt.templateutil.processor.DefaultTemplateProcessor
          extended bycom.ptc.windchill.cadx.caddoc.EPMGetDepsTemplateProcessor
All Implemented Interfaces:
ContextHolder, ContextTranslator, Evolvable, Externalizable, Serializable, TemplateProcessor
Direct Known Subclasses:
CADDocObjPropsTemplateProcessor, WFPDMLinkCadDocTemplateProcessor

public class EPMGetDepsTemplateProcessor
extends DefaultTemplateProcessor



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String ASSOC_TYPE
           
private static HashMap bundles
           
private static String CLASSNAME
           
private  Locale currentLocale
           
private static HashMap custrow_attrs
           
private  boolean debugMode
           
private static String defaultBundle
           
static IconDelegateFactory delegateFactory
           
private static String DEPENDENCY_TYPE
           
private static String[] DESCRIBES_BOM_COMPARE_KEYS
           
private static int[] DESCRIBES_COLSPAN
           
private static String[] DESCRIBES_COLUMNS
           
private static String[] DESCRIBES_JS_DEP_ATTRS
           
private static String[] DESCRIBES_JS_DOC_ATTRS
           
private static String DESCRIBES_ROLE
           
private static String[] DESCRIBES_ROWDATA
           
private static String EPM_WORKSPACE_NAME_PARAMETER
           
static long EXTERNALIZATION_VERSION_UID
           
private static String[] FAMILY_BOM_COMPARE_KEYS
           
private static int[] FAMILY_COLSPAN
           
private static String[] FAMILY_COLUMNS
           
private static String[] FAMILY_JS_DEP_ATTRS
           
private static String[] FAMILY_JS_DOC_ATTRS
           
private static String FAMILY_ROLE
           
private static String[] FAMILY_ROWDATA
           
private static String FAMILY_TYPE
           
private static String GEOMETRY_MODIFIED
           
private static HashMap header_keys
           
private static String ICON
           
private static String INDENTED_ICON
           
private static String INDICATOR
           
private static String JS_ALL_VERSIONS
           
private static String JS_ASSOC_TYPE
           
private static String JS_DEPENDENCY_TYPE
           
private static String JS_DEPTH
           
private static String JS_FAMILY_TYPE
           
private static String JS_GEOMETRY_MODIFIED
           
private static String JS_ICON
           
private static String JS_INDICATOR
           
private static String JS_LATEST_VERSION
           
private static String JS_NAME
           
private static String JS_NUMBER
           
private static String JS_PLACED
           
private static String JS_QUANTITY
           
private static String JS_REQUIRED
           
private static String JS_SUPPRESSED
           
private static String JS_TYPE
           
private static String JS_VERSION
           
private static String LATEST_VERSION
           
private static String MERGE_KEY
           
private static String NAME
           
private static String NUMBER
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String PLACED
           
private static String[] PROE_CACHE_GHOST_SUPPORTED_ROLES
           
private static String[] PROE_CACHE_SUPPORTED_ROLES
           
private static String QUANTITY
           
private static String[] REFERENCEDBY_BOM_COMPARE_KEYS
           
private static int[] REFERENCEDBY_COLSPAN
           
private static String[] REFERENCEDBY_COLUMNS
           
private static String[] REFERENCEDBY_JS_DEP_ATTRS
           
private static String[] REFERENCEDBY_JS_DOC_ATTRS
           
private static String REFERENCEDBY_ROLE
           
private static String[] REFERENCEDBY_ROWDATA
           
private static String[] REFERENCES_BOM_COMPARE_KEYS
           
private static int[] REFERENCES_COLSPAN
           
private static String[] REFERENCES_COLUMNS
           
private static String[] REFERENCES_JS_DEP_ATTRS
           
private static String[] REFERENCES_JS_DOC_ATTRS
           
private static String REFERENCES_ROLE
           
private static String[] REFERENCES_ROWDATA
           
private static String REQUIRED
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private static String SUPPRESSED
           
private static String TYPE
           
private static String[] USEDBY_BOM_COMPARE_KEYS
           
private static int[] USEDBY_COLSPAN
           
private static String[] USEDBY_COLUMNS
           
private static String[] USEDBY_JS_DEP_ATTRS
           
private static String[] USEDBY_JS_DOC_ATTRS
           
private static String USEDBY_ROLE
           
private static String[] USEDBY_ROWDATA
           
private static String[] USES_BOM_COMPARE_KEYS
           
private static int[] USES_COLSPAN
           
private static String[] USES_COLUMNS
           
private static String[] USES_JS_DEP_ATTRS
           
private static String[] USES_JS_DOC_ATTRS
           
private static String USES_ROLE
           
private static String[] USES_ROWDATA
           
private static String VERSION
           
 
Fields inherited from class wt.templateutil.processor.DefaultTemplateProcessor
ACTION, CLASS, CODEBASE, LINE_FEED_DELIMITER, MESSAGE_SEPARATOR, OID, VERBOSE
 
Fields inherited from class wt.enterprise.BasicTemplateProcessor
ADD_HELP_ICON, ALL_CABINETS, BLANK_SPACE, BREAK_SEPARATOR, BREAK_TAG, componentFactory, CONTAINER_NAME, CONTENT_RESOURCE, contextClass, DEFAULT_CHARSET, DEFAULT_HELP_ICON_SELECTOR, DEFAULT_HELP_LABEL, DEFAULT_PREFERENCE_CONTEXT, DOCFROMTEMPLATE, ENABLE_HELP_ICON_PROPERTY_NAME, ENTERPRISE_SEARCH, FEDERATION_SEARCH, GLOBAL_NAVIGATION_ENABLE_HELP_ICON, globalNavBarHelpIconEnabledDefault, HELP_CONTEXT, HELP_ICON_POSITION, HELP_ICON_SELECTOR, HELP_LABEL, HELP_LABEL_RESOURCE, HELP_WINDOW_NAME, helpContext, helpIconEnabled, helpIconEnabledDefault, HOMEPAGE, IDPREFIX, IMPORT, INTEGRATED_SEARCH, isDndMicroAppletEnabled, isDndMicroAppletEnabledInitialized, LABEL_SEPARATOR, linkPrefix, LOCAL_SEARCH, pageContext, PDMLINK_INSTALL_KEY, PERSONAL_CABINET, PREF_WINDOW_NAME, PREFERENCE_CONTEXT, PRESENT_HELP_LABEL, PROJECTLINK_INSTALL_KEY, SEARCH, SHARE_ICON, TEXT_RESOURCE_BUNDLE, URL_RESOURCE, WORKLIST, wtAttribute, WTCORE_IMAGE_DIR
 
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 wt.templateutil.processor.DefaultTemplateProcessor
addHiddenProperty, addToFeedbackCookie, addToFeedbackCookie, getContextPropertyValue, getCurrentUrl, getFeedbackCookieExceptions, getFeedbackCookieMessages, getHtmlTemplateFactory, getMessageSeparator, getPAGE_EXPIRATION, getPageExpirationResource, getTemplate, getTemplateDisplay, handleRequest, hiddenContextString, readVersion, setContextPropertyValue, setHtmlTemplateFactory, setMethodContextProperty, setNameProcessor, setPAGE_EXPIRATION, setPageExpirationResource, writeHiddenContext, writeQueryStringContext
 
Methods inherited from class wt.enterprise.BasicTemplateProcessor
AccessOK, addHTMLHelpLink, addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, allVersions, bcwti, buildFormProcessorURL, buildFormProcessorURL, comment, createActionsBar, createFederationNavigationBar, createGlobalNavigationBar, createNavigationBar, createParentFolderLink, currentTimestamp, displayAllCabinets, displayAttributeName, displayAttributesTable, displayAttributeValue, displayFolderContents, displayFolderObject, displayFolderTrail, displayGoToLatestLink, displayOrganizationIdentifier, displayPendingChangeIndicator, displayStyleSheetAttributesTable, displayVisualData, formatDate, getActionPairs, getAllCabinetsURL, getBaselineItems, getCharsetEncoding, getCheckedOutFolderURL, getClassIcon, getClassInfo, getContextAction, getContextClass, getContextClassName, getContextListIn, getContextListOut, getContextObj, getContextProperties, getContextServiceName, getDisplayName, getDomainPath, getEnabledVersion, getEncoding, getFederationSearchURL, getFolderLocation, getFolderPath, getFormData, getGenericInstanceIconImgTag, getGlyphImageTag, getGlyphsArray, getGlyphTagsNoDnD, getHelpContext, getHomepageURL, getHTMLComponentFactory, getHTMLHelpLink, getHTMLHelpURL, getHTMLHelpURL, getHTMLTableService, getIconResource, getIconResource, getIconResource, getIconSelector, getId, getJavaScriptManager, getLocalizedDateFormatMessage, getLocalizedMessage, getLocalizedPrintWriter, getLocalizedString, getObjectDnDIcon, getObjectIcon, getObjectIconDnDTag, getObjectIconGlyphs, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectPropertyValueString, getObjectPropertyValueString, getPageContext, getParentFolderLink, getPersonalCabinet, getPersonalCabinetURL, getPreferenceValue, getPrincipalEmailLink, getPrincipalEmailLink, getPrintWriter, getPropertyFromPropertyFile, getQuery, getQueryData, getReferenceString, getReferenceString, getResourceString, getResourceString, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getSearchCriteriaURL, getSearchCriteriaURL, getSearchResultsURL, getShareImage, getShareImage, getState, getStatus, getStringFromResourceBundle, getStringFromResourceBundle, getTemplateDisplayGeneral, getTrailId, getTrlIdAttribute, getURLActions, getURLActions, getURLActions, getURLActions, getURLActionsString, getURLActionsString, getURLFactory, getURLFromDelegate, getURLProcessorLink, getURLProcessorLink, getURLProcessorLink, getURLProcessorLinkWithLabel, getUsedByLinks, getWCColor, getWCColor, getWCColorDec, getWCColorDec, getWCFontFamily, getWCFontFamily, getWorklistURL, getWTAttribute, getWTContainerByName, getWTContainerRef, handleExceptionTP, handleExceptionTP, handleProcessorException, include, initJavaScriptManager, isDndMicroAppletEnabled, isEqual, listContent, objectActionLink, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectBackground, objectIdentification, objectIdentifier, objectProperties, objectPropertyName, objectPropertyNameAux, objectPropertyNameAux2, objectPropertyValue, objectPropertyValueAux, objectPropertyValueAux2, objectPropertyValueString, outputLink, outputPropertyFromPropertyFile, parameterValue, partUsedBy, PDMLinkIsInstalled, printQueryTable, printTable, printTextArea, processSubTemplate, readContext, readVersion, setColumnProperties, setContextAction, setContextClass, setContextClassName, setContextListIn, setContextListOut, setContextObj, setContextProperties, setFormData, setHelpContext, setHTMLTableService, setJavaScriptManager, setPageContext, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setState, setStatus, showResponseExceptions, showResponseFooters, showResponseHeaders, showResponseMessage, showResponseMessages, showVersions, sortQueryResult, splitStringIntoTokens, tableService, translateToHtml, useProcessorService, visualizationIsEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values

currentLocale

private Locale currentLocale

debugMode

private boolean debugMode

delegateFactory

public static IconDelegateFactory delegateFactory

MERGE_KEY

private static final String MERGE_KEY
See Also:
Constant Field Values

EPM_WORKSPACE_NAME_PARAMETER

private static String EPM_WORKSPACE_NAME_PARAMETER

JS_NAME

private static final String JS_NAME
See Also:
Constant Field Values

JS_NUMBER

private static final String JS_NUMBER
See Also:
Constant Field Values

JS_LATEST_VERSION

private static final String JS_LATEST_VERSION
See Also:
Constant Field Values

JS_ALL_VERSIONS

private static final String JS_ALL_VERSIONS
See Also:
Constant Field Values

JS_TYPE

private static final String JS_TYPE
See Also:
Constant Field Values

JS_VERSION

private static final String JS_VERSION
See Also:
Constant Field Values

JS_ICON

private static final String JS_ICON
See Also:
Constant Field Values

JS_FAMILY_TYPE

private static final String JS_FAMILY_TYPE
See Also:
Constant Field Values

JS_DEPTH

private static final String JS_DEPTH
See Also:
Constant Field Values

JS_ASSOC_TYPE

private static final String JS_ASSOC_TYPE
See Also:
Constant Field Values

JS_PLACED

private static final String JS_PLACED
See Also:
Constant Field Values

JS_REQUIRED

private static final String JS_REQUIRED
See Also:
Constant Field Values

JS_SUPPRESSED

private static final String JS_SUPPRESSED
See Also:
Constant Field Values

JS_QUANTITY

private static final String JS_QUANTITY
See Also:
Constant Field Values

JS_DEPENDENCY_TYPE

private static final String JS_DEPENDENCY_TYPE
See Also:
Constant Field Values

JS_GEOMETRY_MODIFIED

private static final String JS_GEOMETRY_MODIFIED
See Also:
Constant Field Values

JS_INDICATOR

private static final String JS_INDICATOR
See Also:
Constant Field Values

NAME

private static final String NAME
See Also:
Constant Field Values

NUMBER

private static final String NUMBER
See Also:
Constant Field Values

PLACED

private static final String PLACED
See Also:
Constant Field Values

REQUIRED

private static final String REQUIRED
See Also:
Constant Field Values

SUPPRESSED

private static final String SUPPRESSED
See Also:
Constant Field Values

QUANTITY

private static final String QUANTITY
See Also:
Constant Field Values

LATEST_VERSION

private static final String LATEST_VERSION
See Also:
Constant Field Values

DEPENDENCY_TYPE

private static final String DEPENDENCY_TYPE
See Also:
Constant Field Values

VERSION

private static final String VERSION
See Also:
Constant Field Values

GEOMETRY_MODIFIED

private static final String GEOMETRY_MODIFIED
See Also:
Constant Field Values

TYPE

private static final String TYPE
See Also:
Constant Field Values

ICON

private static final String ICON
See Also:
Constant Field Values

INDENTED_ICON

private static final String INDENTED_ICON
See Also:
Constant Field Values

INDICATOR

private static final String INDICATOR
See Also:
Constant Field Values

FAMILY_TYPE

private static final String FAMILY_TYPE
See Also:
Constant Field Values

ASSOC_TYPE

private static final String ASSOC_TYPE
See Also:
Constant Field Values

custrow_attrs

private static final HashMap custrow_attrs

header_keys

private static final HashMap header_keys

defaultBundle

private static final String defaultBundle
See Also:
Constant Field Values

bundles

private static final HashMap bundles

USES_ROLE

private static final String USES_ROLE
See Also:
Constant Field Values

USES_JS_DOC_ATTRS

private static final String[] USES_JS_DOC_ATTRS

USES_JS_DEP_ATTRS

private static final String[] USES_JS_DEP_ATTRS

USES_COLUMNS

private static final String[] USES_COLUMNS

USES_COLSPAN

private static final int[] USES_COLSPAN

USES_ROWDATA

private static final String[] USES_ROWDATA

USES_BOM_COMPARE_KEYS

private static final String[] USES_BOM_COMPARE_KEYS

REFERENCES_ROLE

private static final String REFERENCES_ROLE
See Also:
Constant Field Values

REFERENCES_JS_DOC_ATTRS

private static final String[] REFERENCES_JS_DOC_ATTRS

REFERENCES_JS_DEP_ATTRS

private static final String[] REFERENCES_JS_DEP_ATTRS

REFERENCES_COLUMNS

private static final String[] REFERENCES_COLUMNS

REFERENCES_COLSPAN

private static final int[] REFERENCES_COLSPAN

REFERENCES_ROWDATA

private static final String[] REFERENCES_ROWDATA

REFERENCES_BOM_COMPARE_KEYS

private static final String[] REFERENCES_BOM_COMPARE_KEYS

USEDBY_ROLE

private static final String USEDBY_ROLE
See Also:
Constant Field Values

USEDBY_JS_DOC_ATTRS

private static final String[] USEDBY_JS_DOC_ATTRS

USEDBY_JS_DEP_ATTRS

private static final String[] USEDBY_JS_DEP_ATTRS

USEDBY_COLUMNS

private static final String[] USEDBY_COLUMNS

USEDBY_COLSPAN

private static final int[] USEDBY_COLSPAN

USEDBY_ROWDATA

private static final String[] USEDBY_ROWDATA

USEDBY_BOM_COMPARE_KEYS

private static final String[] USEDBY_BOM_COMPARE_KEYS

REFERENCEDBY_ROLE

private static final String REFERENCEDBY_ROLE
See Also:
Constant Field Values

REFERENCEDBY_JS_DOC_ATTRS

private static final String[] REFERENCEDBY_JS_DOC_ATTRS

REFERENCEDBY_JS_DEP_ATTRS

private static final String[] REFERENCEDBY_JS_DEP_ATTRS

REFERENCEDBY_COLUMNS

private static final String[] REFERENCEDBY_COLUMNS

REFERENCEDBY_COLSPAN

private static final int[] REFERENCEDBY_COLSPAN

REFERENCEDBY_ROWDATA

private static final String[] REFERENCEDBY_ROWDATA

REFERENCEDBY_BOM_COMPARE_KEYS

private static final String[] REFERENCEDBY_BOM_COMPARE_KEYS

DESCRIBES_ROLE

private static final String DESCRIBES_ROLE
See Also:
Constant Field Values

DESCRIBES_JS_DOC_ATTRS

private static final String[] DESCRIBES_JS_DOC_ATTRS

DESCRIBES_JS_DEP_ATTRS

private static final String[] DESCRIBES_JS_DEP_ATTRS

DESCRIBES_COLUMNS

private static final String[] DESCRIBES_COLUMNS

DESCRIBES_COLSPAN

private static final int[] DESCRIBES_COLSPAN

DESCRIBES_ROWDATA

private static final String[] DESCRIBES_ROWDATA

DESCRIBES_BOM_COMPARE_KEYS

private static final String[] DESCRIBES_BOM_COMPARE_KEYS

FAMILY_ROLE

private static final String FAMILY_ROLE
See Also:
Constant Field Values

FAMILY_JS_DOC_ATTRS

private static final String[] FAMILY_JS_DOC_ATTRS

FAMILY_JS_DEP_ATTRS

private static final String[] FAMILY_JS_DEP_ATTRS

FAMILY_COLUMNS

private static final String[] FAMILY_COLUMNS

FAMILY_COLSPAN

private static final int[] FAMILY_COLSPAN

FAMILY_ROWDATA

private static final String[] FAMILY_ROWDATA

FAMILY_BOM_COMPARE_KEYS

private static final String[] FAMILY_BOM_COMPARE_KEYS

PROE_CACHE_SUPPORTED_ROLES

private static final String[] PROE_CACHE_SUPPORTED_ROLES

PROE_CACHE_GHOST_SUPPORTED_ROLES

private static final String[] PROE_CACHE_GHOST_SUPPORTED_ROLES
Constructor Detail

EPMGetDepsTemplateProcessor

public EPMGetDepsTemplateProcessor()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class DefaultTemplateProcessor
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class DefaultTemplateProcessor
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(EPMGetDepsTemplateProcessor thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getDepList

public void getDepList(Properties parameters,
                       Locale locale,
                       OutputStream os)
                throws WTException,
                       MalformedURLException


Supported API: false

Parameters:
parameters -
locale -
os -
Throws:
WTException
MalformedURLException

getOnLoadScript

public void getOnLoadScript(Properties parameters,
                            Locale locale,
                            OutputStream os)


Supported API: false

Parameters:
parameters -
locale -
os -

depTypeDisplayValueMap

private String depTypeDisplayValueMap()
Returns:
String

newEPMMemberLinkDepSpecData

private String newEPMMemberLinkDepSpecData(EPMMemberLink lnk,
                                           String[] names,
                                           String lookupName,
                                           String lookupValue)
Parameters:
lnk -
names -
lookupName -
lookupValue -
Returns:
String

newEPMReferenceLinkDepSpecData

private String newEPMReferenceLinkDepSpecData(EPMReferenceLink lnk,
                                              String[] names,
                                              String lookupName,
                                              String lookupValue)
Parameters:
lnk -
names -
lookupName -
lookupValue -
Returns:
String

normalizeURL

private String normalizeURL(URL url)
Parameters:
url -
Returns:
String

newDocSpecData

private String newDocSpecData(EPMDocumentMaster dm,
                              EPMDocument doc,
                              String[] names,
                              String lookupName,
                              String lookupValue,
                              boolean current,
                              Locale locale)
Parameters:
dm -
doc -
names -
lookupName -
lookupValue -
current -
locale -
Returns:
String

printHeaderFunction

private void printHeaderFunction(PrintWriter out,
                                 String role)
Parameters:
out -
role -

getColumnHeaders

private String[] getColumnHeaders(String role)
Parameters:
role -
Returns:
String[]

getColumnSizes

private int[] getColumnSizes(String role)
Parameters:
role -
Returns:
int[]

printFooterFunction

private void printFooterFunction(PrintWriter out,
                                 String role)
Parameters:
out -
role -

printProEFunctionCall

private void printProEFunctionCall(PrintWriter out,
                                   EPMDocument doc,
                                   String role,
                                   String serverName,
                                   String wsName)
Parameters:
out -
doc -
role -
serverName -
wsName -

printCustomRowFunction

private void printCustomRowFunction(PrintWriter out,
                                    String role)
Parameters:
out -
role -

newEPMDescribesLinkDepSpecData

private String newEPMDescribesLinkDepSpecData(EPMDescribeLink lnk,
                                              String names,
                                              String lookupName,
                                              String lookupValue)
Parameters:
lnk -
names -
lookupName -
lookupValue -
Returns:
String

queryLinks

private Enumeration queryLinks(String role,
                               String linkClassName,
                               String otherSideClass,
                               String useMaster,
                               Object cobj)
Parameters:
role -
linkClassName -
otherSideClass -
useMaster -
cobj -
Returns:
Enumeration

newPartSpecData

private String newPartSpecData(WTPartMaster dm,
                               WTPart part,
                               String[] names,
                               String lookupName,
                               String lookupValue,
                               String linktype,
                               Locale locale)
Parameters:
dm -
part -
names -
lookupName -
lookupValue -
linktype -
locale -
Returns:
String

getI18NDepType

private String getI18NDepType(String key)
Parameters:
key -
Returns:
String

newEPMVariantLinkDepSpecData

private String newEPMVariantLinkDepSpecData(EPMVariantLink lnk,
                                            String[] names,
                                            String lookupName,
                                            String lookupValue,
                                            String depth)
Parameters:
lnk -
names -
lookupName -
lookupValue -
depth -
Returns:
String

getVersion

private String getVersion(Versioned doc)

getI18NHeaders

private String[] getI18NHeaders(String[] headers)

getRowdata

private String[] getRowdata(String role)

printFamilyObjects

private void printFamilyObjects(PrintWriter out,
                                boolean askProE,
                                Object cobj,
                                Locale locale)

printFamilyObjectsNested

private void printFamilyObjectsNested(PrintWriter out,
                                      boolean askProE,
                                      Object cobj,
                                      Locale locale)

recurseFamily

private void recurseFamily(PrintWriter out,
                           boolean askProE,
                           boolean useNumber,
                           EPMDocument current,
                           EPMDocument propPageDocument,
                           int level,
                           Hashtable validInstances,
                           Locale locale)

removeDuplicates

private static ArrayList removeDuplicates(QueryResult variants)

getFamilyType

private String getFamilyType(EPMDocument doc,
                             Locale locale)

getFamilyTypeNew

private String getFamilyTypeNew(EPMDocument doc,
                                Locale locale)

printDescribesObjects

private void printDescribesObjects(PrintWriter out,
                                   Object cobj,
                                   Locale locale)

getPartsForDisplay

public static Object[] getPartsForDisplay(EPMDocument source,
                                          Locale locale)
                                   throws WTException
Throws:
WTException

getQueryResultForDoc

private static QueryResult getQueryResultForDoc(EPMDocument source)
                                         throws WTException
Throws:
WTException

getDescribesLinksForDocs

private static EPMDescribeLink[] getDescribesLinksForDocs(EPMDocument doc)
                                                   throws WTException
Throws:
WTException

displayFamilyTypeValueMap

private String displayFamilyTypeValueMap(Locale locale)

displayBooleanTextMap

private String displayBooleanTextMap(Locale locale)

getNumberVersionId

private String getNumberVersionId(EPMDocument doc)

getNumberVersionId

private String getNumberVersionId(WTPart part)

printProEDepsParams

private void printProEDepsParams(PrintWriter out,
                                 Object doc,
                                 String role,
                                 String serverName,
                                 String wsName)

getCorrectIteration

public static EPMDocument getCorrectIteration(EPMDocumentMaster doc,
                                              Hashtable lookup,
                                              ConfigSpec configSpec,
                                              ConfigSpec latest)
                                       throws WTException
Throws:
WTException

queryLinks2

private QueryResult queryLinks2(String role,
                                String linkClassName,
                                String otherSideClass,
                                String useMaster,
                                Object cobj)

compressResultsLinkId

public QueryResult compressResultsLinkId(QueryResult links,
                                         String role,
                                         Hashtable lookup,
                                         ConfigSpec configSpec)

processContextBasedExpandCollapseHeaderSubTemplate

public void processContextBasedExpandCollapseHeaderSubTemplate(Properties parameters,
                                                               Locale locale,
                                                               OutputStream os)

newWTDocSpecData

private String newWTDocSpecData(WTDocumentMaster dm,
                                WTDocument doc,
                                String[] names,
                                String lookupName,
                                String lookupValue,
                                boolean current,
                                Locale locale)

getIconResource

protected static String getIconResource(WTObject obj)
                                 throws WTException,
                                        PropertyVetoException,
                                        InvocationTargetException,
                                        IllegalAccessException
Throws:
WTException
PropertyVetoException
InvocationTargetException
IllegalAccessException

useNewerIteration

private boolean useNewerIteration(String role,
                                  BinaryLink link1,
                                  BinaryLink link2)