lucee.Component contentbox.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()
constructor. |
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()
|
string
|
getIsDeleted()
|
string
|
getItemClass()
|
string
|
getLabel()
|
struct
|
getMemento([any excludes=''])
Get a flat representation of this menu item. |
string
|
getMenu()
|
string
|
getMenuItemID()
|
string
|
getMenuItemService()
|
string
|
getMenuType()
|
string
|
getModifiedDate()
|
string
|
getParent()
|
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
|
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 |
---|
getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, isLoaded, preInsert, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyormtype
- booleanserializable
- trueaccess
- publicrequired
- falseinverse
- truefieldtype
- one-to-manyreturntype
- anycascade
- all-delete-orphanbatchsize
- 25singularname
- childfkcolumn
- FK_parentIDserializable
- truecfc
- BaseMenuItemlazy
- extraaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampupdate
- falseindex
- idx_createDateserializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- falseormtype
- stringserializable
- trueaccess
- publicrequired
- falsedbdefault
- 0returntype
- anynotnull
- trueormtype
- booleanindex
- idx_deletedserializable
- truesqltype
- bitaccess
- publicrequired
- falsereturntype
- anynotnull
- falseormtype
- stringlength
- 200serializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- falseormtype
- stringlength
- 200serializable
- trueaccess
- publicrequired
- falsefieldtype
- many-to-onereturntype
- anynotnull
- truefetch
- joinfkcolumn
- FK_menuIDserializable
- truecfc
- contentbox.models.menu.Menulazy
- trueaccess
- publicrequired
- falsefieldtype
- idreturntype
- anyparams
- { allocationSize = 1, sequence = 'menuItemID_seq' }generator
- nativeserializable
- truesetter
- noaccess
- publicrequired
- falsereturntype
- anyinject
- menuItemService@cbpersistent
- falseserializable
- trueaccess
- publicrequired
- falseinsert
- falsereturntype
- anyupdate
- falseserializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampindex
- idx_modifiedDateserializable
- trueaccess
- publicrequired
- falsefieldtype
- many-to-onereturntype
- anyfkcolumn
- FK_parentIDserializable
- truecfc
- BaseMenuItemlazy
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- stringindex
- idx_menuitemtitlelength
- 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
Get a flat representation of this menu item
excludes
- Exclude propertieschild
menu
parent
child
active
children
createdDate
data
isDeleted
itemClass
label
menu
menuItemService
menuType
modifiedDate
parent
title