Liferay 6.2.0-ce-rc6

com.liferay.portal.lar
Class PortletDataContextFactoryImpl

java.lang.Object
  extended by com.liferay.portal.lar.PortletDataContextFactoryImpl
All Implemented Interfaces:
PortletDataContextFactory

public class PortletDataContextFactoryImpl
extends Object
implements PortletDataContextFactory


Constructor Summary
PortletDataContextFactoryImpl()
           
 
Method Summary
 PortletDataContext clonePortletDataContext(PortletDataContext portletDataContext)
           
 PortletDataContext createExportPortletDataContext(long companyId, long groupId, Map<String,String[]> parameterMap, Date startDate, Date endDate, ZipWriter zipWriter)
           
 PortletDataContext createImportPortletDataContext(long companyId, long groupId, Map<String,String[]> parameterMap, UserIdStrategy userIdStrategy, ZipReader zipReader)
           
protected  PortletDataContext createPortletDataContext(long companyId, long groupId)
           
 PortletDataContext createPreparePortletDataContext(ThemeDisplay themeDisplay, Date startDate, Date endDate)
           
protected  void validateDateRange(Date startDate, Date endDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletDataContextFactoryImpl

public PortletDataContextFactoryImpl()
Method Detail

clonePortletDataContext

public PortletDataContext clonePortletDataContext(PortletDataContext portletDataContext)
Specified by:
clonePortletDataContext in interface PortletDataContextFactory

createExportPortletDataContext

public PortletDataContext createExportPortletDataContext(long companyId,
                                                         long groupId,
                                                         Map<String,String[]> parameterMap,
                                                         Date startDate,
                                                         Date endDate,
                                                         ZipWriter zipWriter)
                                                  throws PortletDataException
Specified by:
createExportPortletDataContext in interface PortletDataContextFactory
Throws:
PortletDataException

createImportPortletDataContext

public PortletDataContext createImportPortletDataContext(long companyId,
                                                         long groupId,
                                                         Map<String,String[]> parameterMap,
                                                         UserIdStrategy userIdStrategy,
                                                         ZipReader zipReader)
Specified by:
createImportPortletDataContext in interface PortletDataContextFactory

createPreparePortletDataContext

public PortletDataContext createPreparePortletDataContext(ThemeDisplay themeDisplay,
                                                          Date startDate,
                                                          Date endDate)
                                                   throws PortletDataException
Specified by:
createPreparePortletDataContext in interface PortletDataContextFactory
Throws:
PortletDataException

createPortletDataContext

protected PortletDataContext createPortletDataContext(long companyId,
                                                      long groupId)

validateDateRange

protected void validateDateRange(Date startDate,
                                 Date endDate)
                          throws PortletDataException
Throws:
PortletDataException

Liferay 6.2.0-ce-rc6