public class DefaultEditingManager extends AbstractManager implements EditingManager
Constructor and Description |
---|
DefaultEditingManager() |
Modifier and Type | Method and Description |
---|---|
EditingService |
getEditingService(String name,
FeatureStore featureStore,
MapContext mapContext)
Gets a new instance of service as of name and featureStore.
|
Service |
getService(DynObject arg0)
Creates a new
Service based on the given parameters. |
EditingServiceInfo |
getServiceInfo(String serviceName)
Gets read only information about a service such as if service creates new
geometries, name, description, supported types, mouse icon, parameters
and information about its parameters.
|
createServiceParameters, getProviderManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createServiceParameters
public Service getService(DynObject arg0) throws ServiceException
Manager
Service
based on the given parameters.getService
in interface Manager
arg0
- of the Service
to createService
ServiceException
- if there is an error creating the Service, or the parameters
are not validpublic EditingServiceInfo getServiceInfo(String serviceName) throws ServiceInformationException
EditingManager
getServiceInfo
in interface EditingManager
serviceName
- service name to get the service informationEditingServiceInfo
object that contains the
information. EditingServiceInfo
.ServiceInformationException
- if there is an error getting
information of service.public EditingService getEditingService(String name, FeatureStore featureStore, MapContext mapContext)
EditingManager
getEditingService
in interface EditingManager
name
- Service name necessary to create an instance linked with the
appropriate provider.featureStore
- FeatureStore associated with this service necessary to
create, update and remove geometries.mapContext
- of layer in editing mode EditingService
object. See
EditingService
.