net.ontopia.topicmaps.impl.rdbms
Class RoleTypeAssocTypeCache
java.lang.Object
net.ontopia.topicmaps.impl.rdbms.RoleTypeAssocTypeCache
public class RoleTypeAssocTypeCache
- extends Object
INTERNAL:
Method Summary |
void |
abort()
|
protected void |
addEntry(ParameterArray key,
AssociationRoleIF added)
|
protected int |
bind(FieldInfoIF finfo,
Object value,
PreparedStatement stm,
int offset)
|
void |
commit()
|
Collection |
getRolesByType(TopicIF player,
TopicIF rtype,
TopicIF atype)
|
protected IdentityIF |
i(Object o)
|
void |
prefetchRolesByType(Collection players,
TopicIF rtype,
TopicIF atype)
|
protected void |
removeEntry(ParameterArray key,
AssociationRoleIF removed)
|
protected Collection |
syncWithTransaction(Collection roles,
ParameterArray params,
IdentityIF playerid,
IdentityIF rtypeid,
IdentityIF atypeid,
IdentityIF tmid)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
access
protected RDBMSAccess access
registrar
protected AccessRegistrarIF registrar
TopicIF_idfield
protected FieldInfoIF TopicIF_idfield
TopicMapIF_idfield
protected FieldInfoIF TopicMapIF_idfield
AssociationIF_idfield
protected FieldInfoIF AssociationIF_idfield
AssociationRoleIF_idfield
protected FieldInfoIF AssociationRoleIF_idfield
sql
protected String sql
sql_individual
protected String sql_individual
batchSize
protected int batchSize
tm
protected TopicMapIF tm
txn
protected TopicMapTransactionIF txn
ptxn
protected TransactionIF ptxn
rolesByType
protected TransactionalLookupIndexIF rolesByType
qlshared
protected boolean qlshared
radd
protected Map radd
rrem
protected Map rrem
RoleTypeAssocTypeCache
public RoleTypeAssocTypeCache(TopicMapTransactionIF txn,
EventManagerIF emanager,
EventManagerIF otree)
commit
public void commit()
abort
public void abort()
prefetchRolesByType
public void prefetchRolesByType(Collection players,
TopicIF rtype,
TopicIF atype)
getRolesByType
public Collection getRolesByType(TopicIF player,
TopicIF rtype,
TopicIF atype)
syncWithTransaction
protected Collection syncWithTransaction(Collection roles,
ParameterArray params,
IdentityIF playerid,
IdentityIF rtypeid,
IdentityIF atypeid,
IdentityIF tmid)
bind
protected int bind(FieldInfoIF finfo,
Object value,
PreparedStatement stm,
int offset)
throws SQLException
- Throws:
SQLException
i
protected IdentityIF i(Object o)
addEntry
protected void addEntry(ParameterArray key,
AssociationRoleIF added)
removeEntry
protected void removeEntry(ParameterArray key,
AssociationRoleIF removed)
Copyright © 2000-2012 Ontopia.