|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.windchill.enterprise.change2.ChangeManagementClientHelper
public class ChangeManagementClientHelper
Helper class used by some of the processors and code of the change clients.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static String |
defaultChangeTask_getName(NmCommandBean cb,
String name)
Will determine the name of the default change task name. |
static String |
defaultChangeTask_getName(WTChangeRequest2 request)
Will determine the name of the default change task name. |
static boolean |
defaultChangeTask_isPropagationSelected(NmCommandBean cb)
Will determine if the propagation was selected in the Change Notice for the default change task by looking at the current FORM data within the command bean. |
static com.ptc.core.ui.resources.ComponentMode |
getComponentMode(Object str_mode)
Will retrieve the Component Mode from the NmCommandBean. |
static String |
getEditWizTitle(String oidStr)
Gets the edit action title from the apropriate resource bundle given a string representation of an NmOid. |
static com.ptc.core.ui.resources.ComponentMode |
getMode(Object obj)
Will retrieve the Component Mode from the specified object. |
static String |
getTableId(NmCommandBean cb,
boolean removeJSFormating)
Retrieve the table Id from the command bean through the TableId Hidden Field Supported API: true |
static String |
getTablId(ObjectBean ob,
boolean removeJSFormating)
Retrieve the table Id from the object bean through the TableId Hidden Field Supported API: true |
static boolean |
isInventoryDispositionSupported(DispositionHandler handler,
Class item)
Will determine if the designated class supports the ability to have a Disposition on its inventory applied. |
static boolean |
isVarianceAction(Class c,
Map formData)
Will determine whether the given action is being accessed from a Variance Create/Edit wizard or the object in question IS a Variance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isVarianceAction(Class c,
Map formData)
c - The class to evaluate (such as the ContextObject( ) class)formData - The map of the FORM data to search for the
"varianceEffectivity" value.
public static com.ptc.core.ui.resources.ComponentMode getMode(Object obj)
operation will be used. If the
object is a ModelContext, the descriptor mode will be determined from the
context.
obj - The object to use to obtain the component mode from.
public static com.ptc.core.ui.resources.ComponentMode getComponentMode(Object str_mode)
mode - The string of the mode.
public static boolean isInventoryDispositionSupported(DispositionHandler handler,
Class item)
handler - The handler used for the processingitem - The class to validate for support
public static String getEditWizTitle(String oidStr)
throws WTException
oidStr - A string representation of an NmOid representing the change
object
WTException
public static String getTableId(NmCommandBean cb,
boolean removeJSFormating)
cb - client dataremoveJSFormating - True removes the prefix and post fix that is used in the DOM
WTException
public static String getTablId(ObjectBean ob,
boolean removeJSFormating)
ob - Object form processing beanremoveJSFormating - True removes the prefix and post fix that is used in the DOM
WTExceptionpublic static boolean defaultChangeTask_isPropagationSelected(NmCommandBean cb)
cb - The command bean to use to process for propagation.
public static String defaultChangeTask_getName(NmCommandBean cb,
String name)
throws WTException
cb - The client data.
WTException
public static String defaultChangeTask_getName(WTChangeRequest2 request)
throws WTException
request - The change request that the change task is getting propagated from.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||