Package org.ametys.web.repository
Interface SiteAwareAmetysObject
- All Superinterfaces:
AmetysObject
- All Known Subinterfaces:
MetadataAwareSitemapElement
,ModifiablePage
,ModifiableSiteAwareAmetysObject
,ModifiableSitemapElement
,ModifiableWebContent
,Page
,SharedContent
,SitemapElement
,WebContent
- All Known Implementing Classes:
AbstractLevelPage
,AbstractOdfPage
,AbstractSitemapElement
,CoursePage
,DefaultDefinition
,DefaultLink
,DefaultPage
,DefaultSharedContent
,DefaultTheme
,DefaultWebContent
,FirstLevelPage
,Form
,FormDirectory
,FormQuestion
,ModifiableDefaultWebContent
,OrgUnitPage
,ProgramPage
,RedirectPage
,SecondLevelPage
,Sitemap
,Survey
,TransitionalPage
,UGCPage
,UGCTransitionalPage
,UserPage
An ametys object that is aware of its
Site
.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSite()
Returns this object's site.Returns this object's site name.Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
Field Details
-
METADATA_SITE
Constants for site metadata.- See Also:
-
-
Method Details
-
getSiteName
Returns this object's site name.- Returns:
- this object's site name.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getSite
Returns this object's site.- Returns:
- this object's site
- Throws:
AmetysRepositoryException
- if an error occurs.
-