public interface IRESTResource
extends java.io.Serializable
Description: 'REST resource metadata object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IIDb5561ea3_2950_4e21_9e4f_b1003b2a1baf |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
addOperation(IRESTOperation o)
Adds child operation.
|
void |
addResource(IRESTResource r)
Adds child resource.
|
IRESTOperation |
findChildOperation(java.lang.String name)
Finds child operation, non-recursive.
|
IRESTResource |
findChildResource(java.lang.String name)
Finds child resource, non-recursive.
|
java.lang.String |
getName()
Resource name.
|
IEnumRESTOperation |
getOperations()
Returns enumerator for operations.
|
java.lang.String |
getRequiredCapability()
Required capability for the resource.
|
IEnumRESTResource |
getResources()
Returns enumerator for immediate child resources.
|
boolean |
isCollection()
Specifies collection resource.
|
boolean |
isDefaultCollection()
Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL.
|
boolean |
isStatic()
This flag marks resources that do not change over time.
|
boolean |
isSupportsETag()
This flag is only for a root level resource.
|
void |
setIsCollection(boolean value)
Specifies collection resource.
|
void |
setIsDefaultCollection(boolean value)
Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL.
|
void |
setIsStatic(boolean value)
This flag marks resources that do not change over time.
|
void |
setName(java.lang.String name)
Resource name.
|
void |
setRequiredCapability(java.lang.String capability)
Required capability for the resource.
|
void |
setSupportsETag(boolean value)
This flag is only for a root level resource.
|
IJSONObject |
toJSONObject()
Converts resource object to JSON representation.
|
static final int IIDb5561ea3_2950_4e21_9e4f_b1003b2a1baf
static final int xxDummy
static final java.lang.String IID
java.lang.String getName() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isCollection() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isDefaultCollection() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isStatic() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isSupportsETag() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getRequiredCapability() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setName(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setIsCollection(boolean value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setIsDefaultCollection(boolean value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setIsStatic(boolean value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setSupportsETag(boolean value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setRequiredCapability(java.lang.String capability) throws java.io.IOException, AutomationException
capability
- The capability (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IJSONObject toJSONObject() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addResource(IRESTResource r) throws java.io.IOException, AutomationException
r
- A reference to a com.esri.arcgis.system.IRESTResource (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addOperation(IRESTOperation o) throws java.io.IOException, AutomationException
o
- A reference to a com.esri.arcgis.system.IRESTOperation (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IRESTResource findChildResource(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IRESTOperation findChildOperation(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumRESTResource getResources() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumRESTOperation getOperations() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.