Liferay 6.2-ce-ga5

com.liferay.portal.lar
Class LayoutExporter

java.lang.Object
  extended by com.liferay.portal.lar.LayoutExporter

public class LayoutExporter
extends Object


Field Summary
static String SAME_GROUP_FRIENDLY_URL
           
 
Constructor Summary
LayoutExporter()
           
 
Method Summary
protected  File doExportLayoutsAsFile(long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
protected  void exportAssetCategories(PortletDataContext portletDataContext, boolean exportPortletDataAll, boolean exportCategories, boolean companyGroup)
           
protected  void exportLayout(PortletDataContext portletDataContext, long[] layoutIds, Map<String,Object[]> portletIds, Layout layout)
           
 byte[] exportLayouts(long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 File exportLayoutsAsFile(long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
static List<Portlet> getDataSiteLevelPortlets(long companyId)
           
static Map<String,Boolean> getExportPortletControlsMap(long companyId, String portletId, Map<String,String[]> parameterMap)
           
static Map<String,Boolean> getExportPortletControlsMap(long companyId, String portletId, Map<String,String[]> parameterMap, String type)
           
static List<Portlet> getPortletDataHandlerPortlets(List<Layout> layouts)
           
static List<Portlet> getPortletDataHandlerPortlets(long groupId, boolean privateLayout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAME_GROUP_FRIENDLY_URL

public static final String SAME_GROUP_FRIENDLY_URL
See Also:
Constant Field Values
Constructor Detail

LayoutExporter

public LayoutExporter()
Method Detail

getDataSiteLevelPortlets

public static List<Portlet> getDataSiteLevelPortlets(long companyId)
                                              throws Exception
Throws:
Exception

getExportPortletControlsMap

public static Map<String,Boolean> getExportPortletControlsMap(long companyId,
                                                              String portletId,
                                                              Map<String,String[]> parameterMap)
                                                       throws Exception
Throws:
Exception

getExportPortletControlsMap

public static Map<String,Boolean> getExportPortletControlsMap(long companyId,
                                                              String portletId,
                                                              Map<String,String[]> parameterMap,
                                                              String type)
                                                       throws Exception
Throws:
Exception

getPortletDataHandlerPortlets

public static List<Portlet> getPortletDataHandlerPortlets(List<Layout> layouts)
                                                   throws Exception
Throws:
Exception

getPortletDataHandlerPortlets

public static List<Portlet> getPortletDataHandlerPortlets(long groupId,
                                                          boolean privateLayout)
                                                   throws Exception
Throws:
Exception

exportLayouts

public byte[] exportLayouts(long groupId,
                            boolean privateLayout,
                            long[] layoutIds,
                            Map<String,String[]> parameterMap,
                            Date startDate,
                            Date endDate)
                     throws Exception
Throws:
Exception

exportLayoutsAsFile

public File exportLayoutsAsFile(long groupId,
                                boolean privateLayout,
                                long[] layoutIds,
                                Map<String,String[]> parameterMap,
                                Date startDate,
                                Date endDate)
                         throws Exception
Throws:
Exception

doExportLayoutsAsFile

protected File doExportLayoutsAsFile(long groupId,
                                     boolean privateLayout,
                                     long[] layoutIds,
                                     Map<String,String[]> parameterMap,
                                     Date startDate,
                                     Date endDate)
                              throws Exception
Throws:
Exception

exportAssetCategories

protected void exportAssetCategories(PortletDataContext portletDataContext,
                                     boolean exportPortletDataAll,
                                     boolean exportCategories,
                                     boolean companyGroup)
                              throws Exception
Throws:
Exception

exportLayout

protected void exportLayout(PortletDataContext portletDataContext,
                            long[] layoutIds,
                            Map<String,Object[]> portletIds,
                            Layout layout)
                     throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5