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


public interface ITransactionalGisServerManager


Method Summary
 void deleteLayer(java.lang.Object layerId, int sessionId, java.sql.Connection con)
          Delete the layer layerId
 void deleteLayerData(java.lang.Object layerId, java.lang.Object deletedKeys, int sessionId, java.sql.Connection con)
          Delete the data identified by deletedKeys from the layer layerId
 java.lang.Object getDataHandlerReference(java.lang.Object layerId, int sessionId, java.sql.Connection con)
          Get the reference of the data handler related to the given layer
 java.lang.Object getLayerData(java.lang.Object layerId, java.lang.Object appliedFilters, int sessionId, java.sql.Connection con)
          Request the data related to the filters appliedFilters from the layer layerId
 java.lang.Object getLayersInformation(java.lang.Object layersConfigurationId, int sessionId, java.sql.Connection con)
          Get the layers configuration with the identifier layersConfigurationId
 void insertLayer(java.lang.Object insertParameters, int sessionId, java.sql.Connection con)
          Insert a new layer with the parameters insertParameters
 void insertLayerData(java.lang.Object layerId, java.lang.Object insertedValues, int sessionId, java.sql.Connection con)
          Insert the given data insertedValues into the layer indentified by layerId
 void setReferenceLocator(com.ontimize.locator.ReferenceLocator referenceLocator)
          Sets the Ontimize Reference Locator is the GisServerManager class
 void updateLayer(java.lang.Object layerId, java.lang.Object updateParameters, int sessionId, java.sql.Connection con)
          Update the parameters defined at updateParameters for the layer with reference layerId
 void updateLayerData(java.lang.Object layerId, java.lang.Object updatedKeys, java.lang.Object newValues, int sessionId, java.sql.Connection con)
          Update the data identified by updatedKeys with the values newValues for the layer layerId
 

Method Detail

setReferenceLocator

void setReferenceLocator(com.ontimize.locator.ReferenceLocator referenceLocator)
                         throws java.lang.Exception
Sets the Ontimize Reference Locator is the GisServerManager class

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

getLayersInformation

java.lang.Object getLayersInformation(java.lang.Object layersConfigurationId,
                                      int sessionId,
                                      java.sql.Connection con)
                                      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

insertLayer

void insertLayer(java.lang.Object insertParameters,
                 int sessionId,
                 java.sql.Connection con)
                 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,
                 java.sql.Connection con)
                 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

updateLayer

void updateLayer(java.lang.Object layerId,
                 java.lang.Object updateParameters,
                 int sessionId,
                 java.sql.Connection con)
                 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

insertLayerData

void insertLayerData(java.lang.Object layerId,
                     java.lang.Object insertedValues,
                     int sessionId,
                     java.sql.Connection con)
                     throws java.lang.Exception
Insert the given data insertedValues into the layer indentified by layerId

Parameters:
layerId - Layer identifier
insertedValues - New values to insert
sessionId - Session Id for this user
Throws:
java.lang.Exception

updateLayerData

void updateLayerData(java.lang.Object layerId,
                     java.lang.Object updatedKeys,
                     java.lang.Object newValues,
                     int sessionId,
                     java.sql.Connection con)
                     throws java.lang.Exception
Update the data identified by updatedKeys with the values newValues for the layer layerId

Parameters:
layerId - Layer identifier
updatedKeys - Identifiers of the values to update
newValues - Values to update
sessionId - Session Id for this user
Throws:
java.lang.Exception

deleteLayerData

void deleteLayerData(java.lang.Object layerId,
                     java.lang.Object deletedKeys,
                     int sessionId,
                     java.sql.Connection con)
                     throws java.lang.Exception
Delete the data identified by deletedKeys from the layer layerId

Parameters:
layerId - Layer identifier
deletedKeys - Identifiers of the values to delete
sessionId - Session Id for this user
Throws:
java.lang.Exception

getLayerData

java.lang.Object getLayerData(java.lang.Object layerId,
                              java.lang.Object appliedFilters,
                              int sessionId,
                              java.sql.Connection con)
                              throws java.lang.Exception
Request the data related to the filters appliedFilters from the layer layerId

Parameters:
layerId - Layer identifier
appliedFilters - Defined filters for the data request
sessionId - Session Id for this user
Returns:
requested layer data
Throws:
java.lang.Exception

getDataHandlerReference

java.lang.Object getDataHandlerReference(java.lang.Object layerId,
                                         int sessionId,
                                         java.sql.Connection con)
                                         throws java.lang.Exception
Get the reference of the data handler related to the given layer

Parameters:
layerId - Layer identifier
sessionId - Session Id for this user
Returns:
reference of the requested data handler
Throws:
java.lang.Exception