| Package | Description |
|---|---|
| nl.b3p.viewer.config.security | |
| nl.b3p.viewer.config.services |
| Modifier and Type | Method and Description |
|---|---|
static void |
Authorizations.checkLayerReadAuthorized(Layer l,
javax.servlet.http.HttpServletRequest request,
javax.persistence.EntityManager em) |
static void |
Authorizations.checkLayerWriteAuthorized(Layer l,
javax.servlet.http.HttpServletRequest request,
javax.persistence.EntityManager em) |
static Authorizations.ReadWrite |
Authorizations.getLayerAuthorizations(Layer l,
javax.persistence.EntityManager em)
Returns set of authorized readers and writers for this layer.
|
static boolean |
Authorizations.isLayerGeomWriteAuthorized(Layer l,
javax.servlet.http.HttpServletRequest request,
javax.persistence.EntityManager em)
See if a user can edit geometry attribute of a layer in addition to
regular writing.
|
static boolean |
Authorizations.isLayerReadAuthorized(Layer l,
javax.servlet.http.HttpServletRequest request,
javax.persistence.EntityManager em) |
static boolean |
Authorizations.isLayerWriteAuthorized(Layer l,
javax.servlet.http.HttpServletRequest request,
javax.persistence.EntityManager em) |
| Modifier and Type | Method and Description |
|---|---|
Layer |
GeoService.getLayer(String layerName,
javax.persistence.EntityManager em)
Returns the layer with the given name in this server.
|
Layer |
Layer.getParent() |
Layer |
GeoService.getSingleLayer(String layerName,
javax.persistence.EntityManager em)
Gets a single layer without loading all layers.
|
Layer |
TileService.getTilingLayer()
Get the layer that contains the tiling settings etc.
|
Layer |
GeoService.getTopLayer() |
Layer |
Layer.pluckCopy()
Clone this layer and remove it from the tree of the GeoService this Layer
is part of.
|
| Modifier and Type | Method and Description |
|---|---|
List<Layer> |
Layer.getCachedChildren(javax.persistence.EntityManager em) |
List<Layer> |
Layer.getChildren() |
List<Layer> |
UpdateResult.getDuplicateOrNoNameLayers() |
List<Layer> |
GeoService.getLayerChildrenCache(Layer l,
javax.persistence.EntityManager em) |
SortedMap<String,org.apache.commons.lang3.tuple.MutablePair<Layer,UpdateResult.Status>> |
UpdateResult.getLayerStatus() |
List<Layer> |
GeoService.loadLayerTree(javax.persistence.EntityManager em)
To prevent a lot of SQL requests walking a tree structure of entities,
load all layers using an efficient query.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Layer.copyUserModifiedProperties(Layer other)
Copy user modified properties of given layer onto this instance.
|
List<Layer> |
GeoService.getLayerChildrenCache(Layer l,
javax.persistence.EntityManager em) |
protected void |
TileService.parseBoundingBox(Layer layer,
XPath xpath,
Node l,
List<TileMatrixSet> tmses) |
protected static void |
GeoService.setAllChildrenDetail(Layer layer,
javax.persistence.EntityManager em) |
void |
Layer.setParent(Layer parent) |
void |
GeoService.setTopLayer(Layer topLayer) |
protected void |
Layer.update(Layer update) |
protected void |
Layer.update(Layer update,
Set<String> additionalUpdatableDetails) |
boolean |
Layer.Visitor.visit(Layer l,
javax.persistence.EntityManager em) |
| Modifier and Type | Method and Description |
|---|---|
void |
Layer.setChildren(List<Layer> children) |
void |
UpdateResult.setDuplicateOrNoNameLayers(List<Layer> duplicateOrNoNameLayers) |
void |
UpdateResult.setLayerStatus(SortedMap<String,org.apache.commons.lang3.tuple.MutablePair<Layer,UpdateResult.Status>> layerStatus) |
Copyright © 2019. All rights reserved.