|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.category.CategoryList
public class CategoryList
CategoryList class.
| Field Summary | |
|---|---|
protected CategoryModel |
m_model
|
protected Section[] |
m_sections
Display rules from viewsdisplay.xml. |
| Constructor Summary | |
|---|---|
CategoryList()
Constructor for CategoryList. |
|
| Method Summary | |
|---|---|
Map<String,List<Category>> |
getCategoryData()
getCategoryData |
long |
getEarliestUpdate(Map categoryData)
Returns the earliest update time for the categories in categoryData. |
List<Section> |
getSections(Map<String,Category> categoryMap)
For the given map of category names to Category objects, organize the categories into the currently active display rules. |
boolean |
isDisconnected()
isDisconnected |
boolean |
isDisconnected(long earliestUpdate)
isDisconnected |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CategoryModel m_model
protected Section[] m_sections
| Constructor Detail |
|---|
public CategoryList()
throws javax.servlet.ServletException
Constructor for CategoryList.
javax.servlet.ServletException - if any.| Method Detail |
|---|
public List<Section> getSections(Map<String,Category> categoryMap)
throws IOException
If there are no display rules, a single section named Category will be returned. It will include all the categories in the category map, in alphabetical order by category name.
categoryMap - a Map object.
List object.
IOException - if any.
public Map<String,List<Category>> getCategoryData()
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
getCategoryData
Map object.
IOException - if any.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.public long getEarliestUpdate(Map categoryData)
categoryData - category data to evaluate. From getCategoryData().
public boolean isDisconnected()
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
isDisconnected
IOException - if any.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.public boolean isDisconnected(long earliestUpdate)
isDisconnected
earliestUpdate - a long.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||