com.esri.arcgis.datasourcesfile
Class IDataLicenseInfoProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.IDataLicenseInfoProxy
All Implemented Interfaces:
IDataLicenseInfo, Externalizable, Serializable

public class IDataLicenseInfoProxy
extends com.esri.arcgis.interop.Dispatch
implements IDataLicenseInfo, Serializable

Provides access to data license information.

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
  IDataLicenseInfoProxy()
           
  IDataLicenseInfoProxy(Object obj)
           
protected IDataLicenseInfoProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 String getApplicationName(int nIdx)
          Name of licensed applications.
 int getApplicationsCount()
          Number of licensed applications.
 int getAttrCroupsCount()
          Number of attribute groups.
 String getAttrGroupName(int nIdx)
          Name of attribute group.
 int getAvailableConnections()
          Available connections.
 String getDataProductName()
          Name of data product.
 Object getExpiration()
          Expiration date.
 int getGeographiesCount()
          Number of geographies divisions
 String getGeographyName(int nIdx)
          Name of geographies divisions.
 int getLayerCroupsCount()
          Number of layer groups.
 String getLayerGroupName(int nIdx)
          Name of layer groups.
 GUID getLicenseID()
          License ID.
 int getLicenseType()
          License type.
 int getMaxConnections()
          Maximum connections allowed.
 int getMetaCount()
          Number of meta information strings.
 IMetaInfo getMetaInfo(int nIdx)
          Meta information pair.
 IUsageModeInfo getUsageMode(int nIndex)
          Usage mode by its number.
 int getUsageModeCount()
          Number of usage modes.
 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

IDataLicenseInfoProxy

public IDataLicenseInfoProxy()

IDataLicenseInfoProxy

public IDataLicenseInfoProxy(Object obj)
                      throws IOException
Throws:
IOException

IDataLicenseInfoProxy

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

getDataProductName

public String getDataProductName()
                          throws IOException,
                                 AutomationException
Name of data product.

Product Availability

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

Specified by:
getDataProductName in interface IDataLicenseInfo
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getApplicationsCount

public int getApplicationsCount()
                         throws IOException,
                                AutomationException
Number of licensed applications.

Product Availability

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

Specified by:
getApplicationsCount in interface IDataLicenseInfo
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getApplicationName

public String getApplicationName(int nIdx)
                          throws IOException,
                                 AutomationException
Name of licensed applications.

Product Availability

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

Specified by:
getApplicationName in interface IDataLicenseInfo
Parameters:
nIdx - The nIdx (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttrCroupsCount

public int getAttrCroupsCount()
                       throws IOException,
                              AutomationException
Number of attribute groups.

Product Availability

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

Specified by:
getAttrCroupsCount in interface IDataLicenseInfo
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttrGroupName

public String getAttrGroupName(int nIdx)
                        throws IOException,
                               AutomationException
Name of attribute group.

Product Availability

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

Specified by:
getAttrGroupName in interface IDataLicenseInfo
Parameters:
nIdx - The nIdx (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeographiesCount

public int getGeographiesCount()
                        throws IOException,
                               AutomationException
Number of geographies divisions

Product Availability

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

Specified by:
getGeographiesCount in interface IDataLicenseInfo
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeographyName

public String getGeographyName(int nIdx)
                        throws IOException,
                               AutomationException
Name of geographies divisions.

Product Availability

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

Specified by:
getGeographyName in interface IDataLicenseInfo
Parameters:
nIdx - The nIdx (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMetaCount

public int getMetaCount()
                 throws IOException,
                        AutomationException
Number of meta information strings.

Product Availability

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

Specified by:
getMetaCount in interface IDataLicenseInfo
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMetaInfo

public IMetaInfo getMetaInfo(int nIdx)
                      throws IOException,
                             AutomationException
Meta information pair.

Product Availability

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

Specified by:
getMetaInfo in interface IDataLicenseInfo
Parameters:
nIdx - The nIdx (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IMetaInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerCroupsCount

public int getLayerCroupsCount()
                        throws IOException,
                               AutomationException
Number of layer groups.

Product Availability

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

Specified by:
getLayerCroupsCount in interface IDataLicenseInfo
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerGroupName

public String getLayerGroupName(int nIdx)
                         throws IOException,
                                AutomationException
Name of layer groups.

Product Availability

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

Specified by:
getLayerGroupName in interface IDataLicenseInfo
Parameters:
nIdx - The nIdx (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLicenseID

public GUID getLicenseID()
                  throws IOException,
                         AutomationException
License ID.

Product Availability

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

Specified by:
getLicenseID in interface IDataLicenseInfo
Returns:
A Structure: com.esri.arcgis.support.ms.stdole.GUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExpiration

public Object getExpiration()
                     throws IOException,
                            AutomationException
Expiration date.

Product Availability

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

Specified by:
getExpiration in interface IDataLicenseInfo
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLicenseType

public int getLicenseType()
                   throws IOException,
                          AutomationException
License type.

Product Availability

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

Specified by:
getLicenseType in interface IDataLicenseInfo
Returns:
A com.esri.arcgis.datasourcesfile.esriDataLicenseType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxConnections

public int getMaxConnections()
                      throws IOException,
                             AutomationException
Maximum connections allowed.

Product Availability

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

Specified by:
getMaxConnections in interface IDataLicenseInfo
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAvailableConnections

public int getAvailableConnections()
                            throws IOException,
                                   AutomationException
Available connections.

Product Availability

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

Specified by:
getAvailableConnections in interface IDataLicenseInfo
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUsageModeCount

public int getUsageModeCount()
                      throws IOException,
                             AutomationException
Number of usage modes.

Product Availability

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

Specified by:
getUsageModeCount in interface IDataLicenseInfo
Returns:
The pnCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUsageMode

public IUsageModeInfo getUsageMode(int nIndex)
                            throws IOException,
                                   AutomationException
Usage mode by its number.

Product Availability

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

Specified by:
getUsageMode in interface IDataLicenseInfo
Parameters:
nIndex - The nIndex (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IUsageModeInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.