|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.scaffold.util.BizRequestImpl
public abstract class BizRequestImpl
Concrete implementation of a business request.
[org,apache.commons.util.BizRequest]
| Field Summary |
|---|
| Fields inherited from interface org.apache.commons.scaffold.util.BizRequest |
|---|
REMOTE_SERVER_KEY, SESSION_LOCALE_KEY |
| Constructor Summary | |
|---|---|
BizRequestImpl()
|
|
| Method Summary | |
|---|---|
String |
getParameter()
Return the parameter. |
String |
getRemoteHost()
|
Integer |
getRemoteNode()
Return the network address of the client for this bean instance. |
Object |
getRemoteServer()
The remote server object for this bean instance, if any. |
Locale |
getSessionLocale()
Return the locale for this bean instance. |
void |
setParameter(String parameter)
Set the parameter. |
void |
setRemoteHost(String remoteHost)
|
void |
setRemoteNode(Integer remoteNode)
Set the network address of the client for this bean instance. |
void |
setRemoteServer(Object server)
Set the remote server |
void |
setSessionLocale(Locale locale)
Set the locale for this bean instance. |
Messages |
validate(String parameter)
Validate the properties that have been set for this business request, and return an Messages object that encapsulates any
validation errors that have been found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BizRequestImpl()
| Method Detail |
|---|
public Locale getSessionLocale()
BizRequest
getSessionLocale in interface BizRequestpublic void setSessionLocale(Locale locale)
BizRequest
setSessionLocale in interface BizRequestlocale - The new localepublic Integer getRemoteNode()
BizRequest
getRemoteNode in interface BizRequestpublic void setRemoteNode(Integer remoteNode)
BizRequest
setRemoteNode in interface BizRequestremoteNode - The new remoteNode.public void setRemoteHost(String remoteHost)
public String getRemoteHost()
public Object getRemoteServer()
BizRequest
This is often an application-scope object that can be used
to process a JDBC query or equivalent.
By default, the ProcessAction will set this to any
application scope object found under the key
BaseAction.REMOTE_SERVER or to null.
getRemoteServer in interface BizRequestpublic void setRemoteServer(Object server)
BizRequest
setRemoteServer in interface BizRequestserver - The new serverpublic String getParameter()
BizRequest
getParameter in interface BizRequestpublic void setParameter(String parameter)
BizRequest
setParameter in interface BizRequestparameter - The new parameterpublic Messages validate(String parameter)
BizRequestMessages object that encapsulates any
validation errors that have been found. If no errors are found,
return null or an Messages object with
no recorded error messages.
validate in interface BizRequestparameter - A general purpose parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||