public class

LayerServiceCapabilities

extends Object
java.lang.Object
   ↳ com.esri.core.ags.LayerServiceCapabilities
Known Direct Subclasses

Class Overview

This class represents the capabilities supported by a feature service Layer resource. It can be retrieved from a LayerServiceInfo object and queried for its capabilities. The following feature service Layer resource capabilities are accounted for: Create, Delete, Query, Update, Editing, Sync.

Summary

Fields
protected String originalString
protected boolean supportsCreate
protected boolean supportsDelete
protected boolean supportsEditing
protected boolean supportsQuery
protected boolean supportsSync
protected boolean supportsUpdate
Public Constructors
LayerServiceCapabilities(String capabilities)
Creates a LayerServiceCapabilities object from a comma separated String of the capabilities supported
Public Methods
boolean isCreateSupported()
Returns whether or not the Feature/Layer Service supports the Create capability.
boolean isDeleteSupported()
Returns whether or not the Feature/Layer Service supports the Delete capability.
boolean isEditingSupported()
Returns whether or not the Feature/Layer Service supports the Editing capability.
boolean isQuerySupported()
Returns whether or not the Feature/Layer Service supports the Query capability.
boolean isSyncSupported()
Returns whether or not the Feature/Layer Service supports the Sync capability.
boolean isUpdateSupported()
Returns whether or not the Feature/Layer Service supports the Update capability.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String originalString

protected boolean supportsCreate

protected boolean supportsDelete

protected boolean supportsEditing

protected boolean supportsQuery

protected boolean supportsSync

protected boolean supportsUpdate

Public Constructors

public LayerServiceCapabilities (String capabilities)

Creates a LayerServiceCapabilities object from a comma separated String of the capabilities supported

Parameters
capabilities String: Comma separated list of supported capabilities

Public Methods

public boolean isCreateSupported ()

Returns whether or not the Feature/Layer Service supports the Create capability.

Returns
boolean True if the Create capability is supported

public boolean isDeleteSupported ()

Returns whether or not the Feature/Layer Service supports the Delete capability.

Returns
boolean True if the Delete capability is supported

public boolean isEditingSupported ()

Returns whether or not the Feature/Layer Service supports the Editing capability.

Returns
boolean True if the Editing capability is supported

public boolean isQuerySupported ()

Returns whether or not the Feature/Layer Service supports the Query capability.

Returns
boolean True if the Query capability is supported

public boolean isSyncSupported ()

Returns whether or not the Feature/Layer Service supports the Sync capability.

Returns
boolean True if the Sync capability is supported

public boolean isUpdateSupported ()

Returns whether or not the Feature/Layer Service supports the Update capability.

Returns
boolean True if the Update capability is supported

public String toString ()

Returns
String