lucee.Componentcontentbox.models.BaseEntityMethods
contentbox.models.menu.item.BaseMenuItem
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Base entity for all subclasses of Menu Items
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
active
|
true
|
true
|
false
|
array
|
children
|
true
|
false
|
|
date
|
createdDate
|
true
|
false
|
|
any
|
data
|
true
|
false
|
|
any
|
isDeleted
|
false
|
true
|
false
|
any
|
itemClass
|
true
|
false
|
|
any
|
label
|
true
|
false
|
|
any
|
menu
|
true
|
false
|
|
any
|
menuItemID
|
true
|
false
|
|
any
|
menuItemService
|
true
|
false
|
|
any
|
menuType
|
true
|
false
|
|
date
|
modifiedDate
|
true
|
false
|
|
any
|
parent
|
true
|
false
|
|
any
|
title
|
true
|
false
|
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
any
|
addChild(any child)
|
boolean
|
canDisplay(struct options='[runtime expression]')
Available precheck to determine display-ability of menu item. |
string
|
getActive()
|
string
|
getAttributesAsString()
Get a handy, formatted string of attributes that are applicable for the current menu item. |
string
|
getChildren()
|
string
|
getCreatedDate()
|
string
|
getData()
|
struct
|
getInfoSnapshot()
Utility method to get a snapshot of this menu item. |
string
|
getIsDeleted()
|
string
|
getItemClass()
|
string
|
getLabel()
|
string
|
getMenu()
|
string
|
getMenuItemID()
|
string
|
getMenuItemService()
|
string
|
getMenuType()
|
string
|
getModifiedDate()
|
string
|
getParent()
|
struct
|
getParentSnapshot()
Build a parent snapshot. |
string
|
getTitle()
|
boolean
|
hasChild([any child])
|
boolean
|
hasMenu([any menu])
|
boolean
|
hasParent([any parent])
|
boolean
|
removeChild(any child)
|
any
|
setActive(any active)
|
any
|
setChildren(array children)
|
any
|
setCreatedDate(date createdDate)
|
any
|
setData(any data)
|
any
|
setIsDeleted(any isDeleted)
|
any
|
setItemClass(any itemClass)
|
any
|
setLabel(any label)
|
any
|
setMenu(any menu)
|
any
|
setMenuItemID(any menuItemID)
|
any
|
setMenuItemService(any menuItemService)
|
any
|
setMenuType(any menuType)
|
any
|
setModifiedDate(date modifiedDate)
|
any
|
setParent(any parent)
|
any
|
setTitle(any title)
|
Methods inherited from class contentbox.models.BaseEntityMethods |
---|
appendToMemento, appendToMementoProfile, arrayWrap, getDisplayCreatedDate, getDisplayModifiedDate, getEntityName, getId, includeMixin, isLoaded, preInsert, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anycolumn
- activeormtype
- booleanserializable
- trueaccess
- publicrequired
- falseinverse
- truefieldtype
- one-to-manyreturntype
- anycascade
- all-delete-orphansingularname
- childfkcolumn
- FK_parentIDserializable
- truecfc
- BaseMenuItemlazy
- extraaccess
- publicrequired
- falsereturntype
- anycolumn
- createdDatenotnull
- trueormtype
- timestampupdate
- falseserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- datanotnull
- falseormtype
- stringserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- isDeletednotnull
- trueormtype
- booleanserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- itemClassnotnull
- falseormtype
- stringlength
- 200serializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- labelnotnull
- falseormtype
- stringlength
- 200serializable
- trueaccess
- publicrequired
- falsefieldtype
- many-to-onereturntype
- anynotnull
- truefetch
- joinfkcolumn
- FK_menuIDserializable
- truecfc
- contentbox.models.menu.Menulazy
- trueaccess
- publicrequired
- falsefieldtype
- idreturntype
- anycolumn
- menuItemIDormtype
- stringupdate
- falsegenerator
- uuidlength
- 36serializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- provider:menuItemService@contentboxpersistent
- falseserializable
- trueaccess
- publicrequired
- falseinsert
- falsereturntype
- anycolumn
- menuTypeupdate
- falseserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- modifiedDatenotnull
- trueormtype
- timestampserializable
- trueaccess
- publicrequired
- falsefieldtype
- many-to-onereturntype
- anyfetch
- joinfkcolumn
- FK_parentIDserializable
- truecfc
- BaseMenuItemlazy
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- titlenotnull
- trueormtype
- stringlength
- 200serializable
- trueMethod Detail |
---|
child
Available precheck to determine display-ability of menu item
options
- Additional arguments to be used in the methodGet a handy, formatted string of attributes that are applicable for the current menu item
Utility method to get a snapshot of this menu item
Build a parent snapshot
child
menu
parent
child
active
children
createdDate
data
isDeleted
itemClass
label
menu
menuItemID
menuItemService
menuType
modifiedDate
parent
title