lucee.Componentcontentbox.models.BaseEntityMethods
contentbox.models.BaseEntity
contentbox.models.content.ContentVersion
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I am a versioned piece of content
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
author
|
true
|
false
|
|
any
|
changelog
|
true
|
false
|
|
any
|
content
|
true
|
false
|
|
any
|
contentVersionID
|
true
|
false
|
|
date
|
createdDate
|
true
|
false
|
|
any
|
isActive
|
false
|
true
|
false
|
any
|
isDeleted
|
false
|
true
|
false
|
date
|
modifiedDate
|
true
|
false
|
|
any
|
relatedContent
|
true
|
false
|
|
any
|
renderedContent
|
true
|
false
|
|
any
|
version
|
1
|
true
|
false
|
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
string
|
getAuthor()
|
string
|
getAuthorEmail()
Shorthand Author email. |
string
|
getAuthorName()
Shorthand Author name. |
struct
|
getAuthorSnapshot()
Build the author snapshot. |
string
|
getChangelog()
|
string
|
getContent()
|
string
|
getContentVersionID()
|
string
|
getIsActive()
|
any
|
getParentSlug()
Get parent slug from the related content it belongs to. |
any
|
getParentTitle()
Get parent title from the related content it belongs to. |
string
|
getRelatedContent()
|
struct
|
getRelatedContentSnapshot()
Build a snapshot of the related content. |
string
|
getRenderedContent()
|
string
|
getVersion()
|
boolean
|
hasAuthor([any author])
|
boolean
|
hasRelatedContent([any relatedContent])
|
any
|
renderContent()
Render version content out. |
any
|
setAuthor(any author)
|
any
|
setChangelog(any changelog)
|
any
|
setContent(any content)
|
any
|
setContentVersionID(any contentVersionID)
|
any
|
setIsActive(any isActive)
|
any
|
setRelatedContent(any relatedContent)
|
any
|
setRenderedContent(any renderedContent)
|
any
|
setVersion(any version)
|
Methods inherited from class contentbox.models.BaseEntity |
---|
getCreatedDate, getIsDeleted, getModifiedDate, setCreatedDate, setIsDeleted, setModifiedDate |
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
- falsefieldtype
- many-to-onereturntype
- anyfetch
- joinnotnull
- truefkcolumn
- FK_authorIDserializable
- truecfc
- contentbox.models.security.Authorlazy
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- changelognotnull
- falseormtype
- textlength
- 8000serializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- contentnotnull
- trueormtype
- textlength
- 8000serializable
- trueaccess
- publicrequired
- falsefieldtype
- idreturntype
- anycolumn
- contentVersionIDormtype
- stringupdate
- falsegenerator
- uuidlength
- 36serializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- createdDatenotnull
- trueormtype
- timestampupdate
- falsepersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- isActivenotnull
- trueormtype
- booleanindex
- idx_activeContentVersion,idx_contentVersionsserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- isDeletednotnull
- trueormtype
- booleanpersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- modifiedDatenotnull
- trueormtype
- timestamppersistent
- trueserializable
- trueaccess
- publicrequired
- falsefieldtype
- many-to-onereturntype
- anyfetch
- joinnotnull
- trueindex
- idx_contentVersionsfkcolumn
- FK_contentIDserializable
- truecfc
- contentbox.models.content.BaseContentlazy
- trueaccess
- publicrequired
- falsereturntype
- anypersistent
- falseserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- versionnotnull
- trueormtype
- integerindex
- idx_versionserializable
- trueMethod Detail |
---|
Shorthand Author email
Shorthand Author name
Build the author snapshot
Get parent slug from the related content it belongs to
Get parent title from the related content it belongs to
Build a snapshot of the related content
author
relatedContent
Render version content out
author
changelog
content
contentVersionID
isActive
relatedContent
renderedContent
version