public class ExportImportHelperImpl
extends java.lang.Object
implements com.liferay.exportimport.kernel.lar.ExportImportHelper
DATA_HANDLER_COMPANY_SECURE_URL, DATA_HANDLER_COMPANY_URL, DATA_HANDLER_GROUP_FRIENDLY_URL, DATA_HANDLER_PATH_CONTEXT, DATA_HANDLER_PRIVATE_GROUP_SERVLET_MAPPING, DATA_HANDLER_PRIVATE_LAYOUT_SET_SECURE_URL, DATA_HANDLER_PRIVATE_LAYOUT_SET_URL, DATA_HANDLER_PRIVATE_USER_SERVLET_MAPPING, DATA_HANDLER_PUBLIC_LAYOUT_SET_SECURE_URL, DATA_HANDLER_PUBLIC_LAYOUT_SET_URL, DATA_HANDLER_PUBLIC_SERVLET_MAPPING, TEMP_FOLDER_NAME
Constructor and Description |
---|
ExportImportHelperImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCreateDateProperty(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
protected void |
doAddCriteria(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.exportimport.kernel.lar.StagedModelType stagedModelType,
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
long[] |
getAllLayoutIds(long groupId,
boolean privateLayout) |
java.util.Map<java.lang.Long,java.lang.Boolean> |
getAllLayoutIdsMap(long groupId,
boolean privateLayout) |
java.util.Calendar |
getCalendar(javax.portlet.PortletRequest portletRequest,
java.lang.String paramPrefix,
boolean timeZoneSensitive)
Deprecated.
As of 3.0.0, moved to
ExportImportDateUtil.getCalendar(PortletRequest, String,
boolean) |
java.util.List<com.liferay.portal.kernel.model.Portlet> |
getDataSiteLevelPortlets(long companyId) |
java.util.List<com.liferay.portal.kernel.model.Portlet> |
getDataSiteLevelPortlets(long companyId,
boolean excludeDataAlwaysStaged) |
com.liferay.portal.kernel.util.DateRange |
getDateRange(javax.portlet.PortletRequest portletRequest,
long groupId,
boolean privateLayout,
long plid,
java.lang.String portletId,
java.lang.String defaultRange)
Deprecated.
As of 3.0.0, moved to
ExportImportDateUtil.getDateRange(PortletRequest, long,
boolean, long, String, String) |
com.liferay.portal.kernel.model.Layout |
getExportableLayout(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
getExportableRootPortletId(long companyId,
java.lang.String portletId) |
boolean[] |
getExportPortletControls(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
Deprecated.
As of 3.0.0, replaced by
getExportPortletControlsMap(long, String, Map) |
boolean[] |
getExportPortletControls(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.lang.String type)
Deprecated.
As of 3.0.0, replaced by
getExportPortletControlsMap(long, String, Map, String) |
java.util.Map<java.lang.String,java.lang.Boolean> |
getExportPortletControlsMap(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap) |
java.util.Map<java.lang.String,java.lang.Boolean> |
getExportPortletControlsMap(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.lang.String type) |
protected boolean |
getExportPortletData(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap) |
protected java.util.Map<java.lang.String,java.lang.Boolean> |
getExportPortletSetupControlsMap(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.lang.String type) |
boolean[] |
getImportPortletControls(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
com.liferay.portal.kernel.xml.Element portletDataElement)
Deprecated.
As of 3.0.0, replaced by
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary) |
boolean[] |
getImportPortletControls(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
com.liferay.portal.kernel.xml.Element portletDataElement,
com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary)
Deprecated.
As of 3.0.0, replaced by
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary) |
java.util.Map<java.lang.String,java.lang.Boolean> |
getImportPortletControlsMap(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
com.liferay.portal.kernel.xml.Element portletDataElement,
com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary) |
protected boolean |
getImportPortletData(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
com.liferay.portal.kernel.xml.Element portletDataElement) |
protected java.util.Map<java.lang.String,java.lang.Boolean> |
getImportPortletSetupControlsMap(long companyId,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary) |
java.util.Map<java.lang.Long,java.lang.Boolean> |
getLayoutIdMap(javax.portlet.PortletRequest portletRequest) |
long[] |
getLayoutIds(java.util.List<com.liferay.portal.kernel.model.Layout> layouts) |
long[] |
getLayoutIds(java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap) |
long[] |
getLayoutIds(java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap,
long targetGroupId) |
long[] |
getLayoutIds(javax.portlet.PortletRequest portletRequest) |
long[] |
getLayoutIds(javax.portlet.PortletRequest portletRequest,
long targetGroupId) |
com.liferay.portal.kernel.zip.ZipWriter |
getLayoutSetZipWriter(long groupId) |
com.liferay.exportimport.kernel.lar.ManifestSummary |
getManifestSummary(long userId,
long groupId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
Deprecated.
As of 3.0.0, replaced by
getManifestSummary(PortletDataContext) |
com.liferay.exportimport.kernel.lar.ManifestSummary |
getManifestSummary(long userId,
long groupId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
com.liferay.exportimport.kernel.lar.ManifestSummary |
getManifestSummary(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
java.util.List<com.liferay.portal.kernel.model.Layout> |
getMissingParentLayouts(com.liferay.portal.kernel.model.Layout layout,
long liveGroupId) |
long |
getModelDeletionCount(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.exportimport.kernel.lar.StagedModelType stagedModelType) |
com.liferay.portal.kernel.zip.ZipWriter |
getPortletZipWriter(java.lang.String portletId) |
java.lang.String |
getSelectedLayoutsJSON(long groupId,
boolean privateLayout,
java.lang.String selectedNodes) |
com.liferay.portal.kernel.repository.model.FileEntry |
getTempFileEntry(long groupId,
long userId,
java.lang.String folderName) |
com.liferay.exportimport.kernel.lar.UserIdStrategy |
getUserIdStrategy(long userId,
java.lang.String userIdStrategy) |
protected com.liferay.portal.kernel.zip.ZipWriter |
getZipWriter(java.lang.String fileName) |
boolean |
isAlwaysIncludeReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel referenceStagedModel) |
boolean |
isReferenceWithinExportScope(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel stagedModel) |
protected boolean |
populateLayoutsJSON(com.liferay.portal.kernel.json.JSONArray layoutsJSONArray,
com.liferay.portal.kernel.model.Layout layout,
long[] selectedLayoutIds) |
java.lang.String |
replaceExportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel entityStagedModel,
com.liferay.portal.kernel.xml.Element entityElement,
java.lang.String content,
boolean exportReferencedContent)
Deprecated.
As of 3.0.0, replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceExportContentReferences(
PortletDataContext, StagedModel, String, boolean, boolean) |
java.lang.String |
replaceExportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel entityStagedModel,
java.lang.String content,
boolean exportReferencedContent)
Deprecated.
As of 3.0.0, replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceExportContentReferences(
PortletDataContext, StagedModel, String, boolean, boolean) |
java.lang.String |
replaceExportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel entityStagedModel,
java.lang.String content,
boolean exportReferencedContent,
boolean escapeContent)
Deprecated.
As of 3.0.0, replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceExportContentReferences(
PortletDataContext, StagedModel, String, boolean, boolean) |
java.lang.String |
replaceExportDLReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel entityStagedModel,
com.liferay.portal.kernel.xml.Element entityElement,
java.lang.String content,
boolean exportReferencedContent)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceExportDLReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel entityStagedModel,
java.lang.String content,
boolean exportReferencedContent)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceExportLayoutReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String content)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceExportLayoutReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String content,
boolean exportReferencedContent)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceExportLinksToLayouts(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel entityStagedModel,
com.liferay.portal.kernel.xml.Element entityElement,
java.lang.String content,
boolean exportReferencedContent)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceExportLinksToLayouts(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel entityStagedModel,
java.lang.String content)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceImportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element entityElement,
java.lang.String content,
boolean importReferencedContent)
Deprecated.
As of 3.0.0, replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceImportContentReferences(
PortletDataContext, StagedModel, String) |
java.lang.String |
replaceImportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel entityStagedModel,
java.lang.String content)
Deprecated.
As of 3.0.0, replaced by
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceImportContentReferences(
PortletDataContext, StagedModel, String) |
java.lang.String |
replaceImportDLReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element entityElement,
java.lang.String content,
boolean importReferencedContent)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceImportDLReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.StagedModel entityStagedModel,
java.lang.String content)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceImportLayoutReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String content)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceImportLayoutReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String content,
boolean importReferencedContent)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceImportLinksToLayouts(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String content)
Deprecated.
As of 3.0.0, with no direct replacement
|
java.lang.String |
replaceImportLinksToLayouts(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String content,
boolean importReferencedContent)
Deprecated.
As of 3.0.0, with no direct replacement
|
protected void |
setDlFileEntryLocalService(com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService) |
protected void |
setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService) |
protected void |
setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService) |
protected void |
setLayoutService(com.liferay.portal.kernel.service.LayoutService layoutService) |
protected void |
setPortletLocalService(com.liferay.portal.kernel.service.PortletLocalService portletLocalService) |
protected void |
setSystemEventLocalService(com.liferay.portal.kernel.service.SystemEventLocalService systemEventLocalService) |
protected void |
setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService) |
void |
updateExportPortletPreferencesClassPKs(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.Portlet portlet,
javax.portlet.PortletPreferences portletPreferences,
java.lang.String key,
java.lang.String className)
Deprecated.
As of 3.0.0, see
DefaultConfigurationPortletDataHandler.updateExportPortletPreferencesClassPKs(
PortletDataContext, Portlet, PortletPreferences, String,
String) |
void |
updateExportPortletPreferencesClassPKs(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.model.Portlet portlet,
javax.portlet.PortletPreferences portletPreferences,
java.lang.String key,
java.lang.String className,
com.liferay.portal.kernel.xml.Element rootElement)
Deprecated.
|
void |
updateImportPortletPreferencesClassPKs(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
javax.portlet.PortletPreferences portletPreferences,
java.lang.String key,
java.lang.Class<?> clazz,
long companyGroupId)
Deprecated.
As of 3.0.0, see
DefaultConfigurationPortletDataHandler.updateImportPortletPreferencesClassPKs(
PortletDataContext, PortletPreferences, String, Class, long) |
protected com.liferay.exportimport.kernel.lar.MissingReference |
validateMissingReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element element) |
com.liferay.exportimport.kernel.lar.MissingReferences |
validateMissingReferences(long userId,
long groupId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
Deprecated.
As of 3.0.0, replaced by
validateMissingReferences(PortletDataContext) |
com.liferay.exportimport.kernel.lar.MissingReferences |
validateMissingReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
void |
writeManifestSummary(com.liferay.portal.kernel.xml.Document document,
com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary) |
public long[] getAllLayoutIds(long groupId, boolean privateLayout)
getAllLayoutIds
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
public java.util.Map<java.lang.Long,java.lang.Boolean> getAllLayoutIdsMap(long groupId, boolean privateLayout)
getAllLayoutIdsMap
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
@Deprecated public java.util.Calendar getCalendar(javax.portlet.PortletRequest portletRequest, java.lang.String paramPrefix, boolean timeZoneSensitive)
ExportImportDateUtil.getCalendar(PortletRequest, String,
boolean)
getCalendar
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
public java.util.List<com.liferay.portal.kernel.model.Portlet> getDataSiteLevelPortlets(long companyId) throws java.lang.Exception
getDataSiteLevelPortlets
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public java.util.List<com.liferay.portal.kernel.model.Portlet> getDataSiteLevelPortlets(long companyId, boolean excludeDataAlwaysStaged) throws java.lang.Exception
getDataSiteLevelPortlets
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public com.liferay.portal.kernel.util.DateRange getDateRange(javax.portlet.PortletRequest portletRequest, long groupId, boolean privateLayout, long plid, java.lang.String portletId, java.lang.String defaultRange) throws java.lang.Exception
ExportImportDateUtil.getDateRange(PortletRequest, long,
boolean, long, String, String)
getDateRange
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public com.liferay.portal.kernel.model.Layout getExportableLayout(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getExportableLayout
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getExportableRootPortletId(long companyId, java.lang.String portletId) throws java.lang.Exception
getExportableRootPortletId
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public boolean[] getExportPortletControls(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap) throws java.lang.Exception
getExportPortletControlsMap(long, String, Map)
getExportPortletControls
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public boolean[] getExportPortletControls(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.lang.String type) throws java.lang.Exception
getExportPortletControlsMap(long, String, Map, String)
getExportPortletControls
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public java.util.Map<java.lang.String,java.lang.Boolean> getExportPortletControlsMap(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap) throws java.lang.Exception
getExportPortletControlsMap
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public java.util.Map<java.lang.String,java.lang.Boolean> getExportPortletControlsMap(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.lang.String type) throws java.lang.Exception
getExportPortletControlsMap
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public boolean[] getImportPortletControls(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, com.liferay.portal.kernel.xml.Element portletDataElement) throws java.lang.Exception
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary)
getImportPortletControls
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public boolean[] getImportPortletControls(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, com.liferay.portal.kernel.xml.Element portletDataElement, com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary) throws java.lang.Exception
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary)
getImportPortletControls
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public java.util.Map<java.lang.String,java.lang.Boolean> getImportPortletControlsMap(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, com.liferay.portal.kernel.xml.Element portletDataElement, com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary) throws java.lang.Exception
getImportPortletControlsMap
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public java.util.Map<java.lang.Long,java.lang.Boolean> getLayoutIdMap(javax.portlet.PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
getLayoutIdMap
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
public long[] getLayoutIds(java.util.List<com.liferay.portal.kernel.model.Layout> layouts)
getLayoutIds
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
public long[] getLayoutIds(java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap) throws com.liferay.portal.kernel.exception.PortalException
getLayoutIds
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
public long[] getLayoutIds(java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap, long targetGroupId) throws com.liferay.portal.kernel.exception.PortalException
getLayoutIds
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
public long[] getLayoutIds(javax.portlet.PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
getLayoutIds
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
public long[] getLayoutIds(javax.portlet.PortletRequest portletRequest, long targetGroupId) throws com.liferay.portal.kernel.exception.PortalException
getLayoutIds
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.zip.ZipWriter getLayoutSetZipWriter(long groupId)
getLayoutSetZipWriter
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
@Deprecated public com.liferay.exportimport.kernel.lar.ManifestSummary getManifestSummary(long userId, long groupId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.File file) throws java.lang.Exception
getManifestSummary(PortletDataContext)
getManifestSummary
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public com.liferay.exportimport.kernel.lar.ManifestSummary getManifestSummary(long userId, long groupId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, com.liferay.portal.kernel.repository.model.FileEntry fileEntry) throws java.lang.Exception
getManifestSummary
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public com.liferay.exportimport.kernel.lar.ManifestSummary getManifestSummary(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) throws java.lang.Exception
getManifestSummary
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public java.util.List<com.liferay.portal.kernel.model.Layout> getMissingParentLayouts(com.liferay.portal.kernel.model.Layout layout, long liveGroupId) throws com.liferay.portal.kernel.exception.PortalException
getMissingParentLayouts
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
om.liferay.exportimport.kernel.backgroundtask.LayoutRemoteStagingBackgroundTaskExecutor#getMissingRemoteParentLayouts(
com.liferay.portal.kernel.security.auth.HttpPrincipal, Layout, long)
public long getModelDeletionCount(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.exportimport.kernel.lar.StagedModelType stagedModelType) throws com.liferay.portal.kernel.exception.PortalException
getModelDeletionCount
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.zip.ZipWriter getPortletZipWriter(java.lang.String portletId)
getPortletZipWriter
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
public java.lang.String getSelectedLayoutsJSON(long groupId, boolean privateLayout, java.lang.String selectedNodes)
getSelectedLayoutsJSON
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
public com.liferay.portal.kernel.repository.model.FileEntry getTempFileEntry(long groupId, long userId, java.lang.String folderName) throws com.liferay.portal.kernel.exception.PortalException
getTempFileEntry
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
public com.liferay.exportimport.kernel.lar.UserIdStrategy getUserIdStrategy(long userId, java.lang.String userIdStrategy) throws com.liferay.portal.kernel.exception.PortalException
getUserIdStrategy
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
com.liferay.portal.kernel.exception.PortalException
public boolean isAlwaysIncludeReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel referenceStagedModel)
public boolean isReferenceWithinExportScope(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel stagedModel)
isReferenceWithinExportScope
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
@Deprecated public java.lang.String replaceExportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel entityStagedModel, com.liferay.portal.kernel.xml.Element entityElement, java.lang.String content, boolean exportReferencedContent) throws java.lang.Exception
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceExportContentReferences(
PortletDataContext, StagedModel, String, boolean, boolean)
replaceExportContentReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceExportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel entityStagedModel, java.lang.String content, boolean exportReferencedContent) throws java.lang.Exception
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceExportContentReferences(
PortletDataContext, StagedModel, String, boolean, boolean)
replaceExportContentReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceExportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel entityStagedModel, java.lang.String content, boolean exportReferencedContent, boolean escapeContent) throws java.lang.Exception
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceExportContentReferences(
PortletDataContext, StagedModel, String, boolean, boolean)
replaceExportContentReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceExportDLReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel entityStagedModel, com.liferay.portal.kernel.xml.Element entityElement, java.lang.String content, boolean exportReferencedContent) throws java.lang.Exception
replaceExportDLReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceExportDLReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel entityStagedModel, java.lang.String content, boolean exportReferencedContent) throws java.lang.Exception
replaceExportDLReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceExportLayoutReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, java.lang.String content) throws java.lang.Exception
replaceExportLayoutReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceExportLayoutReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, java.lang.String content, boolean exportReferencedContent) throws java.lang.Exception
replaceExportLayoutReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceExportLinksToLayouts(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel entityStagedModel, com.liferay.portal.kernel.xml.Element entityElement, java.lang.String content, boolean exportReferencedContent) throws java.lang.Exception
replaceExportLinksToLayouts
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceExportLinksToLayouts(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel entityStagedModel, java.lang.String content) throws java.lang.Exception
replaceExportLinksToLayouts
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceImportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.xml.Element entityElement, java.lang.String content, boolean importReferencedContent) throws java.lang.Exception
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceImportContentReferences(
PortletDataContext, StagedModel, String)
replaceImportContentReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceImportContentReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel entityStagedModel, java.lang.String content) throws java.lang.Exception
com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceImportContentReferences(
PortletDataContext, StagedModel, String)
replaceImportContentReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceImportDLReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.xml.Element entityElement, java.lang.String content, boolean importReferencedContent) throws java.lang.Exception
replaceImportDLReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceImportDLReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.StagedModel entityStagedModel, java.lang.String content) throws java.lang.Exception
replaceImportDLReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceImportLayoutReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, java.lang.String content) throws java.lang.Exception
replaceImportLayoutReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceImportLayoutReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, java.lang.String content, boolean importReferencedContent) throws java.lang.Exception
replaceImportLayoutReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceImportLinksToLayouts(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, java.lang.String content) throws java.lang.Exception
replaceImportLinksToLayouts
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public java.lang.String replaceImportLinksToLayouts(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, java.lang.String content, boolean importReferencedContent) throws java.lang.Exception
replaceImportLinksToLayouts
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public void updateExportPortletPreferencesClassPKs(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.Portlet portlet, javax.portlet.PortletPreferences portletPreferences, java.lang.String key, java.lang.String className) throws java.lang.Exception
DefaultConfigurationPortletDataHandler.updateExportPortletPreferencesClassPKs(
PortletDataContext, Portlet, PortletPreferences, String,
String)
updateExportPortletPreferencesClassPKs
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public void updateExportPortletPreferencesClassPKs(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.model.Portlet portlet, javax.portlet.PortletPreferences portletPreferences, java.lang.String key, java.lang.String className, com.liferay.portal.kernel.xml.Element rootElement) throws java.lang.Exception
updateExportPortletPreferencesClassPKs(PortletDataContext,
Portlet, PortletPreferences, String, String)
updateExportPortletPreferencesClassPKs
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public void updateImportPortletPreferencesClassPKs(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, javax.portlet.PortletPreferences portletPreferences, java.lang.String key, java.lang.Class<?> clazz, long companyGroupId) throws java.lang.Exception
DefaultConfigurationPortletDataHandler.updateImportPortletPreferencesClassPKs(
PortletDataContext, PortletPreferences, String, Class, long)
updateImportPortletPreferencesClassPKs
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
@Deprecated public com.liferay.exportimport.kernel.lar.MissingReferences validateMissingReferences(long userId, long groupId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.File file) throws java.lang.Exception
validateMissingReferences(PortletDataContext)
validateMissingReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public com.liferay.exportimport.kernel.lar.MissingReferences validateMissingReferences(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) throws java.lang.Exception
validateMissingReferences
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
java.lang.Exception
public void writeManifestSummary(com.liferay.portal.kernel.xml.Document document, com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary)
writeManifestSummary
in interface com.liferay.exportimport.kernel.lar.ExportImportHelper
protected void addCreateDateProperty(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
protected void doAddCriteria(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.exportimport.kernel.lar.StagedModelType stagedModelType, com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
protected boolean getExportPortletData(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap) throws java.lang.Exception
java.lang.Exception
protected java.util.Map<java.lang.String,java.lang.Boolean> getExportPortletSetupControlsMap(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.lang.String type) throws java.lang.Exception
java.lang.Exception
protected boolean getImportPortletData(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, com.liferay.portal.kernel.xml.Element portletDataElement) throws java.lang.Exception
java.lang.Exception
protected java.util.Map<java.lang.String,java.lang.Boolean> getImportPortletSetupControlsMap(long companyId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary) throws java.lang.Exception
java.lang.Exception
protected com.liferay.portal.kernel.zip.ZipWriter getZipWriter(java.lang.String fileName)
protected boolean populateLayoutsJSON(com.liferay.portal.kernel.json.JSONArray layoutsJSONArray, com.liferay.portal.kernel.model.Layout layout, long[] selectedLayoutIds)
protected void setDlFileEntryLocalService(com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService)
protected void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
protected void setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService)
protected void setLayoutService(com.liferay.portal.kernel.service.LayoutService layoutService)
protected void setPortletLocalService(com.liferay.portal.kernel.service.PortletLocalService portletLocalService)
protected void setSystemEventLocalService(com.liferay.portal.kernel.service.SystemEventLocalService systemEventLocalService)
protected void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
protected com.liferay.exportimport.kernel.lar.MissingReference validateMissingReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.xml.Element element)