Class SeeAllArticlesItem

  • All Implemented Interfaces:
    HelpItem


    public class SeeAllArticlesItem
    extends java.lang.Object
    implements HelpItem
    A HelpItem for a 'See all articles' item
    • Constructor Detail

      • SeeAllArticlesItem

        public SeeAllArticlesItem(SectionItem sectionItem)
    • Method Detail

      • getViewType

        public int getViewType()
        Description copied from interface: HelpItem
        Gets the type of the item
        Specified by:
        getViewType in interface HelpItem
        Returns:
        the type of the item
      • getName

        public java.lang.String getName()
        Description copied from interface: HelpItem
        Gets the name of the item
        Specified by:
        getName in interface HelpItem
        Returns:
        the name of the item, or an empty String if there is no name.
      • getId

        public java.lang.Long getId()
        Description copied from interface: HelpItem
        Gets the ID of this item.
        Specified by:
        getId in interface HelpItem
        Returns:
        The ID of this item, or null if there is none.
      • getParentId

        public java.lang.Long getParentId()
        Description copied from interface: HelpItem
        Returns the ID of the parent item.
        Specified by:
        getParentId in interface HelpItem
        Returns:
        the ID of the parent item, or null if there is none.
      • getSection

        public SectionItem getSection()
        Gets the SectionItem related to this SeeAllArticlesItem
        Returns:
        the SectionItem related to this SeeAllArticlesItem
      • isLoading

        public boolean isLoading()
      • setLoading

        public void setLoading(boolean loading)
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object