|
ContentBox Core API 1.6.0 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.comments.Comment
public class Comment
******************************************************************************* 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 Comment Entity
Property Summary | ||||
---|---|---|---|---|
Type | Property & Description | Default | Serializable | Required |
any
|
author
Attributes:
|
|
true
|
false
|
any
|
authorEmail
Attributes:
|
|
true
|
false
|
any
|
authorIP
Attributes:
|
|
true
|
false
|
any
|
authorURL
Attributes:
|
|
true
|
false
|
any
|
commentID
Attributes:
|
|
true
|
false
|
any
|
content
Attributes:
|
|
true
|
false
|
any
|
createdDate
Attributes:
|
|
true
|
false
|
any
|
isApproved
Attributes:
|
false
|
true
|
false
|
any
|
relatedContent
Attributes:
|
|
true
|
false
|
Constructor Summary | |
---|---|
init()
constructor |
Method Summary | |
---|---|
any |
GETAUTHOR()
|
any |
GETAUTHOREMAIL()
|
any |
GETAUTHORIP()
|
any |
GETAUTHORURL()
|
any |
GETCOMMENTID()
|
any |
GETCONTENT()
|
any |
GETCREATEDDATE()
|
any |
GETISAPPROVED()
|
any |
GETRELATEDCONTENT()
|
boolean |
HASRELATEDCONTENT()
|
Comment |
SETAUTHOR(any author)
|
Comment |
SETAUTHOREMAIL(any authorEmail)
|
Comment |
SETAUTHORIP(any authorIP)
|
Comment |
SETAUTHORURL(any authorURL)
|
Comment |
SETCONTENT(any content)
|
Comment |
SETCREATEDDATE(any createdDate)
|
Comment |
SETISAPPROVED(any isApproved)
|
Comment |
SETRELATEDCONTENT(any relatedContent)
|
string |
getDisplayContent()
Get Display Content |
string |
getDisplayCreatedDate()
Get formatted createdDate |
any |
getMemento()
Get memento representation |
any |
getParentSlug()
Get parent slug from either the page it belongs or the entry it belongs to |
any |
getParentTitle()
Get parent title from either the page it belongs or the entry it belongs to |
boolean |
isLoaded()
is loaded? |
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init()
Property Detail |
---|
any author
serializable
- truerequired
- falsenotnull
- truelength
- 100default
- any authorEmail
serializable
- truerequired
- falsenotnull
- truelength
- 255default
- any authorIP
serializable
- truerequired
- falsenotnull
- truelength
- 100default
- any authorURL
serializable
- truerequired
- falsenotnull
- falselength
- 255default
- any commentID
generator
- nativefieldtype
- idserializable
- truerequired
- falsedefault
- setter
- falseany content
ormtype
- textserializable
- truerequired
- falsenotnull
- truedefault
- any createdDate
update
- falseindex
- idx_createdDateormtype
- timestampserializable
- truerequired
- falsenotnull
- truedefault
- any isApproved
index
- idx_contentComment,idx_approvedormtype
- booleanserializable
- truerequired
- falsenotnull
- truedbdefault
- 0default
- falseany relatedContent
index
- idx_contentCommentfieldtype
- many-to-oneserializable
- truerequired
- falsenotnull
- truelazy
- truecfc
- contentbox.model.content.BaseContentdefault
- fkcolumn
- FK_contentIDMethod Detail |
---|
public any GETAUTHOR()
public any GETAUTHOREMAIL()
public any GETAUTHORIP()
public any GETAUTHORURL()
public any GETCOMMENTID()
public any GETCONTENT()
public any GETCREATEDDATE()
public any GETISAPPROVED()
public any GETRELATEDCONTENT()
public boolean HASRELATEDCONTENT()
public Comment SETAUTHOR(any author)
author
public Comment SETAUTHOREMAIL(any authorEmail)
authorEmail
public Comment SETAUTHORIP(any authorIP)
authorIP
public Comment SETAUTHORURL(any authorURL)
authorURL
public Comment SETCONTENT(any content)
content
public Comment SETCREATEDDATE(any createdDate)
createdDate
public Comment SETISAPPROVED(any isApproved)
isApproved
public Comment SETRELATEDCONTENT(any relatedContent)
relatedContent
public string getDisplayContent()
public string getDisplayCreatedDate()
public any getMemento()
public any getParentSlug()
public any getParentTitle()
public boolean isLoaded()
|
ContentBox Core API 1.6.0 | ||||
FRAMES |