Package org.fenixedu.cms.domain
Class Page_Base
java.lang.Object
pt.ist.fenixframework.core.AbstractDomainObject
org.fenixedu.cms.domain.Page_Base
- All Implemented Interfaces:
Serializable,pt.ist.fenixframework.DomainObject
public abstract class Page_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 TypeMethodDescriptionvoidaddComponents(org.fenixedu.cms.domain.component.Component components) voidaddMenuItems(org.fenixedu.cms.domain.MenuItem menuItems) org.fenixedu.cms.domain.SiteSet<org.fenixedu.cms.domain.component.Component>org.fenixedu.bennu.core.domain.Userorg.joda.time.DateTimebooleanSet<org.fenixedu.cms.domain.MenuItem>org.joda.time.DateTimeorg.fenixedu.commons.i18n.LocalizedStringgetName()booleanstatic pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.CMSTemplate,org.fenixedu.cms.domain.Page> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Page,org.fenixedu.cms.domain.component.Component> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Page,org.fenixedu.cms.domain.MenuItem> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Page,org.fenixedu.bennu.core.domain.User> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.bennu.core.domain.groups.PersistentGroup,org.fenixedu.cms.domain.Page> 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.Page> protected org.fenixedu.cms.domain.SitegetSite()getSlug()org.fenixedu.cms.domain.CMSTemplateprotected org.fenixedu.bennu.core.domain.groups.PersistentGroupvoidremoveComponents(org.fenixedu.cms.domain.component.Component components) voidremoveMenuItems(org.fenixedu.cms.domain.MenuItem menuItems) voidsetArchivedSite(org.fenixedu.cms.domain.Site archivedSite) voidsetCreatedBy(org.fenixedu.bennu.core.domain.User createdBy) voidsetCreationDate(org.joda.time.DateTime creationDate) voidsetEmbedded(boolean embedded) voidsetModificationDate(org.joda.time.DateTime modificationDate) voidsetName(org.fenixedu.commons.i18n.LocalizedString name) voidsetPublished(boolean published) protected voidsetSite(org.fenixedu.cms.domain.Site site) voidvoidsetTemplate(org.fenixedu.cms.domain.CMSTemplate template) voidsetTemplateType(String templateType) 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
-
Page_Base
protected Page_Base()
-
-
Method Details
-
getRelationPageUser
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Page,org.fenixedu.bennu.core.domain.User> getRelationPageUser() -
getRelationComponentPage
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Page,org.fenixedu.cms.domain.component.Component> getRelationComponentPage() -
getRelationPageViewGroup
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.bennu.core.domain.groups.PersistentGroup,org.fenixedu.cms.domain.Page> getRelationPageViewGroup() -
getRelationCMSTemplatePage
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.CMSTemplate,org.fenixedu.cms.domain.Page> getRelationCMSTemplatePage() -
getRelationPageMenuItem
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Page,org.fenixedu.cms.domain.MenuItem> getRelationPageMenuItem() -
getRelationSitePage
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Page> getRelationSitePage() -
getRelationSiteArchivedPage
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Page> getRelationSiteArchivedPage() -
getCreationDate
public org.joda.time.DateTime getCreationDate() -
setCreationDate
public void setCreationDate(org.joda.time.DateTime creationDate) -
getModificationDate
public org.joda.time.DateTime getModificationDate() -
setModificationDate
public void setModificationDate(org.joda.time.DateTime modificationDate) -
getName
public org.fenixedu.commons.i18n.LocalizedString getName() -
setName
public void setName(org.fenixedu.commons.i18n.LocalizedString name) -
getSlug
-
setSlug
-
getTemplateType
-
setTemplateType
-
getPublished
public boolean getPublished() -
setPublished
public void setPublished(boolean published) -
getEmbedded
public boolean getEmbedded() -
setEmbedded
public void setEmbedded(boolean embedded) -
getCreatedBy
public org.fenixedu.bennu.core.domain.User getCreatedBy() -
setCreatedBy
public void setCreatedBy(org.fenixedu.bennu.core.domain.User createdBy) -
addComponents
public void addComponents(org.fenixedu.cms.domain.component.Component components) -
removeComponents
public void removeComponents(org.fenixedu.cms.domain.component.Component components) -
getComponentsSet
-
getViewGroup
protected org.fenixedu.bennu.core.domain.groups.PersistentGroup getViewGroup() -
setViewGroup
protected void setViewGroup(org.fenixedu.bennu.core.domain.groups.PersistentGroup viewGroup) -
getTemplate
public org.fenixedu.cms.domain.CMSTemplate getTemplate() -
setTemplate
public void setTemplate(org.fenixedu.cms.domain.CMSTemplate template) -
addMenuItems
public void addMenuItems(org.fenixedu.cms.domain.MenuItem menuItems) -
removeMenuItems
public void removeMenuItems(org.fenixedu.cms.domain.MenuItem menuItems) -
getMenuItemsSet
-
getSite
protected org.fenixedu.cms.domain.Site getSite() -
setSite
protected void setSite(org.fenixedu.cms.domain.Site site) -
getArchivedSite
public org.fenixedu.cms.domain.Site getArchivedSite() -
setArchivedSite
public void setArchivedSite(org.fenixedu.cms.domain.Site archivedSite)
-