Package org.fenixedu.cms.domain
Class Menu_Base
java.lang.Object
pt.ist.fenixframework.core.AbstractDomainObject
org.fenixedu.cms.domain.Menu_Base
- All Implemented Interfaces:
Serializable,pt.ist.fenixframework.DomainObject
public abstract class Menu_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 TypeMethodDescriptionvoidaddItems(org.fenixedu.cms.domain.MenuItem items) voidaddToplevelItems(org.fenixedu.cms.domain.MenuItem toplevelItems) org.fenixedu.bennu.core.domain.Userorg.joda.time.DateTimeSet<org.fenixedu.cms.domain.MenuItem>org.fenixedu.commons.i18n.LocalizedStringgetName()getOrder()booleanstatic pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Menu,org.fenixedu.cms.domain.MenuItem> 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.MenuItem,org.fenixedu.cms.domain.Menu> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Menu,org.fenixedu.bennu.core.domain.User> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Menu> protected org.fenixedu.cms.domain.SitegetSite()getSlug()org.fenixedu.cms.domain.SiteSet<org.fenixedu.cms.domain.MenuItem>booleanvoidremoveItems(org.fenixedu.cms.domain.MenuItem items) voidremoveToplevelItems(org.fenixedu.cms.domain.MenuItem toplevelItems) voidsetCreatedBy(org.fenixedu.bennu.core.domain.User createdBy) voidsetCreationDate(org.joda.time.DateTime creationDate) voidsetName(org.fenixedu.commons.i18n.LocalizedString name) voidvoidsetPrivileged(boolean privileged) protected voidsetSite(org.fenixedu.cms.domain.Site site) voidvoidsetSystemSite(org.fenixedu.cms.domain.Site systemSite) voidsetTopMenu(boolean topMenu) 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
-
Menu_Base
protected Menu_Base()
-
-
Method Details
-
getRelationSiteHasSystemMenu
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Menu> getRelationSiteHasSystemMenu() -
getRelationMenuTopMenuItem
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.MenuItem,org.fenixedu.cms.domain.Menu> getRelationMenuTopMenuItem() -
getRelationMenuUser
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Menu,org.fenixedu.bennu.core.domain.User> getRelationMenuUser() -
getRelationMenuSite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Site,org.fenixedu.cms.domain.Menu> getRelationMenuSite() -
getRelationMenuMenuItem
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Menu,org.fenixedu.cms.domain.MenuItem> getRelationMenuMenuItem() -
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) -
getSlug
-
setSlug
-
getTopMenu
public boolean getTopMenu() -
setTopMenu
public void setTopMenu(boolean topMenu) -
getPrivileged
public boolean getPrivileged() -
setPrivileged
public void setPrivileged(boolean privileged) -
getOrder
-
setOrder
-
getSystemSite
public org.fenixedu.cms.domain.Site getSystemSite() -
setSystemSite
public void setSystemSite(org.fenixedu.cms.domain.Site systemSite) -
addToplevelItems
public void addToplevelItems(org.fenixedu.cms.domain.MenuItem toplevelItems) -
removeToplevelItems
public void removeToplevelItems(org.fenixedu.cms.domain.MenuItem toplevelItems) -
getToplevelItemsSet
-
getCreatedBy
public org.fenixedu.bennu.core.domain.User getCreatedBy() -
setCreatedBy
public void setCreatedBy(org.fenixedu.bennu.core.domain.User createdBy) -
getSite
protected org.fenixedu.cms.domain.Site getSite() -
setSite
protected void setSite(org.fenixedu.cms.domain.Site site) -
addItems
public void addItems(org.fenixedu.cms.domain.MenuItem items) -
removeItems
public void removeItems(org.fenixedu.cms.domain.MenuItem items) -
getItemsSet
-