Package org.fenixedu.cms.domain
Class MenuItem_Base
java.lang.Object
pt.ist.fenixframework.core.AbstractDomainObject
org.fenixedu.cms.domain.MenuItem_Base
- All Implemented Interfaces:
Serializable,pt.ist.fenixframework.DomainObject
public abstract class MenuItem_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 TypeMethodDescriptionvoidaddChildren(org.fenixedu.cms.domain.MenuItem children) Set<org.fenixedu.cms.domain.MenuItem>org.fenixedu.bennu.core.domain.Userorg.joda.time.DateTimebooleanprotected org.fenixedu.cms.domain.MenugetMenu()org.fenixedu.commons.i18n.LocalizedStringgetName()org.fenixedu.cms.domain.PagegetPage()org.fenixedu.cms.domain.MenuItemstatic pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.MenuItem,org.fenixedu.cms.domain.MenuItem> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.MenuItem,org.fenixedu.bennu.core.domain.User> static 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.MenuItem,org.fenixedu.cms.domain.Menu> static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Page,org.fenixedu.cms.domain.MenuItem> org.fenixedu.cms.domain.MenugetTop()getUrl()voidremoveChildren(org.fenixedu.cms.domain.MenuItem children) voidsetCreatedBy(org.fenixedu.bennu.core.domain.User createdBy) voidsetCreationDate(org.joda.time.DateTime creationDate) voidsetFolder(boolean folder) protected voidsetMenu(org.fenixedu.cms.domain.Menu menu) voidsetName(org.fenixedu.commons.i18n.LocalizedString name) voidsetPage(org.fenixedu.cms.domain.Page page) voidsetParent(org.fenixedu.cms.domain.MenuItem parent) voidsetPosition(Integer position) voidsetTop(org.fenixedu.cms.domain.Menu top) voidMethods inherited from class pt.ist.fenixframework.core.AbstractDomainObject
checkForDeletionBlockers, deleteDomainObject, ensureOid, equals, getDeletionBlockers, getDomainModel, getExternalId, getOid, hashCode, init$Instance, makeSerializedForm, toString, writeReplace
-
Constructor Details
-
MenuItem_Base
protected MenuItem_Base()
-
-
Method Details
-
getRelationMenuTopMenuItem
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.MenuItem,org.fenixedu.cms.domain.Menu> getRelationMenuTopMenuItem() -
getRelationPageMenuItem
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Page,org.fenixedu.cms.domain.MenuItem> getRelationPageMenuItem() -
getRelationMenuItemMenuItem
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.MenuItem,org.fenixedu.cms.domain.MenuItem> getRelationMenuItemMenuItem() -
getRelationMenuMenuItem
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.Menu,org.fenixedu.cms.domain.MenuItem> getRelationMenuMenuItem() -
getRelationMenuItemUser
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.cms.domain.MenuItem,org.fenixedu.bennu.core.domain.User> getRelationMenuItemUser() -
getCreationDate
public org.joda.time.DateTime getCreationDate() -
setCreationDate
public void setCreationDate(org.joda.time.DateTime creationDate) -
getPosition
-
setPosition
-
getName
public org.fenixedu.commons.i18n.LocalizedString getName() -
setName
public void setName(org.fenixedu.commons.i18n.LocalizedString name) -
getUrl
-
setUrl
-
getFolder
public boolean getFolder() -
setFolder
public void setFolder(boolean folder) -
getTop
public org.fenixedu.cms.domain.Menu getTop() -
setTop
public void setTop(org.fenixedu.cms.domain.Menu top) -
getPage
public org.fenixedu.cms.domain.Page getPage() -
setPage
public void setPage(org.fenixedu.cms.domain.Page page) -
getParent
public org.fenixedu.cms.domain.MenuItem getParent() -
setParent
public void setParent(org.fenixedu.cms.domain.MenuItem parent) -
addChildren
public void addChildren(org.fenixedu.cms.domain.MenuItem children) -
removeChildren
public void removeChildren(org.fenixedu.cms.domain.MenuItem children) -
getChildrenSet
-
getMenu
protected org.fenixedu.cms.domain.Menu getMenu() -
setMenu
protected void setMenu(org.fenixedu.cms.domain.Menu menu) -
getCreatedBy
public org.fenixedu.bennu.core.domain.User getCreatedBy() -
setCreatedBy
public void setCreatedBy(org.fenixedu.bennu.core.domain.User createdBy)
-