info.magnolia.module.googlesitemap.bean
Class SiteMapEntry
java.lang.Object
info.magnolia.module.googlesitemap.bean.SiteMapEntry
- All Implemented Interfaces:
- Comparable<SiteMapEntry>
public class SiteMapEntry
- extends Object
- implements Comparable<SiteMapEntry>
Simple POJO containing relevant informations for the display.
This bean is used as well for the XML and configuration rendering.
PRIORITY_NAME
public static final String PRIORITY_NAME
- See Also:
- Constant Field Values
CHANGE_FREQ_NAME
public static final String CHANGE_FREQ_NAME
- See Also:
- Constant Field Values
SITE_ALERT_NAME
public static final String SITE_ALERT_NAME
- See Also:
- Constant Field Values
PATH_NAME
public static final String PATH_NAME
- See Also:
- Constant Field Values
PAGE_NAME
public static final String PAGE_NAME
- See Also:
- Constant Field Values
FROM_NAME
public static final String FROM_NAME
- See Also:
- Constant Field Values
TO_NAME
public static final String TO_NAME
- See Also:
- Constant Field Values
SiteMapEntry
public SiteMapEntry()
SiteMapEntry
public SiteMapEntry(GoogleSiteMapConfiguration configuration,
String loc,
javax.jcr.Node page,
int rootLevel,
String changefreq,
Double priority)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getLoc
public String getLoc()
- Getter and Setter Section.
setLoc
public void setLoc(String loc)
getLastmod
public String getLastmod()
setLastmod
public void setLastmod(String lastmod)
getChangefreq
public String getChangefreq()
setChangefreq
public void setChangefreq(String changefreq)
getPriority
public Double getPriority()
setPriority
public void setPriority(Double priority)
getLevel
public int getLevel()
setLevel
public void setLevel(int level)
getPath
public String getPath()
setPath
public void setPath(String path)
isStyleAlert
public boolean isStyleAlert()
setStyleAlert
public void setStyleAlert(boolean styleAlert)
getPageName
public String getPageName()
setPageName
public void setPageName(String pageName)
getFrom
public String getFrom()
setFrom
public void setFrom(String from)
getTo
public String getTo()
setTo
public void setTo(String to)
isHide
public boolean isHide()
setHide
public void setHide(boolean hide)
isHideChildren
public boolean isHideChildren()
setHideChildren
public void setHideChildren(boolean hideChildren)
toStringDisplay
public String toStringDisplay()
toStringSite
public String toStringSite()
toStringVirtualUri
public String toStringVirtualUri()
compareTo
public int compareTo(SiteMapEntry obj)
- Implementation for the Comparable Interface.
- Specified by:
compareTo
in interface Comparable<SiteMapEntry>
equals
public boolean equals(Object obj)
- Used for to check the unicity in the set.
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2014 Magnolia International Ltd.. All rights reserved.