railo-context.Component
contentbox.model.content.ContentVersion
ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 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
|
|
any
|
createdDate
|
true
|
false
|
|
any
|
interceptorService
|
true
|
false
|
|
any
|
isActive
|
false
|
true
|
false
|
any
|
relatedContent
|
true
|
false
|
|
any
|
renderedContent
|
true
|
false
|
|
any
|
version
|
1
|
true
|
false
|
| Constructor Summary | |
|---|---|
|
init()
constructor. |
|
| Method Summary | |
|---|---|
string
|
getAuthor()
|
string
|
getAuthorEmail()
Shorthand Author email. |
string
|
getAuthorName()
Shorthand Author name. |
string
|
getChangelog()
|
string
|
getContent()
|
string
|
getContentVersionID()
|
string
|
getCreatedDate()
|
string
|
getDisplayCreatedDate()
Get formatted createdDate. |
string
|
getInterceptorService()
|
string
|
getIsActive()
|
any
|
getMemento()
Get memento representation. |
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()
|
string
|
getRenderedContent()
|
string
|
getVersion()
|
boolean
|
hasAuthor([any author])
|
boolean
|
hasRelatedContent([any relatedContent])
|
boolean
|
isLoaded()
is loaded?. |
any
|
renderContent()
Render version content out. |
any
|
setAuthor(any author)
|
any
|
setChangelog(any changelog)
|
any
|
setContent(any content)
|
any
|
setCreatedDate(any createdDate)
|
any
|
setInterceptorService(any interceptorService)
|
any
|
setIsActive(any isActive)
|
any
|
setRelatedContent(any relatedContent)
|
any
|
setRenderedContent(any renderedContent)
|
any
|
setVersion(any version)
|
| Methods inherited from class railo-context.Component |
|---|
| None |
| Constructor Detail |
|---|
constructor
| Property Detail |
|---|
required - falsefieldtype - many-to-onefetch - joinnotnull - truefkcolumn - FK_authorIDserializable - truecfc - contentbox.model.security.Authorlazy - truerequired - falsenotnull - falseormtype - textlength - 8000serializable - truerequired - falsenotnull - trueormtype - textlength - 8000serializable - truerequired - falsefieldtype - idgenerator - nativeserializable - truesetter - norequired - falsenotnull - trueormtype - timestampupdate - falseindex - idx_createdDateserializable - truerequired - falseinject - coldbox:interceptorServicepersistent - falseserializable - truerequired - falsenotnull - trueormtype - booleanindex - idx_active,idx_contentVersionsserializable - truerequired - falsefieldtype - many-to-onefetch - joinnotnull - trueindex - idx_contentVersionsfkcolumn - FK_contentIDserializable - truecfc - contentbox.model.content.BaseContentlazy - truerequired - falsepersistent - falseserializable - truerequired - falsenotnull - trueormtype - integerindex - idx_versionserializable - true| Method Detail |
|---|
Shorthand Author email
Shorthand Author name
Get formatted createdDate
Get memento representation
Get parent slug from the related content it belongs to
Get parent title from the related content it belongs to
authorrelatedContentis loaded?
Render version content out
authorchangelogcontentcreatedDateinterceptorServiceisActiverelatedContentrenderedContentversion