Interface SiteManagementService
-
- All Known Implementing Classes:
SiteManagementServiceImpl
public interface SiteManagementService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteRoute(java.lang.String route)
This method delete a routevoid
deleteRoutes(java.util.ArrayList<java.lang.String> routes)
This method delete many routesjava.util.List<SiteItem>
findPages(java.lang.String path)
This method queries files from specific site folderjava.util.List<SiteItem>
findSites()
This method queries all root folders from the content folder
-
-
-
Method Detail
-
findSites
java.util.List<SiteItem> findSites()
This method queries all root folders from the content folder- Returns:
- list of website folders
-
findPages
java.util.List<SiteItem> findPages(java.lang.String path)
This method queries files from specific site folder- Parameters:
path
- specific path for the site folder- Returns:
- list of website file in specific folder
-
deleteRoute
void deleteRoute(java.lang.String route)
This method delete a route- Parameters:
route
- path to file
-
deleteRoutes
void deleteRoutes(java.util.ArrayList<java.lang.String> routes)
This method delete many routes- Parameters:
routes
- paths to files
-
-