Liferay 6.2-ce-ga5

com.liferay.portal.lar
Class PortletExporter

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

public class PortletExporter
extends Object


Constructor Summary
PortletExporter()
           
 
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, boolean exportPermissions, boolean exportPortletArchivedSetups, boolean exportPortletData, boolean exportPortletSetup, boolean exportPortletUserPreferences)
           
 void exportPortletData(PortletDataContext portletDataContext, Portlet portlet, Layout layout, PortletPreferences jxPortletPreferences, 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 getAssetLinkPath(PortletDataContext portletDataContext, long assetLinkId)
           
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 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletExporter

public PortletExporter()
Method Detail

exportPortletData

public void exportPortletData(PortletDataContext portletDataContext,
                              Portlet portlet,
                              Layout layout,
                              PortletPreferences jxPortletPreferences,
                              Element parentElement)
                       throws Exception
Throws:
Exception

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,
                             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

exportRatingsEntries

protected void exportRatingsEntries(PortletDataContext portletDataContext,
                                    Element parentElement)
                             throws Exception
Throws:
Exception

getAssetCategoryPath

protected String getAssetCategoryPath(PortletDataContext portletDataContext,
                                      long assetCategoryId)

getAssetLinkPath

protected String getAssetLinkPath(PortletDataContext portletDataContext,
                                  long assetLinkId)

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)

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)

Liferay 6.2-ce-ga5