Class SitemapContext
java.lang.Object
org.ametys.web.frontoffice.search.instance.model.SitemapContext
A sitemap context
- 
Constructor Summary
ConstructorsConstructorDescriptionSitemapContext(SitemapContextType type, List<String> pages, AmetysObjectResolver resolver) Creates a SitemapContext - 
Method Summary
 
- 
Constructor Details
- 
SitemapContext
Creates a SitemapContext- Parameters:
 type- the typepages- the pages of the context. Must be non-null if type isSitemapContextType.CHILD_PAGES_OForSitemapContextType.DIRECT_CHILD_PAGES_OF, must be null otherwise.resolver- The ametys object resolver
 
 - 
 - 
Method Details
- 
getType
Gets the type- Returns:
 - the type
 
 - 
getPages
Gets the pages of the context. Must be non-empty ifgetType()returnsSitemapContextType.CHILD_PAGES_OForSitemapContextType.DIRECT_CHILD_PAGES_OF, must be empty otherwise.- Returns:
 - the pages of the context
 
 - 
hashCode
 - 
equals
 
 -