info.magnolia.module.googlesitemap
Class SiteMapNodeTypes.GoogleSiteMap

java.lang.Object
  extended by info.magnolia.module.googlesitemap.SiteMapNodeTypes.GoogleSiteMap
Enclosing class:
SiteMapNodeTypes

public static class SiteMapNodeTypes.GoogleSiteMap
extends Object

Represents the mixIn node type mgnl:googleSiteMap.


Field Summary
static String NAME
           
static String SITEMAP_CHANGEFREQ
           
static String SITEMAP_HIDE_IN_GOOGLESITEMAP
           
static String SITEMAP_HIDE_IN_GOOGLESITEMAP_CHILDREN
           
static String SITEMAP_PRIORITY
           
 
Constructor Summary
SiteMapNodeTypes.GoogleSiteMap()
           
 
Method Summary
static String getChangeFreq(javax.jcr.Node node)
          Returns the change frequency of the site map page or null if no change frequency has been stored on the node.
static Double getPriority(javax.jcr.Node node)
          Returns the priority of the site map page or null if no priority has been stored on the node.
static boolean isHide(javax.jcr.Node node)
          Returns the hide value of the site map page or false if no value is stored on the node.
static boolean isHideChildren(javax.jcr.Node node)
          Returns the hide children value of the site map page or false if no value is stored on the node.
static void update(javax.jcr.Node node, String changeFrq, Double priority, boolean hide, boolean hideChildren)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

SITEMAP_CHANGEFREQ

public static final String SITEMAP_CHANGEFREQ
See Also:
Constant Field Values

SITEMAP_PRIORITY

public static final String SITEMAP_PRIORITY
See Also:
Constant Field Values

SITEMAP_HIDE_IN_GOOGLESITEMAP

public static final String SITEMAP_HIDE_IN_GOOGLESITEMAP
See Also:
Constant Field Values

SITEMAP_HIDE_IN_GOOGLESITEMAP_CHILDREN

public static final String SITEMAP_HIDE_IN_GOOGLESITEMAP_CHILDREN
See Also:
Constant Field Values
Constructor Detail

SiteMapNodeTypes.GoogleSiteMap

public SiteMapNodeTypes.GoogleSiteMap()
Method Detail

getChangeFreq

public static String getChangeFreq(javax.jcr.Node node)
                            throws javax.jcr.RepositoryException
Returns the change frequency of the site map page or null if no change frequency has been stored on the node.

Throws:
javax.jcr.RepositoryException

getPriority

public static Double getPriority(javax.jcr.Node node)
                          throws javax.jcr.RepositoryException
Returns the priority of the site map page or null if no priority has been stored on the node.

Throws:
javax.jcr.RepositoryException

isHide

public static boolean isHide(javax.jcr.Node node)
                      throws javax.jcr.RepositoryException
Returns the hide value of the site map page or false if no value is stored on the node.

Throws:
javax.jcr.RepositoryException

isHideChildren

public static boolean isHideChildren(javax.jcr.Node node)
                              throws javax.jcr.RepositoryException
Returns the hide children value of the site map page or false if no value is stored on the node.

Throws:
javax.jcr.RepositoryException

update

public static void update(javax.jcr.Node node,
                          String changeFrq,
                          Double priority,
                          boolean hide,
                          boolean hideChildren)
                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.