com.ptc.netmarkets.interop
Class NmInteropCommands

java.lang.Object
  extended bycom.ptc.netmarkets.interop.NmInteropCommands
All Implemented Interfaces:
Externalizable, Serializable

public class NmInteropCommands
extends Object
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
static class NmInteropCommands.ActionFlags
           
static class NmInteropCommands.FormVars
           
private static class NmInteropCommands.ItemAttributeInfo
           
static class NmInteropCommands.PasteFormVars
           
static class NmInteropCommands.PutFormVars
           
static class NmInteropCommands.RefreshFormVars
           
 
Field Summary
private static String CLASSNAME
           
private static EPMApplicationVeto epmApplicationVeto
           
static long EXTERNALIZATION_VERSION_UID
           
static String jsArrayName
           
static String NO_TEAM_TEMPLATE
           
static String NO_VIEW
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
static String SEP
           
(package private) static long serialVersionUID
           
static NmInteropService service
          

Supported API: false
static String soidName
           
private static boolean useDefaultWindowSizes
           
static boolean VERBOSE
           
static String WINDOW_HEIGHT
           
static String WINDOW_SIZES
           
 
Constructor Summary
NmInteropCommands()
           
 
Method Summary
private static String addReqParamToMap(String paramName, NmCommandBean cb)
           
private static String addReqParamToMap(String paramName, NmCommandBean cb, String defaultVal)
           
static NmWizardAlert addToProject(NmCommandBean cb)
          

Supported API: false
static void addToProjectToClipboard(NmCommandBean cb)
           
static String checkSelected(String val, String option)
           
private static void checkSetRefreshOperation(NmCommandBean cb)
           
static void convertShareToCheckOut(NmCommandBean cb)
          

Supported API: false
private static void dumpCommandBeanAttributes(NmCommandBean cb)
           
static void dumpParamSizeInfo(javax.servlet.http.HttpServletRequest req, String title)
           
static void dumpRequestParams(javax.servlet.http.HttpServletRequest req, String title)
           
private static void dumpSelected(NmCommandBean cb)
           
static void dumpUtf8String(String s, String fileName)
           
private static void dumpWindowSizeCookie(String cookie)
           
static String escapeChars(String s)
           
static String getActionSettingDisplay(NmURLFactoryBean urlBean, NmAction nmAction)
           
static String getActionSettingDisplay(String actionName)
           
static String getActionSettingDisplayHTML(NmAction nmAction)
           
static ArrayList getAllSelectedOidsForPopup(NmCommandBean cb)
           
static String getAutoNumberFlags(NmCommandBean cb)
          

Supported API: false
static NmNameValuePair[] getCandidateConfigSpecs(NmCommandBean cb)
          

Supported API: false
static NmNameValuePair[] getCandidatePartViews()
          

Supported API: false
static NmInteropContainerInfo[] getCandidatePDMLinkContainers(NmCommandBean cb)
          

Supported API: false
static NmInteropContainerInfo[] getCandidateProjects(NmCommandBean cb)
          

Supported API: false
private static PasteTableModel getPasteTableModel(NmCommandBean cb)
           
private static String getPropertyValue(String inp, String nam)
           
static String getRBString(ResourceBundle rb, String key)
           
static NmInteropRefreshInfo getRefreshCandidates(NmCommandBean cb)
          

Supported API: false
private static RefreshTableModel getRefreshTableModel(NmCommandBean cb)
           
private static String getResourceString(String key, Object[] params)
           
private static ArrayList getSelected(NmCommandBean cb)
           
private static ArrayList getSelectedOidForPopup(NmCommandBean cb)
           
static String getSepJS()
           
static String getViewPref()
           
private static void getWindowSize(NmCommandBean cb, String windowName)
           
static boolean isAllowableCheckinType(Object w)
           
static boolean isEPMDocCheckoutAllowed(EPMDocument epmDoc)
           
static boolean isPDMLinkInstalled()
          

Supported API: false
static boolean isRefreshOperation(NmCommandBean cb)
           
static NmWizardAlert pdmCheckInApply(NmCommandBean cb)
          

Supported API: false
static void pdmCheckInGetContext(NmCommandBean cb)
          

Supported API: false
static NmInteropCheckInDepenInfo pdmCheckInGetDepenObjects(NmCommandBean cb)
          

Supported API: false
static NmObjectLocationInfo pdmCheckInGetLocation(NmCommandBean cb)
          

Supported API: false
static void pdmCheckInGetPartView(NmCommandBean cb)
          

