com.liferay.portlet.exportimport.lar
Class LayoutExporter
java.lang.Object
com.liferay.portlet.exportimport.lar.LayoutExporter
public class LayoutExporter
- extends Object
|
Method Summary |
protected File |
doExportLayoutsAsFile(PortletDataContext portletDataContext,
long[] layoutIds)
|
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)
Deprecated. As of 7.0.0, with no direct replacement |
File |
exportLayoutsAsFile(long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
static List<Portlet> |
getDataSiteLevelPortlets(long companyId)
|
static List<Portlet> |
getDataSiteLevelPortlets(long companyId,
boolean excludeDataAlwaysStaged)
|
static LayoutExporter |
getInstance()
|
protected PortletDataContext |
getPortletDataContext(long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
static List<Portlet> |
getPortletDataHandlerPortlets(long groupId,
List<Layout> layouts)
Deprecated. As of 7.0.0, with no direct replacement |
protected int |
getProcessFlag()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDataSiteLevelPortlets
public static List<Portlet> getDataSiteLevelPortlets(long companyId)
throws Exception
- Throws:
Exception
getDataSiteLevelPortlets
public static List<Portlet> getDataSiteLevelPortlets(long companyId,
boolean excludeDataAlwaysStaged)
throws Exception
- Throws:
Exception
getInstance
public static LayoutExporter getInstance()
getPortletDataHandlerPortlets
@Deprecated
public static List<Portlet> getPortletDataHandlerPortlets(long groupId,
List<Layout> layouts)
throws Exception
- Deprecated. As of 7.0.0, with no direct replacement
- Throws:
Exception
exportLayouts
@Deprecated
public byte[] exportLayouts(long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws Exception
- Deprecated. As of 7.0.0, with no direct replacement
- 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(PortletDataContext portletDataContext,
long[] layoutIds)
throws Exception
- Throws:
Exception
exportLayout
protected void exportLayout(PortletDataContext portletDataContext,
long[] layoutIds,
Map<String,Object[]> portletIds,
Layout layout)
throws Exception
- Throws:
Exception
getPortletDataContext
protected PortletDataContext getPortletDataContext(long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws PortalException
- Throws:
PortalException
getProcessFlag
protected int getProcessFlag()