|
ContentBox Core API 1.6.0 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.content.BaseContent
contentbox.model.content.Entry
public class Entry
******************************************************************************* 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 blog entry entity that is amazing
Property Summary | ||||
---|---|---|---|---|
Type | Property & Description | Default | Serializable | Required |
any
|
excerpt
Attributes:
|
|
true
|
false
|
any
|
renderedExcerpt
Attributes:
|
|
true
|
false
|
Constructor Summary | |
---|---|
init()
constructor |
Method Summary | |
---|---|
any |
GETEXCERPT()
get: |
any |
GETRENDEREDEXCERPT()
get: |
Entry |
SETEXCERPT(any excerpt)
set: |
Entry |
SETRENDEREDEXCERPT(any renderedExcerpt)
set: |
any |
getMemento()
Get a flat representation of this entry |
boolean |
hasExcerpt()
has excerpt |
BaseContent |
prepareForClone(any author, any original, any originalService, boolean publish, any originalSlugRoot, any newSlugRoot)
Wipe primary key, and descendant keys, and prepare for cloning of entire hierarchies |
any |
renderExcerpt()
Render excerpt |
array |
validate()
|
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init()
Property Detail |
---|
any excerpt
ormtype
- textserializable
- truerequired
- falsenotnull
- falselength
- 8000default
- any renderedExcerpt
required
- falseserializable
- truepersistent
- falsedefault
- Method Detail |
---|
public any GETEXCERPT()
public any GETRENDEREDEXCERPT()
public Entry SETEXCERPT(any excerpt)
excerpt
public Entry SETRENDEREDEXCERPT(any renderedExcerpt)
renderedExcerpt
public any getMemento()
getMemento
in class
BaseContent
public boolean hasExcerpt()
public BaseContent prepareForClone(any author, any original, any originalService, boolean publish, any originalSlugRoot, any newSlugRoot)
prepareForClone
in class
BaseContent
author
- The author doing the cloningoriginal
- The original content object that will be cloned into this content objectoriginalService
- The ContentBox content service objectpublish
- Publish pages or leave as draftsoriginalSlugRoot
- The original slug that will be replaced in all cloned contentnewSlugRoot
- The new slug root that will be replaced in all cloned contentpublic any renderExcerpt()
public array validate()
|
ContentBox Core API 1.6.0 | ||||
FRAMES |