org.proteios.core
Class HitsFilterForNonGelBasedProjects
java.lang.Object
org.proteios.core.HitsFilterForNonGelBasedProjects
- All Implemented Interfaces:
- AttributeFilter
public class HitsFilterForNonGelBasedProjects
- 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HitsFilterForNonGelBasedProjects
public HitsFilterForNonGelBasedProjects()
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.