|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.util.gis.server.defaultimplementations.DefaultLayerConfigurationManager
public class DefaultLayerConfigurationManager
| Field Summary | |
|---|---|
protected java.lang.String |
columnConfName
|
protected java.lang.String |
columnUserId
|
protected java.lang.String |
columnXMLDefinition
|
protected java.lang.String |
entityName
|
protected com.ontimize.db.Entity |
layersConfEntity
|
protected com.ontimize.db.Entity |
profileEntity
|
protected java.lang.Object |
referenceLocator
|
protected static java.lang.String |
STR_MISSING_PARAMETER
|
| Constructor Summary | |
|---|---|
DefaultLayerConfigurationManager()
|
|
DefaultLayerConfigurationManager(java.util.Hashtable parameters)
|
|
| Method Summary | |
|---|---|
protected void |
checkConfiguration()
Check if all configuration variables have the correct values |
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 |
protected void |
processConstructorParameter(java.util.Map.Entry entry)
Process an entry of the incoming hastable constructor |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String STR_MISSING_PARAMETER
protected java.lang.String entityName
protected java.lang.String columnConfName
protected java.lang.String columnUserId
protected java.lang.String columnXMLDefinition
protected com.ontimize.db.Entity layersConfEntity
protected com.ontimize.db.Entity profileEntity
protected java.lang.Object referenceLocator
| Constructor Detail |
|---|
public DefaultLayerConfigurationManager()
public DefaultLayerConfigurationManager(java.util.Hashtable parameters)
| Method Detail |
|---|
protected void processConstructorParameter(java.util.Map.Entry entry)
entry - Hashtable entry for xml definition parameters.
Key -> param name, Value -> param valueprotected void checkConfiguration()
public void deleteLayer(java.lang.Object layerId,
int sessionId)
throws java.lang.Exception
IGisLayerConfigurationManagerlayerId
deleteLayer in interface IGisLayerConfigurationManagerlayerId - Identifier for the layer to deletesessionId - Session Id for this user
java.lang.Exception
public java.lang.Object getLayersInformation(java.lang.Object layersConfigurationId,
int sessionId)
throws java.lang.Exception
IGisLayerConfigurationManagerlayersConfigurationId
getLayersInformation in interface IGisLayerConfigurationManagerlayersConfigurationId - Identifier for the layers configuration datasessionId - Session Id for this user
java.lang.Exception
public void insertLayer(java.lang.Object insertParameters,
int sessionId)
throws java.lang.Exception
IGisLayerConfigurationManagerinsertParameters
insertLayer in interface IGisLayerConfigurationManagerinsertParameters - New layer configuration parameterssessionId - Session Id for this user
java.lang.Exception
public void updateLayer(java.lang.Object layerId,
java.lang.Object updateParameters,
int sessionId)
throws java.lang.Exception
IGisLayerConfigurationManagerupdateParameters for the
layer with reference layerId
updateLayer in interface IGisLayerConfigurationManagerlayerId - Identifier for the layer to updateupdateParameters - Parameters to updatesessionId - Session Id for this user
java.lang.Exception
public void setReferenceLocator(java.lang.Object referenceLocator)
throws java.lang.Exception
IGisLayerConfigurationManager
setReferenceLocator in interface IGisLayerConfigurationManagerreferenceLocator - Ontimize reference locator
java.lang.Exception
public java.lang.Object getLayerDefinition(java.lang.Object layerKeys,
int sessionId)
throws java.lang.Exception
IGisLayerConfigurationManagerlayerKeys
getLayerDefinition in interface IGisLayerConfigurationManagerlayerKeys - Identifiers for the layer to querysessionId - Session Id for this user
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||