Last update: 2011-06-23

org.proteios.core
Class HitsFilterForGelBasedProjects

java.lang.Object
  extended by org.proteios.core.HitsFilterForGelBasedProjects
All Implemented Interfaces:
AttributeFilter

public class HitsFilterForGelBasedProjects
extends Object
implements AttributeFilter

A filter for basic item attributes. We want attributes to be shown and ordered consistently thus we specify attribute order and default visibility here. You should avoid having different order of attributes depending on class. Always try to make a good tradeoff when dealing with common attributes over several classes.

Author:
gregory

Constructor Summary
HitsFilterForGelBasedProjects()
           
 
Method Summary
 List<String> getDefaultOrder()
          Get a list of overall order of all attributes.
 boolean isDefault(AttributeDefinition attribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HitsFilterForGelBasedProjects

public HitsFilterForGelBasedProjects()
Method Detail

isDefault

public boolean isDefault(AttributeDefinition attribute)
Specified by:
isDefault in interface AttributeFilter
Returns:
true if this attribute is considered a default, false otherwise

getDefaultOrder

public List<String> getDefaultOrder()
Get a list of overall order of all attributes.

Specified by:
getDefaultOrder in interface AttributeFilter
Returns:
List A list of overall order of all attributes.

Last update: 2011-06-23