Liferay 6.2-ce-ga5

com.liferay.portal.kernel.lar
Interface ExportImportHelper

All Known Implementing Classes:
ExportImportHelperImpl

public interface ExportImportHelper


Field Summary
static String DATA_HANDLER_COMPANY_SECURE_URL
           
static String DATA_HANDLER_COMPANY_URL
           
static String DATA_HANDLER_GROUP_FRIENDLY_URL
           
static String DATA_HANDLER_PATH_CONTEXT
           
static String DATA_HANDLER_PRIVATE_GROUP_SERVLET_MAPPING
           
static String DATA_HANDLER_PRIVATE_LAYOUT_SET_SECURE_URL
           
static String DATA_HANDLER_PRIVATE_LAYOUT_SET_URL
           
static String DATA_HANDLER_PRIVATE_USER_SERVLET_MAPPING
           
static String DATA_HANDLER_PUBLIC_LAYOUT_SET_SECURE_URL
           
static String DATA_HANDLER_PUBLIC_LAYOUT_SET_URL
           
static String DATA_HANDLER_PUBLIC_SERVLET_MAPPING
           
static String TEMP_FOLDER_NAME
           
 
Method Summary
 Calendar getCalendar(PortletRequest portletRequest, String paramPrefix, boolean timeZoneSensitive)
           
 DateRange getDateRange(PortletRequest portletRequest, long groupId, boolean privateLayout, long plid, String portletId, String defaultRange)
           
 Layout getExportableLayout(ThemeDisplay themeDisplay)
           
 String getExportableRootPortletId(long companyId, String portletId)
           
 Map<Long,Boolean> getLayoutIdMap(PortletRequest portletRequest)
           
 long[] getLayoutIds(List<Layout> layouts)
           
 ZipWriter getLayoutSetZipWriter(long groupId)
           
 ManifestSummary getManifestSummary(long userId, long groupId, Map<String,String[]> parameterMap, File file)
           
 ManifestSummary getManifestSummary(long userId, long groupId, Map<String,String[]> parameterMap, FileEntry fileEntry)
           
 long getModelDeletionCount(PortletDataContext portletDataContext, StagedModelType stagedModelType)
           
 ZipWriter getPortletZipWriter(String portletId)
           
 String getSelectedLayoutsJSON(long groupId, boolean privateLayout, String selectedNodes)
           
 FileEntry getTempFileEntry(long groupId, long userId, String folderName)
           
 void reindex(PortletDataContext portletDataContext, long userId)
           
 String replaceExportContentReferences(PortletDataContext portletDataContext, StagedModel entityStagedModel, Element entityElement, String content, boolean exportReferencedContent)
           
 String replaceExportDLReferences(PortletDataContext portletDataContext, StagedModel entityStagedModel, Element entityElement, String content, boolean exportReferencedContent)
           
 String replaceExportLayoutReferences(PortletDataContext portletDataContext, String content, boolean exportReferencedContent)
           
 String replaceExportLinksToLayouts(PortletDataContext portletDataContext, StagedModel entityStagedModel, Element entityElement, String content, boolean exportReferencedContent)
           
 String replaceImportContentReferences(PortletDataContext portletDataContext, Element entityElement, String content, boolean importReferencedContent)
           
 String replaceImportDLReferences(PortletDataContext portletDataContext, Element entityElement, String content, boolean importReferencedContent)
           
 String replaceImportLayoutReferences(PortletDataContext portletDataContext, String content, boolean importReferencedContent)
           
 String replaceImportLinksToLayouts(PortletDataContext portletDataContext, String content, boolean importReferencedContent)
           
 void updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext, Portlet portlet, PortletPreferences portletPreferences, String key, String className, Element rootElement)
           
 void updateImportPortletPreferencesClassPKs(PortletDataContext portletDataContext, PortletPreferences portletPreferences, String key, Class<?> clazz, long companyGroupId)
           
 MissingReferences validateMissingReferences(long userId, long groupId, Map<String,String[]> parameterMap, File file)
           
 void writeManifestSummary(Document document, ManifestSummary manifestSummary)
           
 

Field Detail

DATA_HANDLER_COMPANY_SECURE_URL

static final String DATA_HANDLER_COMPANY_SECURE_URL
See Also:
Constant Field Values

DATA_HANDLER_COMPANY_URL

static final String DATA_HANDLER_COMPANY_URL
See Also:
Constant Field Values

DATA_HANDLER_GROUP_FRIENDLY_URL

static final String DATA_HANDLER_GROUP_FRIENDLY_URL
See Also:
Constant Field Values

DATA_HANDLER_PATH_CONTEXT

static final String DATA_HANDLER_PATH_CONTEXT
See Also:
Constant Field Values

DATA_HANDLER_PRIVATE_GROUP_SERVLET_MAPPING

static final String DATA_HANDLER_PRIVATE_GROUP_SERVLET_MAPPING
See Also:
Constant Field Values

DATA_HANDLER_PRIVATE_LAYOUT_SET_SECURE_URL

static final String DATA_HANDLER_PRIVATE_LAYOUT_SET_SECURE_URL
See Also:
Constant Field Values

DATA_HANDLER_PRIVATE_LAYOUT_SET_URL

static final String DATA_HANDLER_PRIVATE_LAYOUT_SET_URL
See Also:
Constant Field Values

DATA_HANDLER_PRIVATE_USER_SERVLET_MAPPING

static final String DATA_HANDLER_PRIVATE_USER_SERVLET_MAPPING
See Also:
Constant Field Values

