java.lang.Object | +--com.ibm.commerce.beans.DataBeanManager
The DataBean manager is responsible for populating databeans.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright notice field. |
Constructor Summary | |
---|---|
DataBeanManager() Creates an instance of the DataBean Manager. |
Method Summary | |
---|---|
static void |
activate(DataBean targetBean,
CommandContext context) This method activates the databean. |
protected
static void |
populateDataBean(
CommandDataBean targetBean,
CommandContext context) This method populate a CommandDataBean by invoking the DataBeanCommand associated with the data bean. |
static void |
silentActivate(
DataBean targetBean, HttpServletRequest request) This method activates or populate a data bean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public DataBeanManager()
Method Detail |
---|
public static void activate(DataBean targetBean, CommandContext context) throws ECException
targetBean
- a databean to be populated.ECException
- if an exception occurs while populating the databean.protected static void populateDataBean(CommandDataBean targetBean, CommandContext context) throws ECException
ECException
- if there was a problem populating the databean, all exceptions will be
wrapped into and ECException and thrown to the caller.public static void silentActivate(DataBean targetBean, HttpServletRequest request)
targetBean
- the data bean to be populated.request
- request used to invoke the JSP.