public class SmartDataBeanImpl extends InputDataBeanImpl implements SmartDataBean
AccessBean object.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
emptyString| Constructor and Description |
|---|
SmartDataBeanImpl()
This is the default constructor for this class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
This method determines if a given member fulfills a given relationship with the resource.
|
CommandContext |
getCommandContext()
This method gets the command context.
|
javax.servlet.http.HttpServletRequest |
getHttpRequest()
This method gets the
HttpServletRequest object. |
javax.servlet.http.HttpServletResponse |
getHttpResponse()
This method gets the
HttpServletResponse object. |
java.lang.Object[] |
getResources()
This method gets the resources accessed by this data bean
It will return null if no resource if being accessed by this data bean.
|
ViewCommandContext |
getViewCommandContext()
This method gets the view command context.
|
void |
populate()
This method populates the data bean with elements.
|
void |
setCommandContext(CommandContext context)
This method sets the command context.
|
void |
setHttpRequest(javax.servlet.http.HttpServletRequest req)
This method sets the
HttpServletRequest object. |
void |
setHttpResponse(javax.servlet.http.HttpServletResponse res)
This method sets the
HttpServletResponse object. |
void |
setViewCommandContext(ViewCommandContext context)
This method sets the view command context.
|
getRequestProperties, setRequestPropertiesequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestProperties, setRequestPropertiespublic static final java.lang.String COPYRIGHT
public SmartDataBeanImpl()
public CommandContext getCommandContext()
getCommandContext in interface SmartDataBeanpublic ViewCommandContext getViewCommandContext()
public java.lang.Object[] getResources()
throws ECException
ECException - This should never be thrown because the method always returns null.public void populate()
throws java.lang.Exception
populate in interface SmartDataBeanjava.lang.Exception - This method should never be thrown because there is no data retrieved to populate the data bean.public void setCommandContext(CommandContext context)
setCommandContext in interface SmartDataBeancontext - This is the command context.public boolean fulfills(java.lang.Long member,
java.lang.String relationship)
throws java.lang.Exception
member - This is the identity of the member.relationship - This is the relationship the member has with the resource.false.java.lang.Exception - This should never be thrown because the method always returns false.public void setViewCommandContext(ViewCommandContext context)
context - This is the view command context.public void setHttpRequest(javax.servlet.http.HttpServletRequest req)
HttpServletRequest object.req - This is an HttpServletRequest object.public void setHttpResponse(javax.servlet.http.HttpServletResponse res)
HttpServletResponse object.res - This is an HttpServletResponse object.public javax.servlet.http.HttpServletRequest getHttpRequest()
HttpServletRequest object.HttpServletRequest object.public javax.servlet.http.HttpServletResponse getHttpResponse()
HttpServletResponse object.HttpServletResponse object.