railo-context.Componentcontentbox.model.exporters.DataExporter
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. Exporter for Data-based content
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
content
|
true
|
false
|
|
string
|
displayName
|
true
|
false
|
|
string
|
fileName
|
true
|
false
|
|
string
|
format
|
true
|
false
|
|
any
|
log
|
true
|
false
|
|
numeric
|
priority
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
string
|
getContent()
|
string
|
getDisplayName()
|
string
|
getFileName()
|
string
|
getFormat()
|
string
|
getLog()
|
string
|
getName()
Gets the name of the exporter. |
string
|
getPriority()
|
numeric
|
getTotal()
Gets "total" based on content type. |
boolean
|
isValid()
Determines if exporter is valid based on validation criteria. |
any
|
setContent(any content)
|
any
|
setDisplayName(string displayName)
|
any
|
setFileName(string fileName)
|
any
|
setFormat(string format)
|
any
|
setLog(any log)
|
any
|
setPriority(numeric priority)
|
array
|
validate()
Custom validator for this exporter. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
required
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseinject
- logbox:logger:{this}serializable
- truerequired
- falseserializable
- trueMethod Detail |
---|
Gets the name of the exporter
getName
in interface
ICBExporter
Gets "total" based on content type
getTotal
in interface
ICBExporter
Determines if exporter is valid based on validation criteria
isValid
in interface
ICBExporter
content
displayName
fileName
format
log
priority
Custom validator for this exporter...any rules can be applied
validate
in interface
ICBExporter