|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.enterprise.control.AbstractListener
public abstract class AbstractListener
The abstract listener allows the reuse of basic functionality.
Constructor Summary | |
---|---|
AbstractListener()
|
Method Summary | |
---|---|
abstract void |
actionPerformed(FormEvent e)
|
String |
getAlternativeNextPage()
|
String |
getHomePath()
|
String |
getInitParameter(String name)
returns a named initi parameter or null if the parameter is not known |
List<ParameterValueIm> |
getInitParameterList()
|
String |
getNextPage()
|
ServletRequest |
getRequest()
|
Object |
getReturnValue()
|
protected void |
gotoErrorPage(String message)
|
void |
handle(FormEvent e)
|
void |
setAlternativeNextPage(String target)
|
protected void |
setDefaultAlternativeNextPage(String target)
|
protected void |
setDefaultNextPage(String target)
|
(package private) void |
setInitParameterList(List<ParameterValueIm> params)
sets the list of assigned initialization parameters |
void |
setNextPage(String target)
Sets the next page for this request. |
void |
setReturnValue(Object model)
|
protected HashMap<String,String> |
toModel()
transforms the request to a set of name value pairs stored in a HashMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractListener()
Method Detail |
---|
public abstract void actionPerformed(FormEvent e)
actionPerformed
in interface WebListener
e
- public final void handle(FormEvent e)
e
- public ServletRequest getRequest()
public String getHomePath()
protected final void setDefaultNextPage(String target)
target
- protected final void setDefaultAlternativeNextPage(String target)
target
- public void setNextPage(String target)
public String getNextPage()
public void setAlternativeNextPage(String target)
target
- public String getAlternativeNextPage()
public Object getReturnValue()
public void setReturnValue(Object model)
model
- protected void gotoErrorPage(String message)
void setInitParameterList(List<ParameterValueIm> params)
params
- public List<ParameterValueIm> getInitParameterList()
setInitParameterList(List)
public String getInitParameter(String name)
null
if the parameter is not known
name
-
null
if the parameter is not knownprotected HashMap<String,String> toModel()
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net