|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.gee.publication.net.WStorable
info.aduna.gee.publication.content.Database
info.aduna.gee.spectacle.gee.jit.JitNavigationDatabase
public class JitNavigationDatabase
JitNavigationDatabase a just in time navigation database.
| Field Summary |
|---|
| Fields inherited from class info.aduna.gee.publication.content.Database |
|---|
_containerNames, _dummyContainer, _sortedDates, _storeVersion, containers, DATED, NAMED, navigation, privacyLevel, SEPARATOR_TYPE_CONTINUATION, SEPARATOR_TYPE_DEFAULT, SEPARATOR_TYPE_IGNORE, SEPARATOR_TYPE_META, startSection, STORE_DEFAULT_VERSION, STORE_JAZZZ_VERSION, STORE_TOSTRING_VERSION, TEMPLATE_CACHE, tmplPreferences, TODAY_WILD_CARD, WILDC |
| Fields inherited from class info.aduna.gee.publication.net.WStorable |
|---|
_isStorable, _lastModified, BASE64ENCODING, GZIPCOMPRESSION, NONE, WLZ77COMPRESSION |
| Constructor Summary | |
|---|---|
JitNavigationDatabase(Collection entities,
NavigationSpecification navSpec,
JitSectionRenderer renderer)
Constructor. |
|
| Method Summary | |
|---|---|
void |
clear()
Override clearing: the method is empty. |
boolean |
containerNamesAreSorted()
Override automatic name sorting of Database. |
void |
destroy()
Destroy the current database. |
void |
gc()
Garbage collect this database. |
Vector |
getChildren(PathString sectionName,
boolean createThem)
Override Database's getChildren, because this is much faster (especially when the tree is big). |
int |
getNumberOfEntries(Object sectionID)
|
int |
getSeparatorType(Object sectionID)
|
ZContainer |
getSummarizedEntries(Object overviewSection,
Object contentSection,
Object placeHolder,
int max)
No need to know. |
NavigationTree |
getTree()
|
boolean |
isStorable()
Override WStorable completely. |
void |
prepareAccess(Object sectionID)
Prepare access to any section's content. |
void |
prepareChildren(Object sectionID)
Prepare children of any section. |
void |
run()
|
| Methods inherited from class info.aduna.gee.publication.content.Database |
|---|
_clearIdle, _deKeyProtect, _keyProtect, _typeToIndex, addContainer, clone, getContainer, getContainer, getContainerNames, getRange, getVersion, hasContainer, load, preload, recalculateWildCards, removeContainer, setStoreVersion, store, sweep, toProperties |
| Methods inherited from class info.aduna.gee.publication.net.WStorable |
|---|
getCompression, getEncoding, getLastModified, setLastModified, setStorable, toSeconds |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JitNavigationDatabase(Collection entities,
NavigationSpecification navSpec,
JitSectionRenderer renderer)
entities - the set of entitiesnavSpec - the navigation specificationrenderer - the jit section renderer| Method Detail |
|---|
public boolean isStorable()
isStorable in class WStorablepublic boolean containerNamesAreSorted()
containerNamesAreSorted in class Databasepublic void clear()
clear in class Databasepublic void destroy()
destroy in class WStorablepublic void prepareAccess(Object sectionID)
prepareAccess in class Databasepublic void prepareChildren(Object sectionID)
prepareChildren in class Databasepublic int getNumberOfEntries(Object sectionID)
getNumberOfEntries in class DatabaseJitSectionRenderer.getNumberOfEntries(info.aduna.gee.publication.content.PathString, info.aduna.gee.spectacle.gee.NavigationTree)
public ZContainer getSummarizedEntries(Object overviewSection,
Object contentSection,
Object placeHolder,
int max)
getSummarizedEntries in class DatabaseSession.getSummarizedEntries(java.lang.Object, java.lang.Object, java.lang.Object, int)public int getSeparatorType(Object sectionID)
getSeparatorType in class DatabaseDatabase.getSeparatorType(java.lang.Object)
public Vector getChildren(PathString sectionName,
boolean createThem)
getChildren in class DatabaseDatabase.getChildren(info.aduna.gee.publication.content.PathString, boolean)public void gc()
gc in class Databasepublic NavigationTree getTree()
public void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||