com.liferay.portlet.dynamicdatalists.util
Class BaseDDLExporter
java.lang.Object
com.liferay.portlet.dynamicdatalists.util.BaseDDLExporter
- All Implemented Interfaces:
- DDLExporter
- Direct Known Subclasses:
- DDLCSVExporter, DDLXMLExporter
public abstract class BaseDDLExporter
- extends Object
- implements DDLExporter
Method Summary |
protected abstract byte[] |
doExport(long recordSetId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
byte[] |
export(long recordSetId)
|
byte[] |
export(long recordSetId,
int status)
|
byte[] |
export(long recordSetId,
int status,
int start,
int end)
|
byte[] |
export(long recordSetId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
Locale |
getLocale()
|
void |
setLocale(Locale locale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseDDLExporter
public BaseDDLExporter()
export
public byte[] export(long recordSetId)
throws Exception
- Specified by:
export
in interface DDLExporter
- Throws:
Exception
export
public byte[] export(long recordSetId,
int status)
throws Exception
- Specified by:
export
in interface DDLExporter
- Throws:
Exception
export
public byte[] export(long recordSetId,
int status,
int start,
int end)
throws Exception
- Specified by:
export
in interface DDLExporter
- Throws:
Exception
export
public byte[] export(long recordSetId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws Exception
- Specified by:
export
in interface DDLExporter
- Throws:
Exception
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interface DDLExporter
setLocale
public void setLocale(Locale locale)
- Specified by:
setLocale
in interface DDLExporter
doExport
protected abstract byte[] doExport(long recordSetId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws Exception
- Throws:
Exception