public class CategoryList extends Object
CategoryList class.
Modifier and Type | Field and Description |
---|---|
protected int |
m_disconnectTimeout |
protected CategoryModel |
m_model |
protected List<Section> |
m_sections
Display rules from viewsdisplay.xml.
|
Constructor and Description |
---|
CategoryList()
Constructor for CategoryList.
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<Category>> |
getCategoryData()
getCategoryData
|
static long |
getEarliestUpdate(Map<String,List<Category>> categoryData)
Returns the earliest update time for the categories in categoryData.
|
boolean |
isDisconnected()
isDisconnected
|
boolean |
isDisconnected(long earliestUpdate)
isDisconnected
|
protected final CategoryModel m_model
protected final List<Section> m_sections
protected final int m_disconnectTimeout
public CategoryList() throws javax.servlet.ServletException
Constructor for CategoryList.
javax.servlet.ServletException
- if any.public Map<String,List<Category>> getCategoryData() throws IOException
getCategoryData
Map
object.IOException
- if any.public static long getEarliestUpdate(Map<String,List<Category>> categoryData)
categoryData
- category data to evaluate. From getCategoryData().public boolean isDisconnected() throws IOException
isDisconnected
IOException
- if any.public boolean isDisconnected(long earliestUpdate)
isDisconnected
earliestUpdate
- a long.Copyright © 2018. All rights reserved.