com.ibm.commerce.scheduler.beans
Class RegistryItemsDataBean
java.lang.Object
|
+--com.ibm.commerce.beans.InputDataBeanImpl
|
+--com.ibm.commerce.beans.SmartDataBeanImpl
|
+--com.ibm.commerce.scheduler.beans.RegistryItemsDataBean
- All Implemented Interfaces:
- DataBean,
InputDataBean,
SchedulerDataBean, java.io.Serializable,
SmartDataBean
- public class RegistryItemsDataBean
- extends
SmartDataBeanImpl
- implements
SchedulerDataBean
A data bean that represents the different registry components.
- See Also:
- Serialized
Form
Field Summary |
static java.lang.String |
COPYRIGHT
The IBM Copyright Statement. |
Method Summary |
java.lang.String |
getComponent(int index)
Returns the name of the registry component. |
java.lang.String |
getStatus(int index)
Returns the current state of the registry component. |
void |
populate()
Retrieves all the registry components defined for the current
commerce instance. |
int |
size()
Returns the number of available registry
components. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The IBM Copyright Statement.
- See Also:
-
Constant Field Values
RegistryItemsDataBean
public RegistryItemsDataBean()
- Creates the registry items data bean.
getComponent
public java.lang.String getComponent(int index)
- Returns the name of the registry component.
-
- Parameters:
index
- the index of the registry component.
- Returns:
- the name of the registry component.
getStatus
public java.lang.String getStatus(int index)
- Returns the current state of the registry component.
-
- Parameters:
index
- the index of the registry component.
- Returns:
- the current state. A state of "R" means the componet is
refreshing itself. A state of "C" means that the component is
refreshed.
populate
public void populate()
throws java.lang.Exception
- Retrieves all the registry components defined for the current commerce
instance.
-
- Specified by:
-
populate
in interface
SmartDataBean
- Overrides:
-
populate
in class
SmartDataBeanImpl
-
- Throws:
java.lang.Exception
- if there is any problem retrieving the
registry components.
size
public int size()
- Returns the number of available registry components.
-
- Returns:
- the number of registry components.