Package org.fenixedu.cms.domain
Class Site_Base
java.lang.Object
pt.ist.fenixframework.core.AbstractDomainObject
org.fenixedu.cms.domain.Site_Base
- All Implemented Interfaces:
Serializable,pt.ist.fenixframework.DomainObject
public abstract class Site_Base
extends pt.ist.fenixframework.core.AbstractDomainObject
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class pt.ist.fenixframework.core.AbstractDomainObject
pt.ist.fenixframework.core.AbstractDomainObject.SerializedForm -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActivityLines(org.fenixedu.cms.domain.SiteActivity activityLines) voidaddArchivedPages(org.fenixedu.cms.domain.Page archivedPages) voidaddArchivedPosts(org.fenixedu.cms.domain.Post archivedPosts) voidaddCategories(org.fenixedu.cms.domain.Category categories) voidaddFiles(org.fenixedu.cms.domain.PostFile files) voidaddMenus(org.fenixedu.cms.domain.Menu menus) voidaddPages(org.fenixedu.cms.domain.Page pages) voidaddPost(org.fenixedu.cms.domain.Post post) voidaddRoles(org.fenixedu.cms.domain.Role roles) Set<org.fenixedu.cms.domain.SiteActivity>Set<org.fenixedu.cms.domain.Page>Set<org.fenixedu.cms.domain.Post>org.fenixedu.bennu.core.domain.BennugetBennu()org.fenixedu.cms.domain.SiteBuilderSet<org.fenixedu.cms.domain.Category>org.fenixedu.bennu.core.domain.Userorg.joda.time.DateTimeorg.fenixedu.cms.domain.RoleTemplateorg.fenixedu.academic.domain.Degreeorg.fenixedu.commons.i18n.LocalizedStringbooleanorg.fenixedu.academic.domain.ExecutionCourseSet<org.fenixedu.cms.domain.PostFile>org.fenixedu.cms.domain.CMSFolderorg.fenixedu.bennu.portal.domain.MenuFunctionalityorg.fenixedu.cms.domain.Pageorg.fenixedu.cms.domain.SiteActivitySet<org.fenixedu.cms.domain.Menu>org.fenixedu.commons.i18n.LocalizedStringgetName()Set<org.fenixedu.cms.domain.Page>Set<org.fenixedu.cms.domain.Post>protected org.fenixedu.bennu.core.domain.Bennubooleanstatic pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.SiteActivity> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.bennu.core.domain.Bennu> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Category> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.academic.domain.Degree> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.academic.domain.ExecutionCourse> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.PostFile> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.CMSFolder> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.SiteActivity> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Menu> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.bennu.core.domain.Bennu,org.fenixedu.cms.domain.Site> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Page> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Post> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.SiteBuilder> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.CMSTheme,org.fenixedu.cms.domain.Site> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.RoleTemplate> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Role> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Menu> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Page> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.bennu.portal.domain.MenuFunctionality> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Page> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Post> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.bennu.core.domain.User> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.PersistentSiteViewersGroup,org.fenixedu.cms.domain.Site> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.bennu.core.domain.groups.PersistentGroup,org.fenixedu.cms.domain.Site> Set<org.fenixedu.cms.domain.Role>getSlug()getStyle()org.fenixedu.cms.domain.Menuorg.fenixedu.cms.domain.CMSThemegetTheme()protected org.fenixedu.cms.domain.PersistentSiteViewersGroupprotected org.fenixedu.bennu.core.domain.groups.PersistentGroupvoidremoveActivityLines(org.fenixedu.cms.domain.SiteActivity activityLines) voidremoveArchivedPages(org.fenixedu.cms.domain.Page archivedPages) voidremoveArchivedPosts(org.fenixedu.cms.domain.Post archivedPosts) voidremoveCategories(org.fenixedu.cms.domain.Category categories) voidremoveFiles(org.fenixedu.cms.domain.PostFile files) voidremoveMenus(org.fenixedu.cms.domain.Menu menus) voidremovePages(org.fenixedu.cms.domain.Page pages) voidremovePost(org.fenixedu.cms.domain.Post post) voidremoveRoles(org.fenixedu.cms.domain.Role roles) voidsetAlternativeSite(String alternativeSite) voidsetAnalyticsAccountId(String analyticsAccountId) voidsetAnalyticsCode(String analyticsCode) voidsetBennu(org.fenixedu.bennu.core.domain.Bennu bennu) voidsetBuilder(org.fenixedu.cms.domain.SiteBuilder builder) voidsetCreatedBy(org.fenixedu.bennu.core.domain.User createdBy) voidsetCreationDate(org.joda.time.DateTime creationDate) voidsetDefaultRoleTemplate(org.fenixedu.cms.domain.RoleTemplate defaultRoleTemplate) voidsetDegree(org.fenixedu.academic.domain.Degree degree) voidsetDescription(org.fenixedu.commons.i18n.LocalizedString description) voidsetEmbedded(boolean embedded) voidsetExecutionCourse(org.fenixedu.academic.domain.ExecutionCourse executionCourse) voidsetFolder(org.fenixedu.cms.domain.CMSFolder folder) voidsetFunctionality(org.fenixedu.bennu.portal.domain.MenuFunctionality functionality) voidsetInitialPage(org.fenixedu.cms.domain.Page initialPage) voidsetLastActivityLine(org.fenixedu.cms.domain.SiteActivity lastActivityLine) voidsetName(org.fenixedu.commons.i18n.LocalizedString name) protected voidsetPrimaryBennu(org.fenixedu.bennu.core.domain.Bennu primaryBennu) voidsetPublished(boolean published) voidvoidvoidsetSystemMenu(org.fenixedu.cms.domain.Menu systemMenu) voidsetTheme(org.fenixedu.cms.domain.CMSTheme theme) voidsetThemeType(String themeType) protected voidsetViewerGroup(org.fenixedu.cms.domain.PersistentSiteViewersGroup viewerGroup) protected voidsetViewGroup(org.fenixedu.bennu.core.domain.groups.PersistentGroup viewGroup) Methods inherited from class pt.ist.fenixframework.core.AbstractDomainObject
checkForDeletionBlockers, deleteDomainObject, ensureOid, equals, getDeletionBlockers, getDomainModel, getExternalId, getOid, hashCode, init$Instance, makeSerializedForm, toString, writeReplace
-
Constructor Details
-
Site_Base
protected Site_Base()
-
-
Method Details
-
getRelationSiteMenuFunctionality
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.bennu.portal.domain.MenuFunctionality> getRelationSiteMenuFunctionality() -
getRelationSiteHasSystemMenu
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Menu> getRelationSiteHasSystemMenu() -
getRelationLastActivitySite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.SiteActivity> getRelationLastActivitySite() -
getRelationSitePost
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Post> getRelationSitePost() -
getRelationFileHasPostFiles
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.PostFile> getRelationFileHasPostFiles() -
getRelationSiteHasRoles
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Role> getRelationSiteHasRoles() -
getRelationSiteViewersGroup
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.PersistentSiteViewersGroup,org.fenixedu.cms.domain.Site> getRelationSiteViewersGroup() -
getRelationDegreeSiteHasDegree
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.academic.domain.Degree> getRelationDegreeSiteHasDegree() -
getRelationSiteBuilderSite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.SiteBuilder> getRelationSiteBuilderSite() -
getRelationSiteInitialPage
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Page> getRelationSiteInitialPage() -
getRelationActivitySite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.SiteActivity> getRelationActivitySite() -
getRelationSiteHasDefaultRoleTemplates
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.RoleTemplate> getRelationSiteHasDefaultRoleTemplates() -
getRelationSiteViewGroup
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.bennu.core.domain.groups.PersistentGroup,org.fenixedu.cms.domain.Site> getRelationSiteViewGroup() -
getRelationSitePage
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Page> getRelationSitePage() -
getRelationFolderHasSites
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.CMSFolder> getRelationFolderHasSites() -
getRelationSiteArchivedPosts
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Post> getRelationSiteArchivedPosts() -
getRelationCategorySite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Category> getRelationCategorySite() -
getRelationMenuSite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Menu> getRelationMenuSite() -
getRelationSiteCMSTheme
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.CMSTheme,org.fenixedu.cms.domain.Site> getRelationSiteCMSTheme() -
getRelationExecutionCourseFenixEduExecutionCourseSite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.academic.domain.ExecutionCourse> getRelationExecutionCourseFenixEduExecutionCourseSite() -
getRelationBennuSite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.bennu.core.domain.Bennu> getRelationBennuSite() -
getRelationSiteArchivedPage
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Page> getRelationSiteArchivedPage() -
getRelationSiteUser
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.bennu.core.domain.User> getRelationSiteUser() -
getRelationPrimarySite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.bennu.core.domain.Bennu,org.fenixedu.cms.domain.Site> getRelationPrimarySite() -
getAlternativeSite
-
setAlternativeSite
-
getStyle
-
setStyle
-
getCreationDate
public org.joda.time.DateTime getCreationDate() -
setCreationDate
public void setCreationDate(org.joda.time.DateTime creationDate) -
getName
public org.fenixedu.commons.i18n.LocalizedString getName() -
setName
public void setName(org.fenixedu.commons.i18n.LocalizedString name) -
getDescription
public org.fenixedu.commons.i18n.LocalizedString getDescription() -
setDescription
public void setDescription(org.fenixedu.commons.i18n.LocalizedString description) -
getSlug
-
setSlug
-
getPublished
public boolean getPublished() -
setPublished
public void setPublished(boolean published) -
getEmbedded
public boolean getEmbedded() -
setEmbedded
public void setEmbedded(boolean embedded) -
getAnalyticsCode
-
setAnalyticsCode
-
getAnalyticsAccountId
-
setAnalyticsAccountId
-
getThemeType
-
setThemeType
-
getFunctionality
public org.fenixedu.bennu.portal.domain.MenuFunctionality getFunctionality() -
setFunctionality
public void setFunctionality(org.fenixedu.bennu.portal.domain.MenuFunctionality functionality) -
getSystemMenu
public org.fenixedu.cms.domain.Menu getSystemMenu() -
setSystemMenu
public void setSystemMenu(org.fenixedu.cms.domain.Menu systemMenu) -
getLastActivityLine
public org.fenixedu.cms.domain.SiteActivity getLastActivityLine() -
setLastActivityLine
public void setLastActivityLine(org.fenixedu.cms.domain.SiteActivity lastActivityLine) -
addPost
public void addPost(org.fenixedu.cms.domain.Post post) -
removePost
public void removePost(org.fenixedu.cms.domain.Post post) -
getPostSet
-
addFiles
public void addFiles(org.fenixedu.cms.domain.PostFile files) -
removeFiles
public void removeFiles(org.fenixedu.cms.domain.PostFile files) -
getFilesSet
-
addRoles
public void addRoles(org.fenixedu.cms.domain.Role roles) -
removeRoles
public void removeRoles(org.fenixedu.cms.domain.Role roles) -
getRolesSet
-
getViewerGroup
protected org.fenixedu.cms.domain.PersistentSiteViewersGroup getViewerGroup() -
setViewerGroup
protected void setViewerGroup(org.fenixedu.cms.domain.PersistentSiteViewersGroup viewerGroup) -
getDegree
public org.fenixedu.academic.domain.Degree getDegree() -
setDegree
public void setDegree(org.fenixedu.academic.domain.Degree degree) -
getBuilder
public org.fenixedu.cms.domain.SiteBuilder getBuilder() -
setBuilder
public void setBuilder(org.fenixedu.cms.domain.SiteBuilder builder) -
getInitialPage
public org.fenixedu.cms.domain.Page getInitialPage() -
setInitialPage
public void setInitialPage(org.fenixedu.cms.domain.Page initialPage) -
addActivityLines
public void addActivityLines(org.fenixedu.cms.domain.SiteActivity activityLines) -
removeActivityLines
public void removeActivityLines(org.fenixedu.cms.domain.SiteActivity activityLines) -
getActivityLinesSet
-
getDefaultRoleTemplate
public org.fenixedu.cms.domain.RoleTemplate getDefaultRoleTemplate() -
setDefaultRoleTemplate
public void setDefaultRoleTemplate(org.fenixedu.cms.domain.RoleTemplate defaultRoleTemplate) -
getViewGroup
protected org.fenixedu.bennu.core.domain.groups.PersistentGroup getViewGroup() -
setViewGroup
protected void setViewGroup(org.fenixedu.bennu.core.domain.groups.PersistentGroup viewGroup) -
addPages
public void addPages(org.fenixedu.cms.domain.Page pages) -
removePages
public void removePages(org.fenixedu.cms.domain.Page pages) -
getPagesSet
-
getFolder
public org.fenixedu.cms.domain.CMSFolder getFolder() -
setFolder
public void setFolder(org.fenixedu.cms.domain.CMSFolder folder) -
addArchivedPosts
public void addArchivedPosts(org.fenixedu.cms.domain.Post archivedPosts) -
removeArchivedPosts
public void removeArchivedPosts(org.fenixedu.cms.domain.Post archivedPosts) -
getArchivedPostsSet
-
addCategories
public void addCategories(org.fenixedu.cms.domain.Category categories) -
removeCategories
public void removeCategories(org.fenixedu.cms.domain.Category categories) -
getCategoriesSet
-
addMenus
public void addMenus(org.fenixedu.cms.domain.Menu menus) -
removeMenus
public void removeMenus(org.fenixedu.cms.domain.Menu menus) -
getMenusSet
-
getTheme
public org.fenixedu.cms.domain.CMSTheme getTheme() -
setTheme
public void setTheme(org.fenixedu.cms.domain.CMSTheme theme) -
getExecutionCourse
public org.fenixedu.academic.domain.ExecutionCourse getExecutionCourse() -
setExecutionCourse
public void setExecutionCourse(org.fenixedu.academic.domain.ExecutionCourse executionCourse) -
getBennu
public org.fenixedu.bennu.core.domain.Bennu getBennu() -
setBennu
public void setBennu(org.fenixedu.bennu.core.domain.Bennu bennu) -
addArchivedPages
public void addArchivedPages(org.fenixedu.cms.domain.Page archivedPages) -
removeArchivedPages
public void removeArchivedPages(org.fenixedu.cms.domain.Page archivedPages) -
getArchivedPagesSet
-
getCreatedBy
public org.fenixedu.bennu.core.domain.User getCreatedBy() -
setCreatedBy
public void setCreatedBy(org.fenixedu.bennu.core.domain.User createdBy) -
getPrimaryBennu
protected org.fenixedu.bennu.core.domain.Bennu getPrimaryBennu() -
setPrimaryBennu
protected void setPrimaryBennu(org.fenixedu.bennu.core.domain.Bennu primaryBennu)
-