com.liferay.portal.kernel.lar
Interface ExportImportHelper
- All Known Implementing Classes:
- ExportImportHelperImpl
public interface ExportImportHelper
|
Method Summary |
Calendar |
getCalendar(PortletRequest portletRequest,
String paramPrefix,
boolean timeZoneSensitive)
|
DateRange |
getDateRange(PortletRequest portletRequest,
long groupId,
boolean privateLayout,
long plid,
String portletId)
|
Layout |
getExportableLayout(ThemeDisplay themeDisplay)
|
String |
getExportableRootPortletId(long companyId,
String portletId)
|
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)
|
FileEntry |
getTempFileEntry(long groupId,
long userId,
String folderName)
|
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)
|
TEMP_FOLDER_NAME
static final String TEMP_FOLDER_NAME
getCalendar
Calendar getCalendar(PortletRequest portletRequest,
String paramPrefix,
boolean timeZoneSensitive)
getDateRange
DateRange getDateRange(PortletRequest portletRequest,
long groupId,
boolean privateLayout,
long plid,
String portletId)
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
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
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)