Supported API: false
static void pdmCheckInLeaveShared(NmCommandBean cb)
          

Supported API: false
static void pdmCheckInSetExclude(NmCommandBean cb)
          

Supported API: false
static void pdmCheckInSetUndoCheckOut(NmCommandBean cb)
          

Supported API: false
static NmWizardAlert pdmContainerMove(NmCommandBean cb)
          

Supported API: false
static void pdmContainerMoveGetContext(NmCommandBean cb)
          

Supported API: false
static void pdmContainerMoveSetExclude(NmCommandBean cb)
          

Supported API: false
static void pdmContainerMoveSetMove(NmCommandBean cb)
          

Supported API: false
static NmInteropContainerMoveDepenInfo pdmContMoveGetDepenObjects(NmCommandBean cb)
          

Supported API: false
static NmWizardAlert pdmPasteApply(NmCommandBean cb)
          

Supported API: false
static NmInteropPasteDepenInfo pdmPasteGetDepenObjects(NmCommandBean cb)
          

Supported API: false
static String pdmPasteGetWizardTitle(NmCommandBean cb)
          

Supported API: false
static void pdmPasteSetCopy(NmCommandBean cb)
          

Supported API: false
static void pdmPasteSetShare(NmCommandBean cb)
          

Supported API: false
 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(NmInteropCommands thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
static NmWizardAlert refresh(NmCommandBean cb)
          

Supported API: false
static void sandboxSelectProject(NmCommandBean cb)
          

Supported API: false
static void sandboxSetCheckout(NmCommandBean cb)
          

Supported API: false
static void sandboxSetExclude(NmCommandBean cb)
          

Supported API: false
static void sandboxSetRefresh(NmCommandBean cb)
          

Supported API: false
static void sandboxSetRefreshExclude(NmCommandBean cb)
          

Supported API: false
private static void setItemAction(NmCommandBean cb, NmInteropTableModel tableModel, String action, int actionFlag)
           
private static String setItemAction(NmCommandBean cb, String action, int actionFlag)
           
private static NmInteropCommands.ItemAttributeInfo setItemContext(NmCommandBean cb, String context, String inrowObjContext)
           
private static NmInteropCommands.ItemAttributeInfo setItemLocation(NmCommandBean cb, String location, String inrowObjContext)
           
private static NmInteropCommands.ItemAttributeInfo setItemPartView(NmCommandBean cb, String view, String inrowObjContext)
           
static void undoCheckout(NmCommandBean cb)
          

Supported API: false
static void undoShare(NmCommandBean cb)
          

Supported API: false
static boolean wasPopupActionPerformed(javax.servlet.http.HttpServletRequest req)
           
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
static void writeHidden(String param, javax.servlet.http.HttpServletRequest req, Writer out)
           
 
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

service

public static final NmInteropService service


Supported API: false


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

SEP

public static final String SEP
See Also:
Constant Field Values

NO_VIEW

public static final String NO_VIEW
See Also:
Constant Field Values

NO_TEAM_TEMPLATE

public static final String NO_TEAM_TEMPLATE
See Also:
Constant Field Values

WINDOW_SIZES

public static final String WINDOW_SIZES
See Also:
Constant Field Values

WINDOW_HEIGHT

public static final String WINDOW_HEIGHT
See Also:
Constant Field Values

VERBOSE

public static final boolean VERBOSE

useDefaultWindowSizes

private static final boolean useDefaultWindowSizes

epmApplicationVeto

private static final EPMApplicationVeto epmApplicationVeto

jsArrayName

public static final String jsArrayName
See Also:
Constant Field Values

soidName

public static final String soidName
See Also:
Constant Field Values
Constructor Detail

NmInteropCommands

public NmInteropCommands()
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
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
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(NmInteropCommands 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

pdmPasteGetDepenObjects

public static NmInteropPasteDepenInfo pdmPasteGetDepenObjects(NmCommandBean cb)
                                                       throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmInteropPasteDepenInfo
Throws:
WTException

pdmPasteApply

public static NmWizardAlert pdmPasteApply(NmCommandBean cb)
                                   throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmWizardAlert
Throws:
WTException

pdmPasteGetWizardTitle

public static String pdmPasteGetWizardTitle(NmCommandBean cb)
                                     throws WTException


Supported API: false

Parameters:
cb -
Returns:
String
Throws:
WTException

pdmPasteSetShare

public static void pdmPasteSetShare(NmCommandBean cb)
                             throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

sandboxSetCheckout

public static void sandboxSetCheckout(NmCommandBean cb)
                               throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

pdmPasteSetCopy

public static void pdmPasteSetCopy(NmCommandBean cb)
                            throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

sandboxSetExclude

public static void sandboxSetExclude(NmCommandBean cb)
                              throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

pdmCheckInGetContext

public static void pdmCheckInGetContext(NmCommandBean cb)
                                 throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

pdmCheckInGetLocation

public static NmObjectLocationInfo pdmCheckInGetLocation(NmCommandBean cb)
                                                  throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmObjectLocationInfo
Throws:
WTException

pdmCheckInGetPartView

public static void pdmCheckInGetPartView(NmCommandBean cb)
                                  throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

pdmCheckInGetDepenObjects

public static NmInteropCheckInDepenInfo pdmCheckInGetDepenObjects(NmCommandBean cb)
                                                           throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmInteropCheckInDepenInfo
Throws:
WTException

pdmCheckInApply

public static NmWizardAlert pdmCheckInApply(NmCommandBean cb)
                                     throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmWizardAlert
Throws:
WTException

getCandidateConfigSpecs

public static NmNameValuePair[] getCandidateConfigSpecs(NmCommandBean cb)
                                                 throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmNameValuePair[]
Throws:
WTException

getCandidatePartViews

public static NmNameValuePair[] getCandidatePartViews()
                                               throws WTException


Supported API: false

Returns:
NmNameValuePair[]
Throws:
WTException

getCandidatePDMLinkContainers

public static NmInteropContainerInfo[] getCandidatePDMLinkContainers(NmCommandBean cb)
                                                              throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmInteropContainerInfo[]
Throws:
WTException

getCandidateProjects

public static NmInteropContainerInfo[] getCandidateProjects(NmCommandBean cb)
                                                     throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmInteropContainerInfo[]
Throws:
WTException

isPDMLinkInstalled

public static boolean isPDMLinkInstalled()
                                  throws WTException


Supported API: false

Returns:
boolean
Throws:
WTException

getRefreshCandidates

public static NmInteropRefreshInfo getRefreshCandidates(NmCommandBean cb)
                                                 throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmInteropRefreshInfo
Throws:
WTException

refresh

public static NmWizardAlert refresh(NmCommandBean cb)
                             throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmWizardAlert
Throws:
WTException

sandboxSetRefresh

public static void sandboxSetRefresh(NmCommandBean cb)
                              throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

sandboxSetRefreshExclude

public static void sandboxSetRefreshExclude(NmCommandBean cb)
                                     throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

undoCheckout

public static void undoCheckout(NmCommandBean cb)
                         throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

undoShare

public static void undoShare(NmCommandBean cb)
                      throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

getAutoNumberFlags

public static String getAutoNumberFlags(NmCommandBean cb)
                                 throws WTException


Supported API: false

Parameters:
cb -
Returns:
String
Throws:
WTException

addToProject

public static NmWizardAlert addToProject(NmCommandBean cb)
                                  throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmWizardAlert
Throws:
WTException

convertShareToCheckOut

public static void convertShareToCheckOut(NmCommandBean cb)
                                   throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

pdmCheckInLeaveShared

public static void pdmCheckInLeaveShared(NmCommandBean cb)
                                  throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

pdmCheckInSetUndoCheckOut

public static void pdmCheckInSetUndoCheckOut(NmCommandBean cb)
                                      throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

pdmCheckInSetExclude

public static void pdmCheckInSetExclude(NmCommandBean cb)
                                 throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

sandboxSelectProject

public static void sandboxSelectProject(NmCommandBean cb)


Supported API: false

Parameters:
cb -

pdmContMoveGetDepenObjects

public static NmInteropContainerMoveDepenInfo pdmContMoveGetDepenObjects(NmCommandBean cb)
                                                                  throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmInteropContainerMoveDepenInfo
Throws:
WTException

pdmContainerMove

public static NmWizardAlert pdmContainerMove(NmCommandBean cb)
                                      throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmWizardAlert
Throws:
WTException

pdmContainerMoveGetContext

public static void pdmContainerMoveGetContext(NmCommandBean cb)
                                       throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

pdmContainerMoveSetMove

public static void pdmContainerMoveSetMove(NmCommandBean cb)
                                    throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

pdmContainerMoveSetExclude

public static void pdmContainerMoveSetExclude(NmCommandBean cb)
                                       throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

getActionSettingDisplay

public static String getActionSettingDisplay(String actionName)
                                      throws WTException
Throws:
WTException

getActionSettingDisplayHTML

public static String getActionSettingDisplayHTML(NmAction nmAction)
                                          throws WTException
Throws:
WTException

getActionSettingDisplay

public static String getActionSettingDisplay(NmURLFactoryBean urlBean,
                                             NmAction nmAction)

writeHidden

public static void writeHidden(String param,
                               javax.servlet.http.HttpServletRequest req,
                               Writer out)
                        throws IOException
Throws:
IOException

checkSelected

public static String checkSelected(String val,
                                   String option)

getViewPref

public static String getViewPref()
                          throws WTException
Throws:
WTException

dumpRequestParams

public static void dumpRequestParams(javax.servlet.http.HttpServletRequest req,
                                     String title)

dumpParamSizeInfo

public static void dumpParamSizeInfo(javax.servlet.http.HttpServletRequest req,
                                     String title)

escapeChars

public static String escapeChars(String s)

getRBString

public static String getRBString(ResourceBundle rb,
                                 String key)

wasPopupActionPerformed

public static boolean wasPopupActionPerformed(javax.servlet.http.HttpServletRequest req)

isEPMDocCheckoutAllowed

public static boolean isEPMDocCheckoutAllowed(EPMDocument epmDoc)
                                       throws WTException
Throws:
WTException

isAllowableCheckinType

public static boolean isAllowableCheckinType(Object w)

dumpSelected

private static void dumpSelected(NmCommandBean cb)
                          throws WTException
Throws:
WTException

getSelected

private static ArrayList getSelected(NmCommandBean cb)
                              throws WTException
Throws:
WTException

addReqParamToMap

private static String addReqParamToMap(String paramName,
                                       NmCommandBean cb,
                                       String defaultVal)

addReqParamToMap

private static String addReqParamToMap(String paramName,
                                       NmCommandBean cb)

getSelectedOidForPopup

private static ArrayList getSelectedOidForPopup(NmCommandBean cb)
                                         throws WTException
Throws:
WTException

getAllSelectedOidsForPopup

public static ArrayList getAllSelectedOidsForPopup(NmCommandBean cb)
                                            throws WTException
Throws:
WTException

isRefreshOperation

public static boolean isRefreshOperation(NmCommandBean cb)

addToProjectToClipboard

public static void addToProjectToClipboard(NmCommandBean cb)
                                    throws WTException
Throws:
WTException

getSepJS

public static String getSepJS()

checkSetRefreshOperation

private static void checkSetRefreshOperation(NmCommandBean cb)

dumpCommandBeanAttributes

private static void dumpCommandBeanAttributes(NmCommandBean cb)
                                       throws WTException
Throws:
WTException

getWindowSize

private static void getWindowSize(NmCommandBean cb,
                                  String windowName)
                           throws WTException
Throws:
WTException

getPropertyValue

private static String getPropertyValue(String inp,
                                       String nam)

dumpWindowSizeCookie

private static void dumpWindowSizeCookie(String cookie)

setItemAction

private static String setItemAction(NmCommandBean cb,
                                    String action,
                                    int actionFlag)
                             throws WTException
Throws:
WTException

setItemContext

private static NmInteropCommands.ItemAttributeInfo setItemContext(NmCommandBean cb,
                                                                  String context,
                                                                  String inrowObjContext)
                                                           throws WTException
Throws:
WTException

setItemLocation

private static NmInteropCommands.ItemAttributeInfo setItemLocation(NmCommandBean cb,
                                                                   String location,
                                                                   String inrowObjContext)
                                                            throws WTException
Throws:
WTException

setItemPartView

private static NmInteropCommands.ItemAttributeInfo setItemPartView(NmCommandBean cb,
                                                                   String view,
                                                                   String inrowObjContext)
                                                            throws WTException
Throws:
WTException

dumpUtf8String

public static void dumpUtf8String(String s,
                                  String fileName)

getResourceString

private static String getResourceString(String key,
                                        Object[] params)
                                 throws WTException
Throws:
WTException

getPasteTableModel

private static PasteTableModel getPasteTableModel(NmCommandBean cb)
                                           throws WTException
Throws:
WTException

getRefreshTableModel

private static RefreshTableModel getRefreshTableModel(NmCommandBean cb)
                                               throws WTException
Throws:
WTException

setItemAction

private static void setItemAction(NmCommandBean cb,
                                  NmInteropTableModel tableModel,
                                  String action,
                                  int actionFlag)
                           throws WTException
Throws:
WTException