interface StyleRepository
A StyleRepository is a way to manage styles for layers.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract void |
delete(java.lang.String layerName, java.lang.String styleName)Delete the given style by layer and style name |
|
abstract java.util.List<java.util.Map<java.lang.String, java.lang.String>> |
getAll()Get all styles |
|
abstract java.lang.String |
getDefaultForLayer(java.lang.String layerName)Get the default style for a Layer by name |
|
abstract java.lang.String |
getForLayer(java.lang.String layerName, java.lang.String styleName)Get a style by Layer name and Style name |
|
abstract java.util.List<java.util.Map<java.lang.String, java.lang.String>> |
getForLayer(java.lang.String layerName)Get all of the styles for a Layer Name. |
|
abstract void |
save(java.lang.String layerName, java.lang.String styleName, java.lang.String style, Map options)Save a style for a Layer with a given name |
Delete the given style by layer and style name
layerName - The layer namestyleName - The style nameGet all styles
Get the default style for a Layer by name
layerName - The layer nameGet a style by Layer name and Style name
layerName - The Layer namestyleName - The Style nameGet all of the styles for a Layer Name.
layerName - The Layer nameSave a style for a Layer with a given name
layerName - The layer namestyleName - The style namestyle - The styleoptions - A Map of options