com.ontimize.util.gis.server.interfaces
Interface IGisLayerConfigurationManager

All Known Implementing Classes:
DefaultLayerConfigurationManager

public interface IGisLayerConfigurationManager

Interface for the gis layers configuration manager


Method Summary
 void deleteLayer(java.lang.Object layerId, int sessionId)
          Delete the layer layerId
 java.lang.Object getLayerDefinition(java.lang.Object layerKeys, int sessionId)
          Get the layer configuration with the identifiers defined in layerKeys
 java.lang.Object getLayersInformation(java.lang.Object layersConfigurationId, int sessionId)
          Get the layers configuration with the identifier layersConfigurationId
 void insertLayer(java.lang.Object insertParameters, int sessionId)
          Insert a new layer with the parameters insertParameters
 void setReferenceLocator(java.lang.Object referenceLocator)
          Sets the Ontimize Reference Locator
 void updateLayer(java.lang.Object layerId, java.lang.Object updateParameters, int sessionId)
          Update the parameters defined at updateParameters for the layer with reference layerId
 

Method Detail

setReferenceLocator

void setReferenceLocator(java.lang.Object referenceLocator)
                         throws java.lang.Exception
Sets the Ontimize Reference Locator

Parameters:
referenceLocator - Ontimize reference locator
Throws:
java.lang.Exception

getLayersInformation

java.lang.Object getLayersInformation(java.lang.Object layersConfigurationId,
                                      int sessionId)
                                      throws java.lang.Exception
Get the layers configuration with the identifier layersConfigurationId

Parameters:
layersConfigurationId - Identifier for the layers configuration data
sessionId - Session Id for this user
Returns:
requested layers configuration data
Throws:
java.lang.Exception

getLayerDefinition

java.lang.Object getLayerDefinition(java.lang.Object layerKeys,
                                    int sessionId)
                                    throws java.lang.Exception
Get the layer configuration with the identifiers defined in layerKeys

Parameters:
layerKeys - Identifiers for the layer to query
sessionId - Session Id for this user
Returns:
requested layers configuration data
Throws:
java.lang.Exception

updateLayer

void updateLayer(java.lang.Object layerId,
                 java.lang.Object updateParameters,
                 int sessionId)
                 throws java.lang.Exception
Update the parameters defined at updateParameters for the layer with reference layerId

Parameters:
layerId - Identifier for the layer to update
updateParameters - Parameters to update
sessionId - Session Id for this user
Throws:
java.lang.Exception

insertLayer

void insertLayer(java.lang.Object insertParameters,
                 int sessionId)
                 throws java.lang.Exception
Insert a new layer with the parameters insertParameters

Parameters:
insertParameters - New layer configuration parameters
sessionId - Session Id for this user
Throws:
java.lang.Exception

deleteLayer

void deleteLayer(java.lang.Object layerId,
                 int sessionId)
                 throws java.lang.Exception
Delete the layer layerId

Parameters:
layerId - Identifier for the layer to delete
sessionId - Session Id for this user
Throws:
java.lang.Exception