com.liferay.portal.lar
Class PortletExporter
java.lang.Object
com.liferay.portal.lar.PortletExporter
public class PortletExporter
- extends Object
Method Summary |
protected File |
doExportPortletInfoAsFile(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
protected void |
exportAssetCategories(PortletDataContext portletDataContext)
|
protected void |
exportAssetCategories(PortletDataContext portletDataContext,
Element rootElement)
|
protected void |
exportAssetCategory(PortletDataContext portletDataContext,
Element assetVocabulariesElement,
Element assetCategoriesElement,
AssetCategory assetCategory)
|
protected void |
exportAssetCategory(PortletDataContext portletDataContext,
Element assetVocabulariesElement,
Element assetCategoriesElement,
long assetCategoryId)
|
protected void |
exportAssetLinks(PortletDataContext portletDataContext)
|
protected void |
exportAssetTag(PortletDataContext portletDataContext,
AssetTag assetTag,
Element assetTagsElement)
|
protected void |
exportAssetTags(PortletDataContext portletDataContext)
|
protected void |
exportAssetVocabulary(PortletDataContext portletDataContext,
Element assetVocabulariesElement,
AssetVocabulary assetVocabulary)
|
protected void |
exportAssetVocabulary(PortletDataContext portletDataContext,
Element assetVocabulariesElement,
long assetVocabularyId)
|
protected void |
exportComments(PortletDataContext portletDataContext)
|
protected void |
exportExpandoTables(PortletDataContext portletDataContext)
|
protected void |
exportLocks(PortletDataContext portletDataContext)
|
protected void |
exportPortlet(PortletDataContext portletDataContext,
LayoutCache layoutCache,
String portletId,
Layout layout,
Element parentElement,
long defaultUserId,
boolean exportPermissions,
boolean exportPortletArchivedSetups,
boolean exportPortletData,
boolean exportPortletSetup,
boolean exportPortletUserPreferences,
boolean exportUserPermissions)
|
protected void |
exportPortletData(PortletDataContext portletDataContext,
Portlet portlet,
Layout layout,
PortletPreferences jxPreferences,
Element parentElement)
|
byte[] |
exportPortletInfo(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
Deprecated. |
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 |
exportRatingsEntries(PortletDataContext portletDataContext,
Element parentElement)
|
protected String |
getAssetCategoryPath(PortletDataContext portletDataContext,
long assetCategoryId)
|
protected String |
getAssetTagPath(PortletDataContext portletDataContext,
long assetCategoryId)
|
protected String |
getAssetVocabulariesPath(PortletDataContext portletDataContext,
long assetVocabularyId)
|
protected String |
getCommentPath(PortletDataContext portletDataContext,
String className,
String classPK,
MBMessage mbMessage)
|
protected String |
getCommentsPath(PortletDataContext portletDataContext,
String className,
String classPK)
|
protected String |
getLockPath(PortletDataContext portletDataContext,
String className,
String key,
Lock lock)
|
protected String |
getPortletDataPath(PortletDataContext portletDataContext,
String portletId)
|
protected String |
getPortletPreferencesPath(PortletDataContext portletDataContext,
String portletId,
long ownerId,
int ownerType,
long plid)
|
protected String |
getRatingsEntriesPath(PortletDataContext portletDataContext,
String className,
String classPK)
|
protected String |
getRatingsEntryPath(PortletDataContext portletDataContext,
String className,
String classPK,
RatingsEntry ratingsEntry)
|
protected String |
updateAssetCategoriesNavigationPortletPreferences(String xml,
long plid)
|
protected void |
updateAssetPublisherClassNameIds(PortletPreferences jxPreferences,
String key)
|
protected String |
updateAssetPublisherPortletPreferences(String xml,
long plid)
|
protected void |
updateAssetPublisherScopeIds(PortletPreferences jxPreferences,
String key,
long plid)
|
protected void |
updatePreferencesClassPKs(PortletPreferences jxPreferences,
String key,
String className)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletExporter
public PortletExporter()
exportPortletInfo
@Deprecated
public byte[] exportPortletInfo(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws Exception
- Deprecated.
- 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(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws Exception
- Throws:
Exception
exportAssetCategories
protected void exportAssetCategories(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
exportAssetCategories
protected void exportAssetCategories(PortletDataContext portletDataContext,
Element rootElement)
throws Exception
- Throws:
Exception
exportAssetCategory
protected void exportAssetCategory(PortletDataContext portletDataContext,
Element assetVocabulariesElement,
Element assetCategoriesElement,
AssetCategory assetCategory)
throws Exception
- Throws:
Exception
exportAssetCategory
protected void exportAssetCategory(PortletDataContext portletDataContext,
Element assetVocabulariesElement,
Element assetCategoriesElement,
long assetCategoryId)
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,
SystemException
- Throws:
PortalException
SystemException
exportAssetTags
protected void exportAssetTags(PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
exportAssetVocabulary
protected void exportAssetVocabulary(PortletDataContext portletDataContext,
Element assetVocabulariesElement,
AssetVocabulary assetVocabulary)
throws Exception
- Throws:
Exception
exportAssetVocabulary
protected void exportAssetVocabulary(PortletDataContext portletDataContext,
Element assetVocabulariesElement,
long assetVocabularyId)
throws Exception
- Throws:
Exception
exportComments
protected void exportComments(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,
LayoutCache layoutCache,
String portletId,
Layout layout,
Element parentElement,
long defaultUserId,
boolean exportPermissions,
boolean exportPortletArchivedSetups,
boolean exportPortletData,
boolean exportPortletSetup,
boolean exportPortletUserPreferences,
boolean exportUserPermissions)
throws Exception
- Throws:
Exception
exportPortletData
protected void exportPortletData(PortletDataContext portletDataContext,
Portlet portlet,
Layout layout,
PortletPreferences jxPreferences,
Element parentElement)
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
exportRatingsEntries
protected void exportRatingsEntries(PortletDataContext portletDataContext,
Element parentElement)
throws Exception
- Throws:
Exception
getAssetCategoryPath
protected String getAssetCategoryPath(PortletDataContext portletDataContext,
long assetCategoryId)
getAssetTagPath
protected String getAssetTagPath(PortletDataContext portletDataContext,
long assetCategoryId)
getAssetVocabulariesPath
protected String getAssetVocabulariesPath(PortletDataContext portletDataContext,
long assetVocabularyId)
getCommentPath
protected String getCommentPath(PortletDataContext portletDataContext,
String className,
String classPK,
MBMessage mbMessage)
getCommentsPath
protected String getCommentsPath(PortletDataContext portletDataContext,
String className,
String classPK)
getLockPath
protected String getLockPath(PortletDataContext portletDataContext,
String className,
String key,
Lock lock)
getPortletDataPath
protected String getPortletDataPath(PortletDataContext portletDataContext,
String portletId)
getPortletPreferencesPath
protected String getPortletPreferencesPath(PortletDataContext portletDataContext,
String portletId,
long ownerId,
int ownerType,
long plid)
getRatingsEntriesPath
protected String getRatingsEntriesPath(PortletDataContext portletDataContext,
String className,
String classPK)
getRatingsEntryPath
protected String getRatingsEntryPath(PortletDataContext portletDataContext,
String className,
String classPK,
RatingsEntry ratingsEntry)
updateAssetCategoriesNavigationPortletPreferences
protected String updateAssetCategoriesNavigationPortletPreferences(String xml,
long plid)
throws Exception
- Throws:
Exception
updateAssetPublisherClassNameIds
protected void updateAssetPublisherClassNameIds(PortletPreferences jxPreferences,
String key)
throws Exception
- Throws:
Exception
updateAssetPublisherPortletPreferences
protected String updateAssetPublisherPortletPreferences(String xml,
long plid)
throws Exception
- Throws:
Exception
updateAssetPublisherScopeIds
protected void updateAssetPublisherScopeIds(PortletPreferences jxPreferences,
String key,
long plid)
throws Exception
- Throws:
Exception
updatePreferencesClassPKs
protected void updatePreferencesClassPKs(PortletPreferences jxPreferences,
String key,
String className)
throws Exception
- Throws:
Exception