com.esri.arcgis.networkanalysis
Class INetworkBuilderProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.networkanalysis.INetworkBuilderProxy
All Implemented Interfaces:
INetworkBuilder, Externalizable, Serializable
Direct Known Subclasses:
INetworkBuilder2Proxy

public class INetworkBuilderProxy
extends com.esri.arcgis.interop.Dispatch
implements INetworkBuilder, Serializable

Provides access to members that rebuild the logical network index for an existing geometric network.

Superseded By

INetworkBuilder2

Remarks

The INetworkBuilder interface provides a mechanism for refreshing or rebuiling the logical network associated with a geometric network.

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
  INetworkBuilderProxy()
           
  INetworkBuilderProxy(Object obj)
           
protected INetworkBuilderProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void rebuildNetwork(IGeometricNetwork geometricNetwork, String configKeyword, String logFilePath)
          Recreates the logical network index for the geometric network, features are not changed in this process.
 void removeListener(String iidStr, Object theListener)
           
 
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

INetworkBuilderProxy

public INetworkBuilderProxy()

INetworkBuilderProxy

public INetworkBuilderProxy(Object obj)
                     throws IOException
Throws:
IOException

INetworkBuilderProxy

protected INetworkBuilderProxy(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

rebuildNetwork

public void rebuildNetwork(IGeometricNetwork geometricNetwork,
                           String configKeyword,
                           String logFilePath)
                    throws IOException,
                           AutomationException
Recreates the logical network index for the geometric network, features are not changed in this process.

Remarks

RebuildNetwork will rebuild the logical network index for the geometric network. If the network is on SDE, the logical network will be rebuilt across all versions of the database. The RebuildNetwork method is not designed to allow schema changes to a versioned geometric network. It will not act upon the features in the network, no snapping will occur and no orphan junction features will be created.

An exclusive schema lock must be obtained before using the RebuildNetwork method. See the ISchemaLock interface for information on listing existing schema locks and obtaining an exclusive schema lock.

Product Availability

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

Specified by:
rebuildNetwork in interface INetworkBuilder
Parameters:
geometricNetwork - A reference to a com.esri.arcgis.geodatabase.IGeometricNetwork (in)
configKeyword - The configKeyword (in)
logFilePath - The logFilePath (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.