com.liferay.portal.lar
Class PortletExporter
java.lang.Object
com.liferay.portal.lar.PortletExporter
public class PortletExporter
- extends Object
|
Method Summary |
protected File |
doExportPortletInfoAsFile(PortletDataContext portletDataContext)
|
protected void |
exportAssetLinks(PortletDataContext portletDataContext)
|
protected void |
exportAssetTag(PortletDataContext portletDataContext,
AssetTag assetTag,
Element assetTagsElement)
|
protected void |
exportAssetTags(PortletDataContext portletDataContext)
|
protected void |
exportExpandoTables(PortletDataContext portletDataContext)
|
protected void |
exportLocks(PortletDataContext portletDataContext)
|
protected void |
exportPortlet(PortletDataContext portletDataContext,
Layout layout,
Element parentElement,
boolean exportPermissions,
boolean exportPortletArchivedSetups,
boolean exportPortletData,
boolean exportPortletSetup,
boolean exportPortletUserPreferences)
|
void |
exportPortletData(PortletDataContext portletDataContext,
Portlet portlet,
Layout layout,
PortletPreferences jxPortletPreferences,
Element parentElement)
|
File |
exportPortletInfoAsFile(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
protected void |
exportPortletPreference(PortletDataContext portletDataContext,
long ownerId,
int ownerType,
boolean defaultUser,
PortletPreferences portletPreferences,
String portletId,
long plid,
Element parentElement)
|
protected void |
exportPortletPreferences(PortletDataContext portletDataContext,
long ownerId,
int ownerType,
boolean defaultUser,
Layout layout,
long plid,
String portletId,
Element parentElement)
|
protected void |
exportService(PortletDataContext portletDataContext,
Element rootElement,
boolean exportServiceSetup)
|
protected void |
exportServicePortletPreference(PortletDataContext portletDataContext,
long ownerId,
int ownerType,
PortletPreferences portletPreferences,
String serviceName,
Element parentElement)
|
protected void |
exportServicePortletPreferences(PortletDataContext portletDataContext,
long ownerId,
int ownerType,
String serviceName,
Element parentElement)
|
protected String |
getAssetLinkPath(PortletDataContext portletDataContext,
long assetLinkId)
|
protected String |
getAssetTagPath(PortletDataContext portletDataContext,
long assetCategoryId)
|
static PortletExporter |
getInstance()
|
protected String |
getLockPath(PortletDataContext portletDataContext,
String className,
String key,
Lock lock)
|
protected PortletDataContext |
getPortletDataContext(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
protected PortletPreferences |
getPortletPreferences(long ownerId,
int ownerType,
long plid,
String portletId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static PortletExporter getInstance()
exportPortletData
public void exportPortletData(PortletDataContext portletDataContext,
Portlet portlet,
Layout layout,
PortletPreferences jxPortletPreferences,
Element parentElement)
throws Exception
- Throws:
Exception
exportPortletInfoAsFile
public File exportPortletInfoAsFile(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws Exception
- Throws:
Exception
doExportPortletInfoAsFile
protected File doExportPortletInfoAsFile(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
exportAssetLinks
protected void exportAssetLinks(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
exportAssetTag
protected void exportAssetTag(PortletDataContext portletDataContext,
AssetTag assetTag,
Element assetTagsElement)
throws PortalException
- Throws:
PortalException
exportAssetTags
protected void exportAssetTags(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
exportExpandoTables
protected void exportExpandoTables(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
exportLocks
protected void exportLocks(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
exportPortlet
protected void exportPortlet(PortletDataContext portletDataContext,
Layout layout,
Element parentElement,
boolean exportPermissions,
boolean exportPortletArchivedSetups,
boolean exportPortletData,
boolean exportPortletSetup,
boolean exportPortletUserPreferences)
throws Exception
- Throws:
Exception
exportPortletPreference
protected void exportPortletPreference(PortletDataContext portletDataContext,
long ownerId,
int ownerType,
boolean defaultUser,
PortletPreferences portletPreferences,
String portletId,
long plid,
Element parentElement)
throws Exception
- Throws:
Exception
exportPortletPreferences
protected void exportPortletPreferences(PortletDataContext portletDataContext,
long ownerId,
int ownerType,
boolean defaultUser,
Layout layout,
long plid,
String portletId,
Element parentElement)
throws Exception
- Throws:
Exception
exportService
protected void exportService(PortletDataContext portletDataContext,
Element rootElement,
boolean exportServiceSetup)
throws Exception
- Throws:
Exception
exportServicePortletPreference
protected void exportServicePortletPreference(PortletDataContext portletDataContext,
long ownerId,
int ownerType,
PortletPreferences portletPreferences,
String serviceName,
Element parentElement)
throws Exception
- Throws:
Exception
exportServicePortletPreferences
protected void exportServicePortletPreferences(PortletDataContext portletDataContext,
long ownerId,
int ownerType,
String serviceName,
Element parentElement)
throws Exception
- Throws:
Exception
getAssetLinkPath
protected String getAssetLinkPath(PortletDataContext portletDataContext,
long assetLinkId)
getAssetTagPath
protected String getAssetTagPath(PortletDataContext portletDataContext,
long assetCategoryId)
getLockPath
protected String getLockPath(PortletDataContext portletDataContext,
String className,
String key,
Lock lock)
getPortletDataContext
protected PortletDataContext getPortletDataContext(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws PortalException
- Throws:
PortalException
getPortletPreferences
protected PortletPreferences getPortletPreferences(long ownerId,
int ownerType,
long plid,
String portletId)
throws PortalException
- Throws:
PortalException