com.esri.arcgis.server
Class IServiceDescriptionArrayProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServiceDescriptionArrayProxy
All Implemented Interfaces:
IServiceDescriptionArray, Externalizable, Serializable

public class IServiceDescriptionArrayProxy
extends com.esri.arcgis.interop.Dispatch
implements IServiceDescriptionArray, Serializable

Provides access to members that control the contents of web services description array.

When To Use

The IServiceDescriptionArray interface is intended only for use by the web service catalog template applications that are included as part of the Application Developer Framework for ArcGIS for Server. To learn more about these templates, refer to the ArcGIS for Server developer documentation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IServiceDescriptionArrayProxy()
           
  IServiceDescriptionArrayProxy(Object obj)
           
protected IServiceDescriptionArrayProxy(Object obj, String iid)
           
 
Method Summary
 void add(IServiceDescription element)
          Add an element to the array.
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getCount()
          The number of items in the array.
 IServiceDescription getElement(int index)
          The Element at the specified index.
 void insert(int index, IServiceDescription element)
          Insert an element into the array.
 void remove(int index)
          Remove an element from the array.
 void removeAll()
          Remove all elements from the array.
 void removeListener(String iidStr, Object theListener)
           
 void setElement(int index, IServiceDescription element)
          The Element at the specified index.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IServiceDescriptionArrayProxy

public IServiceDescriptionArrayProxy()

IServiceDescriptionArrayProxy

public IServiceDescriptionArrayProxy(Object obj)
                              throws IOException
Throws:
IOException

IServiceDescriptionArrayProxy

protected IServiceDescriptionArrayProxy(Object obj,
                                        String iid)
                                 throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getCount

public int getCount()
             throws IOException,
                    AutomationException
The number of items in the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCount in interface IServiceDescriptionArray
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

public IServiceDescription getElement(int index)
                               throws IOException,
                                      AutomationException
The Element at the specified index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getElement in interface IServiceDescriptionArray
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.server.IServiceDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(IServiceDescription element)
         throws IOException,
                AutomationException
Add an element to the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
add in interface IServiceDescriptionArray
Parameters:
element - A reference to a com.esri.arcgis.server.IServiceDescription (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws IOException,
                   AutomationException
Remove an element from the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
remove in interface IServiceDescriptionArray
Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws IOException,
                      AutomationException
Remove all elements from the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
removeAll in interface IServiceDescriptionArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int index,
                   IServiceDescription element)
            throws IOException,
                   AutomationException
Insert an element into the array.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
insert in interface IServiceDescriptionArray
Parameters:
index - The index (in)
element - A reference to a com.esri.arcgis.server.IServiceDescription (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setElement

public void setElement(int index,
                       IServiceDescription element)
                throws IOException,
                       AutomationException
The Element at the specified index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setElement in interface IServiceDescriptionArray
Parameters:
index - The index (in)
element - A reference to a com.esri.arcgis.server.IServiceDescription (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.