Package org.ametys.web.repository
Interface SiteAwareAmetysObject
-
- All Superinterfaces:
AmetysObject
- All Known Subinterfaces:
MetadataAwarePagesContainer
,ModifiablePage
,ModifiableSiteAwareAmetysObject
,ModifiableWebContent
,Page
,PagesContainer
,SharedContent
,WebContent
- All Known Implementing Classes:
AbstractBlogPage
,AbstractLevelPage
,AbstractOdfPage
,CoursePage
,DefaultDefinition
,DefaultLink
,DefaultPage
,DefaultSharedContent
,DefaultTheme
,DefaultWebContent
,FirstLevelPage
,ModifiableDefaultWebContent
,OrgUnitPage
,ProgramPage
,RedirectPage
,SecondLevelPage
,Sitemap
,Survey
,TransitionalPage
,UGCPage
,UGCTransitionalPage
,UserPage
,VirtualMonthPage
,VirtualPostPage
,VirtualPostsPage
,VirtualTagPage
,VirtualTagsPage
,VirtualYearPage
,VirtualYearsPage
public interface SiteAwareAmetysObject extends AmetysObject
An ametys object that is aware of itsSite
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Site
getSite()
Returns this object's site.String
getSiteName()
Returns this object's site name.-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
-
-
-
Method Detail
-
getSiteName
String getSiteName() throws AmetysRepositoryException
Returns this object's site name.- Returns:
- this object's site name.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getSite
Site getSite() throws AmetysRepositoryException
Returns this object's site.- Returns:
- this object's site
- Throws:
AmetysRepositoryException
- if an error occurs.
-
-