info.aduna.spectacle
Class SpectacleLoader

java.lang.Object
  extended by info.aduna.gee.spectacle.Loader
      extended by info.aduna.spectacle.SpectacleLoader
Direct Known Subclasses:
DefaultLoader, GenericLoader

public abstract class SpectacleLoader
extends Loader


Field Summary
 
Fields inherited from class info.aduna.gee.spectacle.Loader
DEFAULT_LABELS_PATTERN, ENTITIES_DATA_FILENAME, INTERNAL_LIST_SEQUENCE_FIELD, NAVSPEC_DATA_FILENAME, RENDERER_DATA_FILENAME
 
Constructor Summary
SpectacleLoader(Spectacle spectacle, Profile profile)
          Construct a new loader for persons.
 
Method Summary
abstract  Map<Object,Double> getDynamicEntities(FacetValue facetValue)
           
abstract  List<FacetValue> getDynamicFacets(List<FacetValue> facetValues)
           
 Comparator<Object> getFacetValueComparator(String facetName)
           
abstract  List<FacetValue> getGuidedExplorationFacets(List<FacetValue> facetValues)
           
abstract  String getI18nDescriptionKey()
           
 Profile getProfile()
           
 Map<String,Integer> getSuggestions(GuidedExplorationResult geeResult, String facet)
           
 void preprocessValue(FacetValue value)
           
 void run()
          Creates and sets entities and facets and commits the results.
 void sortEntities(List<Entity> entities)
           
 
Methods inherited from class info.aduna.gee.spectacle.Loader
commit, createEntities, createFacets, getNavigationTree, setEntities, setEntities, setFacets, setNavigation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpectacleLoader

public SpectacleLoader(Spectacle spectacle,
                       Profile profile)
Construct a new loader for persons.

Method Detail

run

public void run()
Description copied from class: Loader
Creates and sets entities and facets and commits the results.

Overrides:
run in class Loader

getProfile

public Profile getProfile()

getI18nDescriptionKey

public abstract String getI18nDescriptionKey()

getGuidedExplorationFacets

public abstract List<FacetValue> getGuidedExplorationFacets(List<FacetValue> facetValues)

getDynamicFacets

public abstract List<FacetValue> getDynamicFacets(List<FacetValue> facetValues)

getDynamicEntities

public abstract Map<Object,Double> getDynamicEntities(FacetValue facetValue)
                                               throws DynamicFacetInputException
Throws:
DynamicFacetInputException

preprocessValue

public void preprocessValue(FacetValue value)

getSuggestions

public Map<String,Integer> getSuggestions(GuidedExplorationResult geeResult,
                                          String facet)

sortEntities

public void sortEntities(List<Entity> entities)

getFacetValueComparator

public Comparator<Object> getFacetValueComparator(String facetName)


Copyright © 1997-2008 Aduna. All Rights Reserved.