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 Site
A model for representing a site.
-
Field Details
-
PN_CONFIG
- See Also:
-
PN_URL
- See Also:
-
-
Constructor Details
-
SiteImpl
public SiteImpl(org.apache.sling.api.resource.Resource resource)
-
-
Method Details
-
getSite
-
equals
-
getDescription
- Specified by:
getDescriptionin interfaceSite
-
getLocale
-
getLocaleString
- Specified by:
getLocaleStringin interfaceSite
-
getPath
-
getResource
public org.apache.sling.api.resource.Resource getResource()- Specified by:
getResourcein interfaceSite
-
getTitle
-
getUrl
-
hashCode
public int hashCode() -
toString
-