public class GeoServerController extends GeoServiceController<GeoServerDescriptor>
accessPoint, adminAccount, baseURL, cachedDescriptor, propertyMap, serviceEndpoint, version| Constructor and Description |
|---|
GeoServerController(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint) |
| Modifier and Type | Method and Description |
|---|---|
it.geosolutions.geoserver.rest.manager.GeoServerRESTStoreManager |
getDataStoreManager() |
Set<String> |
getDatastores(String workspace) |
Long |
getHostedLayersCount() |
Set<String> |
getLiveDatastores(String workspace) |
GeoServerDescriptor |
getLiveDescriptor() |
Long |
getLiveHostedLayersCount() |
Set<String> |
getLiveStyles() |
Set<String> |
getLiveWorkspaces() |
protected it.geosolutions.geoserver.rest.GeoServerRESTManager |
getManager() |
it.geosolutions.geoserver.rest.GeoServerRESTPublisher |
getPublisher() |
it.geosolutions.geoserver.rest.GeoServerRESTReader |
getReader() |
Set<String> |
getStyles() |
protected org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint |
getTheRightAccessPoint(org.gcube.common.resources.gcore.ServiceEndpoint endpoint) |
Set<String> |
getWorkspaces() |
protected void |
initServiceEndpoint() |
void |
invalidateDatastoresCache() |
void |
invalidateHostedLayersCountCache() |
void |
invalidateStylesCache() |
void |
invalidateWorkspacesCache() |
void |
onChangedDataStores() |
void |
onChangedLayers() |
void |
onChangedStyles() |
void |
onChangedWorkspaces() |
configure, getDescriptor, getSEProperty, getServiceEndpoint, onUpdateServiceEndpoint, setServiceEndpointpublic GeoServerController(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint)
throws InvalidServiceEndpointException
InvalidServiceEndpointExceptionpublic GeoServerDescriptor getLiveDescriptor()
getLiveDescriptor in class GeoServiceController<GeoServerDescriptor>protected org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint getTheRightAccessPoint(org.gcube.common.resources.gcore.ServiceEndpoint endpoint)
getTheRightAccessPoint in class GeoServiceController<GeoServerDescriptor>protected void initServiceEndpoint()
throws OutdatedServiceEndpointException
initServiceEndpoint in class GeoServiceController<GeoServerDescriptor>OutdatedServiceEndpointExceptionpublic it.geosolutions.geoserver.rest.GeoServerRESTReader getReader()
throws MalformedURLException
MalformedURLExceptionpublic it.geosolutions.geoserver.rest.manager.GeoServerRESTStoreManager getDataStoreManager()
throws IllegalArgumentException,
MalformedURLException
public it.geosolutions.geoserver.rest.GeoServerRESTPublisher getPublisher()
throws IllegalArgumentException,
MalformedURLException
protected it.geosolutions.geoserver.rest.GeoServerRESTManager getManager()
throws IllegalArgumentException,
MalformedURLException
public Long getHostedLayersCount()
public void invalidateWorkspacesCache()
public void invalidateDatastoresCache()
public void invalidateStylesCache()
public void invalidateHostedLayersCountCache()
public void onChangedDataStores()
public void onChangedLayers()
public void onChangedStyles()
public void onChangedWorkspaces()
public Set<String> getLiveDatastores(String workspace) throws MalformedURLException
MalformedURLExceptionpublic Long getLiveHostedLayersCount() throws MalformedURLException
MalformedURLExceptionpublic Set<String> getLiveStyles() throws MalformedURLException
MalformedURLExceptionpublic Set<String> getLiveWorkspaces() throws MalformedURLException
MalformedURLExceptionCopyright © 2019. All Rights Reserved.