wt.inf.container
Class LookupSpecHelper

java.lang.Object
  extended bywt.inf.container.LookupSpecHelper

final class LookupSpecHelper
extends Object

Utility class for the WTContainerService#lookup(LookupSpec) API

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static boolean DEBUG
           
private static Class DEFAULT_END_CLASS
           
private static DebugWriter LOG
           
 
Constructor Summary
(package private) LookupSpecHelper()
           
 
Method Summary
private static void applyDeleteState(QuerySpec qs, LookupSpec ls)
           
private static QueryResult filterOverrides(LookupSpec ls, QueryResult qr)
           
private static WTContainerRef[] getContainers(LookupSpec ls)
           
private static CompoundQuerySpec getSortedLookupCompoundSpec(WTContainerRef[] containers, LookupSpec spec, boolean inflate)
           
private static QuerySpec[] getSortedLookupQuerySpecs(LookupSpec spec, boolean inflate)
           
(package private) static QueryResult lookup(LookupSpec spec)
           
private static QueryResult sortedLookup(WTContainerRef[] containers, LookupSpec spec)
           
private static QueryResult unsortedLookup(WTContainerRef[] containers, LookupSpec spec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

private static final String CLASSNAME

DEBUG

private static final boolean DEBUG

LOG

private static final DebugWriter LOG

DEFAULT_END_CLASS

private static final Class DEFAULT_END_CLASS
Constructor Detail

LookupSpecHelper

LookupSpecHelper()
Method Detail

lookup

static QueryResult lookup(LookupSpec spec)
                   throws WTException
Throws:
WTException

getContainers

private static WTContainerRef[] getContainers(LookupSpec ls)
                                       throws WTException
Throws:
WTException

sortedLookup

private static QueryResult sortedLookup(WTContainerRef[] containers,
                                        LookupSpec spec)
                                 throws WTException
Throws:
WTException

getSortedLookupCompoundSpec

private static CompoundQuerySpec getSortedLookupCompoundSpec(WTContainerRef[] containers,
                                                             LookupSpec spec,
                                                             boolean inflate)
                                                      throws WTException
Throws:
WTException

getSortedLookupQuerySpecs

private static QuerySpec[] getSortedLookupQuerySpecs(LookupSpec spec,
                                                     boolean inflate)
                                              throws WTException
Throws:
WTException

unsortedLookup

private static QueryResult unsortedLookup(WTContainerRef[] containers,
                                          LookupSpec spec)
                                   throws WTException
Throws:
WTException

applyDeleteState

private static void applyDeleteState(QuerySpec qs,
                                     LookupSpec ls)
                              throws WTException
Throws:
WTException

filterOverrides

private static QueryResult filterOverrides(LookupSpec ls,
                                           QueryResult qr)
                                    throws WTException
Throws:
WTException