|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.ActionCollection
public class 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(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ActionCollection theActionCollection = (ActionCollection) obj; |
Method Summary | |
---|---|
boolean |
actionNameExists(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. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
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(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
evaluate(Object piObject,
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. |
String |
getAlias()
Allows user to specify or retrieve the alias name for this action. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
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. |
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. |
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. |
String |
getRulesDescription()
Describes what the action will do. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getStopProcessingCount()
Number of times this action has returned S_ACTIONPROCESSOR_MSG_STOPPROCESSING. |
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)
interfaceSupportsErrorInfo |
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()
isDirty |
boolean |
isEnabled()
Indicates whether or not an action in the action list is enabled for processing. |
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 |
isStopProcessing()
Indicates if the processing engine should stop processing further actions in the action list after this action finishes processing. |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
void |
load(IStream pstm)
load |
void |
move(int nSourceIndex,
int nDestinationIndex)
Moves an action to a user-specified location in the collection. |
void |
readExternal(ObjectInput in)
|
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 |
resetToDefaultState()
Reset the State information to default. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setActionCategory(int pVal)
Indicates the type of action to be applied to data. |
void |
setAlias(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(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 if 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. |
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 ActionCollection() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ActionCollection(Object obj) throws IOException
ActionCollection theActionCollection = (ActionCollection) obj;
obj
to ActionCollection
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void add(IAction piAction, int nIndex) throws IOException, AutomationException
add
in interface IActionCollection
add
in interface IActionCollection2
piAction
- A reference to a com.esri.arcgis.carto.IAction (in)nIndex
- The nIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int nIndex) throws IOException, AutomationException
remove
in interface IActionCollection
remove
in interface IActionCollection2
nIndex
- The nIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void move(int nSourceIndex, int nDestinationIndex) throws IOException, AutomationException
move
in interface IActionCollection
move
in interface IActionCollection2
nSourceIndex
- The nSourceIndex (in)nDestinationIndex
- The nDestinationIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface IActionCollection
removeAll
in interface IActionCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAction getAction(int nIndex) throws IOException, AutomationException
getAction
in interface IActionCollection
getAction
in interface IActionCollection2
nIndex
- The nIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IActionCollection
getCount
in interface IActionCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int find(IAction piAction) throws IOException, AutomationException
find
in interface IActionCollection
find
in interface IActionCollection2
piAction
- A reference to a com.esri.arcgis.carto.IAction (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaximumDepth() throws IOException, AutomationException
getMaximumDepth
in interface IActionCollection
getMaximumDepth
in interface IActionCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaximumDepth(int pVal) throws IOException, AutomationException
setMaximumDepth
in interface IActionCollection
setMaximumDepth
in interface IActionCollection2
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNextActionNumber() throws IOException, AutomationException
getNextActionNumber
in interface IActionCollection
getNextActionNumber
in interface IActionCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNextActionNumber(int pVal) throws IOException, AutomationException
setNextActionNumber
in interface IActionCollection
setNextActionNumber
in interface IActionCollection2
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getExclusionCategory() throws IOException, AutomationException
getExclusionCategory
in interface IActionCollection
getExclusionCategory
in interface IActionCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExclusionCategory(int pVal) throws IOException, AutomationException
setExclusionCategory
in interface IActionCollection
setExclusionCategory
in interface IActionCollection2
pVal
- A com.esri.arcgis.carto.enumActionCategory constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getActionCount() throws IOException, AutomationException
getActionCount
in interface IActionCollection
getActionCount
in interface IActionCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEnabledActionCount() throws IOException, AutomationException
getEnabledActionCount
in interface IActionCollection
getEnabledActionCount
in interface IActionCollection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean dependsUponFeatureClass(IFeatureClass piFeatureClass) throws IOException, AutomationException
dependsUponFeatureClass
in interface IActionCollection
dependsUponFeatureClass
in interface IActionCollection2
piFeatureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean disableActionsUsingLayer(ILayer piLayer) throws IOException, AutomationException
disableActionsUsingLayer
in interface IActionCollection
disableActionsUsingLayer
in interface IActionCollection2
piLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean reenableActionsUsingLayer(ILayer piLayer) throws IOException, AutomationException
reenableActionsUsingLayer
in interface IActionCollection
reenableActionsUsingLayer
in interface IActionCollection2
piLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void checkLayers(boolean bRebuildGeometry) throws IOException, AutomationException
checkLayers
in interface IActionCollection
checkLayers
in interface IActionCollection2
bRebuildGeometry
- The bRebuildGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean actionNameExists(String bstrName) throws IOException, AutomationException
actionNameExists
in interface IActionCollection2
bstrName
- The bstrName (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 ISupportErrorInfo
riid
- 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 double getVersion() throws IOException, AutomationException
getVersion
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRulesDescription() throws IOException, AutomationException
getRulesDescription
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isContinueProcessing() throws IOException, AutomationException
isContinueProcessing
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAlias() throws IOException, AutomationException
getAlias
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAlias(String pbstrAlias) throws IOException, AutomationException
setAlias
in interface IAction
pbstrAlias
- The pbstrAlias (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLabel() throws IOException, AutomationException
getLabel
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(String pbstrLabel) throws IOException, AutomationException
setLabel
in interface IAction
pbstrLabel
- The pbstrLabel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getType() throws IOException, AutomationException
getType
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnabled() throws IOException, AutomationException
isEnabled
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsEnabled(boolean pbvarIsEnabled) throws IOException, AutomationException
setIsEnabled
in interface IAction
pbvarIsEnabled
- The pbvarIsEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStopProcessing(boolean pbvarStopProcessing) throws IOException, AutomationException
setStopProcessing
in interface IAction
pbvarStopProcessing
- The pbvarStopProcessing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void evaluate(Object piObject, Object[] pvarReturnedObjects) throws IOException, AutomationException
evaluate
in interface IAction
piObject
- A reference to another Object (IUnknown) (in)pvarReturnedObjects
- A Variant (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isStopProcessing() throws IOException, AutomationException
isStopProcessing
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEvaluationCount() throws IOException, AutomationException
getEvaluationCount
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStopProcessingCount() throws IOException, AutomationException
getStopProcessingCount
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFilteredCount() throws IOException, AutomationException
getFilteredCount
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getModifiedCount() throws IOException, AutomationException
getModifiedCount
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getProcessedCount() throws IOException, AutomationException
getProcessedCount
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearCounts() throws IOException, AutomationException
clearCounts
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getActionCategory() throws IOException, AutomationException
getActionCategory
in interface IAction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActionCategory(int pVal) throws IOException, AutomationException
setActionCategory
in interface IAction
pVal
- A com.esri.arcgis.carto.enumActionCategory constant (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 IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 IPersist
pClassID
- 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 IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- 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 IClone
other
- 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 IClone
other
- 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 update() throws IOException, AutomationException
update
in interface IActionUpdate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetToDefaultState() throws IOException, AutomationException
resetToDefaultState
in interface IActionState
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 IDocumentVersionSupportGEN
docVersion
- 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 IDocumentVersionSupportGEN
docVersion
- 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |