public static class SiteMapNodeTypes.SiteMap extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CHANGEFREQ |
static String |
DEFAULT_PRIORITY |
static String |
DISPLAY_NAME |
static String |
INCLUDE_VIRTUAL_URI |
static String |
NAME |
static String |
PAGES |
static String |
TYPE |
static String |
URL |
Constructor and Description |
---|
SiteMap() |
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultChangeFreq(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 |
getDefaultPriority(javax.jcr.Node node)
Returns the priority of the site map page or null if no priority has been stored on the node.
|
static String |
getDisplayName(javax.jcr.Node node)
Returns the displayName of the site map or null if no displayName has been stored on the node.
|
static List<String> |
getPages(javax.jcr.Node node)
Returns the pages linked to the site map or null if no pages has been stored on the node.
|
static String |
getType(javax.jcr.Node node)
Returns the type of the site map or null if no type has been stored on the node.
|
static String |
getUrl(javax.jcr.Node node)
Returns the URL of the site map or null if no URL has been stored on the node.
|
static boolean |
isVirtualUriMappingIncluded(javax.jcr.Node node)
Returns the value of
INCLUDE_VIRTUAL_URI stored or false in the property is empty. |
static void |
update(javax.jcr.Node node,
String type,
String url,
String displayName,
boolean includeVirtualUri,
String defaultChangeFrq,
Double defaultPriority,
List<String> pages) |
public static final String NAME
public static final String TYPE
public static final String DISPLAY_NAME
public static final String INCLUDE_VIRTUAL_URI
public static final String URL
public static final String PAGES
public static final String DEFAULT_CHANGEFREQ
public static final String DEFAULT_PRIORITY
public static String getType(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static String getDisplayName(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static boolean isVirtualUriMappingIncluded(javax.jcr.Node node) throws javax.jcr.RepositoryException
INCLUDE_VIRTUAL_URI
stored or false in the property is empty.javax.jcr.RepositoryException
public static String getUrl(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static String getDefaultChangeFreq(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static Double getDefaultPriority(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static List<String> getPages(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2017 Magnolia International Ltd.. All rights reserved.