Package org.opennms.web.alarm.filter
Class CategoryFilter
- java.lang.Object
-
- org.opennms.web.filter.BaseFilter<T>
-
- org.opennms.web.filter.OneArgFilter<String>
-
- org.opennms.web.alarm.filter.CategoryFilter
-
- All Implemented Interfaces:
Filter
public class CategoryFilter extends OneArgFilter<String>
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE
-
Fields inherited from class org.opennms.web.filter.BaseFilter
m_filterName, m_sqlType
-
-
Constructor Summary
Constructors Constructor Description CategoryFilter(String category)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
org.hibernate.criterion.Criterion
getCriterion()
getCriterionString
getSQLTemplate()
getSQLTemplateString
getTextDescription()
getTextDescriptionString
toString()
toString-
Methods inherited from class org.opennms.web.filter.OneArgFilter
bindParam, getBoundValue, getParamSql, getSql, getValue, getValueString
-
Methods inherited from class org.opennms.web.filter.BaseFilter
bindValue, formatValue, getDescription, getPropertyName, getSQLFieldName, getValueAsString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opennms.web.filter.Filter
getTextDescriptionAsSanitizedHtml
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CategoryFilter
public CategoryFilter(String category)
-
-
Method Detail
-
getSQLTemplate
public String getSQLTemplate()
Description copied from class:OneArgFilter
getSQLTemplate
- Specified by:
getSQLTemplate
in classOneArgFilter<String>
- Returns:
- a
String
object.
-
getCriterion
public org.hibernate.criterion.Criterion getCriterion()
Description copied from class:BaseFilter
getCriterion
- Specified by:
getCriterion
in interfaceFilter
- Specified by:
getCriterion
in classBaseFilter<String>
- Returns:
- a
Criterion
object.
-
getTextDescription
public String getTextDescription()
Description copied from class:BaseFilter
getTextDescription
- Specified by:
getTextDescription
in interfaceFilter
- Overrides:
getTextDescription
in classOneArgFilter<String>
- Returns:
- a
String
object.
-
toString
public String toString()
Description copied from class:BaseFilter
toString
- Overrides:
toString
in classBaseFilter<String>
- Returns:
- a
String
object.
-
-