|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.gee.spectacle.gee.EntityContext
info.aduna.gee.spectacle.gee.EntityContextImpl
public final class EntityContextImpl
Implements the lower-level entity context that is used by the SpectacleLoader.
| Field Summary | |
|---|---|
static int |
MAX_APPNAME_LENGTH
|
| Fields inherited from class info.aduna.gee.spectacle.gee.EntityContext |
|---|
_channel, _dispenser, _orderFields, _producer, _views |
| Constructor Summary | |
|---|---|
EntityContextImpl(String appName,
String coverName,
int timeToLive)
Constructor. |
|
| Method Summary | |
|---|---|
void |
commit()
Commit all currently known information to the spectacle server. |
NavigationTree |
getNavigationTree()
|
void |
setEntities(Map<Object,Entity> entities)
Store the given entities in the spectacle server, all existing entities are gone afterwards. |
void |
setFacets(List<FacetClassifier> facetClassifiers)
Sets the facets being used, and how they are classified. |
void |
setNavigation(NavigationRules navRules,
JitSectionRenderer sectionRenderer)
Store the - given navigation specification - the JitSectionRender (plus its settings) - the navigation rules in the spectacle server. |
void |
setNavigation(NavigationRules navRules,
String sectionRendererClass)
|
| Methods inherited from class info.aduna.gee.spectacle.gee.EntityContext |
|---|
_init, addView, addView, getChannel, getChannelName, getEntities, getLabelClassification, getLabelDescription, getNewLabel, getView, render, selectEntities, setOrderField, setOrderFields, sync |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_APPNAME_LENGTH
| Constructor Detail |
|---|
public EntityContextImpl(String appName,
String coverName,
int timeToLive)
| Method Detail |
|---|
public void commit()
public NavigationTree getNavigationTree()
public void setEntities(Map<Object,Entity> entities)
entities - Key=entityID, value=Entitypublic void setFacets(List<FacetClassifier> facetClassifiers)
public void setNavigation(NavigationRules navRules,
String sectionRendererClass)
setNavigation(NavigationRules, JitSectionRenderer)
public void setNavigation(NavigationRules navRules,
JitSectionRenderer sectionRenderer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||