|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
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 java.lang.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)
Deprecated. use extractBBox( RPCStruct, CoordinateSystem ) instead. |
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 java.util.List<java.lang.String> |
getContextList(java.lang.String userName)
returns a list of all available context documents assigned to the passed user |
protected java.lang.String |
getUserName(java.lang.String sessionId)
gets the user name assigned to the passed session ID from an authentication service. |
protected java.lang.String |
getUserPassword(java.lang.String sessionId)
gets the user password assigned to the passed session ID from a authentification service. |
protected java.lang.String |
getUsersStartContext(java.lang.String userName)
returns the name of the users start context. |
protected java.lang.String |
readSessionID(RPCStruct struct)
reads the users session ID. |
protected java.lang.String |
transformToHtmlMapContext(XMLFragment xml,
java.lang.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 java.lang.String userDir
Constructor Detail |
---|
public AbstractContextListener()
Method Detail |
---|
protected java.lang.String getUserName(java.lang.String sessionId) throws XMLParsingException, java.io.IOException, org.xml.sax.SAXException
sessionId
-
XMLParsingException
org.xml.sax.SAXException
java.io.IOException
protected java.lang.String getUserPassword(java.lang.String sessionId) throws XMLParsingException, java.io.IOException, org.xml.sax.SAXException, PortalException
sessionId
-
XMLParsingException
java.io.IOException
org.xml.sax.SAXException
PortalException
protected java.lang.String readSessionID(RPCStruct struct) throws XMLParsingException, org.xml.sax.SAXException, java.io.IOException
null
will be returned.
struct
-
java.io.IOException
org.xml.sax.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.
@Deprecated protected Envelope extractBBox(RPCStruct bboxStruct)
bboxStruct
- the RPCStruct
containing the bounding box. For example,
<member><name>boundingBox</name>etc...
.
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 java.lang.String transformToHtmlMapContext(XMLFragment xml, java.lang.String xsl) throws javax.xml.transform.TransformerException, java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException
xml
- xmlFragment to transformxsl
- xsl file used to transform
javax.xml.transform.TransformerException
org.xml.sax.SAXException
java.io.IOException
java.net.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.
PortalException
protected java.util.List<java.lang.String> getContextList(java.lang.String userName)
userName
-
protected java.lang.String getUsersStartContext(java.lang.String userName) throws java.io.IOException
userName
-
java.io.IOException
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org