public class

EditorTrackingInfo

extends Object
java.lang.Object
   ↳ com.esri.core.map.EditorTrackingInfo

Class Overview

This class can be used to determine whether or not editor tracking and ownership based access control are enabled on a service. Call getEditorTrackingInfo() to get an instance of this class.

Note that this information is valid for the whole service only. Individual layers in the service may or may not have editor tracking or ownership based access control enabled. For information specific to a given layer, use getEditFieldsInfo() and getOwnershipBasedAccessControlForFeatures().

Summary

Public Constructors
EditorTrackingInfo()
Public Methods
boolean allowOthersToDelete()
Indicates whether or not a user is able to delete features created by another user.
boolean allowOthersToUpdate()
Indicates whether or not a user is able to update features created by another user.
boolean enableEditorTracking()
Indicates whether or not editor tracking is enabled for the service this instance came from.
boolean enableOwnershipAccessControl()
Indicates whether or not ownership based access control is enabled for the service this instance came from.
static EditorTrackingInfo fromJson(JsonParser parser)
Used to create an instance of this class from JSON.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EditorTrackingInfo ()

Public Methods

public boolean allowOthersToDelete ()

Indicates whether or not a user is able to delete features created by another user.

Returns
boolean true if a user is able to delete features created by another user

public boolean allowOthersToUpdate ()

Indicates whether or not a user is able to update features created by another user.

Returns
boolean true if a user is able to update features created by another user

public boolean enableEditorTracking ()

Indicates whether or not editor tracking is enabled for the service this instance came from.

Returns
boolean true if editor tracking is enabled for a service

public boolean enableOwnershipAccessControl ()

Indicates whether or not ownership based access control is enabled for the service this instance came from.

Returns
boolean true if ownership based access control is enabled for a service

public static EditorTrackingInfo fromJson (JsonParser parser)

Used to create an instance of this class from JSON.

Parameters
parser JsonParser: JSON parser
Returns
EditorTrackingInfo an instance of this class
Throws
JsonParseException
IOException
JsonParseException