com.ibm.commerce.scheduler.beans
Class ApplicationTypeDataBean

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

public class ApplicationTypeDataBean
extends SmartDataBeanImpl
implements SchedulerDataBean

A data bean that represents all the application types defined for the scheduler.

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
ApplicationTypeDataBean()
           
 
Method Summary
 java.lang.String getApplicationType(int index)
          Returns the application type.
 void populate()
          Retrieves all the application types defined in the scheduler.
 int size()
          Returns the number of available application types.
 
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

ApplicationTypeDataBean

public ApplicationTypeDataBean()
Method Detail

getApplicationType

public java.lang.String getApplicationType(int index)
Returns the application type.
Parameters:
index - the application type to return.
Returns:
the application type.

populate

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

size

public int size()
Returns the number of available application types.
Returns:
the number of application types.