com.ptc.windchill.cadx.remove
Class RemoveContentsJs

java.lang.Object
  extended bycom.ptc.windchill.cadx.remove.RemoveContentsJs

public class RemoveContentsJs
extends Object


Field Summary
private static char BLANK_CHAR
           
private static String BLANK_SPACE
           
private static char CHAR_DOUBLE_QUOTE
           
private static char CHAR_NEWLINE
           
private static char CHAR_SINGLE_QUOTE
           
private static char CR_CHAR
           
static String JS_OBJ_CONTEXTLINKS
           
static String JS_OBJ_CONTEXTLINKS_LINKS
           
static String JS_OBJ_DOUBLE_QUOTE
           
static String JS_OBJ_IS_WILDFIRE
           
static String JS_OBJ_LN
           
static String JS_OBJ_NEW
           
static String JS_OBJ_NEW_ARRAY
           
static String JS_OBJ_SEMICOLON
           
static String JS_OBJ_SINGLE_QUOTE
           
static String JS_OBJ_WC_CODEBASE
           
static String JS_OBJ_WFOBJURL
           
static String JS_OBJ_WFOBJURL_NAME
           
static String JS_OBJ_WFOBJURL_URL
           
static String JS_OBJ_WS_RENDERIT
           
static String JS_OBJ_WS_ROW
           
static String JS_OBJ_WS_ROW_CONTEXTLINKS
           
static String JS_OBJ_WS_ROW_ICON
           
static String JS_OBJ_WS_ROW_LIFECYCLE
           
static String JS_OBJ_WS_ROW_OBJNAME
           
static String JS_OBJ_WS_ROW_OBJNUMBER
           
static String JS_OBJ_WS_ROW_OBJOID
           
static String JS_OBJ_WS_ROW_OBJSTATUS
           
static String JS_OBJ_WS_ROW_OBJTIMESTAMP
           
static String JS_OBJ_WS_ROW_OBJTYPE
           
static String JS_OBJ_WS_ROW_OBJURL
           
static String JS_OBJ_WS_ROW_PROJNAME
           
static String JS_OBJ_WS_ROW_PROJURL
           
static String JS_OBJ_WS_SERVER_TABLE
           
private static char NEWLINE_CHAR
           
private static String OBJECT_ACTION_OBJ_PROPS
           
private static String SPACE
           
 
Constructor Summary
RemoveContentsJs()
           
 
Method Summary
static StringBuffer addWsRowBuffer(StringBuffer wsRowInProgress, String variable)
           
static String appendWsRow(String wsTableInProgress, String wsRow)
           
static String createWsRow(String objIcon, String objPDMStatus, String objAuthStatus, String objName, String objURL, String objOID, String objCadModelName, String objNumber, String objVersion, String objLifeCycleState, String objType, String objTimeStamp, String selected, String objPDMType, String drawing, String objAuthApp, String objRequiredStr)
           
static String finalizeWsTableBuffer(String wsTableInProgress)
           
static String getDocumentScript(EPMDocumentInfo infoObj, int index, Locale locale, EPMWorkspace workspace, HTTPState state, HashMap instanceGenericMap, HashMap genericInstanceMap, ArrayList selectedGenericOrInstances, ArrayList associatedGenericOrInstances, ArrayList requiredGenericOrInstances)
           
static String getOid(Persistable obj)
           
static String[] getOptionRulesArray(Locale locale)
           
protected static String getOROid(Object obj)
           
static String getPartScript(EPMDocumentInfo infoObj, int index, Locale locale, EPMWorkspace workspace, HTTPState state, HashMap instanceGenericMap, HashMap genericInstanceMap, ArrayList selectedGenericOrInstances, ArrayList associatedGenericOrInstances, ArrayList requiredGenericOrInstances)
           
private static String[] getRulesArray(Locale locale)
           
static String initWsTableBuffer(String codebase, boolean isWildfire)
           
private static String processType(WTObject obj)
           
static String renderIt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JS_OBJ_WS_ROW

public static final String JS_OBJ_WS_ROW
See Also:
Constant Field Values

JS_OBJ_WC_CODEBASE

public static final String JS_OBJ_WC_CODEBASE
See Also:
Constant Field Values

JS_OBJ_IS_WILDFIRE

public static final String JS_OBJ_IS_WILDFIRE
See Also:
Constant Field Values

JS_OBJ_WS_ROW_ICON

public static final String JS_OBJ_WS_ROW_ICON
See Also:
Constant Field Values

JS_OBJ_WS_ROW_OBJSTATUS

public static final String JS_OBJ_WS_ROW_OBJSTATUS
See Also:
Constant Field Values

JS_OBJ_WS_ROW_OBJNAME

public static final String JS_OBJ_WS_ROW_OBJNAME
See Also:
Constant Field Values

JS_OBJ_WS_ROW_OBJURL

public static final String JS_OBJ_WS_ROW_OBJURL
See Also:
Constant Field Values

JS_OBJ_WS_ROW_OBJOID

public static final String JS_OBJ_WS_ROW_OBJOID
See Also:
Constant Field Values

JS_OBJ_WS_ROW_OBJNUMBER

public static final String JS_OBJ_WS_ROW_OBJNUMBER
See Also:
Constant Field Values

JS_OBJ_WS_ROW_LIFECYCLE

public static final String JS_OBJ_WS_ROW_LIFECYCLE
See Also:
Constant Field Values

JS_OBJ_WS_ROW_OBJTYPE

public static final String JS_OBJ_WS_ROW_OBJTYPE
See Also:
Constant Field Values

JS_OBJ_WS_ROW_OBJTIMESTAMP

