|
ContentBox Core API 1.6.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.orm.hibernate.BaseORMService
coldbox.system.orm.hibernate.VirtualEntityService
contentbox.model.content.ContentService
contentbox.model.content.EntryService
public class EntryService
******************************************************************************* 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. ******************************************************************************* Entry service for contentbox
Constructor Summary | |
---|---|
init()
Constructor |
Method Summary | |
---|---|
any |
findPublishedEntries([any max='0'], [any offset='0'], [any category=''], [any searchTerm=''], [any asQuery='false'])
|
any |
findPublishedEntriesByDate([numeric year='0'], [numeric month='0'], [numeric day='0'], [any max='0'], [any offset='0'], [any asQuery='false'])
|
array |
getAllForExport()
Get all content for export as flat data |
any |
getArchiveReport()
|
any |
saveEntry([any entry], [boolean transactional='true'])
Save an entry |
struct |
search([any search=''], [any isPublished], [any category], [any author], [any max='0'], [any offset='0'], [any sortOrder='publishedDate DESC'], [boolean searchActiveContent='true'])
entry search returns struct with keys [entries,count] |
Methods inherited from class coldbox.system.orm.hibernate.VirtualEntityService |
---|
GETDATASOURCE, GETENTITYNAME, SETDATASOURCE, SETENTITYNAME, clear, convertIDValueToJavaType, convertValueToJavaType, count, countWhere, criteriaCount, criteriaQuery, deleteAll, deleteByID, deleteByQuery, deleteWhere, evict, executeQuery, exists, findAllWhere, findWhere, get, getAll, getKey, getPropertyNames, getSessionStatistics, getTableName, isSessionDirty, list, new, newCriteria, onMissingMethod
|
Methods inherited from class coldbox.system.orm.hibernate.BaseORMService |
---|
$delete, $deleteAll, $deleteByID, $deleteByQuery, $deleteWhere, $save, $saveAll, $transactioned, GETDEFAULTASQUERY, GETEVENTHANDLING, GETHQLDYNAMICCACHE, GETORM, GETORMEVENTHANDLER, GETQUERYCACHEREGION, GETUSEQUERYCACHING, GETUSETRANSACTIONS, SETDEFAULTASQUERY, SETEVENTHANDLING, SETHQLDYNAMICCACHE, SETORM, SETORMEVENTHANDLER, SETQUERYCACHEREGION, SETUSEQUERYCACHING, SETUSETRANSACTIONS, compileHQLFromDynamicMethod, createCriteriaQuery, createService, delete, evictEntity, evictQueries, findAll, findByExample, findDynamically, findIt, getEntityGivenName, getRestrictions, merge, populate, populateFromJSON, populateFromQuery, populateFromXML, populateWithPrefix, refresh, save, saveAll, sessionContains
|
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init()
Method Detail |
---|
public any findPublishedEntries([any max='0'], [any offset='0'], [any category=''], [any searchTerm=''], [any asQuery='false'])
max
offset
category
searchTerm
asQuery
public any findPublishedEntriesByDate([numeric year='0'], [numeric month='0'], [numeric day='0'], [any max='0'], [any offset='0'], [any asQuery='false'])
year
month
day
max
offset
asQuery
public array getAllForExport()
getAllForExport
in class
ContentService
public any getArchiveReport()
public any saveEntry([any entry], [boolean transactional='true'])
entry
transactional
public struct search([any search=''], [any isPublished], [any category], [any author], [any max='0'], [any offset='0'], [any sortOrder='publishedDate DESC'], [boolean searchActiveContent='true'])
search
isPublished
category
author
max
offset
sortOrder
searchActiveContent
|
ContentBox Core API 1.6.0 | ||||
FRAMES |