lucee.Componentcoldbox.system.FrameworkSupertype
coldbox.system.EventHandler
coldbox.system.RestHandler
contentbox.modules.contentbox-admin.handlers.baseHandler
contentbox.modules.contentbox-admin.handlers.baseContentHandler
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- The base content handler which is used by the entries, contentstore and pages handlers to provide uniformity
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
HTMLHelper
|
true
|
false
|
|
any
|
authorService
--------------------------------------------------------------------------.
|
true
|
false
|
|
any
|
categoryService
|
true
|
false
|
|
any
|
contentService
|
true
|
false
|
|
any
|
customFieldService
|
true
|
false
|
|
any
|
editorService
|
true
|
false
|
|
any
|
templateService
|
true
|
false
|
|
any
|
themeService
|
true
|
false
|
Method Summary | |
---|---|
any
|
bulkStatus([any event], [any rc], [any prc], any relocateTo)
Change the status of many content objects. |
any
|
changeOrder([any event], [any rc], [any prc])
Change order of content items. |
any
|
clone([any event], [any rc], [any prc], any relocateTo)
Clone Content. |
any
|
contentTable([any event], [any rc], [any prc])
Content table. |
any
|
editor([any event], [any rc], [any prc])
Show the editor. |
any
|
editorSelector([any event], [any rc], [any prc], [any sortOrder])
Called by editors to bring a modal selector of content. |
any
|
export([any event], [any rc], [any prc])
Export a piece of content. |
any
|
exportAll([any event], [any rc], [any prc])
Export All or Selected Content. |
private any
|
getUserDefaultEditor(any author)
Get the user's default editor with some logic. |
any
|
importAll([any event], [any rc], [any prc], any relocateTo)
Import content. |
any
|
index([any event], [any rc], [any prc])
Show Content. |
any
|
pager([any event], [any rc], [any prc], [any authorID='all'], [any parent], [any max='0'], [any pagination='true'], [any latest='false'])
Content pager viewlet. |
any
|
preHandler([any event], [any action], [any eventArguments], [any rc], [any prc])
Pre Handler interceptions. |
any
|
quickLook([any event], [any rc], [any prc])
Content quick look. |
any
|
remove([any event], [any rc], [any prc], any relocateTo)
Remove one or more pieces of content. |
any
|
save([any event], [any rc], [any prc], any adminPermission, any relocateTo)
Save Content Abstraction. |
any
|
slugify([any event], [any rc], [any prc])
Slugify helper for content slugs. |
Methods inherited from class contentbox.modules.contentbox-admin.handlers.baseHandler |
---|
getMaxRows, getPageOffset |
Methods inherited from class coldbox.system.RestHandler |
---|
aroundHandler, onAnyOtherException, onAuthenticationFailure, onAuthorizationFailure, onEntityNotFoundException, onError, onExpectationFailed, onInvalidHTTPMethod, onInvalidRoute, onMissingAction, onValidationException |
Methods inherited from class coldbox.system.EventHandler |
---|
_actionExists, _actionMetadata, _privateInvoker, init, onHandlerDIComplete |
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
announce, announceInterception, async, back, externalView, forAttribute, getCache, getCachebox, getColdBoxSetting, getController, getDateTimeHelper, getEnv, getFlash, getFlow, getInstance, getIsoTime, getJsonUtil, getLog, getLogBox, getModuleConfig, getModuleSettings, getRenderer, getRequestCollection, getRequestContext, getRootWireBox, getSetting, getSystemProperty, getSystemSetting, getUserSessionIdentifier, getWirebox, ifNull, ifPresent, inDebugMode, includeUDF, isDevelopment, isProduction, isTesting, layout, listen, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populate, populateModel, relocate, renderExternalView, renderLayout, renderview, runEvent, runRoute, setCachebox, setController, setEnv, setFlash, setFlow, setJsonUtil, setLog, setLogBox, setSetting, setWirebox, settingExists, throwIf, throwUnless, toJson, unless, view, when |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- HTMLHelper@coldboxserializable
- true-------------------------------------------------------------------------- Core Dependencies --------------------------------------------------------------------------
access
- publicrequired
- falsereturntype
- anyinject
- authorService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- categoryService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- contentService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- customFieldService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- editorService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- ContentTemplateService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- themeService@contentboxserializable
- trueMethod Detail |
---|
Change the status of many content objects
event
rc
prc
relocateTo
- Where to relocate when done updatingChange order of content items
event
rc
prc
Clone Content
event
rc
prc
relocateTo
- Where to relocate to when saving is doneContent table
event
rc
prc
Show the editor
event
rc
prc
Called by editors to bring a modal selector of content
event
rc
prc
sortOrder
- The sorting for the results tableExport a piece of content
event
rc
prc
Export All or Selected Content
event
rc
prc
Get the user's default editor with some logic
author
- The author object to get the default editor fromImport content
event
rc
prc
relocateTo
- Where to relocate to when saving is doneShow Content
event
rc
prc
Content pager viewlet. Used for embedding a table visualizer of content according to arguments
event
rc
prc
authorID
- The author to filter the viewlet on. By default we show all content by all authorsparent
- Do we want to root the content at a specific parent not or not, by default we do notmax
- The maximum number of records to show, default is using the settings maxrowspagination
- Show pagination caroussel or not, default is truelatest
- Show the latest content ordering or by natural orderingPre Handler interceptions
event
action
eventArguments
rc
prc
Content quick look
event
rc
prc
Remove one or more pieces of content
event
rc
prc
relocateTo
- Where to relocate to when saving is doneSave Content Abstraction
event
rc
prc
adminPermission
- The admin permission(s) to verify in order to allow for publishing content.relocateTo
- Where to relocate to when saving is doneSlugify helper for content slugs
event
rc
prc