info.aduna.model.enterprise.desktop.loader
Class PeopleClassifier

java.lang.Object
  extended by info.aduna.gee.spectacle.gee.AbstractByClassificationClassifier
      extended by info.aduna.gee.spectacle.AbstractFacetByClassificationClassifier
          extended by info.aduna.model.enterprise.desktop.loader.PeopleClassifier
All Implemented Interfaces:
FacetClassifier, Classifier

public final class PeopleClassifier
extends AbstractFacetByClassificationClassifier

Classifies entities by one of their fields.


Field Summary
 
Fields inherited from interface info.aduna.gee.spectacle.gee.Classifier
BY_CLASSIFICATION, BY_ENTITY
 
Constructor Summary
PeopleClassifier(DefaultLoader loader)
           
 
Method Summary
 Set<Object> getClassifications(int level)
           
 Set<Object> getEntityIDs(Object classification, int level)
           
 String getFacetName()
          Should return the facet name for which this classifier handles the classification; this is usually the actual name shown on screen.
 
Methods inherited from class info.aduna.gee.spectacle.AbstractFacetByClassificationClassifier
getDepth, getEntities, getEntity, getInternalFacetName, init
 
Methods inherited from class info.aduna.gee.spectacle.gee.AbstractByClassificationClassifier
getAccessMethod, getClassifications
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.aduna.gee.spectacle.gee.Classifier
getAccessMethod, getClassifications
 

Constructor Detail

PeopleClassifier

public PeopleClassifier(DefaultLoader loader)
Method Detail

getFacetName

public String getFacetName()
Description copied from interface: FacetClassifier
Should return the facet name for which this classifier handles the classification; this is usually the actual name shown on screen.


getClassifications

public Set<Object> getClassifications(int level)
Parameters:
level - the level (0 based)
Returns:
a set of Classifications only used for BY_CLASSIFICATION

getEntityIDs

public Set<Object> getEntityIDs(Object classification,
                                int level)
Parameters:
classification - the classification
level - the level of the classification (0 based)
Returns:
a set of Object Entity ids only used for BY_CLASSIFICATION


Copyright © 1997-2008 Aduna. All Rights Reserved.