Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatalists.util
Class BaseDDLExporter

java.lang.Object
  extended by com.liferay.portlet.dynamicdatalists.util.BaseDDLExporter
All Implemented Interfaces:
DDLExporter
Direct Known Subclasses:
DDLCSVExporter, DDLXMLExporter

public abstract class BaseDDLExporter
extends Object
implements DDLExporter


Constructor Summary
BaseDDLExporter()
           
 
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
 

Constructor Detail

BaseDDLExporter

public BaseDDLExporter()
Method Detail

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

Liferay 6.1.2-ce-ga3