public class DataBeanManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
| Constructor and Description |
|---|
DataBeanManager()
This is the default constructor for this class.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
activate(DataBean targetBean)
This method activates the data bean.
|
static void |
activate(DataBean targetBean,
boolean abBypassAccessControl)
This method activates the data bean.
|
static void |
activate(DataBean targetBean,
CommandContext context)
This method activates the data bean.
|
static void |
activate(DataBean targetBean,
CommandContext context,
boolean abBypassAccessControl)
This method activates the data bean.
|
static void |
activate(DataBean targetBean,
CommandContext context,
javax.servlet.http.HttpServletResponse response)
This method activates the data bean.
|
static void |
activate(DataBean targetBean,
CommandContext context,
javax.servlet.http.HttpServletResponse response,
boolean abBypassAccessControl)
This method activates the data bean.
|
static void |
activate(DataBean targetBean,
javax.servlet.http.HttpServletRequest request)
Deprecated.
This has been replaced by the
activate(DataBean, HttpServletRequest, HttpServletResponse) |
static void |
activate(DataBean targetBean,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method populates the data bean.
|
static void |
activate(DataBean targetBean,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean abBypassAccessControl)
This method populates the data bean.
|
static java.lang.Boolean |
setAccessControlChecking(java.lang.Boolean abEnabled)
Temporarily enables or disables access control checking in this thread only.
|
static void |
silentActivate(DataBean targetBean,
javax.servlet.http.HttpServletRequest request)
Deprecated.
This has been replaced by the
silentActivate(DataBean, HttpServletRequest, HttpServletResponse) method. |
static void |
silentActivate(DataBean targetBean,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method activates or populates a data bean.
|
public static final java.lang.String COPYRIGHT
public DataBeanManager()
public static final java.lang.Boolean setAccessControlChecking(java.lang.Boolean abEnabled)
abEnabled - specify Boolean.TRUE to enable access control checking,
Boolean.FALSE to disable access control checking.
or specify null to remove the temporary override.public static void activate(DataBean targetBean) throws ECException
ECException.targetBean - This is the data bean to be populated.ECException - This is thrown if an exception occurs while populating the data bean.public static void activate(DataBean targetBean, boolean abBypassAccessControl) throws ECException
ECException.targetBean - This is the data bean to be populated.abBypassAccessControl - specify true to bypass access control checking.ECException - This is thrown if an exception occurs while populating the data bean.public static void activate(DataBean targetBean, CommandContext context) throws ECException
ECException.targetBean - This is the data bean to be populated.context - This is the CommandContext object associated with this request.ECException - This is thrown if an exception occurs while populating the data bean.public static void activate(DataBean targetBean, CommandContext context, boolean abBypassAccessControl) throws ECException
ECException.targetBean - This is the data bean to be populated.context - This is the CommandContext object associated with this request.abBypassAccessControl - specify true to bypass access control checking.ECException - This is thrown if an exception occurs while populating the data bean.public static void activate(DataBean targetBean, CommandContext context, javax.servlet.http.HttpServletResponse response) throws ECException
ECException.targetBean - This is the data bean to be populated.context - This is the CommandContext object associated with this request.response - This is an HttpServletResponse object.ECException - This is thrown if an exception occurs while populating the data bean.public static void activate(DataBean targetBean, CommandContext context, javax.servlet.http.HttpServletResponse response, boolean abBypassAccessControl) throws ECException
ECException.targetBean - This is the data bean to be populated.context - This is the CommandContext object associated with this request.response - This is an HttpServletResponse object.abBypassAccessControl - specify true to bypass access control checking.ECException - This is thrown if an exception occurs while populating the data bean.public static void activate(DataBean targetBean, javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
activate(DataBean, HttpServletRequest, HttpServletResponse)ServletException.targetBean - This is the data bean to be populated.request - This is an HttpServletRequest object used to invoke this JSP.javax.servlet.ServletException - This is thrown if there is a problem populating the data bean.
The exception thrown will be converted to a ServletException and passed back to the caller.public static void activate(DataBean targetBean, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
ServletException.targetBean - This is the data bean to be populated.request - This is the HttpServletRequest object used to invoke this JSP.response - This is the HttpServletResponse object used to invoke this JSPjavax.servlet.ServletException - This is thrown if there is a problem populating the data bean.
The exception thrown will be converted to a ServletException and passed back to the caller.public static void activate(DataBean targetBean, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean abBypassAccessControl) throws javax.servlet.ServletException
ServletException.targetBean - This is the data bean to be populated.request - This is the HttpServletRequest object used to invoke this JSP.response - This is the HttpServletResponse object used to invoke this JSPabBypassAccessControl - specify true to bypass access control checking.javax.servlet.ServletException - This is thrown if there is a problem populating the data bean.
The exception thrown will be converted to a ServletException and passed back to the caller.public static void silentActivate(DataBean targetBean, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
activate method except that
no exception will be thrown.targetBean - This is the data bean to be populated.request - This is the HttpServletRequest object used to invoke the JSP.response - This is the HttpServletResponse object used to invoke the JSP.public static void silentActivate(DataBean targetBean, javax.servlet.http.HttpServletRequest request)
silentActivate(DataBean, HttpServletRequest, HttpServletResponse) method.activate method except that
no exception will be thrown.targetBean - This is the data bean to be populated.request - This is the HttpServletRequest object used to invoke the JSP.