Interface SitemapGeneratorService
-
- All Known Implementing Classes:
SitemapGeneratorServiceImpl
public interface SitemapGeneratorService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changeStatus(co.mastermindcms.modules.enums.ServiceState status)
Changes the status of the service.void
generateSiteMap(java.util.LinkedHashMap<java.lang.String,java.lang.Object> siteMapRequest)
This method generate a site map entity.java.util.HashSet<java.lang.String>
getPageLinks(java.lang.String baseURL, java.lang.String URL, java.util.HashSet<java.lang.String> links, java.util.List<java.lang.String> urlsToIgnore)
This method returns a page links set.boolean
isWorkInProgress()
Checks if the work is in progress.
-
-
-
Method Detail
-
generateSiteMap
void generateSiteMap(java.util.LinkedHashMap<java.lang.String,java.lang.Object> siteMapRequest)
This method generate a site map entity.- Parameters:
siteMapRequest
- map-representation of request contains an instructions for create site map
-
getPageLinks
java.util.HashSet<java.lang.String> getPageLinks(java.lang.String baseURL, java.lang.String URL, java.util.HashSet<java.lang.String> links, java.util.List<java.lang.String> urlsToIgnore)
This method returns a page links set.- Parameters:
baseURL
- url to start fromURL
- url link for add set linkslinks
- set-representation of links, which will be updatedurlsToIgnore
- list of urls for filter and ignored- Returns:
- set of links from parsed page
-
isWorkInProgress
boolean isWorkInProgress()
Checks if the work is in progress.- Returns:
- true if the work is in progress, false otherwise
-
changeStatus
void changeStatus(co.mastermindcms.modules.enums.ServiceState status)
Changes the status of the service.- Parameters:
status
- the new service status.
-
-