Class PDSection

    • Constructor Detail

      • PDSection

        public PDSection​(com.terminalfour.sitemanager.cache.CachedSection section,
                         int id,
                         String name,
                         int mirrorSource,
                         List<PDContentListItem> content,
                         int layoutId,
                         int level,
                         List<String> languages)
    • Method Detail

      • isMirroredSection

        public boolean isMirroredSection()
      • hasLanguage

        public boolean hasLanguage​(String language)
        Check if the section is in the language.
        Parameters:
        language - Language code.
        Returns:
        true if section is in the language, false otherwise.
      • getId

        public int getId()
      • getName

        public String getName()
      • getMirrorSource

        public int getMirrorSource()
      • getLayoutId

        public int getLayoutId()
      • getLevel

        public int getLevel()
      • getLanguages

        public List<String> getLanguages()
      • getSection

        protected com.terminalfour.sitemanager.cache.CachedSection getSection()