Package org.tailormap.api.persistence
Class Application
java.lang.Object
org.tailormap.api.persistence.Application
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull AppLayerSettings
getAppLayerSettings
(@NotNull AppTreeLayerNode node) getCrs()
org.geotools.api.referencing.crs.CoordinateReferenceSystem
Return a GeoTools CoordinateReferenceSystem from this entities' CRS code or null if there is an error decoding it, which will be logged (only with stacktrace if loglevel is DEBUG).getId()
getName()
This method is used to get the old content root before it is updated.getTitle()
setAdminComments
(String adminComments) setAuthorizationRules
(List<AuthorizationRule> authorizationRules) setComponents
(List<Component> components) setContentRoot
(AppContent contentRoot) setInitialExtent
(Bounds initialExtent) setMaxExtent
(Bounds maxExtent) setPreviewText
(String previewText) setSettings
(AppSettings layerSettings) setStyling
(AppStyling styling) setVersion
(Long version)
-
Constructor Details
-
Application
public Application()
-
-
Method Details
-
getId
-
setId
-
getVersion
-
setVersion
-
getName
-
setName
-
getTitle
-
setTitle
-
getAdminComments
-
setAdminComments
-
getPreviewText
-
setPreviewText
-
getCrs
-
setCrs
-
getInitialExtent
-
setInitialExtent
-
getMaxExtent
-
setMaxExtent
-
getContentRoot
-
setContentRoot
-
getOldContentRoot
This method is used to get the old content root before it is updated. It is used in the ApplicationEventHandler to compare the old and new content roots, more specifically to get the old AppTreeLayerNode nodes.- See Also:
-
getSettings
-
setSettings
-
getComponents
-
setComponents
-
getStyling
-
setStyling
-
getAuthorizationRules
-
setAuthorizationRules
-
getAllOldAppTreeLayerNode
-
getAllAppTreeLayerNode
-
getGeoToolsCoordinateReferenceSystem
public org.geotools.api.referencing.crs.CoordinateReferenceSystem getGeoToolsCoordinateReferenceSystem()Return a GeoTools CoordinateReferenceSystem from this entities' CRS code or null if there is an error decoding it, which will be logged (only with stacktrace if loglevel is DEBUG).- Returns:
- CoordinateReferenceSystem
-
getViewerResponse
-
getAppLayerSettings
@NotNull public @NotNull AppLayerSettings getAppLayerSettings(@NotNull @NotNull AppTreeLayerNode node)
-