ContentBox Core API 1.5.7

contentbox.model.content
Class ContentVersion

WEB-INF.cftags.component
        extended by contentbox.model.content.ContentVersion

public class ContentVersion
extends WEB-INF.cftags.component

******************************************************************************* 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


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()
 void SETAUTHOR(any author)
 void SETCHANGELOG(any changelog)
 void SETCONTENT(any content)
 void SETCREATEDDATE(any createdDate)
 void SETINTERCEPTORSERVICE(any interceptorService)
 void SETISACTIVE(any isActive)
 void SETRELATEDCONTENT(any relatedContent)
 void SETRENDEREDCONTENT(any renderedContent)
 void 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
 

Constructor Detail

init

public init()
constructor

Method Detail

GETAUTHOR

public any GETAUTHOR()


GETCHANGELOG

public any GETCHANGELOG()


GETCONTENT

public any GETCONTENT()


GETCONTENTVERSIONID

public any GETCONTENTVERSIONID()


GETCREATEDDATE

public any GETCREATEDDATE()


GETINTERCEPTORSERVICE

public any GETINTERCEPTORSERVICE()


GETISACTIVE

public any GETISACTIVE()


GETRELATEDCONTENT

public any GETRELATEDCONTENT()


GETRENDEREDCONTENT

public any GETRENDEREDCONTENT()


GETVERSION

public any GETVERSION()


HASAUTHOR

public boolean HASAUTHOR()


HASRELATEDCONTENT

public boolean HASRELATEDCONTENT()


SETAUTHOR

public void SETAUTHOR(any author)

Parameters:
author

SETCHANGELOG

public void SETCHANGELOG(any changelog)

Parameters:
changelog

SETCONTENT

public void SETCONTENT(any content)

Parameters:
content

SETCREATEDDATE

public void SETCREATEDDATE(any createdDate)

Parameters:
createdDate

SETINTERCEPTORSERVICE

public void SETINTERCEPTORSERVICE(any interceptorService)

Parameters:
interceptorService

SETISACTIVE

public void SETISACTIVE(any isActive)

Parameters:
isActive

SETRELATEDCONTENT

public void SETRELATEDCONTENT(any relatedContent)

Parameters:
relatedContent

SETRENDEREDCONTENT

public void SETRENDEREDCONTENT(any renderedContent)

Parameters:
renderedContent

SETVERSION

public void SETVERSION(any version)

Parameters:
version

getAuthorEmail

public string getAuthorEmail()
Shorthand Author email


getAuthorName

public string getAuthorName()
Shorthand Author name


getDisplayCreatedDate

public string getDisplayCreatedDate()
Get formatted createdDate


getMemento

public any getMemento()
Get memento representation


getParentSlug

public any getParentSlug()
Get parent slug from the related content it belongs to


getParentTitle

public any getParentTitle()
Get parent title from the related content it belongs to


isLoaded

public boolean isLoaded()
is loaded?


renderContent

public any renderContent()
Render version content out


ContentBox Core API 1.5.7