|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.googlesitemap.service.SiteMapService
@Singleton public class SiteMapService
Main SiteMapService. This service is responsible for: Searching the appropriate nodes (pages or VirtualUri) that should be displayed (for XML rendering or Editing). From the search nodes, create SiteMapEntrys (POJO containing preformated infos used for the rendering).
Constructor Summary | |
---|---|
SiteMapService(info.magnolia.module.templatingkit.sites.SiteManager siteManager,
GoogleSiteMapConfiguration configuration,
QueryUtil queryUtil)
Constructor for injection. |
Method Summary | |
---|---|
List<SiteMapEntry> |
getSiteMapBeanForSite(javax.jcr.Node rootNode,
boolean isForEdit)
Create the SiteMapEntry for all child's of the rootNode that are of type MgnlNodeType.NT_CONTENT. |
List<SiteMapEntry> |
getSiteMapBeanForVirtualUri(boolean isForEdit)
Create the SiteMapEntry List corresponding to the uriMapping. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public SiteMapService(info.magnolia.module.templatingkit.sites.SiteManager siteManager, GoogleSiteMapConfiguration configuration, QueryUtil queryUtil)
siteManager:
- Injected.Method Detail |
---|
public List<SiteMapEntry> getSiteMapBeanForVirtualUri(boolean isForEdit) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public List<SiteMapEntry> getSiteMapBeanForSite(javax.jcr.Node rootNode, boolean isForEdit) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |