wt.fc.collections
Class RefreshHelper.RefreshData

java.lang.Object
  extended bywt.fc.collections.RefreshHelper.RefreshData
Enclosing class:
RefreshHelper

static final class RefreshHelper.RefreshData
extends Object

Tracks the oids and branch ids for the first and second pass queries


Field Summary
private  Set firstPassBranchIDs
          The branch ids of VersionReferences that need to be queried in the 1st pass
private  Set firstPassOids
          The oids of ObjectReferences that need to be queried in the 1st pass
private  Class persistableClass
          The class of Persistable this data maintains QueryKeys for
private  Set secondPassBranchIDs
          The branch ids of VersionReferences that need to be inflated
private  Set secondPassOids
          The oids of ObjectReferences that need to be inflated
 
Constructor Summary
(package private) RefreshHelper.RefreshData(Class persistable_class)
           
 
Method Summary
(package private)  boolean addToFirstPass(ObjectIdentifier oid)
           
(package private)  boolean addToFirstPass(VersionForeignKey vfk)
           
(package private)  boolean addToSecondPass(ObjectIdentifier oid)
           
(package private)  boolean addToSecondPass(VersionForeignKey vfk)
           
(package private)  void appendFirstPassWhere(QuerySpec qs)
           
(package private)  void appendSecondPassWhere(QuerySpec qs)
           
(package private)  boolean containsInFirstPass(ObjectIdentifier oid)
           
(package private)  boolean containsInFirstPass(VersionForeignKey vfk)
           
(package private)  boolean containsInSecondPass(ObjectIdentifier oid)
           
(package private)  boolean containsInSecondPass(VersionForeignKey vfk)
           
(package private)  Class getPersistableClass()
           
(package private)  boolean isFirstPassNeeded()
           
(package private)  boolean isSecondPassNeeded()
           
(package private)  boolean removeFromFirstPass(ObjectIdentifier oid)
           
(package private)  boolean removeFromFirstPass(VersionForeignKey vfk)
           
(package private)  boolean removeFromSecondPass(ObjectIdentifier oid)
           
(package private)  boolean removeFromSecondPass(VersionForeignKey vfk)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

firstPassOids

private Set firstPassOids
The oids of ObjectReferences that need to be queried in the 1st pass


firstPassBranchIDs

private Set firstPassBranchIDs
The branch ids of VersionReferences that need to be queried in the 1st pass


secondPassOids

private Set secondPassOids
The oids of ObjectReferences that need to be inflated


secondPassBranchIDs

private Set secondPassBranchIDs
The branch ids of VersionReferences that need to be inflated


persistableClass

private final Class persistableClass
The class of Persistable this data maintains QueryKeys for

Constructor Detail

RefreshHelper.RefreshData

RefreshHelper.RefreshData(Class persistable_class)
Method Detail

isFirstPassNeeded

boolean isFirstPassNeeded()

isSecondPassNeeded

boolean isSecondPassNeeded()

appendFirstPassWhere

void appendFirstPassWhere(QuerySpec qs)
                    throws WTException
Throws:
WTException

appendSecondPassWhere

void appendSecondPassWhere(QuerySpec qs)
                     throws WTException
Throws:
WTException

getPersistableClass

Class getPersistableClass()

addToFirstPass

boolean addToFirstPass(ObjectIdentifier oid)

addToFirstPass

boolean addToFirstPass(VersionForeignKey vfk)

addToSecondPass

boolean addToSecondPass(ObjectIdentifier oid)

addToSecondPass

boolean addToSecondPass(VersionForeignKey vfk)

containsInFirstPass

boolean containsInFirstPass(ObjectIdentifier oid)

containsInFirstPass

boolean containsInFirstPass(VersionForeignKey vfk)

containsInSecondPass

boolean containsInSecondPass(ObjectIdentifier oid)

containsInSecondPass

boolean containsInSecondPass(VersionForeignKey vfk)

removeFromFirstPass

boolean removeFromFirstPass(ObjectIdentifier oid)

removeFromFirstPass

boolean removeFromFirstPass(VersionForeignKey vfk)

removeFromSecondPass

boolean removeFromSecondPass(ObjectIdentifier oid)

removeFromSecondPass

boolean removeFromSecondPass(VersionForeignKey vfk)

toString

public String toString()