@Service public class StyleManagerCommons extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
StyleManagerCommons() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addStyle() |
void |
checkStyleNotExists(String name) |
void |
createStyle(gr.cite.geoanalytics.dataaccess.entities.style.Style style) |
void |
deleteStyle(gr.cite.geoanalytics.dataaccess.entities.style.Style style) |
void |
editStyle(gr.cite.geoanalytics.dataaccess.entities.style.Style style,
String name,
String description) |
gr.cite.geoanalytics.dataaccess.entities.style.Style |
findStyleById(String id) |
gr.cite.geoanalytics.dataaccess.entities.style.Style |
findStyleById(UUID id) |
List<String> |
getAllStyles() |
List<gr.cite.geoanalytics.dataaccess.entities.style.Style> |
listAllStyles() |
boolean |
removeStyle() |
boolean |
updateLayerStyle() |
public boolean addStyle()
public boolean removeStyle()
public boolean updateLayerStyle()
public List<gr.cite.geoanalytics.dataaccess.entities.style.Style> listAllStyles() throws gr.cite.geoanalytics.util.http.CustomException
gr.cite.geoanalytics.util.http.CustomException@Transactional
public void createStyle(gr.cite.geoanalytics.dataaccess.entities.style.Style style)
throws Exception
Exception@Transactional
public void deleteStyle(gr.cite.geoanalytics.dataaccess.entities.style.Style style)
throws Exception
Exceptionpublic gr.cite.geoanalytics.dataaccess.entities.style.Style findStyleById(String id) throws Exception
Exceptionpublic gr.cite.geoanalytics.dataaccess.entities.style.Style findStyleById(UUID id) throws Exception
Exception@Transactional public void checkStyleNotExists(String name) throws Exception
Exception@Transactional
public void editStyle(gr.cite.geoanalytics.dataaccess.entities.style.Style style,
String name,
String description)
throws Exception
Exceptionpublic List<String> getAllStyles() throws gr.cite.clustermanager.exceptions.NoAvailableGos, IOException
gr.cite.clustermanager.exceptions.NoAvailableGosIOExceptionCopyright © 2018. All Rights Reserved.