|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IHistoricalWorkspaceProxy
public class IHistoricalWorkspaceProxy
The IHistoricalWorkspace interface can be used to detect existing historical markers while also providing the functionality to add or remove historical markers from the workspace. This interface can also be leveraged to query existing historical versions on the historical workspace.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IHistoricalWorkspaceProxy()
|
|
IHistoricalWorkspaceProxy(Object obj)
|
protected |
IHistoricalWorkspaceProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
IHistoricalMarker |
addHistoricalMarker(String name,
Object tstamp)
Add a historical marker to this workspace. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IHistoricalVersion |
findHistoricalVersionByName(String historicalMarkerName)
Open a historical version by specifying a historical marker name. |
IHistoricalVersion |
findHistoricalVersionByTimeStamp(Object tstamp)
Open a historical version by specifying a timestamp. |
String |
getDefaultMarkerName()
The marker name which represents the last save or post of the default transactional version. |
IEnumHistoricalMarker |
getHistoricalMarkers()
An enumerator of all historical markers managed by this workspace. |
void |
removeHistoricalMarker(String name)
Remove a historical marker from this workspace. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IHistoricalWorkspaceProxy()
public IHistoricalWorkspaceProxy(Object obj) throws IOException
IOException
protected IHistoricalWorkspaceProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public String getDefaultMarkerName() throws IOException, AutomationException
The DefaultMarkerName property returns a string which represents the last save or post of the default transactional version.
getDefaultMarkerName
in interface IHistoricalWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumHistoricalMarker getHistoricalMarkers() throws IOException, AutomationException
The HistoricalMarkers property returns an enumeration of the historical markers that exist on the current historical workspace. It can be used to populate an enumeration of historical markers that have been created.
getHistoricalMarkers
in interface IHistoricalWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHistoricalMarker addHistoricalMarker(String name, Object tstamp) throws IOException, AutomationException
The AddHistoricalMarker method is used to add a historical marker to the workspace. Historical markers are used to represent specific moments in the database which reference a date and time. They can then be used as a mechanism to easily recognize specific database's moment or events.
For example, an organization might create historical markers to reflect quarters of a fiscal year. This will then allow users the ability to quickly change their historical versions to each moment using a historical marker.
Historical markers are case sensitive. All users have privileges to create historical markers. Historical marker names are limited to sixty-four characters. Adding a historical marker modifies the geodatabase's system tables and explicitly performs a database commit, and should therefore not be done during an edit session.
addHistoricalMarker
in interface IHistoricalWorkspace
name
- The name (in)tstamp
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeHistoricalMarker(String name) throws IOException, AutomationException
The RemoveHistoricalMarker method removes the specified historical marker from the workspace.
Removing a historical marker modifies the geodatabase's system tables and explicitly performs a database commit, and should therefore not be done during an edit session.
The DEFAULT historical marker can not be deleted.
removeHistoricalMarker
in interface IHistoricalWorkspace
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHistoricalVersion findHistoricalVersionByTimeStamp(Object tstamp) throws IOException, AutomationException
The FindHistoricalVersionByTimeStamp method can be used to find a specific historical version that exists in the historical workspace by specifying the time stamp.
findHistoricalVersionByTimeStamp
in interface IHistoricalWorkspace
tstamp
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHistoricalVersion findHistoricalVersionByName(String historicalMarkerName) throws IOException, AutomationException
The FindHistoricalVersionByName method can be used to find a historical version by using an existing historical marker. The input string used to locate the historical marker is case sensitive. The "DEFAULT" historical marker is unique and is not case sensitive.
findHistoricalVersionByName
in interface IHistoricalWorkspace
historicalMarkerName
- The historicalMarkerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |