com.esri.arcgis.geodatabase
Class GPMessageManager

java.lang.Object
  extended by com.esri.arcgis.geodatabase.GPMessageManager
All Implemented Interfaces:
IGPMessageManager, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GPMessageManager
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGPMessageManager

COM Class 'GPMessageManager'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'Esri GPMessageManager object.' 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.geodatabase.IGPMessageManager
IID, IIDa440ec5f_34b5_45b3_bcd1_ae631cf84214, xxDummy
 
Constructor Summary
GPMessageManager()
          Constructs a GPMessageManager using ArcGIS Engine.
GPMessageManager(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GPMessageManager theGPMessageManager = (GPMessageManager) obj;
 
Method Summary
 void addMessage(int type, int iD, IGPMessages msgs)
          Add a given message from the message id to the messages object.
 void addMessage1Args(int type, int iD, java.lang.String arg1, IGPMessages msgs)
          Add a given message from the message id to the messages object.
 void addMessage2Args(int type, int iD, java.lang.String arg1, java.lang.String arg2, IGPMessages msgs)
          Add a given message from the message id to the messages object.
 void addMessageText(int type, int iD, java.lang.String msg, IGPMessages msgs)
          Add a given message from the message text to the messages object.
 void chainGPMessage(IGPMessage pMsg)
          Chain a given GPMessage.
 void chainMessage(int type, int iD)
          Chain a given message from the message id.
 void chainMessage1Args(int type, int iD, java.lang.String arg1)
          Chain a given message from the message id.
 void chainMessage2Args(int type, int iD, java.lang.String arg1, java.lang.String arg2)
          Chain a given message from the message id.
 void chainMessageText(int type, int iD, java.lang.String msg)
          Chain a given message from the message text.
 void checkForErrors(long fdoError, IGPMessages messages, boolean keepAllErrors)
          Check for any errors in the IErrorInfo structure.
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String generateMessage(int type, int iD)
          Generate a given message from the message id.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getMessage(int iD)
          Get a given message.
 int hashCode()
          the hashcode for this object
 void lookForGPChainedErrors(IGPMessages messages)
          Transfer any GP errors or warnings to the messages object.
 void release()
          Release a GPMessageManager.
 void setMessage(int type, int iD, int pos, IGPMessages msgs)
          Set a given message from the message id to the messages object.
 void setMessage1Args(int type, int iD, java.lang.String arg1, int pos, IGPMessages msgs)
          Set a given message from the message id to the messages object.
 void setMessage2Args(int type, int iD, java.lang.String arg1, java.lang.String arg2, int pos, IGPMessages msgs)
          Set a given message from the message id to the messages object.
 void setMessageText(int type, int iD, java.lang.String msg, int pos, IGPMessages msgs)
          Set a given message from the message text to the messages object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPMessageManager

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

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

GPMessageManager

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

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

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 GPMessageManager.

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

getMessage

public java.lang.String getMessage(int iD)
                            throws java.io.IOException,
                                   AutomationException
Get a given message.

Specified by:
getMessage in interface IGPMessageManager
Parameters:
iD - The iD (in)
Returns:
The msg
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateMessage

public java.lang.String generateMessage(int type,
                                        int iD)
                                 throws java.io.IOException,
                                        AutomationException
Generate a given message from the message id.

Specified by:
generateMessage in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
Returns:
The msg
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMessage

public void addMessage(int type,
                       int iD,
                       IGPMessages msgs)
                throws java.io.IOException,
                       AutomationException
Add a given message from the message id to the messages object.

Specified by:
addMessage in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
msgs - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMessage1Args

public void addMessage1Args(int type,
                            int iD,
                            java.lang.String arg1,
                            IGPMessages msgs)
                     throws java.io.IOException,
                            AutomationException
Add a given message from the message id to the messages object.

Specified by:
addMessage1Args in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
arg1 - The arg1 (in)
msgs - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMessage2Args

public void addMessage2Args(int type,
                            int iD,
                            java.lang.String arg1,
                            java.lang.String arg2,
                            IGPMessages msgs)
                     throws java.io.IOException,
                            AutomationException
Add a given message from the message id to the messages object.

Specified by:
addMessage2Args in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
arg1 - The arg1 (in)
arg2 - The arg2 (in)
msgs - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMessageText

public void addMessageText(int type,
                           int iD,
                           java.lang.String msg,
                           IGPMessages msgs)
                    throws java.io.IOException,
                           AutomationException
Add a given message from the message text to the messages object.

Specified by:
addMessageText in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
msg - The msg (in)
msgs - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMessage

public void setMessage(int type,
                       int iD,
                       int pos,
                       IGPMessages msgs)
                throws java.io.IOException,
                       AutomationException
Set a given message from the message id to the messages object.

Specified by:
setMessage in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
pos - The pos (in)
msgs - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMessage1Args

public void setMessage1Args(int type,
                            int iD,
                            java.lang.String arg1,
                            int pos,
                            IGPMessages msgs)
                     throws java.io.IOException,
                            AutomationException
Set a given message from the message id to the messages object.

Specified by:
setMessage1Args in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
arg1 - The arg1 (in)
pos - The pos (in)
msgs - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMessage2Args

public void setMessage2Args(int type,
                            int iD,
                            java.lang.String arg1,
                            java.lang.String arg2,
                            int pos,
                            IGPMessages msgs)
                     throws java.io.IOException,
                            AutomationException
Set a given message from the message id to the messages object.

Specified by:
setMessage2Args in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
arg1 - The arg1 (in)
arg2 - The arg2 (in)
pos - The pos (in)
msgs - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMessageText

public void setMessageText(int type,
                           int iD,
                           java.lang.String msg,
                           int pos,
                           IGPMessages msgs)
                    throws java.io.IOException,
                           AutomationException
Set a given message from the message text to the messages object.

Specified by:
setMessageText in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
msg - The msg (in)
pos - The pos (in)
msgs - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

chainMessage

public void chainMessage(int type,
                         int iD)
                  throws java.io.IOException,
                         AutomationException
Chain a given message from the message id.

Specified by:
chainMessage in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

chainMessage1Args

public void chainMessage1Args(int type,
                              int iD,
                              java.lang.String arg1)
                       throws java.io.IOException,
                              AutomationException
Chain a given message from the message id.

Specified by:
chainMessage1Args in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
arg1 - The arg1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

chainMessage2Args

public void chainMessage2Args(int type,
                              int iD,
                              java.lang.String arg1,
                              java.lang.String arg2)
                       throws java.io.IOException,
                              AutomationException
Chain a given message from the message id.

Specified by:
chainMessage2Args in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
arg1 - The arg1 (in)
arg2 - The arg2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

chainMessageText

public void chainMessageText(int type,
                             int iD,
                             java.lang.String msg)
                      throws java.io.IOException,
                             AutomationException
Chain a given message from the message text.

Specified by:
chainMessageText in interface IGPMessageManager
Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
iD - The iD (in)
msg - The msg (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkForErrors

public void checkForErrors(long fdoError,
                           IGPMessages messages,
                           boolean keepAllErrors)
                    throws java.io.IOException,
                           AutomationException
Check for any errors in the IErrorInfo structure.

Specified by:
checkForErrors in interface IGPMessageManager
Parameters:
fdoError - An error code (in)
messages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
keepAllErrors - The keepAllErrors (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

lookForGPChainedErrors

public void lookForGPChainedErrors(IGPMessages messages)
                            throws java.io.IOException,
                                   AutomationException
Transfer any GP errors or warnings to the messages object.

Specified by:
lookForGPChainedErrors in interface IGPMessageManager
Parameters:
messages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

chainGPMessage

public void chainGPMessage(IGPMessage pMsg)
                    throws java.io.IOException,
                           AutomationException
Chain a given GPMessage.

Specified by:
chainGPMessage in interface IGPMessageManager
Parameters:
pMsg - A reference to a com.esri.arcgis.geodatabase.IGPMessage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.