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

    Fields
    Modifier and Type
    Field
    Description
    protected final ManagerIdentityService
     
    protected final MapService
     

    Fields inherited from class org.openremote.container.web.WebResource

    application, httpHeaders, request, response, securityContext, uriInfo
  • Constructor Summary

    Constructors
    Constructor
    Description
    MapResourceImpl(MapService mapService, ManagerIdentityService identityService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.node.ObjectNode
    deleteMap(org.openremote.model.http.RequestParams requestParams)
     
    com.fasterxml.jackson.databind.node.ObjectNode
     
    com.fasterxml.jackson.databind.node.ObjectNode
    getSettings(org.openremote.model.http.RequestParams requestParams)
     
    com.fasterxml.jackson.databind.node.ObjectNode
    getSettingsJs(org.openremote.model.http.RequestParams requestParams)
     
    byte[]
    getTile(int zoom, int column, int row)
     
    com.fasterxml.jackson.databind.node.ObjectNode
    saveSettings(org.openremote.model.http.RequestParams requestParams, org.openremote.model.manager.MapConfig mapConfig)
     
    com.fasterxml.jackson.databind.node.ObjectNode
    uploadMap(org.openremote.model.http.RequestParams requestParams, String filename)
     

    Methods inherited from class org.openremote.container.web.WebResource

    getApplication, getAuthContext, getAuthenticatedRealmName, getClientId, getClientRemoteAddress, getContainer, getRequestRealmName, getUserId, getUsername, hasRealmRole, hasResourceRole, isAuthenticated

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.openremote.container.security.AuthContext

    hasResourceRoleOrIsSuperUser, isRealmAccessibleByUser, isSuperUser
  • Field Details

  • Constructor Details

  • 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:
      saveSettings in interface org.openremote.model.map.MapResource
    • getSettings

      public com.fasterxml.jackson.databind.node.ObjectNode getSettings(org.openremote.model.http.RequestParams requestParams)
      Specified by:
      getSettings in interface org.openremote.model.map.MapResource
    • getSettingsJs

      public com.fasterxml.jackson.databind.node.ObjectNode getSettingsJs(org.openremote.model.http.RequestParams requestParams)
      Specified by:
      getSettingsJs in interface org.openremote.model.map.MapResource
    • getTile

      public byte[] getTile(int zoom, int column, int row)
      Specified by:
      getTile in interface org.openremote.model.map.MapResource
    • uploadMap

      public com.fasterxml.jackson.databind.node.ObjectNode uploadMap(org.openremote.model.http.RequestParams requestParams, String filename)
      Specified by:
      uploadMap in interface org.openremote.model.map.MapResource
    • getCustomMapInfo

      public com.fasterxml.jackson.databind.node.ObjectNode getCustomMapInfo()
      Specified by:
      getCustomMapInfo in interface org.openremote.model.map.MapResource
    • deleteMap

      public com.fasterxml.jackson.databind.node.ObjectNode deleteMap(org.openremote.model.http.RequestParams requestParams)
      Specified by:
      deleteMap in interface org.openremote.model.map.MapResource