public abstract class WMSRequestHandler extends OGCRequestHandler
maxResponseTime, url, user| Constructor and Description |
|---|
WMSRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected LayerPriceComposition |
calculateLayerPriceComposition(DataWrapper dw,
ExtLayerCalculator lc,
String spAbbr,
String layerName)
abstracte methode die voor wms en wfs specifiek geimplmenteerd word.
|
protected StringBuffer |
createOnlineUrl(nl.b3p.ogc.utils.SpLayerSummary spInfo,
nl.b3p.ogc.utils.OGCRequest ogc,
String serviceUrl) |
int |
getMaxResponseTime() |
protected void |
getOnlineData(DataWrapper dw,
ArrayList urlWrapper,
boolean overlay,
String REQUEST_TYPE)
Gets the data from a specific set of URL's and converts the information
to the format usefull to the REQUEST_TYPE.
|
nl.b3p.wms.capabilities.ServiceProvider |
getServiceProvider(boolean isAdmin,
String spAbbrUrl) |
Set |
getServiceProviders(boolean isAdmin,
String spAbbrUrl) |
protected nl.b3p.ogc.utils.SpLayerSummary |
getValidLayerObjects(javax.persistence.EntityManager em,
nl.b3p.ogc.utils.LayerSummary m,
Integer[] orgIds,
boolean b3pLayering)
abstracte methode die door implementatie van handler moet worden gedefinieerd.
|
protected Set |
getValidLayers(User user,
javax.persistence.EntityManager em,
boolean isAdmin,
String spAbbrUrl) |
boolean |
mayDirectWrite() |
addToServerProviderList, configB3pLayering, doAccounting, getLayerByUniqueName, getServiceProviderURLS, getValidLayerObjects, isConfigInUrlAndAdmin, prepareAccounting, setMaxResponseTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestpublic boolean mayDirectWrite()
public int getMaxResponseTime()
getMaxResponseTime in class OGCRequestHandlerprotected Set getValidLayers(User user, javax.persistence.EntityManager em, boolean isAdmin, String spAbbrUrl) throws Exception
Exceptionpublic Set getServiceProviders(boolean isAdmin, String spAbbrUrl) throws Exception
Exceptionpublic nl.b3p.wms.capabilities.ServiceProvider getServiceProvider(boolean isAdmin,
String spAbbrUrl)
throws Exception
Exceptionprotected void getOnlineData(DataWrapper dw, ArrayList urlWrapper, boolean overlay, String REQUEST_TYPE) throws Exception
dw - DataWrapper object containing the clients request informationurls - StringBuffer with the urls where kaartenbalie should connect
to to recieve the requested data.overlay - A boolean setting the overlay to true or false. If false
is chosen the images are placed under eachother.Exceptionprotected StringBuffer createOnlineUrl(nl.b3p.ogc.utils.SpLayerSummary spInfo, nl.b3p.ogc.utils.OGCRequest ogc, String serviceUrl) throws UnsupportedEncodingException
UnsupportedEncodingExceptionprotected LayerPriceComposition calculateLayerPriceComposition(DataWrapper dw, ExtLayerCalculator lc, String spAbbr, String layerName) throws Exception
OGCRequestHandlercalculateLayerPriceComposition in class OGCRequestHandlerdw - datawrapperlc - LayerCalculator bepaalt de calculatie methodeException - fout bij prijsbepalingprotected nl.b3p.ogc.utils.SpLayerSummary getValidLayerObjects(javax.persistence.EntityManager em,
nl.b3p.ogc.utils.LayerSummary m,
Integer[] orgIds,
boolean b3pLayering)
throws Exception
OGCRequestHandlergetValidLayerObjects in class OGCRequestHandlerem - EntityManagerb3pLayering - bepaalt of service layers toegevoegd worden, true = alleen service layers,
false = alleen echte layers.Exception - indien gezochte layer niet bestaat of er geen rechten op zijngetValidLayerObjects(EntityManager em, String query, String layer, Integer orgId, boolean b3pLayering) throws ExceptionCopyright © 2016. All rights reserved.