public class AoAuthorizeLicense extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAuthorizeLicense
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 =
IID, IID46ebbb64_19b8_437a_8df4_4378d88f6731, xxDummy
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
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.
|
public AoAuthorizeLicense() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AoAuthorizeLicense(java.lang.Object obj) throws java.io.IOException
AoAuthorizeLicense theAoAuthorizeLicense = (AoAuthorizeLicense) obj;
obj
to AoAuthorizeLicense
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getLastError(java.lang.String[] lastError) throws java.io.IOException, AutomationException
getLastError
in interface IAuthorizeLicense
lastError
- The lastError (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFeaturesAdded() throws java.io.IOException, AutomationException
getFeaturesAdded
in interface IAuthorizeLicense
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void authorizeASR(java.lang.String strAsr, java.lang.String password) throws java.io.IOException, AutomationException
authorizeASR
in interface IAuthorizeLicense
strAsr
- The strAsr (in)password
- The password (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void authorizeASRFromFile(java.lang.String fileName, java.lang.String password) throws java.io.IOException, AutomationException
authorizeASRFromFile
in interface IAuthorizeLicense
fileName
- The fileName (in)password
- The password (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deauthorizeASR(java.lang.String strAsr, java.lang.String password) throws java.io.IOException, AutomationException
deauthorizeASR
in interface IAuthorizeLicense
strAsr
- The strAsr (in)password
- The password (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deauthorizeASRFromFile(java.lang.String fileName, java.lang.String password) throws java.io.IOException, AutomationException
deauthorizeASRFromFile
in interface IAuthorizeLicense
fileName
- The fileName (in)password
- The password (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void repairASR(java.lang.String strAsr, java.lang.String password) throws java.io.IOException, AutomationException
repairASR
in interface IAuthorizeLicense
strAsr
- The strAsr (in)password
- The password (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void repairASRFromFile(java.lang.String fileName, java.lang.String password) throws java.io.IOException, AutomationException
repairASRFromFile
in interface IAuthorizeLicense
fileName
- The fileName (in)password
- The password (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void checkASR(java.lang.String strAsr, java.lang.String password) throws java.io.IOException, AutomationException
checkASR
in interface IAuthorizeLicense
strAsr
- The strAsr (in)password
- The password (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void checkASRFromFile(java.lang.String fileName, java.lang.String password) throws java.io.IOException, AutomationException
checkASRFromFile
in interface IAuthorizeLicense
fileName
- The fileName (in)password
- The password (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.