Class CategoryList


  • public class CategoryList
    extends Object

    CategoryList class.

    Version:
    $Id: $
    Author:
    ranger
    • Field Detail

      • m_sections

        protected final List<Section> m_sections
        Display rules from viewsdisplay.xml. If null, then just show all known categories under the header "Category". (See the getSections method.)
      • m_disconnectTimeout

        protected final int m_disconnectTimeout
    • Constructor Detail

      • CategoryList

        public CategoryList()
                     throws javax.servlet.ServletException

        Constructor for CategoryList.

        Throws:
        javax.servlet.ServletException - if any.
    • Method Detail

      • getEarliestUpdate

        public static long getEarliestUpdate​(Map<String,​List<Category>> categoryData)
        Returns the earliest update time for the categories in categoryData.
        Parameters:
        categoryData - category data to evaluate. From getCategoryData().
        Returns:
        a long.
      • isDisconnected

        public boolean isDisconnected()
                               throws IOException

        isDisconnected

        Returns:
        a boolean.
        Throws:
        IOException - if any.
      • isDisconnected

        public boolean isDisconnected​(long earliestUpdate)

        isDisconnected

        Parameters:
        earliestUpdate - a long.
        Returns:
        a boolean.