com.ptc.windchill.cadx.remove
Class RemoveContentsJs
java.lang.Object
com.ptc.windchill.cadx.remove.RemoveContentsJs
- public class RemoveContentsJs
- extends Object
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 |
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
RemoveContentsJs
public RemoveContentsJs()
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)