public class

OwnershipBasedAccessControlForFeatures

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

Class Overview

Stores information about whether users are restricted from updating, querying or deleting features that they do not own (that is features they did not create). This is referred to as ownership-based access control.

Summary

Public Constructors
OwnershipBasedAccessControlForFeatures()
Public Methods
static OwnershipBasedAccessControlForFeatures fromJson(JsonParser parser)
Creates an OwnershipBasedAccessControlForFeatures object from JSON.
boolean isAllowOthersToDelete()
Checks if users other than the owner of a feature are allowed to delete it.
boolean isAllowOthersToQuery()
Checks if a user will see all features or only those they created when querying.
boolean isAllowOthersToUpdate()
Checks if users other than the owner of a feature are allowed to make updates to it.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public OwnershipBasedAccessControlForFeatures ()

Public Methods

public static OwnershipBasedAccessControlForFeatures fromJson (JsonParser parser)

Creates an OwnershipBasedAccessControlForFeatures object from JSON.

Parameters
parser JsonParser: the JSON parser
Returns
OwnershipBasedAccessControlForFeatures the ownership based access control for features object
Throws
Exception any exception during JSON parsing

public boolean isAllowOthersToDelete ()

Checks if users other than the owner of a feature are allowed to delete it.

Returns
boolean true if other users are allowed to delete features they do not own

public boolean isAllowOthersToQuery ()

Checks if a user will see all features or only those they created when querying.

Returns
boolean true if a user is allowed to query for features they do not own

public boolean isAllowOthersToUpdate ()

Checks if users other than the owner of a feature are allowed to make updates to it.

Returns
boolean true if other users are allowed to update features they do not own

public String toString ()

Returns
String