com.liferay.portlet.dynamicdatalists.util
Class BaseDDLExporter

java.lang.Object
  extended by com.liferay.portlet.dynamicdatalists.util.BaseDDLExporter
All Implemented Interfaces:
DDLExporter

public abstract class BaseDDLExporter
extends java.lang.Object
implements DDLExporter

Author:
Marcellus Tavares, Manuel de la Peña

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)
           
 java.util.Locale getLocale()
           
 void setLocale(java.util.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 java.lang.Exception
Specified by:
export in interface DDLExporter
Throws:
java.lang.Exception

export

public byte[] export(long recordSetId,
                     int status)
              throws java.lang.Exception
Specified by:
export in interface DDLExporter
Throws:
java.lang.Exception

export

public byte[] export(long recordSetId,
                     int status,
                     int start,
                     int end)
              throws java.lang.Exception
Specified by:
export in interface DDLExporter
Throws:
java.lang.Exception

export

public byte[] export(long recordSetId,
                     int status,
                     int start,
                     int end,
                     OrderByComparator orderByComparator)
              throws java.lang.Exception
Specified by:
export in interface DDLExporter
Throws:
java.lang.Exception

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface DDLExporter

setLocale

public void setLocale(java.util.Locale locale)
Specified by:
setLocale in interface DDLExporter

doExport

protected abstract byte[] doExport(long recordSetId,
                                   int status,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws java.lang.Exception
Throws:
java.lang.Exception