Package org.openremote.manager.map
Class MapResourceImpl
java.lang.Object
org.openremote.container.web.WebResource
org.openremote.manager.map.MapResourceImpl
- All Implemented Interfaces:
org.openremote.container.security.AuthContext,org.openremote.model.map.MapResource
public class MapResourceImpl
extends org.openremote.container.web.WebResource
implements org.openremote.model.map.MapResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ManagerIdentityServiceprotected final MapServiceFields inherited from class org.openremote.container.web.WebResource
application, httpHeaders, request, response, securityContext, uriInfo -
Constructor Summary
ConstructorsConstructorDescriptionMapResourceImpl(MapService mapService, ManagerIdentityService identityService) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNodedeleteMap(org.openremote.model.http.RequestParams requestParams) com.fasterxml.jackson.databind.node.ObjectNodecom.fasterxml.jackson.databind.node.ObjectNodegetSettings(org.openremote.model.http.RequestParams requestParams) com.fasterxml.jackson.databind.node.ObjectNodegetSettingsJs(org.openremote.model.http.RequestParams requestParams) byte[]getTile(int zoom, int column, int row) com.fasterxml.jackson.databind.node.ObjectNodesaveSettings(org.openremote.model.http.RequestParams requestParams, org.openremote.model.manager.MapConfig mapConfig) com.fasterxml.jackson.databind.node.ObjectNodeMethods inherited from class org.openremote.container.web.WebResource
getApplication, getAuthContext, getAuthenticatedRealmName, getClientId, getClientRemoteAddress, getContainer, getRequestRealmName, getUserId, getUsername, hasRealmRole, hasResourceRole, isAuthenticatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openremote.container.security.AuthContext
hasResourceRoleOrIsSuperUser, isRealmAccessibleByUser, isSuperUser
-
Field Details
-
mapService
-
identityService
-
-
Constructor Details
-
MapResourceImpl
-
-
Method Details
-
saveSettings
public com.fasterxml.jackson.databind.node.ObjectNode saveSettings(org.openremote.model.http.RequestParams requestParams, org.openremote.model.manager.MapConfig mapConfig) - Specified by:
saveSettingsin interfaceorg.openremote.model.map.MapResource
-
getSettings
public com.fasterxml.jackson.databind.node.ObjectNode getSettings(org.openremote.model.http.RequestParams requestParams) - Specified by:
getSettingsin interfaceorg.openremote.model.map.MapResource
-
getSettingsJs
public com.fasterxml.jackson.databind.node.ObjectNode getSettingsJs(org.openremote.model.http.RequestParams requestParams) - Specified by:
getSettingsJsin interfaceorg.openremote.model.map.MapResource
-
getTile
public byte[] getTile(int zoom, int column, int row) - Specified by:
getTilein interfaceorg.openremote.model.map.MapResource
-
uploadMap
public com.fasterxml.jackson.databind.node.ObjectNode uploadMap(org.openremote.model.http.RequestParams requestParams, String filename) - Specified by:
uploadMapin interfaceorg.openremote.model.map.MapResource
-
getCustomMapInfo
public com.fasterxml.jackson.databind.node.ObjectNode getCustomMapInfo()- Specified by:
getCustomMapInfoin interfaceorg.openremote.model.map.MapResource
-
deleteMap
public com.fasterxml.jackson.databind.node.ObjectNode deleteMap(org.openremote.model.http.RequestParams requestParams) - Specified by:
deleteMapin interfaceorg.openremote.model.map.MapResource
-