railo-context.Componentcontentbox.model.content.BaseContent
contentbox.model.content.ContentStore
ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp 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 represent a content value store
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
description
|
true
|
false
|
Constructor Summary | |
---|---|
init()
constructor. |
Method Summary | |
---|---|
string
|
getDescription()
|
any
|
getMemento([array slugCache='[runtime expression]'])
Get a flat representation of this contentStore. |
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
|
setDescription(any description)
|
array
|
validate()
|
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
constructor
Property Detail |
---|
required
- falsenotnull
- falselength
- 500serializable
- trueMethod Detail |
---|
Get a flat representation of this contentStore slugCache.hint Cache of slugs to prevent infinite recursions
getMemento
in class
BaseContent
slugCache
Wipe primary key, and descendant keys, and prepare for cloning of entire hierarchies
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 contentdescription