|
ContentBox Core API 1.6.0 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.content.ContentVersion
public class 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 & Description | Default | Serializable | Required |
any
|
author
Attributes:
|
|
true
|
false
|
any
|
changelog
Attributes:
|
|
true
|
false
|
any
|
content
Attributes:
|
|
true
|
false
|
any
|
contentVersionID
Attributes:
|
|
true
|
false
|
any
|
createdDate
Attributes:
|
|
true
|
false
|
any
|
interceptorService
Attributes:
|
|
true
|
false
|
any
|
isActive
Attributes:
|
true
|
true
|
false
|
any
|
relatedContent
Attributes:
|
|
true
|
false
|
any
|
renderedContent
Attributes:
|
|
true
|
false
|
any
|
version
Attributes:
|
1
|
true
|
false
|
Constructor Summary | |
---|---|
init()
constructor |
Method Summary | |
---|---|
any |
GETAUTHOR()
|
any |
GETCHANGELOG()
|
any |
GETCONTENT()
|
any |
GETCONTENTVERSIONID()
|
any |
GETCREATEDDATE()
|
any |
GETINTERCEPTORSERVICE()
|
any |
GETISACTIVE()
|
any |
GETRELATEDCONTENT()
|
any |
GETRENDEREDCONTENT()
|
any |
GETVERSION()
|
boolean |
HASAUTHOR()
|
boolean |
HASRELATEDCONTENT()
|
ContentVersion |
SETAUTHOR(any author)
|
ContentVersion |
SETCHANGELOG(any changelog)
|
ContentVersion |
SETCONTENT(any content)
|
ContentVersion |
SETCREATEDDATE(any createdDate)
|
ContentVersion |
SETINTERCEPTORSERVICE(any interceptorService)
|
ContentVersion |
SETISACTIVE(any isActive)
|
ContentVersion |
SETRELATEDCONTENT(any relatedContent)
|
ContentVersion |
SETRENDEREDCONTENT(any renderedContent)
|
ContentVersion |
SETVERSION(any version)
|
string |
getAuthorEmail()
Shorthand Author email |
string |
getAuthorName()
Shorthand Author name |
string |
getDisplayCreatedDate()
Get formatted createdDate |
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 |
boolean |
isLoaded()
is loaded? |
any |
renderContent()
Render version content out |
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init()
Property Detail |
---|
any author
fieldtype
- many-to-onefetch
- joinserializable
- truerequired
- falsenotnull
- truelazy
- truecfc
- contentbox.model.security.Authordefault
- fkcolumn
- FK_authorIDany changelog
ormtype
- textserializable
- truerequired
- falsenotnull
- falselength
- 8000default
- any content
ormtype
- textserializable
- truerequired
- falsenotnull
- truelength
- 8000default
- any contentVersionID
generator
- nativefieldtype
- idserializable
- truerequired
- falsedefault
- setter
- falseany createdDate
update
- falseindex
- idx_createdDateormtype
- timestampserializable
- truerequired
- falsenotnull
- truedefault
- any interceptorService
inject
- coldbox:interceptorServiceserializable
- truerequired
- falsepersistent
- falsedefault
- any isActive
index
- idx_active,idx_contentVersionsormtype
- booleanserializable
- truerequired
- falsenotnull
- truedbdefault
- 0default
- trueany relatedContent
index
- idx_contentVersionsfetch
- joinserializable
- truelazy
- truedefault
- fieldtype
- many-to-onerequired
- falsenotnull
- truecfc
- contentbox.model.content.BaseContentfkcolumn
- FK_contentIDany renderedContent
required
- falseserializable
- truepersistent
- falsedefault
- any version
index
- idx_versionormtype
- integerdbdefalt
- 1serializable
- truerequired
- falsenotnull
- truedefault
- 1Method Detail |
---|
public any GETAUTHOR()
public any GETCHANGELOG()
public any GETCONTENT()
public any GETCONTENTVERSIONID()
public any GETCREATEDDATE()
public any GETINTERCEPTORSERVICE()
public any GETISACTIVE()
public any GETRELATEDCONTENT()
public any GETRENDEREDCONTENT()
public any GETVERSION()
public boolean HASAUTHOR()
public boolean HASRELATEDCONTENT()
public ContentVersion SETAUTHOR(any author)
author
public ContentVersion SETCHANGELOG(any changelog)
changelog
public ContentVersion SETCONTENT(any content)
content
public ContentVersion SETCREATEDDATE(any createdDate)
createdDate
public ContentVersion SETINTERCEPTORSERVICE(any interceptorService)
interceptorService
public ContentVersion SETISACTIVE(any isActive)
isActive
public ContentVersion SETRELATEDCONTENT(any relatedContent)
relatedContent
public ContentVersion SETRENDEREDCONTENT(any renderedContent)
renderedContent
public ContentVersion SETVERSION(any version)
version
public string getAuthorEmail()
public string getAuthorName()
public string getDisplayCreatedDate()
public any getMemento()
public any getParentSlug()
public any getParentTitle()
public boolean isLoaded()
public any renderContent()
|
ContentBox Core API 1.6.0 | ||||
FRAMES |