com.ibm.commerce.scheduler.beans
Class BusinessLogicDataBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.scheduler.beans.BusinessLogicDataBean
All Implemented Interfaces:
DataBean, InputDataBean, SchedulerDataBean, java.io.Serializable, SmartDataBean

public class BusinessLogicDataBean
extends SmartDataBeanImpl
implements SchedulerDataBean

A data bean that represents the different task commands that can be associated with

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          The IBM Copyright Statement.
 
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
BusinessLogicDataBean()
          Creates the business logic data bean.
 
Method Summary
 java.lang.String getURL(int index)
          Returns the name of the commerce command.
 void populate()
          Retrieves all the defined commerce commands.
 int size()
          Returns the number of available business logic tasks.
 
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
 
Methods inherited from interface com.ibm.commerce.beans. SmartDataBean
getCommandContext, setCommandContext
 

Field Detail
public static final java.lang.String COPYRIGHT
The IBM Copyright Statement.
See Also:
Constant Field Values
Constructor Detail

BusinessLogicDataBean

public BusinessLogicDataBean()
Creates the business logic data bean.
Method Detail

getURL

public java.lang.String getURL(int index)
Returns the name of the commerce command.
Parameters:
index - the position of the item to retrieve.
Returns:
the commerce command.

populate

public void populate()
              throws java.lang.Exception
Retrieves all the defined commerce commands.
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - if there is any problem retrieving the defined commerce commands.

size

public int size()
Returns the number of available business logic tasks.
Returns:
the number of business logic tasks.