@ProviderType
public interface ExportImportHelper
Modifier and Type | Field and Description |
---|---|
static String |
DATA_HANDLER_COMPANY_SECURE_URL
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_COMPANY_URL
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_GROUP_FRIENDLY_URL
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_PATH_CONTEXT
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_PRIVATE_GROUP_SERVLET_MAPPING
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_PRIVATE_LAYOUT_SET_SECURE_URL
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_PRIVATE_LAYOUT_SET_URL
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_PRIVATE_USER_SERVLET_MAPPING
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_PUBLIC_LAYOUT_SET_SECURE_URL
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_PUBLIC_LAYOUT_SET_URL
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
DATA_HANDLER_PUBLIC_SERVLET_MAPPING
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String |
TEMP_FOLDER_NAME |
Modifier and Type | Method and Description |
---|---|
long[] |
getAllLayoutIds(long groupId,
boolean privateLayout) |
Map<Long,Boolean> |
getAllLayoutIdsMap(long groupId,
boolean privateLayout) |
Calendar |
getCalendar(PortletRequest portletRequest,
String paramPrefix,
boolean timeZoneSensitive)
Deprecated.
As of Wilberforce (7.0.x), moved to
ExportImportDateUtil.getCalendar(PortletRequest, String,
boolean) |
List<Portlet> |
getDataSiteLevelPortlets(long companyId) |
List<Portlet> |
getDataSiteLevelPortlets(long companyId,
boolean excludeDataAlwaysStaged) |
DateRange |
getDateRange(PortletRequest portletRequest,
long groupId,
boolean privateLayout,
long plid,
String portletId,
String defaultRange)
Deprecated.
As of Wilberforce (7.0.x), moved to
ExportImportDateUtil.getDateRange(PortletRequest, long,
boolean, long, String, String) |
Layout |
getExportableLayout(ThemeDisplay themeDisplay)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
getExportableRootPortletId(long companyId,
String portletId) |
boolean[] |
getExportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getExportPortletControlsMap(long, String, Map) |
boolean[] |
getExportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap,
String type)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getExportPortletControlsMap(long, String, Map, String) |
Map<String,Boolean> |
getExportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap) |
Map<String,Boolean> |
getExportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap,
String type) |
boolean[] |
getImportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary) |
boolean[] |
getImportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement,
ManifestSummary manifestSummary)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary) |
Map<String,Boolean> |
getImportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement,
ManifestSummary manifestSummary) |
Map<Long,Boolean> |
getLayoutIdMap(PortletRequest portletRequest) |
long[] |
getLayoutIds(List<Layout> layouts) |
long[] |
getLayoutIds(Map<Long,Boolean> layoutIdMap) |
long[] |
getLayoutIds(Map<Long,Boolean> layoutIdMap,
long targetGroupId) |
long[] |
getLayoutIds(PortletRequest portletRequest) |
long[] |
getLayoutIds(PortletRequest portletRequest,
long targetGroupId) |
long |
getLayoutModelDeletionCount(PortletDataContext portletDataContext,
boolean privateLayout) |
Layout |
getLayoutOrCreateDummyRootLayout(long plid)
Returns the layout with the primary key or a dummy root layout.
|
ZipWriter |
getLayoutSetZipWriter(long groupId) |
ManifestSummary |
getManifestSummary(long userId,
long groupId,
Map<String,String[]> parameterMap,
File file)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getManifestSummary(PortletDataContext) |
ManifestSummary |
getManifestSummary(long userId,
long groupId,
Map<String,String[]> parameterMap,
FileEntry fileEntry) |
ManifestSummary |
getManifestSummary(PortletDataContext portletDataContext) |
List<Layout> |
getMissingParentLayouts(Layout layout,
long liveGroupId) |
long |
getModelDeletionCount(PortletDataContext portletDataContext,
StagedModelType stagedModelType) |
String |
getPortletExportFileName(Portlet portlet) |
ZipWriter |
getPortletZipWriter(String portletId) |
String |
getSelectedLayoutsJSON(long groupId,
boolean privateLayout,
String selectedNodes) |
FileEntry |
getTempFileEntry(long groupId,
long userId,
String folderName) |
UserIdStrategy |
getUserIdStrategy(long userId,
String userIdStrategy) |
boolean |
isAlwaysIncludeReference(PortletDataContext portletDataContext,
StagedModel referenceStagedModel) |
boolean |
isExportPortletData(PortletDataContext portletDataContext) |
boolean |
isLayoutRevisionInReview(Layout layout) |
boolean |
isReferenceWithinExportScope(PortletDataContext portletDataContext,
StagedModel stagedModel) |
void |
processBackgroundTaskManifestSummary(long userId,
long sourceGroupId,
BackgroundTask backgroundTask,
File file) |
String |
replaceExportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
Element entityElement,
String content,
boolean exportReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceExportContentReferences(
PortletDataContext, StagedModel, String, boolean, boolean) in
the export-import-api module
|
String |
replaceExportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content,
boolean exportReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceExportContentReferences(
PortletDataContext, StagedModel, String, boolean, boolean) in
the export-import-api module
|
String |
replaceExportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content,
boolean exportReferencedContent,
boolean escapeContent)
Deprecated.
As of Wilberforce (7.0.x), replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessorr#replaceExportContentReferences(
PortletDataContext, StagedModel, String, boolean, boolean) in
the export-import-api module
|
String |
replaceExportDLReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
Element entityElement,
String content,
boolean exportReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceExportDLReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content,
boolean exportReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceExportLayoutReferences(PortletDataContext portletDataContext,
String content)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceExportLayoutReferences(PortletDataContext portletDataContext,
String content,
boolean exportReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceExportLinksToLayouts(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
Element entityElement,
String content,
boolean exportReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceExportLinksToLayouts(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceImportContentReferences(PortletDataContext portletDataContext,
Element entityElement,
String content,
boolean importReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceImportContentReferences(
PortletDataContext, StagedModel, String) in the
export-import-api module
|
String |
replaceImportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content)
Deprecated.
As of Wilberforce (7.0.x), replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceImportContentReferences(
PortletDataContext, StagedModel, String) in the
export-import-api module
|
String |
replaceImportDLReferences(PortletDataContext portletDataContext,
Element entityElement,
String content,
boolean importReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceImportDLReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceImportLayoutReferences(PortletDataContext portletDataContext,
String content)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceImportLayoutReferences(PortletDataContext portletDataContext,
String content,
boolean importReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceImportLinksToLayouts(PortletDataContext portletDataContext,
String content)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
replaceImportLinksToLayouts(PortletDataContext portletDataContext,
String content,
boolean importReferencedContent)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
void |
setPortletScope(PortletDataContext portletDataContext,
Element portletElement) |
void |
updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
Portlet portlet,
PortletPreferences portletPreferences,
String key,
String className)
Deprecated.
|
void |
updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
Portlet portlet,
PortletPreferences portletPreferences,
String key,
String className,
Element rootElement)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateExportPortletPreferencesClassPKs(PortletDataContext,
Portlet, PortletPreferences, String, String) |
void |
updateImportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
PortletPreferences portletPreferences,
String key,
Class<?> clazz,
long companyGroupId)
Deprecated.
|
MissingReferences |
validateMissingReferences(long userId,
long groupId,
Map<String,String[]> parameterMap,
File file)
Deprecated.
As of Wilberforce (7.0.x), replaced by
validateMissingReferences(PortletDataContext) |
MissingReferences |
validateMissingReferences(PortletDataContext portletDataContext) |
void |
writeManifestSummary(Document document,
ManifestSummary manifestSummary) |
@Deprecated static final String DATA_HANDLER_COMPANY_SECURE_URL
@Deprecated static final String DATA_HANDLER_COMPANY_URL
@Deprecated static final String DATA_HANDLER_GROUP_FRIENDLY_URL
@Deprecated static final String DATA_HANDLER_PATH_CONTEXT
@Deprecated static final String DATA_HANDLER_PRIVATE_GROUP_SERVLET_MAPPING
@Deprecated static final String DATA_HANDLER_PRIVATE_LAYOUT_SET_SECURE_URL
@Deprecated static final String DATA_HANDLER_PRIVATE_LAYOUT_SET_URL
@Deprecated static final String DATA_HANDLER_PRIVATE_USER_SERVLET_MAPPING
@Deprecated static final String DATA_HANDLER_PUBLIC_LAYOUT_SET_SECURE_URL
@Deprecated static final String DATA_HANDLER_PUBLIC_LAYOUT_SET_URL
@Deprecated static final String DATA_HANDLER_PUBLIC_SERVLET_MAPPING
static final String TEMP_FOLDER_NAME
long[] getAllLayoutIds(long groupId, boolean privateLayout)
Map<Long,Boolean> getAllLayoutIdsMap(long groupId, boolean privateLayout)
@Deprecated Calendar getCalendar(PortletRequest portletRequest, String paramPrefix, boolean timeZoneSensitive)
ExportImportDateUtil.getCalendar(PortletRequest, String,
boolean)
List<Portlet> getDataSiteLevelPortlets(long companyId) throws Exception
Exception
List<Portlet> getDataSiteLevelPortlets(long companyId, boolean excludeDataAlwaysStaged) throws Exception
Exception
@Deprecated DateRange getDateRange(PortletRequest portletRequest, long groupId, boolean privateLayout, long plid, String portletId, String defaultRange) throws Exception
ExportImportDateUtil.getDateRange(PortletRequest, long,
boolean, long, String, String)
Exception
@Deprecated Layout getExportableLayout(ThemeDisplay themeDisplay) throws PortalException
PortalException
String getExportableRootPortletId(long companyId, String portletId) throws Exception
Exception
@Deprecated boolean[] getExportPortletControls(long companyId, String portletId, Map<String,String[]> parameterMap) throws Exception
getExportPortletControlsMap(long, String, Map)
Exception
@Deprecated boolean[] getExportPortletControls(long companyId, String portletId, Map<String,String[]> parameterMap, String type) throws Exception
getExportPortletControlsMap(long, String, Map, String)
Exception
Map<String,Boolean> getExportPortletControlsMap(long companyId, String portletId, Map<String,String[]> parameterMap) throws Exception
Exception
Map<String,Boolean> getExportPortletControlsMap(long companyId, String portletId, Map<String,String[]> parameterMap, String type) throws Exception
Exception
@Deprecated boolean[] getImportPortletControls(long companyId, String portletId, Map<String,String[]> parameterMap, Element portletDataElement) throws Exception
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary)
Exception
@Deprecated boolean[] getImportPortletControls(long companyId, String portletId, Map<String,String[]> parameterMap, Element portletDataElement, ManifestSummary manifestSummary) throws Exception
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary)
Exception
Map<String,Boolean> getImportPortletControlsMap(long companyId, String portletId, Map<String,String[]> parameterMap, Element portletDataElement, ManifestSummary manifestSummary) throws Exception
Exception
Map<Long,Boolean> getLayoutIdMap(PortletRequest portletRequest) throws PortalException
PortalException
long[] getLayoutIds(List<Layout> layouts)
long[] getLayoutIds(Map<Long,Boolean> layoutIdMap) throws PortalException
PortalException
long[] getLayoutIds(Map<Long,Boolean> layoutIdMap, long targetGroupId) throws PortalException
PortalException
long[] getLayoutIds(PortletRequest portletRequest) throws PortalException
PortalException
long[] getLayoutIds(PortletRequest portletRequest, long targetGroupId) throws PortalException
PortalException
long getLayoutModelDeletionCount(PortletDataContext portletDataContext, boolean privateLayout) throws PortalException
PortalException
Layout getLayoutOrCreateDummyRootLayout(long plid) throws PortalException
plid
- the primary key of the layoutPortalException
- if the layout is not a dummy and no layout with
the primary key could be foundZipWriter getLayoutSetZipWriter(long groupId)
@Deprecated ManifestSummary getManifestSummary(long userId, long groupId, Map<String,String[]> parameterMap, File file) throws Exception
getManifestSummary(PortletDataContext)
Exception
ManifestSummary getManifestSummary(long userId, long groupId, Map<String,String[]> parameterMap, FileEntry fileEntry) throws Exception
Exception
ManifestSummary getManifestSummary(PortletDataContext portletDataContext) throws Exception
Exception
List<Layout> getMissingParentLayouts(Layout layout, long liveGroupId) throws PortalException
PortalException
long getModelDeletionCount(PortletDataContext portletDataContext, StagedModelType stagedModelType) throws PortalException
PortalException
String getPortletExportFileName(Portlet portlet)
ZipWriter getPortletZipWriter(String portletId)
String getSelectedLayoutsJSON(long groupId, boolean privateLayout, String selectedNodes)
FileEntry getTempFileEntry(long groupId, long userId, String folderName) throws PortalException
PortalException
UserIdStrategy getUserIdStrategy(long userId, String userIdStrategy) throws PortalException
PortalException
boolean isAlwaysIncludeReference(PortletDataContext portletDataContext, StagedModel referenceStagedModel)
boolean isExportPortletData(PortletDataContext portletDataContext)
boolean isLayoutRevisionInReview(Layout layout)
boolean isReferenceWithinExportScope(PortletDataContext portletDataContext, StagedModel stagedModel)
void processBackgroundTaskManifestSummary(long userId, long sourceGroupId, BackgroundTask backgroundTask, File file) throws PortalException
PortalException
@Deprecated String replaceExportContentReferences(PortletDataContext portletDataContext, StagedModel entityStagedModel, Element entityElement, String content, boolean exportReferencedContent) throws Exception
Exception
@Deprecated String replaceExportContentReferences(PortletDataContext portletDataContext, StagedModel entityStagedModel, String content, boolean exportReferencedContent) throws Exception
Exception
@Deprecated String replaceExportContentReferences(PortletDataContext portletDataContext, StagedModel entityStagedModel, String content, boolean exportReferencedContent, boolean escapeContent) throws Exception
Exception
@Deprecated String replaceExportDLReferences(PortletDataContext portletDataContext, StagedModel entityStagedModel, Element entityElement, String content, boolean exportReferencedContent) throws Exception
Exception
@Deprecated String replaceExportDLReferences(PortletDataContext portletDataContext, StagedModel entityStagedModel, String content, boolean exportReferencedContent) throws Exception
Exception
@Deprecated String replaceExportLayoutReferences(PortletDataContext portletDataContext, String content) throws Exception
Exception
@Deprecated String replaceExportLayoutReferences(PortletDataContext portletDataContext, String content, boolean exportReferencedContent) throws Exception
Exception
@Deprecated String replaceExportLinksToLayouts(PortletDataContext portletDataContext, StagedModel entityStagedModel, Element entityElement, String content, boolean exportReferencedContent) throws Exception
Exception
@Deprecated String replaceExportLinksToLayouts(PortletDataContext portletDataContext, StagedModel entityStagedModel, String content) throws Exception
Exception
@Deprecated String replaceImportContentReferences(PortletDataContext portletDataContext, Element entityElement, String content, boolean importReferencedContent) throws Exception
Exception
@Deprecated String replaceImportContentReferences(PortletDataContext portletDataContext, StagedModel entityStagedModel, String content) throws Exception
Exception
@Deprecated String replaceImportDLReferences(PortletDataContext portletDataContext, Element entityElement, String content, boolean importReferencedContent) throws Exception
Exception
@Deprecated String replaceImportDLReferences(PortletDataContext portletDataContext, StagedModel entityStagedModel, String content) throws Exception
Exception
@Deprecated String replaceImportLayoutReferences(PortletDataContext portletDataContext, String content) throws Exception
Exception
@Deprecated String replaceImportLayoutReferences(PortletDataContext portletDataContext, String content, boolean importReferencedContent) throws Exception
Exception
@Deprecated String replaceImportLinksToLayouts(PortletDataContext portletDataContext, String content) throws Exception
Exception
@Deprecated String replaceImportLinksToLayouts(PortletDataContext portletDataContext, String content, boolean importReferencedContent) throws Exception
Exception
void setPortletScope(PortletDataContext portletDataContext, Element portletElement)
@Deprecated void updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext, Portlet portlet, PortletPreferences portletPreferences, String key, String className) throws Exception
DefaultConfigurationPortletDataHandler.updateExportPortletPreferencesClassPKs(
PortletDataContext, Portlet, PortletPreferences, String,
String)
Exception
@Deprecated void updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext, Portlet portlet, PortletPreferences portletPreferences, String key, String className, Element rootElement) throws Exception
updateExportPortletPreferencesClassPKs(PortletDataContext,
Portlet, PortletPreferences, String, String)
Exception
@Deprecated void updateImportPortletPreferencesClassPKs(PortletDataContext portletDataContext, PortletPreferences portletPreferences, String key, Class<?> clazz, long companyGroupId) throws Exception
DefaultConfigurationPortletDataHandler.updateImportPortletPreferencesClassPKs(
PortletDataContext, PortletPreferences, String, Class, long)
Exception
@Deprecated MissingReferences validateMissingReferences(long userId, long groupId, Map<String,String[]> parameterMap, File file) throws Exception
validateMissingReferences(PortletDataContext)
Exception
MissingReferences validateMissingReferences(PortletDataContext portletDataContext) throws Exception
Exception
void writeManifestSummary(Document document, ManifestSummary manifestSummary)