|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.netmarkets.util.beans.NmCommandBean
public class NmCommandBean
Supported API: true
Extendable: true
| Nested Class Summary | |
|---|---|
static class |
com.ptc.netmarkets.util.beans.NmCommandBean.DialogButton
|
static class |
com.ptc.netmarkets.util.beans.NmCommandBean.ElementName
|
| Method Summary | |
|---|---|
NmOid |
getActionOid()
Gets the object that is the target of the action. |
ArrayList<NmOid> |
getActionOidsWithoutWizard()
Gets the actions oids of a action that does not have a wizard. |
ArrayList<NmOid> |
getActionOidsWithWizard()
Gets the actions oids of a action that had a wizard. |
List |
getAddedItemsByName(String param_name)
Will return the list of NmOids which were selected for addition from the component defined by the component name param_name. |
HashMap |
getChangedComboBox()
Gets the comboboxes that have changed. |
HashMap |
getChangedRadio()
Returns a hashMap of any radio buttons that have changed. |
HashMap |
getChangedText()
Gets the textboxes that have changed. |
HashMap |
getChangedTextArea()
Gets the textareas that have changed. |
NmOid |
getElementOid()
Gets the row context object. |
HashMap |
getNewChecked()
Returns a hashMap of Name of Checkbox -> Optional Column Name so that if one was to make a table of principals to Access control, the name would be the user, and the optional column name would be the access control. |
ArrayList<NmOid> |
getNmOidSelected()
Get the selected objects as oids. |
ArrayList<NmOid> |
getNmOidSelectedInOpener()
Get the selected-in-opener objects as oids. |
JspWriter |
getOut()
Gets the value of the attribute: out; available in the jsp engine only This is the jsp out variable Supported API: true |
NmOid |
getPageOid()
Gets the over-ridden context object. |
NmOid |
getPrimaryOid()
Gets the main context object. |
List |
getRemovedItemsByName(String param_name)
Will return the list of NmOids which were selected for removal from the component defined by the component name param_name. |
HttpServletResponse |
getResponse()
Gets the value of the attribute: response; available in the jsp engine only Supported API: true |
ArrayList |
getSelectedContextsForPopup()
Same as getSelectedOidForPopup but it does not auto-convert the NmContext -> NmOid if developer needs that extra info. |
ArrayList |
getSelectedOidForPopup()
gets the selected objects from the table in the popup window jsp or table code if the UI needs to display something about the selected objects that were selected when the action was click to launch the window. |
String |
getTextParameter(String key)
Gets a HTTP request parameter value in UTF8 format. |
String[] |
getTextParameterValues(String key)
Gets all the HTTP request parameter values for the given key in UTF8 format. |
HashMap |
getUnChecked()
Returns a hashMap of all the un-checked checkboxes on the page. |
void |
initializeServerRequestData()
Initialize the commandbean so that request data is available in the Method Server The request object must have been set prior to this call Will not reset if called multiple times Supported API: true |
void |
setOut(Object a_Out)
Sets the value of the attribute: out; available in the jsp engine only Supported API: true |
void |
setParameter(String name,
String value,
String[] values)
Initialize the commandBean with a specific parameter. |
void |
setRequest(Object a_Request)
Initializes the commandbean with all the request params. |
void |
setResponse(Object a_Response)
Sets the value of the attribute: response; available in the jsp engine only Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public NmOid getPrimaryOid()
throws WTException
WTException
public NmOid getPageOid()
throws WTException
WTException
public NmOid getElementOid()
throws WTException
WTException
public HashMap getNewChecked()
throws WTException
WTException
public HashMap getUnChecked()
throws WTException
WTException
public HashMap getChangedRadio()
throws WTException
WTException
public HashMap getChangedText()
throws WTException
WTException
public HashMap getChangedTextArea()
throws WTException
WTException
public HashMap getChangedComboBox()
throws WTException
WTException
public ArrayList getSelectedOidForPopup()
throws WTException
WTExceptionpublic List getAddedItemsByName(String param_name)
param_name.
param_name - The name of the component which the items were added to. (for example: table ID)param_name -
public List getRemovedItemsByName(String param_name)
param_name.
param_name - The name of the component which the items were removed from. (for example: table ID)param_name -
public String getTextParameter(String key)
key -
public String[] getTextParameterValues(String key)
key -
public void setRequest(Object a_Request)
throws WTException
a_Request -
WTExceptionpublic HttpServletResponse getResponse()
public void setResponse(Object a_Response)
throws WTException
a_Response -
WTExceptionpublic JspWriter getOut()
public void setOut(Object a_Out)
throws WTException
a_Out -
WTException
public ArrayList getSelectedContextsForPopup()
throws WTException
WTException
public NmOid getActionOid()
throws WTException
WTException
public void setParameter(String name,
String value,
String[] values)
throws WTException
name - - the name of the request parametervalue - - the value to setvalues - - array of values, if null, will be defaulted to be new String {value}
WTExceptionpublic void initializeServerRequestData()
public ArrayList<NmOid> getActionOidsWithWizard()
throws WTException
WTException
public ArrayList<NmOid> getActionOidsWithoutWizard()
throws WTException
WTException
public ArrayList<NmOid> getNmOidSelected()
throws WTException
WTException
public ArrayList<NmOid> getNmOidSelectedInOpener()
throws WTException
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||