com.esri.client.local
Class LocalFeatureService

java.lang.Object
  extended by com.esri.client.local.LocalService
      extended by com.esri.client.local.LocalMapService
          extended by com.esri.client.local.LocalFeatureService

public class LocalFeatureService
extends LocalMapService

Class representing a feature service on the LocalServer.


Field Summary
protected  ArrayList<LayerDetails> _featureLayerDetailsList
           
 
Fields inherited from class com.esri.client.local.LocalMapService
_path, _urlMapService
 
Fields inherited from class com.esri.client.local.LocalService
_serviceType, CREATE_SERVICE_FILE_PATH, CREATE_SERVICE_NAME, CREATE_SERVICE_TYPE
 
Constructor Summary
LocalFeatureService()
          Constructs a LocalFeatureService without any reference to local data; call the setPath() method before starting this service.
LocalFeatureService(String path)
          Constructs from a path to data; typically this is the path to an MPK file.
 
Method Summary
protected  void completeStart()
          Override this to perform any service specific tasks at the end of our initialization process.
protected  CreateServiceInfo generateCreateServiceInfo()
           
 List<LayerDetails> getFeatureLayers()
          Get a list of information on the layers published by this feature service.
 String getUrlFeatureService()
          Gets a URL to the feature service.
 
Methods inherited from class com.esri.client.local.LocalMapService
getDescription, getDynamicWorkspaces, getEnableDynamicLayers, getMapLayers, getMaximumRecords, getPath, getUrlMapService, preStart, setDynamicWorkspaces, setEnableDynamicLayers, setMaximumRecords, setPath, start, startAsync
 
Methods inherited from class com.esri.client.local.LocalService
addLocalServiceStartCompleteListener, addLocalServiceStopCompleteListener, deleteService, failStart, failStart, fireLocalServiceStartCompleteEvent, getEndpoints, getError, getStatus, getUrl, removeLocalServiceStartCompleteListener, removeLocalServiceStopCompleteListener, sendRequest, setError, setStatus, startAsyncInner, startInner, stop, stopAsync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_featureLayerDetailsList

protected ArrayList<LayerDetails> _featureLayerDetailsList
Constructor Detail

LocalFeatureService

public LocalFeatureService()
Constructs a LocalFeatureService without any reference to local data; call the setPath() method before starting this service.


LocalFeatureService

public LocalFeatureService(String path)
Constructs from a path to data; typically this is the path to an MPK file. Call LocalService.start() or LocalService.startAsync() to start the service.

Parameters:
path - Path to a map package.
Method Detail

getUrlFeatureService

public String getUrlFeatureService()
Gets a URL to the feature service.

Returns:
URL of the feature service.

getFeatureLayers

public List<LayerDetails> getFeatureLayers()
Get a list of information on the layers published by this feature service.

Returns:
List of LayerDetails

generateCreateServiceInfo

protected CreateServiceInfo generateCreateServiceInfo()
Overrides:
generateCreateServiceInfo in class LocalMapService

completeStart

protected void completeStart()
Description copied from class: LocalService
Override this to perform any service specific tasks at the end of our initialization process.

Overrides:
completeStart in class LocalMapService


Copyright © 2012. All Rights Reserved.