Package com.kheops.jmap.server
Class JMapServerWmtsLayer
java.lang.Object
com.kheops.jmap.metadata.LocalizedObject
com.kheops.jmap.metadata.JMapObject
com.kheops.jmap.server.JMapServerLayer
com.kheops.jmap.server.JMapServerRasterLayer
com.kheops.jmap.server.JMapServerWmtsLayer
- All Implemented Interfaces:
LayerConstants,LayerNode,Serializable,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.kheops.jmap.server.JMapServerRasterLayer
backgroundColor, imageFormat, imageFormatParams, rasterTransformations, transparencyEnabledFields inherited from class com.kheops.jmap.server.JMapServerLayer
acl, cacheTimeout, dataSourceId, dataSourceInfo, description, dynamicRefresh, elementType, extent, geometryType, id, infoReportConfig, lastException, lastUpdateTime, layerProperties, layerUpdateStatus, maximumVisibleScale, minimumVisibleScale, name, OBJECT_VERSION_ID_5_0, OBJECT_VERSION_ID_6_0, OBJECT_VERSION_ID_6_5, OBJECT_VERSION_ID_7_0, OBJECT_VERSION_ID_7_0_FUNAFUTI, OBJECT_VERSION_ID_7_0_ISTANBUL, objectVersionId, offset, projectId, readOnlyMask, status, styleManagerFields inherited from interface com.kheops.jmap.client.layers.LayerConstants
DEFAULT_MAXIMUM_SCALE, DEFAULT_MINIMUM_SCALE, PERSONAL_LAYER_BASE_ID, PERSONAL_LAYER_MAX_ID, PROJECT_LAYER_BASE_ID, PROJECT_LAYER_MAX_ID, PROPERTY_ALL_SETTINGS, PROPERTY_ALWAYS_DRAW_SELECTION, PROPERTY_DRAW_GRID, PROPERTY_EDITABLE, PROPERTY_EDITING, PROPERTY_INCLUDE_IN_CONTEXT, PROPERTY_INDEX, PROPERTY_LISTED, PROPERTY_LOCAL, PROPERTY_MAX_SCALE, PROPERTY_MIN_SCALE, PROPERTY_PUBLISHED, PROPERTY_QUERIABLE, PROPERTY_SELECTABLE, PROPERTY_USE_CLIENT_CACHE, PROPERTY_VISIBLE, REQUEST_MODE_BY_REGION, REQUEST_MODE_BY_TILE, RESERVED_LAYER_BASE_ID, RESERVED_LAYER_MAX_ID, SYSTEM_LAYER_BASE_AUTO_ID, SYSTEM_LAYER_BASE_ID, SYSTEM_LAYER_MAX_ID, TILING_MODE_AUTO, TILING_MODE_MANUAL, USER_LAYER_BASE_AUTO_ID, USER_LAYER_BASE_ID, USER_LAYER_MAX_ID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJMapServerWmtsLayer(int dataSourceId) JMapServerWmtsLayer(WmtsDataSourceInfo dataSourceInfo) -
Method Summary
Modifier and TypeMethodDescriptionclone()protected voidclone(JMapServerLayer serverLayer) Clones all properties from this server layer into the specified JMapServerLayer instance.protected booleanisDataStructureDifferent(JMapServerLayer oldLayer) Compare with database-persisted layer to determine if some properties have changed.protected voidtoLayerInfo(LayerInfo layerInfo) Copies all properties from this server layer to the specified layer info.voidupdate(Projection projectProjection) Methods inherited from class com.kheops.jmap.server.JMapServerRasterLayer
getGeometryType, getParameters, getRasterTransformations, setDataSourceInfo, setRasterTransformations, validateObjectImplMethods inherited from class com.kheops.jmap.server.JMapServerLayer
equals, getDataSourceId, getDataSourceInfo, getDescription, getDescription, getDynamicRefresh, getElementType, getId, getInfoReportConfig, getLastUpdateTime, getLayerProperties, getMaximumVisibleScale, getMinimumVisibleScale, getName, getName, getOffset, getProjectId, getReadOnlyMask, getStyle, getStyleManager, getUpdateStatus, hashCode, isDynamic, isEditable, isEnabledCaching, isIndex, isListed, isNamed, isPublished, isSelectable, isVisible, removeTranslationsOtherThan, setDescription, setDescription, setDynamicRefresh, setElementType, setId, setIndex, setLastUpdateTime, setLayerProperties, setListed, setMaximumVisibleScale, setMinimumVisibleScale, setName, setName, setOffset, setProjectId, setProperty, setPublished, setReadOnlyMask, setReadOnlyProperty, setSelectable, setStyle, setStyleManager, setVisibleMethods inherited from class com.kheops.jmap.metadata.JMapObject
clone, setAclMethods inherited from class com.kheops.jmap.metadata.LocalizedObject
getAvailableLocales, getTranslation, isTranslationExists, setTranslation, updateTranslations
-
Constructor Details
-
JMapServerWmtsLayer
protected JMapServerWmtsLayer(int dataSourceId) -
JMapServerWmtsLayer
-
-
Method Details
-
clone
- Specified by:
clonein interfaceLayerNode- Specified by:
clonein classJMapServerLayer
-
clone
Clones all properties from this server layer into the specified JMapServerLayer instance.- Overrides:
clonein classJMapServerRasterLayer- Parameters:
serverLayer- the instance that will receive cloned properties.
-
toLayerInfo
- Specified by:
toLayerInfoin classJMapServerRasterLayer
-
toLayerInfo
Copies all properties from this server layer to the specified layer info.- Overrides:
toLayerInfoin classJMapServerRasterLayer- Parameters:
layerInfo- the layer info to copy properties into.
-
update
- Overrides:
updatein classJMapServerRasterLayer
-
isDataStructureDifferent
Description copied from class:JMapServerLayerCompare with database-persisted layer to determine if some properties have changed. If any data-sensible property has changed, we need to update last update time to notify remote servers that layer data needs to be updated.- Overrides:
isDataStructureDifferentin classJMapServerRasterLayer- Returns:
trueif we need to update property lastUpdateTime,falseotherwise.
-