com.esri.arcgis.system
Class AoAuthorizeLicense

java.lang.Object
  extended by com.esri.arcgis.system.AoAuthorizeLicense
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IAuthorizeLicense, java.io.Serializable

public class AoAuthorizeLicense
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAuthorizeLicense

COM Class 'AoAuthorizeLicense'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'Class performs license authorization.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IAuthorizeLicense
IID, IID46ebbb64_19b8_437a_8df4_4378d88f6731, xxDummy
 
Constructor Summary
AoAuthorizeLicense()
          Constructs a AoAuthorizeLicense using ArcGIS Engine.
AoAuthorizeLicense(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AoAuthorizeLicense theAoAuthorizeLicense = (AoAuthorizeLicense) obj;
 
Method Summary
 void authorizeASR(java.lang.String strAsr, java.lang.String password)
          Authorize new feature(s).
 void authorizeASRFromFile(java.lang.String fileName, java.lang.String password)
          Authorize new feature(s) from file.
 void checkASR(java.lang.String strAsr, java.lang.String password)
          Check feature(s).
 void checkASRFromFile(java.lang.String fileName, java.lang.String password)
          Check feature(s) from file.
 void deauthorizeASR(java.lang.String strAsr, java.lang.String password)
          Deauthorize feature(s).
 void deauthorizeASRFromFile(java.lang.String fileName, java.lang.String password)
          Deauthorize feature(s) from file.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.String getFeaturesAdded()
          Retrieves the details of the new authorized features.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getLastError(java.lang.String[] lastError)
          Retrieves the last error message and code from an attempt to process features.
 int hashCode()
          the hashcode for this object
 void release()
          Release a AoAuthorizeLicense.
 void repairASR(java.lang.String strAsr, java.lang.String password)
          Repair feature(s).
 void repairASRFromFile(java.lang.String fileName, java.lang.String password)
          Repair feature(s) from file.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AoAuthorizeLicense

public AoAuthorizeLicense()
                   throws java.io.IOException,
                          java.net.UnknownHostException
Constructs a AoAuthorizeLicense using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

AoAuthorizeLicense

public AoAuthorizeLicense(java.lang.Object obj)
                   throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AoAuthorizeLicense theAoAuthorizeLicense = (AoAuthorizeLicense) obj;

Construct a AoAuthorizeLicense using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to AoAuthorizeLicense.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a AoAuthorizeLicense.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getLastError

public int getLastError(java.lang.String[] lastError)
                 throws java.io.IOException,
                        AutomationException
Retrieves the last error message and code from an attempt to process features.

Specified by:
getLastError in interface IAuthorizeLicense
Parameters:
lastError - The lastError (out: use single element array)
Returns:
The lastErrorCode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeaturesAdded

public java.lang.String getFeaturesAdded()
                                  throws java.io.IOException,
                                         AutomationException
Retrieves the details of the new authorized features.

Specified by:
getFeaturesAdded in interface IAuthorizeLicense
Returns:
The featuresAdded
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

authorizeASR

public void authorizeASR(java.lang.String strAsr,
                         java.lang.String password)
                  throws java.io.IOException,
                         AutomationException
Authorize new feature(s).

Specified by:
authorizeASR in interface IAuthorizeLicense
Parameters:
strAsr - The strAsr (in)
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

authorizeASRFromFile

public void authorizeASRFromFile(java.lang.String fileName,
                                 java.lang.String password)
                          throws java.io.IOException,
                                 AutomationException
Authorize new feature(s) from file.

Specified by:
authorizeASRFromFile in interface IAuthorizeLicense
Parameters:
fileName - The fileName (in)
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deauthorizeASR

public void deauthorizeASR(java.lang.String strAsr,
                           java.lang.String password)
                    throws java.io.IOException,
                           AutomationException
Deauthorize feature(s).

Specified by:
deauthorizeASR in interface IAuthorizeLicense
Parameters:
strAsr - The strAsr (in)
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deauthorizeASRFromFile

public void deauthorizeASRFromFile(java.lang.String fileName,
                                   java.lang.String password)
                            throws java.io.IOException,
                                   AutomationException
Deauthorize feature(s) from file.

Specified by:
deauthorizeASRFromFile in interface IAuthorizeLicense
Parameters:
fileName - The fileName (in)
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

repairASR

public void repairASR(java.lang.String strAsr,
                      java.lang.String password)
               throws java.io.IOException,
                      AutomationException
Repair feature(s).

Specified by:
repairASR in interface IAuthorizeLicense
Parameters:
strAsr - The strAsr (in)
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

repairASRFromFile

public void repairASRFromFile(java.lang.String fileName,
                              java.lang.String password)
                       throws java.io.IOException,
                              AutomationException
Repair feature(s) from file.

Specified by:
repairASRFromFile in interface IAuthorizeLicense
Parameters:
fileName - The fileName (in)
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkASR

public void checkASR(java.lang.String strAsr,
                     java.lang.String password)
              throws java.io.IOException,
                     AutomationException
Check feature(s).

Specified by:
checkASR in interface IAuthorizeLicense
Parameters:
strAsr - The strAsr (in)
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkASRFromFile

public void checkASRFromFile(java.lang.String fileName,
                             java.lang.String password)
                      throws java.io.IOException,
                             AutomationException
Check feature(s) from file.

Specified by:
checkASRFromFile in interface IAuthorizeLicense
Parameters:
fileName - The fileName (in)
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.