Class: Java::NetOntopiaTopicmapsImplTmapi2::TopicMapImpl
- Inherits:
-
Object
- Object
- Java::NetOntopiaTopicmapsImplTmapi2::TopicMapImpl
- Defined in:
- lib/rtm/ontopia/rdbms/store.rb
Instance Method Summary collapse
-
#abort ⇒ Object
Aborts the transaction; all changes made inside the transaction are rolled back.
-
#commit ⇒ Object
Commits the transaction.
-
#rollback ⇒ Object
This method is undocumented intentionally because it is here only for those of us who look for “rollback” instead of “abort”.
Instance Method Details
#abort ⇒ Object
Aborts the transaction; all changes made inside the transaction are rolled back.
The transaction will resume after the abort meaning that the objects retrieved through is still usable after the abort, but their state has been reverted to the state in the persistent store.
This is just a convencience method for getWrapped().getStore().abort().
27 28 29 30 |
# File 'lib/rtm/ontopia/rdbms/store.rb', line 27 def abort wrapped.store.abort true end |
#commit ⇒ Object
Commits the transaction. The changes made are written to the persistent store.
The transaction will resume after the commit meaning that the objects retrieved through is still usable after the commit.
This is just a convencience method for getWrapped().getStore().commit().
12 13 14 15 |
# File 'lib/rtm/ontopia/rdbms/store.rb', line 12 def commit wrapped.store.commit true end |
#rollback ⇒ Object
This method is undocumented intentionally because it is here only for those of us who look for “rollback” instead of “abort”.
35 36 37 38 |
# File 'lib/rtm/ontopia/rdbms/store.rb', line 35 def rollback warn("TopicMap#rollback is only a convenience method for Ontopia's default 'abort'. Please use that instead.") abort end |