|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.enterprise.control.AbstractListener
org.deegree.portal.standard.context.control.AbstractContextListener
public abstract class AbstractContextListener
This exception shall be thrown when a session(ID) will be used that has been expired.
| Field Summary | |
|---|---|
protected static String |
userDir
WEB-INF/conf/igeoportal/users/ |
| Constructor Summary | |
|---|---|
AbstractContextListener()
|
|
| Method Summary | |
|---|---|
static void |
changeBBox(ViewContext vc,
Envelope bbox)
changes the bounding box of a given view context |
protected void |
changeLayerList(ViewContext vc,
RPCMember[] rpcLayerList)
changes the layer list of the ViewContext vc according to the information contained in the rpcLayerList |
protected Envelope |
extractBBox(RPCStruct bboxStruct,
CoordinateSystem crs)
Convenience method to extract the boundig box from an rpc fragment. |
protected RPCParameter[] |
extractRPCParameters(RPCWebEvent rpcEvent)
Extracts the parameters from the method call element within the passed rpcEvent. |
protected RPCStruct |
extractRPCStruct(RPCWebEvent rpcEvent,
int index)
Extracts the RPCStruct from the indicated parameter in the params element of the passed
RPCWebEvent. |
protected List<String> |
getContextList(String userName)
returns a list of all available context documents assigned to the passed user |
protected String |
getUserName(String sessionId)
gets the user name assigned to the passed session ID from an authentication service. |
protected String |
getUserPassword(String sessionId)
gets the user password assigned to the passed session ID from a authentification service. |
protected String |
getUsersStartContext(String userName)
returns the name of the users start context. |
protected String |
readSessionID(RPCStruct struct)
reads the users session ID. |
protected String |
transformToHtmlMapContext(XMLFragment xml,
String xsl)
This function takes in a XmlFragment and transforms it to a html map context |
| Methods inherited from class org.deegree.enterprise.control.AbstractListener |
|---|
actionPerformed, getAlternativeNextPage, getHomePath, getInitParameter, getInitParameterList, getNextPage, getRequest, getReturnValue, gotoErrorPage, handle, setAlternativeNextPage, setDefaultAlternativeNextPage, setDefaultNextPage, setNextPage, setReturnValue, toModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String userDir
| Constructor Detail |
|---|
public AbstractContextListener()
| Method Detail |
|---|
protected String getUserName(String sessionId)
throws XMLParsingException,
IOException,
SAXException
sessionId -
XMLParsingException
SAXException
IOException
protected String getUserPassword(String sessionId)
throws XMLParsingException,
IOException,
SAXException,
PortalException
sessionId -
XMLParsingException
IOException
SAXException
PortalException
protected String readSessionID(RPCStruct struct)
throws XMLParsingException,
SAXException,
IOException
null will be returned.
struct -
IOException
SAXException
XMLParsingException
protected Envelope extractBBox(RPCStruct bboxStruct,
CoordinateSystem crs)
bboxStruct - the RPCStruct containing the bounding box. For example,
<member><name>boundingBox</name>etc....crs - a coordinate system value, may be null.
public static final void changeBBox(ViewContext vc,
Envelope bbox)
throws PortalException
vc - the view context to be changedbbox - the new bounding box
PortalException
protected void changeLayerList(ViewContext vc,
RPCMember[] rpcLayerList)
throws PortalException
vc - The original ViewContext where the changes will be applied torpcLayerList - the current layerlist
PortalException
protected String transformToHtmlMapContext(XMLFragment xml,
String xsl)
throws TransformerException,
MalformedURLException,
IOException,
SAXException
xml - xmlFragment to transformxsl - xsl file used to transform
TransformerException
SAXException
IOException
MalformedURLException
protected RPCParameter[] extractRPCParameters(RPCWebEvent rpcEvent)
throws PortalException
rpcEvent -
RPCParameter.
PortalException
protected RPCStruct extractRPCStruct(RPCWebEvent rpcEvent,
int index)
throws PortalException
RPCStruct from the indicated parameter in the params element of the passed
RPCWebEvent.
rpcEvent - The RPCWebEvent, that contains the RPCStruct to extract.index - The index of the parameter from which to extract the RPCStruct (starting with 0).
RPCStruct from the indicated params element.
PortalExceptionprotected List<String> getContextList(String userName)
userName -
protected String getUsersStartContext(String userName)
throws IOException
userName -
IOException
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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://www.deegree.org