public interface EditWithRollbackManager extends TaggedObject
FeatureCollection.startEditWithRollbackManager(nxopen.features.Feature, int)
will roll the model to a suitable point
before feature edit can begin.
FeatureCollection.startEditWithRollbackManager(nxopen.features.Feature, int)
updateFeature(boolean)
.
A true needs to be passed into updateFeature(boolean)
indicating that there was an
error while editing the feature so all the transient data is cleaned up.
A false needs to be passed into updateFeature(boolean)
if there was no error
while editing the feature.
updateFeature(boolean)
should be followed by a call to
stop()
. This method rolls forward the model to the original current
feature after the feature is edited with rollback.
destroy()
will destroy the transient object of class
EditWithRollbackManager
.
FeatureCollection.startEditWithRollbackManager(nxopen.features.Feature, int)
updateFeature(boolean)
stop()
destroy()
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Delete the Edit With Rollback Manager
License requirements: None. |
void |
stop()
Rolls the model to the original current feature after the feature is edited with rollback
License requirements: None. |
void |
updateFeature(boolean errorDuringFeatureEdit)
Updates the feature after the feature is edited with rollback
License requirements: None. |
printTestData, printTestData, tag, tagValue
void updateFeature(boolean errorDuringFeatureEdit) throws NXException, RemoteException
errorDuringFeatureEdit
- True if feature edit resulted in an error.
False otherwiseNXException
RemoteException
void stop() throws NXException, RemoteException
NXException
RemoteException
void destroy() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.