|
||||||||||
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).
Field Summary | |
---|---|
static String |
DEFAULT_CHANGE_FREQUENCY
|
static double |
DEFAULT_PRIORITY
|
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. |
Iterator<SiteMapEntry> |
getSiteMapBeans(javax.jcr.Node content)
Get Site and virtualUri informations if they are defined as components. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double DEFAULT_PRIORITY
public static final String DEFAULT_CHANGE_FREQUENCY
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
public Iterator<SiteMapEntry> getSiteMapBeans(javax.jcr.Node content) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |