com.ibm.commerce.approval.beans
Class ApprovalTaskLightListBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.approval.beans.ApprovalTaskLightListBean
All Implemented Interfaces:
ApprovalTasksLightListInputDataBean, ApprovalTasksLightListSmartDataBean, DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class ApprovalTaskLightListBean
extends SmartDataBeanImpl
implements ApprovalTasksLightListInputDataBean, ApprovalTasksLightListSmartDataBean

Provides a list of ApprovalTaskLightDataBean beans for use in a drop down list of processes.

See Also:
Serialized Form

Field Summary
protected  ApprovalTaskLightDataBean[] approvalTaskBeans
           
static java.lang.String COPYRIGHT
           
protected  java.lang.String languageId
           
 
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
ApprovalTaskLightListBean()
          ApprovalTaskLightListBean constructor.
 
Method Summary
 ApprovalTaskLightDataBean[] getApprovalTaskBeans()
          Returns an array of ApprovalTaskLightDataBeans corresponding to the rows in the list.
 java.lang.String getLanguageId()
          Returns the language Id.
 void populate()
          Creates a list of beans corresponding to the unique tasks (flow type descriptions) available for the submitter or approver.
 void setApprovalTaskBeans(ApprovalTaskLightDataBean[] newApprovalTaskBeans)
          Sets the array of ApprovalTaskLightDataBeans corresponding to the rows in the list.
 void setLanguageId(java.lang.String newLanguageId)
          Sets the languageId.
 
Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl
getRequestProperties, setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans.InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail

approvalTaskBeans

protected ApprovalTaskLightDataBean[] approvalTaskBeans

COPYRIGHT

public static final java.lang.String COPYRIGHT

languageId

protected java.lang.String languageId
Constructor Detail

ApprovalTaskLightListBean

public ApprovalTaskLightListBean()
ApprovalTaskLightListBean constructor.
Method Detail

getApprovalTaskBeans

public ApprovalTaskLightDataBean[] getApprovalTaskBeans()
Returns an array of ApprovalTaskLightDataBeans corresponding to the rows in the list.
Specified by:
getApprovalTaskBeans in interface ApprovalTasksLightListSmartDataBean
Returns:
approvalTaskBeans The array of ApprovalTaskLightDataBeans corresponding to the rows in the list.

getLanguageId

public java.lang.String getLanguageId()
Returns the language Id.
Specified by:
getLanguageId in interface ApprovalTasksLightListSmartDataBean
Returns:
languageId The language id for NLS support.

populate

public void populate()
              throws java.lang.Exception
Creates a list of beans corresponding to the unique tasks (flow type descriptions) available for the submitter or approver.
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - if there is any problem creating the list.

setApprovalTaskBeans

public void setApprovalTaskBeans(ApprovalTaskLightDataBean[] newApprovalTaskBeans)
Sets the array of ApprovalTaskLightDataBeans corresponding to the rows in the list.
Specified by:
setApprovalTaskBeans in interface ApprovalTasksLightListInputDataBean
Parameters:
newApprovalTaskBeans - The array of ApprovalTaskLightDataBeans corresponding to the rows in the list.

setLanguageId

public void setLanguageId(java.lang.String newLanguageId)
Sets the languageId.
Specified by:
setLanguageId in interface ApprovalTasksLightListInputDataBean
Parameters:
newLanguageId - The language id for NLS support