com.ptc.windchill.enterprise.change2.beans
Class DispositionBean

java.lang.Object
  extended by com.ptc.windchill.enterprise.change2.beans.DispositionBean
All Implemented Interfaces:
Serializable

public class DispositionBean
extends Object
implements Serializable

The DispositionBean is used to process the selected items for use in the Set Disposition client. Since the items are used both within Javascript within the page and for processing within the Method Server dataUtility, it is important to ensure that the objects are processed in an efficient manner. The bean is used by the JSP file located under netmarkets/jsp/changeTask/setDispositionStep.jsp If a subclass of this bean is to be used, the <jsp:useBean> tag in that JSP file should be updated to reflect the new class of the subclassed bean. The JSP file currently initializes the bean using the current NmCommandBean which will automatically process the selected items from the table and create the list of disposition items (validating their applicability with the supported and excluded class sets).

Supported API: true

Extendable: true

See Also:
DispositionHandler, Serialized Form

Method Summary
 WTList getDispositionItems()
          Retrieves the list of disposition items in the bean.
 void setCommandBean(NmCommandBean cb)
          Will set the command bean in the Disposition Bean.
 void setDispositionItems(WTList list)
          Specifies the disposition item list for the bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setDispositionItems

public void setDispositionItems(WTList list)
Specifies the disposition item list for the bean.

Supported API: true

Parameters:
list - The list of objects to set in the bean.

getDispositionItems

public WTList getDispositionItems()
Retrieves the list of disposition items in the bean.

Supported API: true

Returns:
WTList The list of disposition items from the bean.

setCommandBean

public void setCommandBean(NmCommandBean cb)
Will set the command bean in the Disposition Bean. Along with setting the command bean in the Disposition Bean, the items which are selected from the table will be processed and the disposition Items set.

Supported API: true

Parameters:
cb - The command bean to initilize the bean to.