public class ExportManager extends java.lang.Object implements ExportConstants
getInstance()
).Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
EXPORT_DIR, EXPORT_IPFILTER_PROP, EXPORT_LOG_FILE, EXPORT_MAX_DATA_PROP, EXPORT_POLICY_EXPORTSET, EXPORT_QH_ATTR, EXPORT_SOURCE_URL_PROP
DATA_TAG, DATASET_TAG, FIELD_CLASS, FIELD_ENTRY, FIELD_ITEM, FIELD_KEY, FIELD_NAME, FIELD_TAG, FIELD_VALUE, FILE_FIELD, FILE_ID, FILE_MTIME, FILE_SIZE, FILE_TAG, FILE_TICKET, FILESET_TAG, RELATED_TAG
Modifier and Type | Method and Description |
---|---|
boolean |
checkIP(java.lang.String ip)
Returns true if the given IP address is authorized and the ExportManager is enabled.
|
java.lang.String |
exportXml(Data data)
Deprecated.
|
java.lang.String |
exportXml(Data data,
Member mbr)
Returns the XML export for the given data.
|
java.lang.String |
exportXml(java.util.Set<? extends Data> dataSet)
Returns the XML export for the given data set.
|
java.lang.String |
exportXml(java.lang.String queryString)
Deprecated.
|
java.lang.String |
exportXml(java.lang.String queryString,
Member mbr)
Returns the XML export for the given JCMS query.
|
static ExportManager |
getInstance()
Returns the singleton.
|
void |
init() |
boolean |
isEnabled()
Returns true if the Export Manager is enabled.
|
public static final java.lang.String REVISION
public static ExportManager getInstance()
public boolean isEnabled()
public void init()
public boolean checkIP(java.lang.String ip)
ip
- the IP address to be checkedpublic java.lang.String exportXml(Data data)
exportXml(Data, Member)
data
- the data to be exported.public java.lang.String exportXml(Data data, Member mbr)
data
- the data to be exported.mbr
- the memberpublic java.lang.String exportXml(java.lang.String queryString)
exportXml(String, Member)
ExportConstants.EXPORT_QH_ATTR
is set to allow QueryFilters to have a special behavior for export query.queryString
- a JCMS query string (eg. types=Article&cids=c_1234)public java.lang.String exportXml(java.lang.String queryString, Member mbr)
ExportConstants.EXPORT_QH_ATTR
is set to allow QueryFilters to have a special behavior for export query.queryString
- a JCMS query string (eg. types=Article&cids=c_1234)mbr
- the memberpublic java.lang.String exportXml(java.util.Set<? extends Data> dataSet)
dataSet
- the data to be exported.Copyright © 2001-2010 Jalios SA. All Rights Reserved.