|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.components.beans.ObjectBean
public class ObjectBean
A class used to access the form data specific to a single object
being created or updated by a HTML wizard and the form data common
to all target objects. Also contains the instance
of the object created during the processing of the wizard.
See the Windchill Customizers' Guide for more information on wizard processing.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
addChild(ObjectBean child)
Adds a child ObjectBean to this ObjectBean. |
NmOid |
getActionOid()
Gets the object that is the target of the action. |
List |
getAddedItemsByName(String param_name)
Returns a the list of NmOids for objects which were added to the component with the name param_name. |
Map<String,List<String>> |
getChangedComboBox()
Returns the combo box input fields that were modified by the user. |
Map<String,String> |
getChangedRadio()
Returns the radio button input fields that were modified by the user. |
Map<String,String> |
getChangedText()
Returns the textbox input fields that were modified by the user. |
Map<String,String> |
getChangedTextArea()
Returns the textarea input fields that were modified by the user. |
Map<String,List<String>> |
getChecked()
Returns the checkbox input fields that were checked by the user. |
List<ObjectBean> |
getChildren()
Gets the value of the attribute: children. |
Map<String,List<String>> |
getNewChecked()
Supported API: true |
Object |
getObject()
Gets the value of the attribute: object. |
String |
getObjectHandle()
Gets the value of the attribute: objectHandle. |
ObjectBean |
getParent()
Gets the value of the attribute: parent. |
List |
getRemovedItemsByName(String param_name)
Returns a list of the objects that were removed from a component. |
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. |
Map<String,List<String>> |
getUnChecked()
Returns a hashMap of all the un-checked checkboxes on the page. |
boolean |
hasChildren()
Returns true if this ObjectBean has child ObjectBeans; false otherwise. |
void |
setChildren(List<ObjectBean> a_Children)
Sets the value of the attribute: children. |
void |
setObject(Object a_Object)
Sets the value of the attribute: object. |
void |
setParent(ObjectBean a_Parent)
Sets the value of the attribute: parent. |
String |
toString()
Dumps the contents of this ObjectBean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public List<ObjectBean> getChildren()
public void setChildren(List<ObjectBean> a_Children)
a_Children - public Object getObject()
public void setObject(Object a_Object)
a_Object - public String getObjectHandle()
public ObjectBean getParent()
public void setParent(ObjectBean a_Parent)
a_Parent - public void addChild(ObjectBean child)
child - public boolean hasChildren()
public String toString()
toString in class Objectpublic List getAddedItemsByName(String param_name)
param_name.
param_name - The name of the component to which the items were added (for example: table ID)
public Map<String,List<String>> getChangedComboBox()
throws WTException
WTException
public Map<String,String> getChangedRadio()
throws WTException
WTException
public Map<String,String> getChangedText()
throws WTException
WTException
public Map<String,String> getChangedTextArea()
throws WTException
WTExceptionpublic Map<String,List<String>> getChecked()
public Map<String,List<String>> getNewChecked()
throws WTException
WTExceptionpublic List getRemovedItemsByName(String param_name)
param_name - - the name of the component. E.g., table id.
public String getTextParameter(String key)
key - - name of parameter to retrieve
public String[] getTextParameterValues(String key)
key - - name of parameter to retrieve
public Map<String,List<String>> getUnChecked()
throws WTException
WTException
public NmOid getActionOid()
throws WTException
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||