|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRESTResource
REST resource metadata object.
| Method Summary | |
|---|---|
void |
addOperation(IRESTOperation o)
Adds child operation. |
void |
addResource(IRESTResource r)
Adds child resource. |
IRESTOperation |
findChildOperation(String name)
Finds child operation, non-recursive. |
IRESTResource |
findChildResource(String name)
Finds child resource, non-recursive. |
String |
getName()
Resource name. |
IEnumRESTOperation |
getOperations()
Returns enumerator for operations. |
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(String name)
Resource name. |
void |
setRequiredCapability(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. |
| Method Detail |
|---|
String getName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isCollection()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isDefaultCollection()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isStatic()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isSupportsETag()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getRequiredCapability()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setName(String name)
throws IOException,
AutomationException
name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setIsCollection(boolean value)
throws IOException,
AutomationException
value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setIsDefaultCollection(boolean value)
throws IOException,
AutomationException
value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setIsStatic(boolean value)
throws IOException,
AutomationException
value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setSupportsETag(boolean value)
throws IOException,
AutomationException
value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setRequiredCapability(String capability)
throws IOException,
AutomationException
capability - The capability (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IJSONObject toJSONObject()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addResource(IRESTResource r)
throws IOException,
AutomationException
r - A reference to a com.esri.arcgis.system.IRESTResource (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addOperation(IRESTOperation o)
throws IOException,
AutomationException
o - A reference to a com.esri.arcgis.system.IRESTOperation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IRESTResource findChildResource(String name)
throws IOException,
AutomationException
name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IRESTOperation findChildOperation(String name)
throws IOException,
AutomationException
name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumRESTResource getResources()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumRESTOperation getOperations()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||