DATA_HANDLER_PUBLIC_LAYOUT_SET_SECURE_URL

static final String DATA_HANDLER_PUBLIC_LAYOUT_SET_SECURE_URL
See Also:
Constant Field Values

DATA_HANDLER_PUBLIC_LAYOUT_SET_URL

static final String DATA_HANDLER_PUBLIC_LAYOUT_SET_URL
See Also:
Constant Field Values

DATA_HANDLER_PUBLIC_SERVLET_MAPPING

static final String DATA_HANDLER_PUBLIC_SERVLET_MAPPING
See Also:
Constant Field Values

TEMP_FOLDER_NAME

static final String TEMP_FOLDER_NAME
Method Detail

reindex

void reindex(PortletDataContext portletDataContext,
             long userId)
             throws PortalException,
                    SystemException
Throws:
PortalException
SystemException

getCalendar

Calendar getCalendar(PortletRequest portletRequest,
                     String paramPrefix,
                     boolean timeZoneSensitive)

getDateRange

DateRange getDateRange(PortletRequest portletRequest,
                       long groupId,
                       boolean privateLayout,
                       long plid,
                       String portletId,
                       String defaultRange)
                       throws Exception
Throws:
Exception

getExportableLayout

Layout getExportableLayout(ThemeDisplay themeDisplay)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getExportableRootPortletId

String getExportableRootPortletId(long companyId,
                                  String portletId)
                                  throws Exception
Throws:
Exception

getLayoutIdMap

Map<Long,Boolean> getLayoutIdMap(PortletRequest portletRequest)
                                 throws Exception
Throws:
Exception

getLayoutIds

long[] getLayoutIds(List<Layout> layouts)

getLayoutSetZipWriter

ZipWriter getLayoutSetZipWriter(long groupId)

getManifestSummary

ManifestSummary getManifestSummary(long userId,
                                   long groupId,
                                   Map<String,String[]> parameterMap,
                                   File file)
                                   throws Exception
Throws:
Exception

getManifestSummary

ManifestSummary getManifestSummary(long userId,
                                   long groupId,
                                   Map<String,String[]> parameterMap,
                                   FileEntry fileEntry)
                                   throws Exception
Throws:
Exception

getModelDeletionCount

long getModelDeletionCount(PortletDataContext portletDataContext,
                           StagedModelType stagedModelType)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getPortletZipWriter

ZipWriter getPortletZipWriter(String portletId)

getSelectedLayoutsJSON

String getSelectedLayoutsJSON(long groupId,
                              boolean privateLayout,
                              String selectedNodes)
                              throws SystemException
Throws:
SystemException

getTempFileEntry

FileEntry getTempFileEntry(long groupId,
                           long userId,
                           String folderName)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

replaceExportContentReferences

String replaceExportContentReferences(PortletDataContext portletDataContext,
                                      StagedModel entityStagedModel,
                                      Element entityElement,
                                      String content,
                                      boolean exportReferencedContent)
                                      throws Exception
Throws:
Exception

replaceExportDLReferences

String replaceExportDLReferences(PortletDataContext portletDataContext,
                                 StagedModel entityStagedModel,
                                 Element entityElement,
                                 String content,
                                 boolean exportReferencedContent)
                                 throws Exception
Throws:
Exception

replaceExportLayoutReferences

String replaceExportLayoutReferences(PortletDataContext portletDataContext,
                                     String content,
                                     boolean exportReferencedContent)
                                     throws Exception
Throws:
Exception

replaceExportLinksToLayouts

String replaceExportLinksToLayouts(PortletDataContext portletDataContext,
                                   StagedModel entityStagedModel,
                                   Element entityElement,
                                   String content,
                                   boolean exportReferencedContent)
                                   throws Exception
Throws:
Exception

replaceImportContentReferences

String replaceImportContentReferences(PortletDataContext portletDataContext,
                                      Element entityElement,
                                      String content,
                                      boolean importReferencedContent)
                                      throws Exception
Throws:
Exception

replaceImportDLReferences

String replaceImportDLReferences(PortletDataContext portletDataContext,
                                 Element entityElement,
                                 String content,
                                 boolean importReferencedContent)
                                 throws Exception
Throws:
Exception

replaceImportLayoutReferences

String replaceImportLayoutReferences(PortletDataContext portletDataContext,
                                     String content,
                                     boolean importReferencedContent)
                                     throws Exception
Throws:
Exception

replaceImportLinksToLayouts

String replaceImportLinksToLayouts(PortletDataContext portletDataContext,
                                   String content,
                                   boolean importReferencedContent)
                                   throws Exception
Throws:
Exception

updateExportPortletPreferencesClassPKs

void updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
                                            Portlet portlet,
                                            PortletPreferences portletPreferences,
                                            String key,
                                            String className,
                                            Element rootElement)
                                            throws Exception
Throws:
Exception

updateImportPortletPreferencesClassPKs

void updateImportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
                                            PortletPreferences portletPreferences,
                                            String key,
                                            Class<?> clazz,
                                            long companyGroupId)
                                            throws Exception
Throws:
Exception

validateMissingReferences

MissingReferences validateMissingReferences(long userId,
                                            long groupId,
                                            Map<String,String[]> parameterMap,
                                            File file)
                                            throws Exception
Throws:
Exception

writeManifestSummary

void writeManifestSummary(Document document,
                          ManifestSummary manifestSummary)

Liferay 6.2-ce-ga5