com.liferay.portal.lar
Class LayoutExporter
java.lang.Object
com.liferay.portal.lar.LayoutExporter
public class LayoutExporter
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan, Joel Kozikowski, Charles May, Raymond Augé, Jorge Ferrer, Bruno Farache
Method Summary |
protected void |
exportLayoutPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.model.Group guestGroup,
com.liferay.portal.model.Layout layout,
org.dom4j.Element permissionsEl,
boolean exportUserPermissions)
|
protected void |
exportLayoutRoles(LayoutCache layoutCache,
long companyId,
long groupId,
org.dom4j.Element rolesEl)
|
byte[] |
exportLayouts(long groupId,
boolean privateLayout,
long[] layoutIds,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.util.Date startDate,
java.util.Date endDate)
|
protected byte[] |
exportTheme(com.liferay.portal.model.LayoutSet layoutSet)
|
protected void |
exportThemeFiles(java.lang.String path,
java.io.File dir,
com.liferay.portal.kernel.zip.ZipWriter zipWriter)
|
protected java.lang.String |
getLayoutIconPath(com.liferay.portal.kernel.lar.PortletDataContext context,
com.liferay.portal.model.Layout layout,
com.liferay.portal.model.Image image)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutExporter
public LayoutExporter()
exportLayouts
public byte[] exportLayouts(long groupId,
boolean privateLayout,
long[] layoutIds,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.util.Date startDate,
java.util.Date endDate)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportLayoutPermissions
protected void exportLayoutPermissions(LayoutCache layoutCache,
long companyId,
long groupId,
com.liferay.portal.model.Group guestGroup,
com.liferay.portal.model.Layout layout,
org.dom4j.Element permissionsEl,
boolean exportUserPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportLayoutRoles
protected void exportLayoutRoles(LayoutCache layoutCache,
long companyId,
long groupId,
org.dom4j.Element rolesEl)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportTheme
protected byte[] exportTheme(com.liferay.portal.model.LayoutSet layoutSet)
throws java.io.IOException
- Throws:
java.io.IOException
exportThemeFiles
protected void exportThemeFiles(java.lang.String path,
java.io.File dir,
com.liferay.portal.kernel.zip.ZipWriter zipWriter)
throws java.io.IOException
- Throws:
java.io.IOException
getLayoutIconPath
protected java.lang.String getLayoutIconPath(com.liferay.portal.kernel.lar.PortletDataContext context,
com.liferay.portal.model.Layout layout,
com.liferay.portal.model.Image image)