|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.trackinganalyst.ActionCollection
The Action Collection object is a container of actions.
This class is a container of tracking action objects. The Action processor object contains exactly one ActionCollection. Since this object is itself a tracking action it forwards requests to evaluate to each action object in its collection.
| Constructor Summary | |
ActionCollection()
Constructs a ActionCollection using ArcGIS Engine. |
|
ActionCollection(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
boolean |
actionNameExists(java.lang.String bstrName)
Checks if an action within the collection exists with the specified name. |
void |
add(IAction piAction,
int nIndex)
Adds an action to the collection. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
checkLayers(boolean bRebuildGeometry)
Checks for deleted Layers and disables affected actions. |
void |
clearCounts()
Clears all the internal counters for this action. |
boolean |
dependsUponFeatureClass(IFeatureClass piFeatureClass)
Indicates if a contained action depends upon the specified feature class. |
boolean |
disableActionsUsingLayer(ILayer piLayer)
Disables all action using the specified layer for location trigger. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
evaluate(java.lang.Object piObject,
java.lang.Object[] pvarReturnedObjects)
Takes an input object and evaluates the object based on predefined criteria. |
int |
find(IAction piAction)
Finds an action within the collection. |
IAction |
getAction(int nIndex)
Retrieves the action at the specified index. |
int |
getActionCategory()
Indicates the type of action to be applied to data. |
int |
getActionCount()
Total number of actions. |
java.lang.String |
getAlias()
Allows user to specify or retrieve the alias name for this action. |
IAction |
getAsIAction()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IActionCollection |
getAsIActionCollection()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IActionCollection2 |
getAsIActionCollection2()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IActionUpdate |
getAsIActionUpdate()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IClone |
getAsIClone()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersistStream |
getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISupportErrorInfo |
getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
getClsid()
|
int |
getCount()
Number of objects in the collection. |
int |
getEnabledActionCount()
Number of enabled actions. |
int |
getEvaluationCount()
Number of times this action has been evaluated. |
int |
getExclusionCategory()
Action category to be excluded from processing. |
int |
getFilteredCount()
Number of times this action has returned S_ACTIONPROCESSOR_MSG_FILTERED. |
java.lang.String |
getLabel()
Allows user to specify or retreive tha label name for this action. |
int |
getMaximumDepth()
Maximum number of nested action levels to be processed. |
int |
getModifiedCount()
Number of times this action has returned S_ACTIONPROCESSOR_MSG_MODIFIED. |
java.lang.String |
getName()
Developer-given name of the object. |
int |
getNextActionNumber()
Gives next sequential number for assigning names to actions. |
int |
getProcessedCount()
Number of times this action has returned S_ACTIONPROCESSOR_MSG_PROCESSED. |
java.lang.String |
getRulesDescription()
Describes what the action will do. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
Supported Platforms |
int |
getStopProcessingCount()
Number of times this action has returned S_ACTIONPROCESSOR_MSG_STOPPROCESSING. |
java.lang.String |
getType()
Allows user to obtain a string describing the type of action object. |
double |
getVersion()
Allows user to retrieve the version number for this action. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
Supported Platforms |
boolean |
isContinueProcessing()
Indicates whether or not the processing engine should stop processing further actions in the action list after this action finishes processing. |
void |
isDirty()
Supported Platforms |
boolean |
isEnabled()
Indicates whether or not an action in the action list is enabled for processing. |
boolean |
isEqual(IClone other)
Returns TRUE when the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Returns TRUE when the receiver and other are the same object. |
boolean |
isStopProcessing()
Indicates whether or not the processing engine should stop processing further actions in the action list after this action finishes processing. |
void |
load(IStream pstm)
Supported Platforms |
void |
move(int nSourceIndex,
int nDestinationIndex)
Moves an action to a user-specified location in the collection. |
boolean |
reenableActionsUsingLayer(ILayer piLayer)
Reenable all action using the specified layer for location trigger. |
void |
remove(int nIndex)
Removes an action from the collection. |
void |
removeAll()
Removes all actions from the index. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
void |
setActionCategory(int pVal)
Indicates the type of action to be applied to data. |
void |
setAlias(java.lang.String pbstrAlias)
Allows user to specify or retrieve the alias name for this action. |
void |
setExclusionCategory(int pVal)
Action category to be excluded from processing. |
void |
setIsEnabled(boolean pbvarIsEnabled)
Indicates whether or not an action in the action list is enabled for processing. |
void |
setLabel(java.lang.String pbstrLabel)
Allows user to specify or retreive tha label name for this action. |
void |
setMaximumDepth(int pVal)
Maximum number of nested action levels to be processed. |
void |
setNextActionNumber(int pVal)
Gives next sequential number for assigning names to actions. |
void |
setStopProcessing(boolean pbvarStopProcessing)
Indicates whether or not the processing engine should stop processing further actions in the action list after this action finishes processing. |
void |
update()
Notify a tracking action that lookup table values have changed. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ActionCollection()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public ActionCollection(java.lang.Object obj)
throws java.io.IOException
obj to ActionCollection. ActionCollection theActionCollection = (ActionCollection) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IActionCollection getAsIActionCollection()
public IActionCollection2 getAsIActionCollection2()
public ISupportErrorInfo getAsISupportErrorInfo()
public IAction getAsIAction()
public IPersistStream getAsIPersistStream()
public IClone getAsIClone()
public IActionUpdate getAsIActionUpdate()
public boolean equals(java.lang.Object o)
public int hashCode()
public void add(IAction piAction,
int nIndex)
throws java.io.IOException,
AutomationException
IActionCollectionThis method allows a user to add an action to the Collection. The action will be added at the specified index. Specifying a large index value, such as 999999 will ensure the action is placed at the end of the list. This method will addref the received action before placing in the collection.
add in interface IActionCollectionpiAction - A reference to a com.esri.arcgis.trackinganalyst.IAction (in)nIndex - The nIndex (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void remove(int nIndex)
throws java.io.IOException,
AutomationException
IActionCollectionThis method allows a user to remove an action at the specified index. If the index specified is out of range an E_FAIL is returned otherwise a S_OK is returned on success. This method on success releases the action removed.
remove in interface IActionCollectionnIndex - The nIndex (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void move(int nSourceIndex,
int nDestinationIndex)
throws java.io.IOException,
AutomationException
IActionCollectionThis method allows the user to move an action in the collection. The from and to index allows the user to specify the location in the collection to move the action about. The behavior is to insert the moved action at the specified index moving the existing action at the move to index forward in the list thus adding one to its index.
move in interface IActionCollectionnSourceIndex - The nSourceIndex (in)nDestinationIndex - The nDestinationIndex (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void removeAll()
throws java.io.IOException,
AutomationException
IActionCollectionThis method removes all actions from the index using the remove method.
removeAll in interface IActionCollectionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IAction getAction(int nIndex)
throws java.io.IOException,
AutomationException
IActionCollectionThis property retrieves the action at the specified index. If the specified index is beyond the valid range a S_FALSE is returned and the Action Argument is returned as NULL. On success this method will addref the retrieved action.
getAction in interface IActionCollectionnIndex - The nIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws java.io.IOException,
AutomationException
IActionCollectionThis method returns the number of objects in the collection.
getCount in interface IActionCollectionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int find(IAction piAction)
throws java.io.IOException,
AutomationException
IActionCollectionThis method finds the specified action in the collection and returns the index of that action.
find in interface IActionCollectionpiAction - A reference to a com.esri.arcgis.trackinganalyst.IAction (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaximumDepth()
throws java.io.IOException,
AutomationException
IActionCollection
getMaximumDepth in interface IActionCollectionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaximumDepth(int pVal)
throws java.io.IOException,
AutomationException
IActionCollection
setMaximumDepth in interface IActionCollectionpVal - The pVal (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNextActionNumber()
throws java.io.IOException,
AutomationException
IActionCollection
getNextActionNumber in interface IActionCollectionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setNextActionNumber(int pVal)
throws java.io.IOException,
AutomationException
IActionCollection
setNextActionNumber in interface IActionCollectionpVal - The pVal (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getExclusionCategory()
throws java.io.IOException,
AutomationException
IActionCollection
getExclusionCategory in interface IActionCollectionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setExclusionCategory(int pVal)
throws java.io.IOException,
AutomationException
IActionCollection
setExclusionCategory in interface IActionCollectionpVal - A com.esri.arcgis.trackinganalyst.enumActionCategory constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getActionCount()
throws java.io.IOException,
AutomationException
IActionCollection
getActionCount in interface IActionCollectionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getEnabledActionCount()
throws java.io.IOException,
AutomationException
IActionCollection
getEnabledActionCount in interface IActionCollectionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean dependsUponFeatureClass(IFeatureClass piFeatureClass)
throws java.io.IOException,
AutomationException
IActionCollection
dependsUponFeatureClass in interface IActionCollectionpiFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean disableActionsUsingLayer(ILayer piLayer)
throws java.io.IOException,
AutomationException
IActionCollection
disableActionsUsingLayer in interface IActionCollectionpiLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean reenableActionsUsingLayer(ILayer piLayer)
throws java.io.IOException,
AutomationException
IActionCollection
reenableActionsUsingLayer in interface IActionCollectionpiLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void checkLayers(boolean bRebuildGeometry)
throws java.io.IOException,
AutomationException
IActionCollection
checkLayers in interface IActionCollectionbRebuildGeometry - The bRebuildGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean actionNameExists(java.lang.String bstrName)
throws java.io.IOException,
AutomationException
IActionCollection2
actionNameExists in interface IActionCollection2bstrName - The bstrName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
ISupportErrorInfoIndicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getVersion()
throws java.io.IOException,
AutomationException
IActionThis property allows the user to retrieve the version number for this action.
getVersion in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
IActionThe name property is a developer given name of the object. This property cannot be changed and should be unique, such as the company ID or some other naming convention.
getName in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getRulesDescription()
throws java.io.IOException,
AutomationException
IActionThis property describes what the action will do. This string should contain details about the configuration. This property is similar to the Microsoft Outlook rules "Rules Description" text.
getRulesDescription in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isContinueProcessing()
throws java.io.IOException,
AutomationException
IActionThis property controls whether or not the processing engine should stop processing further actions in the action list after this action processes. The internal object must control the state of this property and must allow or return VARIANT_TRUE if this action did not successfully process the current action. The action processor must call Evaluate with a data object before this property is valid.
If the object successfully processed the data and internally it has been told to stop processing further actions, then the return value should be VARIANT_FALSE signifying to the action processor to stop processing actions.
Note: This property is not a copy of the property put_StopProcessing. The StopProcessing or write version simply enables whether or not this property is processed or returns a VARIANT_FALSE. If the StopProcessing property is false then this property is always TRUE. Otherwise the last Evaluate call determines the state.
isContinueProcessing in interface IActionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getAlias()
throws java.io.IOException,
AutomationException
IActionThis property allows the user to specify or retrieve the alias name for this action.
getAlias in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setAlias(java.lang.String pbstrAlias)
throws java.io.IOException,
AutomationException
IActionThis property allows the user to specify or retrieve the alias name for this action.
setAlias in interface IActionpbstrAlias - The pbstrAlias (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getLabel()
throws java.io.IOException,
AutomationException
IActionThis property allows the user to specify or retrieve the label name for this action.
getLabel in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setLabel(java.lang.String pbstrLabel)
throws java.io.IOException,
AutomationException
IActionThis property allows the user to specify or retrieve the label name for this action.
setLabel in interface IActionpbstrLabel - The pbstrLabel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getType()
throws java.io.IOException,
AutomationException
IActionThe type property allows a user to obtain a string describing the type of action object. This is generally a one word description.
getType in interface IActionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnabled()
throws java.io.IOException,
AutomationException
IAction
isEnabled in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setIsEnabled(boolean pbvarIsEnabled)
throws java.io.IOException,
AutomationException
IAction
setIsEnabled in interface IActionpbvarIsEnabled - The pbvarIsEnabled (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStopProcessing(boolean pbvarStopProcessing)
throws java.io.IOException,
AutomationException
IActionThis property controls whether or not the processing engine should stop processing further actions in the action list after this action processes. This enables the ContinueProcessing property to return a VARIANT_FALSE if no further processing should take place.
setStopProcessing in interface IActionpbvarStopProcessing - The pbvarStopProcessing (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void evaluate(java.lang.Object piObject,
java.lang.Object[] pvarReturnedObjects)
throws java.io.IOException,
AutomationException
IActionThis method provides the entry point for the action processor to evaluate the data that is undergoing processing. This method takes a variant that is an object that implement either a IDatamessage or a IFeature interface.
evaluate in interface IActionpiObject - A reference to another Object (IUnknown) (in)pvarReturnedObjects - A Variant (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isStopProcessing()
throws java.io.IOException,
AutomationException
IActionThis property controls whether or not the processing engine should stop processing further actions in the action list after this action processes. This enables the ContinueProcessing property to return a VARIANT_FALSE if no furtherprocessing should take place.
isStopProcessing in interface IActionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getEvaluationCount()
throws java.io.IOException,
AutomationException
IActionThis property is a count of the number of times this action has been evaluated.
getEvaluationCount in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getStopProcessingCount()
throws java.io.IOException,
AutomationException
IActionThis property counts the number of times this action has returned S_ACTIONPROCESSOR_MSG_STOPPROCESSING.
getStopProcessingCount in interface IActionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFilteredCount()
throws java.io.IOException,
AutomationException
IActionThis property is a count of the number of times this action has returned S_ACTIONPROCESSOR_MSG_FILTERED.
getFilteredCount in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getModifiedCount()
throws java.io.IOException,
AutomationException
IActionThis property is a count of the number of times this action has returned S_ACTIONPROCESSOR_MSG_MODIFIED.
getModifiedCount in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getProcessedCount()
throws java.io.IOException,
AutomationException
IActionThis property is a count of the number of times this action has returned S_ACTIONPROCESSOR_MSG_PROCESSED.
getProcessedCount in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void clearCounts()
throws java.io.IOException,
AutomationException
IActionThis property clears all the internal counters for this action.
clearCounts in interface IActionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getActionCategory()
throws java.io.IOException,
AutomationException
IAction
getActionCategory in interface IActionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setActionCategory(int pVal)
throws java.io.IOException,
AutomationException
IAction
setActionCategory in interface IActionpVal - A com.esri.arcgis.trackinganalyst.enumActionCategory constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IClone esri_clone()
throws java.io.IOException,
AutomationException
IClone
esri_clone in interface IClonejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws java.io.IOException,
AutomationException
IClone
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEqual(IClone other)
throws java.io.IOException,
AutomationException
IClone
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isIdentical(IClone other)
throws java.io.IOException,
AutomationException
IClone
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void update()
throws java.io.IOException,
AutomationException
IActionUpdate
update in interface IActionUpdateAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||