|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.trackinganalyst.MessageTemplate
public class MessageTemplate
Controls the properties and methods needed to support Email message content for the Email Alert actions.
| Constructor Summary | |
|---|---|
MessageTemplate()
Constructs a MessageTemplate using ArcGIS Engine. |
|
MessageTemplate(Object obj)
Construct a MessageTemplate using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
String |
esri_getSource()
Dataset definition ID associated with the tracking service. |
String |
formatMessage(Object dataObject)
Generate the formatted message for the data (message or feature) provided. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getDateFormat()
Date format to be used for a date field in the message. |
Object |
getFieldsWithColumns()
Field names and column index of fields used in the action message. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getSourceType()
Indication if the source is the dataset definition or a feature. |
String |
getTemplate()
Structured message template for use as an action message output. |
String |
getTemplateName()
Name of a message template. |
String |
getTimeFormat()
Time format to be used for a time field in the message. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setDateFormat(String dateFormat)
Date format to be used for a date field in the message. |
void |
setFieldsWithColumns(Object array)
Field names and column index of fields used in the action message. |
void |
setSource(String datasetDefID)
Dataset definition ID associated with the tracking service. |
void |
setSourceType(int type)
Indication if the source is the dataset definition or a feature. |
void |
setTemplate(String unformatedMessage)
Structured message template for use as an action message output. |
void |
setTemplateName(String name)
Name of a message template. |
void |
setTimeFormat(String timeFormat)
Time format to be used for a time field in the message. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public MessageTemplate()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public MessageTemplate(Object obj)
throws IOException
obj to MessageTemplate.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
MessageTemplate theMessageTemplate = (MessageTemplate) obj;| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getTemplate()
throws IOException,
AutomationException
getTemplate in interface IMessageTemplateIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTemplate(String unformatedMessage)
throws IOException,
AutomationException
setTemplate in interface IMessageTemplateunformatedMessage - The unformatedMessage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTemplateName()
throws IOException,
AutomationException
getTemplateName in interface IMessageTemplateIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTemplateName(String name)
throws IOException,
AutomationException
setTemplateName in interface IMessageTemplatename - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSourceType()
throws IOException,
AutomationException
getSourceType in interface IMessageTemplateIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSourceType(int type)
throws IOException,
AutomationException
setSourceType in interface IMessageTemplatetype - A com.esri.arcgis.trackinganalyst.enumTemplateSourceType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String esri_getSource()
throws IOException,
AutomationException
esri_getSource in interface IMessageTemplateIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSource(String datasetDefID)
throws IOException,
AutomationException
setSource in interface IMessageTemplatedatasetDefID - The datasetDefID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String formatMessage(Object dataObject)
throws IOException,
AutomationException
formatMessage in interface IMessageTemplatedataObject - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDateFormat()
throws IOException,
AutomationException
getDateFormat in interface IMessageTemplateIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDateFormat(String dateFormat)
throws IOException,
AutomationException
setDateFormat in interface IMessageTemplatedateFormat - The dateFormat (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTimeFormat()
throws IOException,
AutomationException
getTimeFormat in interface IMessageTemplateIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTimeFormat(String timeFormat)
throws IOException,
AutomationException
setTimeFormat in interface IMessageTemplatetimeFormat - The timeFormat (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getFieldsWithColumns()
throws IOException,
AutomationException
getFieldsWithColumns in interface IMessageTemplateIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldsWithColumns(Object array)
throws IOException,
AutomationException
setFieldsWithColumns in interface IMessageTemplatearray - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
throws IOException,
AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws IOException,
AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws IOException,
AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportedAtVersion(int docVersion)
throws IOException,
AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object convertToSupportedObject(int docVersion)
throws IOException,
AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||