Class SiteManagementServiceImpl

    • Constructor Detail

      • SiteManagementServiceImpl

        public SiteManagementServiceImpl()
    • Method Detail

      • findPages

        public java.util.List<SiteItem> findPages​(java.lang.String route)
        Description copied from interface: SiteManagementService
        This method queries files from specific site folder
        Specified by:
        findPages in interface SiteManagementService
        Parameters:
        route - specific path for the site folder
        Returns:
        list of website file in specific folder
      • deleteRoutes

        public void deleteRoutes​(java.util.ArrayList<java.lang.String> routes)
        Description copied from interface: SiteManagementService
        This method delete many routes
        Specified by:
        deleteRoutes in interface SiteManagementService
        Parameters:
        routes - paths to files
      • buildSiteItem

        private SiteItem buildSiteItem​(java.io.File f)
      • buildPageItem

        private SiteItem buildPageItem​(java.io.File f)