|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.swing.calculator.modelutils.PreloadUtils
public class PreloadUtils
Preload utilities.
The methods here preload object model entities using (hopefully) efficient queries all at once. This allows traversing the object model graph without requiring multiple database reads during traversal.
Constructor Summary | |
---|---|
protected |
PreloadUtils()
Don't allow instantiation but do allow overrides. |
Method Summary | |
---|---|
static java.util.Collection |
preloadReducedWordParts(java.util.Collection words)
Preload reduced word part information for a set of words. |
static java.util.Collection |
preloadReducedWordPartsAndSpeeches(java.util.Collection words)
Preload reduced word part information and speeches for a set of words. |
static java.util.Collection |
preloadWordParts(java.util.Collection words)
Preload word part information for a set of words. |
static java.util.Collection |
preloadWordParts(PersistenceManager pm,
java.util.Collection words)
Preload word part information for a set of words. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PreloadUtils()
Method Detail |
---|
public static java.util.Collection preloadWordParts(PersistenceManager pm, java.util.Collection words)
pm
- Persistence manager.words
- The words.
public static java.util.Collection preloadWordParts(java.util.Collection words)
words
- The words.
public static java.util.Collection preloadReducedWordParts(java.util.Collection words)
words
- The words. public static java.util.Collection preloadReducedWordPartsAndSpeeches(java.util.Collection words)
words
- The words.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |