Class SiteImpl
- java.lang.Object
-
- org.apache.sling.cms.core.internal.models.SiteImpl
-
- All Implemented Interfaces:
Site
@Model(adaptables=org.apache.sling.api.resource.Resource.class, adapters=org.apache.sling.cms.Site.class) public class SiteImpl extends Object implements SiteA model for representing a site.
-
-
Constructor Summary
Constructors Constructor Description SiteImpl(org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDescription()LocalegetLocale()StringgetLocaleString()StringgetPath()org.apache.sling.api.resource.ResourcegetResource()static SitegetSite(org.apache.sling.api.resource.Resource resource)StringgetTitle()StringgetUrl()inthashCode()StringtoString()
-
-
-
Field Detail
-
PN_CONFIG
public static final String PN_CONFIG
- See Also:
- Constant Field Values
-
PN_URL
public static final String PN_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSite
public static Site getSite(org.apache.sling.api.resource.Resource resource)
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceSite
-
getLocaleString
public String getLocaleString()
- Specified by:
getLocaleStringin interfaceSite
-
getResource
public org.apache.sling.api.resource.Resource getResource()
- Specified by:
getResourcein interfaceSite
-
-