public static final String JS_OBJ_WS_ROW_OBJTIMESTAMP
See Also:
Constant Field Values

JS_OBJ_WS_ROW_PROJNAME

public static final String JS_OBJ_WS_ROW_PROJNAME
See Also:
Constant Field Values

JS_OBJ_WS_ROW_PROJURL

public static final String JS_OBJ_WS_ROW_PROJURL
See Also:
Constant Field Values

JS_OBJ_WS_ROW_CONTEXTLINKS

public static final String JS_OBJ_WS_ROW_CONTEXTLINKS
See Also:
Constant Field Values

JS_OBJ_CONTEXTLINKS

public static final String JS_OBJ_CONTEXTLINKS
See Also:
Constant Field Values

JS_OBJ_CONTEXTLINKS_LINKS

public static final String JS_OBJ_CONTEXTLINKS_LINKS
See Also:
Constant Field Values

JS_OBJ_WFOBJURL

public static final String JS_OBJ_WFOBJURL
See Also:
Constant Field Values

JS_OBJ_WFOBJURL_NAME

public static final String JS_OBJ_WFOBJURL_NAME
See Also:
Constant Field Values

JS_OBJ_WFOBJURL_URL

public static final String JS_OBJ_WFOBJURL_URL
See Also:
Constant Field Values

JS_OBJ_NEW

public static final String JS_OBJ_NEW
See Also:
Constant Field Values

JS_OBJ_NEW_ARRAY

public static final String JS_OBJ_NEW_ARRAY
See Also:
Constant Field Values

JS_OBJ_WS_SERVER_TABLE

public static final String JS_OBJ_WS_SERVER_TABLE
See Also:
Constant Field Values

JS_OBJ_LN

public static final String JS_OBJ_LN
See Also:
Constant Field Values

JS_OBJ_SINGLE_QUOTE

public static final String JS_OBJ_SINGLE_QUOTE
See Also:
Constant Field Values

JS_OBJ_DOUBLE_QUOTE

public static final String JS_OBJ_DOUBLE_QUOTE
See Also:
Constant Field Values

JS_OBJ_SEMICOLON

public static final String JS_OBJ_SEMICOLON
See Also:
Constant Field Values

JS_OBJ_WS_RENDERIT

public static final String JS_OBJ_WS_RENDERIT
See Also:
Constant Field Values

CHAR_SINGLE_QUOTE

private static final char CHAR_SINGLE_QUOTE
See Also:
Constant Field Values

CHAR_DOUBLE_QUOTE

private static final char CHAR_DOUBLE_QUOTE
See Also:
Constant Field Values

CHAR_NEWLINE

private static final char CHAR_NEWLINE
See Also:
Constant Field Values

OBJECT_ACTION_OBJ_PROPS

private static final String OBJECT_ACTION_OBJ_PROPS
See Also:
Constant Field Values

BLANK_SPACE

private static final String BLANK_SPACE
See Also:
Constant Field Values

SPACE

private static final String SPACE
See Also:
Constant Field Values

NEWLINE_CHAR

private static final char NEWLINE_CHAR
See Also:
Constant Field Values

CR_CHAR

private static final char CR_CHAR
See Also:
Constant Field Values

BLANK_CHAR

private static final char BLANK_CHAR
See Also:
Constant Field Values
Constructor Detail

RemoveContentsJs

public RemoveContentsJs()
Method Detail

createWsRow

public static String createWsRow(String objIcon,
                                 String objPDMStatus,
                                 String objAuthStatus,
                                 String objName,
                                 String objURL,
                                 String objOID,
                                 String objCadModelName,
                                 String objNumber,
                                 String objVersion,
                                 String objLifeCycleState,
                                 String objType,
                                 String objTimeStamp,
                                 String selected,
                                 String objPDMType,
                                 String drawing,
                                 String objAuthApp,
                                 String objRequiredStr)

addWsRowBuffer

public static StringBuffer addWsRowBuffer(StringBuffer wsRowInProgress,
                                          String variable)

initWsTableBuffer

public static String initWsTableBuffer(String codebase,
                                       boolean isWildfire)

appendWsRow

public static String appendWsRow(String wsTableInProgress,
                                 String wsRow)

finalizeWsTableBuffer

public static String finalizeWsTableBuffer(String wsTableInProgress)

renderIt

public static String renderIt()

getDocumentScript

public static String getDocumentScript(EPMDocumentInfo infoObj,
                                       int index,
                                       Locale locale,
                                       EPMWorkspace workspace,
                                       HTTPState state,
                                       HashMap instanceGenericMap,
                                       HashMap genericInstanceMap,
                                       ArrayList selectedGenericOrInstances,
                                       ArrayList associatedGenericOrInstances,
                                       ArrayList requiredGenericOrInstances)
                                throws WTException
Throws:
WTException

getPartScript

public static String getPartScript(EPMDocumentInfo infoObj,
                                   int index,
                                   Locale locale,
                                   EPMWorkspace workspace,
                                   HTTPState state,
                                   HashMap instanceGenericMap,
                                   HashMap genericInstanceMap,
                                   ArrayList selectedGenericOrInstances,
                                   ArrayList associatedGenericOrInstances,
                                   ArrayList requiredGenericOrInstances)
                            throws WTException
Throws:
WTException

processType

private static String processType(WTObject obj)
                           throws WTException
Throws:
WTException

getOid

public static String getOid(Persistable obj)
                     throws WTException
Throws:
WTException

getOROid

protected static String getOROid(Object obj)
                          throws WTException
Throws:
WTException

getRulesArray

private static String[] getRulesArray(Locale locale)

getOptionRulesArray

public static String[] getOptionRulesArray(Locale locale)