|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.caddoc.CADDocProcessorService
Supported API: false
Extendable: false
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 |
Constructor Summary | |
CADDocProcessorService()
|
Method Summary | |
void |
addToResponseExceptions(Exception newException)
Deprecated. |
void |
addToResponseFooters(LocalizableMessage newFooter)
Deprecated. |
void |
addToResponseHeaders(LocalizableMessage newHeader)
Deprecated. |
void |
addToResponseMessages(LocalizableMessage newMessage)
Deprecated. |
void |
docInfoScript(Properties parameters,
Locale locale,
OutputStream os)
|
private String |
getAdditionalStatus(Object obj)
|
(package private) String |
getAttributeRow(AbstractAttributeDefinizerNodeView parent,
String attrDefInfoBuffer,
String newCADName,
String currentUnits,
Locale locale)
|
String |
getAttributeRow(AttributeDefDefaultView addv,
String attrDefInfoBuffer,
String newCADName,
String currentUnits,
Locale locale)
|
(package private) String |
getAttributesRow(AbstractAttributeDefinizerNodeView attrOrganizer,
String attrDefInfoBuffer,
String newCADName,
String currentUnits,
Locale locale)
|
void |
getAttributesTable(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getAuxDocInfo(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getCADDocCommonspaceIfoLink(Properties parameters,
Locale locale,
OutputStream os)
|
private String |
getCADDocCommonspaceInfoLink()
|
void |
getCADDocCommonspaceInfoLinkAndTitle(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getCADDocTitle(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getCADModelName(Properties parameters,
Locale locale,
OutputStream os)
Supported API: false |
void |
getCADModelOid(Properties parameters,
Locale locale,
OutputStream os)
|
(package private) static String |
getCADNameForDisplay(Object obj)
|
(package private) static String |
getCADOidForDisplay(Object obj)
|
static Hashtable |
getCgiRefererParams(HTTPState a_HTTPState)
|
protected static ClassInfo |
getClassInfo(Class class_name)
Returns the ClassInfo object corresponding to the given Class. |
private String |
getContainerPropsURL(WTContainer container)
|
void |
getContent(Properties parameters,
Locale locale,
OutputStream os)
|
private ContentHolder |
getContentHolder(EPMDocument doc,
boolean isJ03ND)
|
void |
getContentItemHref(Properties properties,
Locale locale,
OutputStream outputstream)
|
String |
getContextAction()
Deprecated. |
String |
getContextClassName()
Deprecated. |
Object |
getContextObj()
Deprecated. |
Properties |
getContextProperties()
Deprecated. |
private String |
getCreatedByPersonName(EPMDocument doc,
String trailkey)
|
void |
getDateFormatJS(Properties parameters,
Locale locale,
OutputStream os)
|
private String |
getDependencyType(EPMReferenceLink link)
|
protected static String |
getDisplayName(Class class_name,
String attr,
Locale locale)
Returns the display name corresponding to the given attribute for the given class. |
void |
getDisplayProEAttributesFlag(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getDocInfo(Properties parameters,
Locale locale,
OutputStream os)
|
private static String |
getEncodedOidAndAction(Object obj,
String action)
|
void |
getExtension_to_icon_map(Properties parameters,
Locale locale,
OutputStream os)
|
private String |
getFileSize(ApplicationData file)
|
private EPMDocument |
getFirstIterationOfThisVersion(Mastered master)
|
Properties |
getFormData()
Deprecated. |
private String |
getGeneralStatus(Object obj,
WTContainer contextContainer,
EPMWorkspace ws,
ResourceBundle caddocResource,
Locale locale)
|
private String |
getI18NDepType(String key)
|
private static String |
getIconResource(WTObject obj)
|
(package private) static String |
getIdForDisplay(Object obj)
|
void |
getInfoPageIcon(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getLocalizedAttributeTypeJS(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getLocalizedDocInfoJS(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getLocalizedStatusForContentJS(Properties parameters,
Locale locale,
OutputStream os)
|
private String |
getModifiedByPersonName(EPMDocument doc,
String trailkey)
|
void |
getNewCADDocIcon(Properties parameters,
Locale locale,
OutputStream os)
|
void |
getNewCADDocTitle(Properties parameters,
Locale locale,
OutputStream os)
|
private String |
getNmLocationURL(Folder objFolder)
|
void |
getOnlyUploadedWarning(Properties parameters,
Locale locale,
OutputStream os)
|
private String |
getPerson(WTPrincipalReference principal_ref,
String trailkey)
|
ContentItem |
getPrimaryContent(EPMDocument doc,
ContentHolder holder,
boolean isJ03ND)
|
private PrintWriter |
getPrintWriter(OutputStream out,
Locale locale)
|
Properties |
getQueryData()
Deprecated. |
void |
getReferenceDependencyTable(Properties parameters,
Locale locale,
OutputStream os)
|
private String |
getResourceBundleValue(String resourceName,
String resourceKey,
Locale locale)
|
Vector |
getResponseExceptions()
Deprecated. |
Vector |
getResponseFooters()
Deprecated. |
Vector |
getResponseHeaders()
Deprecated. |
Vector |
getResponseMessages()
Deprecated. |
String |
getResponseString()
Deprecated. |
private String |
getSecureInfString(Locale locale)
|
HTTPState |
getState()
Gets the object for the association that plays role: theState. |
int |
getStatus()
Deprecated. |
static String |
getWCAttrName(String name)
|
void |
getWorkspaceContextIntoJSSrc(Properties parameters,
Locale locale,
OutputStream os)
|
private String |
getWorkspaceStatus(Object obj)
|
static boolean |
isCADDocInWorkspaceContext(HTTPState a_HTTPState)
|
void |
isFTDispActiveWorkspace(Properties properties,
Locale locale,
OutputStream os)
|
void |
listAttributeDefNames(Properties parameters,
Locale locale,
OutputStream os)
|
private WTHtmlTable |
newWTHtmlTable(boolean newLookAndFeel)
|
private void |
printEmptyRow(Locale locale,
OutputStream os,
Vector columns)
|
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(CADDocProcessorService thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
removePDMObjStatusFromSessionContext(Properties parameters,
Locale locale,
OutputStream os)
|
private float |
roundToTwoDecimals(float number)
|
void |
setContextAction(String a_ContextAction)
Deprecated. |
void |
setContextClassName(String a_ContextClassName)
Deprecated. |
void |
setContextObj(Object a_ContextObj)
Deprecated. |
void |
setContextProperties(Properties a_ContextProperties)
Deprecated. |
void |
setFormData(Properties a_FormData)
Deprecated. |
void |
setQueryData(Properties a_QueryData)
Deprecated. |
void |
setResponseExceptions(Vector a_ResponseExceptions)
Deprecated. |
void |
setResponseFooters(Vector a_ResponseFooters)
Deprecated. |
void |
setResponseHeaders(Vector a_ResponseHeaders)
Deprecated. |
void |
setResponseMessages(Vector a_ResponseMessages)
Deprecated. |
void |
setResponseString(String a_ResponseString)
Deprecated. |
void |
setState(HTTPState a_State)
Sets the object for the association that plays role: theState. |
void |
setStatus(int a_Status)
Deprecated. |
private boolean |
showDocument(EPMReferenceLink link)
|
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
private HTTPState theState
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static int MAXLENGTH
protected static final String BLANK_SPACE
private static String CODEBASE
private static Hashtable classInfos
private static HashMap ibaTable
private static HashMap ibaWCMap
private static HashMap softTypeAttribMap
private static String displayProEAttributes
private static String CADDOC_RESOURCE
private static final String LINE_FEED
private Locale currentLocale
private static String SECONDARY_EXCLUDE
private static final String DEF_WSCONTEXT_JS_VAR_NAME
private static final String JS_OBJ_SEMICOLON
public static final String J03_ND
private static final String REFERENCEDBY_ROLE
private static final String REFERENCES_ROLE
public static final String ROLE
public static final String PDMLINKTABLE
public static final String DOCUMENTATTRIBUTES
private static TreeSet depTypesExcluded
private static HashMap depMap
private static final boolean VERBOSE
private boolean inWildfire
private static final String MEASUREMENT_SYSTEM
private static Class caddocStatusHelperClass
private static Method generalStatusMethod
Constructor Detail |
public CADDocProcessorService()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(CADDocProcessorService 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 HTTPState getState()
getState
in interface ProcessorService
public void setState(HTTPState a_State)
setState
in interface ProcessorService
a_State
- public String getContextAction()
getContextAction
in interface ContextHolder
public void setContextAction(String a_ContextAction)
setContextAction
in interface ContextHolder
a_ContextAction
- public Object getContextObj()
getContextObj
in interface ContextHolder
public void setContextObj(Object a_ContextObj)
setContextObj
in interface ContextHolder
a_ContextObj
- public String getContextClassName()
getContextClassName
in interface ContextHolder
public void setContextClassName(String a_ContextClassName)
setContextClassName
in interface ContextHolder
a_ContextClassName
- public Properties getContextProperties()
getContextProperties
in interface ContextHolder
public void setContextProperties(Properties a_ContextProperties)
setContextProperties
in interface ContextHolder
a_ContextProperties
- public Vector getResponseExceptions()
getResponseExceptions
in interface ContextHolder
public void setResponseExceptions(Vector a_ResponseExceptions)
setResponseExceptions
in interface ContextHolder
a_ResponseExceptions
- public Vector getResponseFooters()
getResponseFooters
in interface ContextHolder
public void setResponseFooters(Vector a_ResponseFooters)
setResponseFooters
in interface ContextHolder
a_ResponseFooters
- public Vector getResponseHeaders()
getResponseHeaders
in interface ContextHolder
public void setResponseHeaders(Vector a_ResponseHeaders)
setResponseHeaders
in interface ContextHolder
a_ResponseHeaders
- public Vector getResponseMessages()
getResponseMessages
in interface ContextHolder
public void setResponseMessages(Vector a_ResponseMessages)
setResponseMessages
in interface ContextHolder
a_ResponseMessages
- public String getResponseString()
getResponseString
in interface ContextHolder
public void setResponseString(String a_ResponseString)
setResponseString
in interface ContextHolder
a_ResponseString
- public int getStatus()
getStatus
in interface ContextHolder
public void setStatus(int a_Status)
setStatus
in interface ContextHolder
a_Status
- public Properties getFormData()
getFormData
in interface ContextHolder
public void setFormData(Properties a_FormData)
setFormData
in interface ContextHolder
a_FormData
- public Properties getQueryData()
getQueryData
in interface ContextHolder
public void setQueryData(Properties a_QueryData)
setQueryData
in interface ContextHolder
a_QueryData
- public void addToResponseExceptions(Exception newException)
showResponseExceptions
Supported API: false
addToResponseExceptions
in interface ContextHolder
newException
- public void addToResponseMessages(LocalizableMessage newMessage)
showResponseMessages
Supported API: false
addToResponseMessages
in interface ContextHolder
newMessage
- public void addToResponseHeaders(LocalizableMessage newHeader)
showResponseHeaders
Supported API: false
addToResponseHeaders
in interface ContextHolder
newHeader
- public void addToResponseFooters(LocalizableMessage newFooter)
showResponseFooters
Supported API: false
addToResponseFooters
in interface ContextHolder
newFooter
- private PrintWriter getPrintWriter(OutputStream out, Locale locale)
public void getCADModelName(Properties parameters, Locale locale, OutputStream os) throws WTException, RemoteException
parameters
- locale
- os
-
WTException
RemoteException
public void getCADModelOid(Properties parameters, Locale locale, OutputStream os) throws WTException, RemoteException
WTException
RemoteException
public void getAttributesTable(Properties parameters, Locale locale, OutputStream os)
public void getDocInfo(Properties parameters, Locale locale, OutputStream os) throws WTException, PropertyVetoException, InvocationTargetException, IllegalAccessException
WTException
PropertyVetoException
InvocationTargetException
IllegalAccessException
public void getAuxDocInfo(Properties parameters, Locale locale, OutputStream os) throws PropertyVetoException, InvocationTargetException, IllegalAccessException
PropertyVetoException
InvocationTargetException
IllegalAccessException
private static String getEncodedOidAndAction(Object obj, String action) throws WTException
WTException
public void getContent(Properties parameters, Locale locale, OutputStream os) throws PropertyVetoException, InvocationTargetException, IllegalAccessException
PropertyVetoException
InvocationTargetException
IllegalAccessException
private static String getIconResource(WTObject obj) throws WTException, PropertyVetoException, InvocationTargetException, IllegalAccessException
WTException
PropertyVetoException
InvocationTargetException
IllegalAccessException
private float roundToTwoDecimals(float number)
private String getFileSize(ApplicationData file)
public void docInfoScript(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
protected static String getDisplayName(Class class_name, String attr, Locale locale)
class_name
- the Class which contains the attribute whose
display name is returnedattr
- the attribute whose display name is returned
protected static ClassInfo getClassInfo(Class class_name)
class_name
- the class for which the ClassInfo is returned
public void listAttributeDefNames(Properties parameters, Locale locale, OutputStream os) throws WTException, Exception, RemoteException
WTException
Exception
RemoteException
public void getDisplayProEAttributesFlag(Properties parameters, Locale locale, OutputStream os)
public void getDateFormatJS(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public static String getWCAttrName(String name)
public void removePDMObjStatusFromSessionContext(Properties parameters, Locale locale, OutputStream os)
public void getLocalizedDocInfoJS(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getContentItemHref(Properties properties, Locale locale, OutputStream outputstream) throws WTException
WTException
String getAttributesRow(AbstractAttributeDefinizerNodeView attrOrganizer, String attrDefInfoBuffer, String newCADName, String currentUnits, Locale locale) throws WTException, RemoteException
WTException
RemoteException
String getAttributeRow(AbstractAttributeDefinizerNodeView parent, String attrDefInfoBuffer, String newCADName, String currentUnits, Locale locale) throws WTException, RemoteException
WTException
RemoteException
public void getReferenceDependencyTable(Properties parameters, Locale locale, OutputStream os)
private WTHtmlTable newWTHtmlTable(boolean newLookAndFeel)
private void printEmptyRow(Locale locale, OutputStream os, Vector columns)
private boolean showDocument(EPMReferenceLink link)
private String getDependencyType(EPMReferenceLink link)
private String getI18NDepType(String key)
private String getNmLocationURL(Folder objFolder) throws WTException
WTException
private String getModifiedByPersonName(EPMDocument doc, String trailkey) throws WTException
WTException
private String getCreatedByPersonName(EPMDocument doc, String trailkey) throws WTException
WTException
private String getPerson(WTPrincipalReference principal_ref, String trailkey) throws WTException
WTException
private String getSecureInfString(Locale locale)
static String getCADNameForDisplay(Object obj)
static String getCADOidForDisplay(Object obj)
static String getIdForDisplay(Object obj)
public static boolean isCADDocInWorkspaceContext(HTTPState a_HTTPState)
public void getWorkspaceContextIntoJSSrc(Properties parameters, Locale locale, OutputStream os)
public static Hashtable getCgiRefererParams(HTTPState a_HTTPState)
private String getAdditionalStatus(Object obj)
private String getWorkspaceStatus(Object obj)
private String getGeneralStatus(Object obj, WTContainer contextContainer, EPMWorkspace ws, ResourceBundle caddocResource, Locale locale)
private EPMDocument getFirstIterationOfThisVersion(Mastered master)
public void getCADDocTitle(Properties parameters, Locale locale, OutputStream os)
public void getCADDocCommonspaceIfoLink(Properties parameters, Locale locale, OutputStream os)
private String getCADDocCommonspaceInfoLink()
private String getResourceBundleValue(String resourceName, String resourceKey, Locale locale)
public void getCADDocCommonspaceInfoLinkAndTitle(Properties parameters, Locale locale, OutputStream os)
private String getContainerPropsURL(WTContainer container)
public void getInfoPageIcon(Properties parameters, Locale locale, OutputStream os)
public void getNewCADDocTitle(Properties parameters, Locale locale, OutputStream os)
public void getNewCADDocIcon(Properties parameters, Locale locale, OutputStream os)
public ContentItem getPrimaryContent(EPMDocument doc, ContentHolder holder, boolean isJ03ND)
public String getAttributeRow(AttributeDefDefaultView addv, String attrDefInfoBuffer, String newCADName, String currentUnits, Locale locale) throws WTException, RemoteException
WTException
RemoteException
public void getLocalizedStatusForContentJS(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getLocalizedAttributeTypeJS(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void isFTDispActiveWorkspace(Properties properties, Locale locale, OutputStream os)
public void getOnlyUploadedWarning(Properties parameters, Locale locale, OutputStream os)
private ContentHolder getContentHolder(EPMDocument doc, boolean isJ03ND)
public void getExtension_to_icon_map(Properties parameters, Locale locale, OutputStream os)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |