railo-context.Componentcontentbox.model.media.MediaService
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. Manage's the system's media files
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
log
|
true
|
false
|
|
any
|
moduleSettings
|
true
|
false
|
|
any
|
providers
|
true
|
false
|
|
any
|
settingService
|
true
|
false
|
Constructor Summary | |
---|---|
init(any wirebox)
Constructor. |
Method Summary | |
---|---|
any
|
getCoreMediaRoot(boolean absolute='false')
Get the path to the core media root. |
any
|
getDefaultProvider()
Get the default system media provider object. |
any
|
getDefaultProviderName()
Get the default system media provider name. |
string
|
getLog()
|
string
|
getModuleSettings()
|
any
|
getProvider(any name)
Get a named provider object. |
string
|
getProviders()
|
array
|
getRegisteredProviders()
Get an array of registered providers in alphabetical order. |
array
|
getRegisteredProvidersMap()
Get an array of registered provider names in alphabetical order with their display names. |
string
|
getSettingService()
|
MediaService
|
registerProvider(IMediaProvider provider)
Register a new media provider in ContentBox. |
any
|
setLog(any log)
|
any
|
setModuleSettings(any moduleSettings)
|
any
|
setProviders(any providers)
|
any
|
setSettingService(any settingService)
|
MediaService
|
unRegisterProvider(any name)
UnRegister a provider in ContentBox. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
wirebox
Property Detail |
---|
required
- falseinject
- logbox:logger:{this}serializable
- truerequired
- falseinject
- coldbox:modulesettings:contentbox-uiserializable
- truerequired
- falseserializable
- truerequired
- falseinject
- settingservice@cbserializable
- trueMethod Detail |
---|
Get the path to the core media root
absolute
Get the default system media provider object
Get the default system media provider name
Get a named provider object
name
Get an array of registered providers in alphabetical order
Get an array of registered provider names in alphabetical order with their display names
Register a new media provider in ContentBox
provider
log
moduleSettings
providers
settingService
UnRegister a provider in ContentBox
name