|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.impl.utils.AbstractTopicMapTransaction net.ontopia.topicmaps.impl.rdbms.RDBMSTopicMapTransaction
public class RDBMSTopicMapTransaction
INTERNAL: The rdbms topic map transaction implementation.
Field Summary | |
---|---|
protected long |
actual_id
|
protected java.util.Map |
listeners
|
protected ObjectTreeManager |
otree
|
protected boolean |
readonly
|
protected RoleTypeAssocTypeCache |
rtatcache
|
protected RoleTypeCache |
rtcache
|
protected SubjectIdentityCache |
sicache
|
protected TopicModificationManager |
topicmods
|
protected TransactionIF |
txn
|
Fields inherited from class net.ontopia.topicmaps.impl.utils.AbstractTopicMapTransaction |
---|
active, builder, cfactory, imanager, invalid, parent, store, topicmap |
Method Summary | |
---|---|
void |
abort()
PUBLIC: Aborts the transaction; all changes made inside the transaction are rolled back. |
void |
abort(boolean invalidate)
|
void |
addListener(EventListenerIF listener,
java.lang.String event)
INTERNAL: Register the listener as a listener for the event. |
void |
commit()
PUBLIC: Commits the transaction. |
TopicMapTransactionIF |
createNested()
|
long |
getActualId()
|
TMObjectIF |
getObjectByItemIdentifier(LocatorIF locator)
|
ObjectTreeManager |
getObjectTreeManager()
|
java.util.Collection |
getRolesByType(TopicIF player,
TopicIF rtype)
|
java.util.Collection |
getRolesByType(TopicIF player,
TopicIF rtype,
TopicIF atype)
|
TopicIF |
getTopicBySubjectIdentifier(LocatorIF locator)
|
TopicIF |
getTopicBySubjectLocator(LocatorIF locator)
|
TransactionIF |
getTransaction()
INTERNAL: Returns the proxy transaction used by the topic map transaction. |
void |
prefetchRolesByType(java.util.Collection players,
TopicIF rtype,
TopicIF atype)
|
void |
processEvent(java.lang.Object object,
java.lang.String event,
java.lang.Object new_value,
java.lang.Object old_value)
INTERNAL: A method that receives notification when an event has been triggered. |
void |
removeListener(EventListenerIF listener,
java.lang.String event)
INTERNAL: Unregister the listener as a listener for the event. |
java.lang.String |
toString()
|
boolean |
validate()
|
Methods inherited from class net.ontopia.topicmaps.impl.utils.AbstractTopicMapTransaction |
---|
getBuilder, getCollectionFactory, getIndexManager, getParent, getStore, getTopicMap, isActive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected TransactionIF txn
protected boolean readonly
protected long actual_id
protected SubjectIdentityCache sicache
protected RoleTypeCache rtcache
protected RoleTypeAssocTypeCache rtatcache
protected java.util.Map listeners
protected ObjectTreeManager otree
protected TopicModificationManager topicmods
Method Detail |
---|
public long getActualId()
public ObjectTreeManager getObjectTreeManager()
public void commit()
TopicMapTransactionIF
commit
in interface TopicMapTransactionIF
commit
in class AbstractTopicMapTransaction
public void abort()
TopicMapTransactionIF
abort
in interface TopicMapTransactionIF
abort
in class AbstractTopicMapTransaction
public void abort(boolean invalidate)
abort
in class AbstractTopicMapTransaction
public boolean validate()
validate
in class AbstractTopicMapTransaction
public TopicMapTransactionIF createNested()
createNested
in class AbstractTopicMapTransaction
public TransactionIF getTransaction()
public void addListener(EventListenerIF listener, java.lang.String event)
EventManagerIF
addListener
in interface EventManagerIF
public void removeListener(EventListenerIF listener, java.lang.String event)
EventManagerIF
removeListener
in interface EventManagerIF
public void processEvent(java.lang.Object object, java.lang.String event, java.lang.Object new_value, java.lang.Object old_value)
EventListenerIF
processEvent
in interface EventListenerIF
public void prefetchRolesByType(java.util.Collection players, TopicIF rtype, TopicIF atype)
public TMObjectIF getObjectByItemIdentifier(LocatorIF locator)
public TopicIF getTopicBySubjectLocator(LocatorIF locator)
public TopicIF getTopicBySubjectIdentifier(LocatorIF locator)
public java.util.Collection getRolesByType(TopicIF player, TopicIF rtype)
public java.util.Collection getRolesByType(TopicIF player, TopicIF rtype, TopicIF atype)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |