public interface DDLExporter
DDLExporterFactory
that created this service.DDLExporterFactory
Modifier and Type | Method and Description |
---|---|
byte[] |
export(long recordSetId)
Exports the record set's records as a byte array.
|
byte[] |
export(long recordSetId,
int status)
Exports the record set's records of the workflow status as a byte array.
|
byte[] |
export(long recordSetId,
int status,
int start,
int end)
Exports a range of the record set's records as a byte array.
|
byte[] |
export(long recordSetId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator)
Exports an ordered range of the record set's records as a byte array.
|
java.lang.String |
getFormat()
Returns the export format of the current DDL Exporter service instance.
|
java.util.Locale |
getLocale()
Returns the locale of the current DDL Exporter service instance.
|
void |
setLocale(java.util.Locale locale)
Returns the locale of the current DDL Exporter service instance.
|
byte[] export(long recordSetId) throws java.lang.Exception
recordSetId
- the record set IDjava.lang.Exception
- if an unexpected exception occurredbyte[] export(long recordSetId, int status) throws java.lang.Exception
recordSetId
- the record set IDstatus
- the workflow status of the records to exportjava.lang.Exception
- if an unexpected exception occurredbyte[] export(long recordSetId, int status, int start, int end) throws java.lang.Exception
recordSetId
- the record set IDstatus
- the workflow status of the recordsstart
- the lower bound of the range of records to exportend
- the upper bound of the range of records to export (not
inclusive)java.lang.Exception
- if an unexpected exception occurredbyte[] export(long recordSetId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecord> orderByComparator) throws java.lang.Exception
recordSetId
- the record set IDstatus
- the workflow status of the recordsstart
- the lower bound of the range of records to exportend
- the upper bound of the range of records to export (not
inclusive)orderByComparator
- a comparator to order the records (optionally
null
)java.lang.Exception
- if an unexpected exception occurredjava.lang.String getFormat()
java.util.Locale getLocale()
void setLocale(java.util.Locale locale)
locale
- the locale used to retrieve the localized values of the
record