|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.exportimport.lar.ExportImportHelperUtil
@ProviderType public class ExportImportHelperUtil
| Constructor Summary | |
|---|---|
ExportImportHelperUtil()
|
|
| Method Summary | |
|---|---|
static long[] |
getAllLayoutIds(long groupId,
boolean privateLayout)
|
static Map<Long,Boolean> |
getAllLayoutIdsMap(long groupId,
boolean privateLayout)
|
static Calendar |
getCalendar(PortletRequest portletRequest,
String paramPrefix,
boolean timeZoneSensitive)
Deprecated. As of 7.0.0, moved to ExportImportDateUtil.getCalendar(PortletRequest, String,
boolean) |
static List<Portlet> |
getDataSiteLevelPortlets(long companyId)
|
static List<Portlet> |
getDataSiteLevelPortlets(long companyId,
boolean excludeDataAlwaysStaged)
|
static DateRange |
getDateRange(PortletRequest portletRequest,
long groupId,
boolean privateLayout,
long plid,
String portletId,
String defaultRange)
Deprecated. As of 7.0.0, moved to ExportImportDateUtil.getDateRange(PortletRequest, long,
boolean, long, String, String) |
static Layout |
getExportableLayout(ThemeDisplay themeDisplay)
|
static String |
getExportableRootPortletId(long companyId,
String portletId)
|
static boolean[] |
getExportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap)
Deprecated. As of 7.0.0, replaced by getExportPortletControlsMap(long, String, Map) |
static boolean[] |
getExportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap,
String type)
Deprecated. As of 7.0.0, replaced by getExportPortletControlsMap(long, String, Map, String) |
static Map<String,Boolean> |
getExportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap)
|
static Map<String,Boolean> |
getExportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap,
String type)
|
static boolean[] |
getImportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement)
Deprecated. As of 7.0.0, replaced by getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary) |
static boolean[] |
getImportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement,
ManifestSummary manifestSummary)
Deprecated. As of 7.0.0, replaced by getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary) |
static Map<String,Boolean> |
getImportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement,
ManifestSummary manifestSummary)
|
static Map<Long,Boolean> |
getLayoutIdMap(PortletRequest portletRequest)
|
static long[] |
getLayoutIds(List<Layout> layouts)
|
static long[] |
getLayoutIds(Map<Long,Boolean> layoutIdMap)
|
static long[] |
getLayoutIds(Map<Long,Boolean> layoutIdMap,
long targetGroupId)
|
static long[] |
getLayoutIds(PortletRequest portletRequest)
|
static long[] |
getLayoutIds(PortletRequest portletRequest,
long targetGroupId)
|
static ZipWriter |
getLayoutSetZipWriter(long groupId)
|
static ManifestSummary |
getManifestSummary(long userId,
long groupId,
Map<String,String[]> parameterMap,
File file)
Deprecated. As of 7.0.0, replaced by getManifestSummary(PortletDataContext) |
static ManifestSummary |
getManifestSummary(long userId,
long groupId,
Map<String,String[]> parameterMap,
FileEntry fileEntry)
|
static ManifestSummary |
getManifestSummary(PortletDataContext portletDataContext)
|
static List<Layout> |
getMissingParentLayouts(Layout layout,
long liveGroupId)
|
static long |
getModelDeletionCount(PortletDataContext portletDataContext,
StagedModelType stagedModelType)
|
static ZipWriter |
getPortletZipWriter(String portletId)
|
static String |
getSelectedLayoutsJSON(long groupId,
boolean privateLayout,
String selectedNodes)
|
static FileEntry |
getTempFileEntry(long groupId,
long userId,
String folderName)
|
static UserIdStrategy |
getUserIdStrategy(long userId,
String userIdStrategy)
|
static boolean |
isReferenceWithinExportScope(PortletDataContext portletDataContext,
StagedModel stagedModel)
|
static String |
replaceExportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
Element entityElement,
String content,
boolean exportReferencedContent)
Deprecated. As of 7.0.0, replaced by com.liferay.exportimport.content.processor.ExportImportContentProcessorr#replaceExportContentReferences( PortletDataContext, StagedModel, String, boolean, boolean) in the export-import-api module |
static String |
replaceExportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content,
boolean exportReferencedContent)
Deprecated. As of 7.0.0, replaced by com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceExportContentReferences( PortletDataContext, StagedModel, String, boolean, boolean) in the export-import-api module |
static String |
replaceExportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content,
boolean exportReferencedContent,
boolean escapeContent)
Deprecated. As of 7.0.0, replaced by com.liferay.exportimport.content.processor.ExportImportContentProcessorr#replaceExportContentReferences( PortletDataContext, StagedModel, String, boolean, boolean) in the export-import-api module |
static String |
replaceExportDLReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
Element entityElement,
String content,
boolean exportReferencedContent)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceExportDLReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content,
boolean exportReferencedContent)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceExportLayoutReferences(PortletDataContext portletDataContext,
String content)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceExportLayoutReferences(PortletDataContext portletDataContext,
String content,
boolean exportReferencedContent)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceExportLinksToLayouts(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
Element entityElement,
String content,
boolean exportReferencedContent)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceExportLinksToLayouts(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceImportContentReferences(PortletDataContext portletDataContext,
Element entityElement,
String content,
boolean importReferencedContent)
Deprecated. As of 7.0.0, replaced by com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceImportContentReferences( PortletDataContext, StagedModel, String) in the export-import-api module |
static String |
replaceImportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content)
Deprecated. As of 7.0.0, replaced by com.liferay.exportimport.content.processor.ExportImportContentProcessor#replaceImportContentReferences( PortletDataContext, StagedModel, String) in the export-import-api module |
static String |
replaceImportDLReferences(PortletDataContext portletDataContext,
Element entityElement,
String content,
boolean importReferencedContent)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceImportDLReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceImportLayoutReferences(PortletDataContext portletDataContext,
String content)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceImportLayoutReferences(PortletDataContext portletDataContext,
String content,
boolean importReferencedContent)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceImportLinksToLayouts(PortletDataContext portletDataContext,
String content)
Deprecated. As of 7.0.0, with no direct replacement |
static String |
replaceImportLinksToLayouts(PortletDataContext portletDataContext,
String content,
boolean importReferencedContent)
Deprecated. As of 7.0.0, with no direct replacement |
static void |
updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
Portlet portlet,
PortletPreferences portletPreferences,
String key,
String className)
Deprecated. As of 7.0.0, see DefaultConfigurationPortletDataHandler.updateExportPortletPreferencesClassPKs(
PortletDataContext, Portlet, PortletPreferences, String,
String) |
static void |
updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
Portlet portlet,
PortletPreferences portletPreferences,
String key,
String className,
Element rootElement)
Deprecated. As of 7.0.0, replaced by updateExportPortletPreferencesClassPKs(PortletDataContext,
Portlet, PortletPreferences, String, String) |
static void |
updateImportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
PortletPreferences portletPreferences,
String key,
Class<?> clazz,
long companyGroupId)
Deprecated. As of 7.0.0, see DefaultConfigurationPortletDataHandler.updateImportPortletPreferencesClassPKs(
PortletDataContext, PortletPreferences, String, Class, long) |
static MissingReferences |
validateMissingReferences(long userId,
long groupId,
Map<String,String[]> parameterMap,
File file)
Deprecated. As of 7.0.0, replaced by validateMissingReferences(PortletDataContext) |
static MissingReferences |
validateMissingReferences(PortletDataContext portletDataContext)
|
static void |
writeManifestSummary(Document document,
ManifestSummary manifestSummary)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExportImportHelperUtil()
| Method Detail |
|---|
public static long[] getAllLayoutIds(long groupId,
boolean privateLayout)
public static Map<Long,Boolean> getAllLayoutIdsMap(long groupId,
boolean privateLayout)
@Deprecated
public static Calendar getCalendar(PortletRequest portletRequest,
String paramPrefix,
boolean timeZoneSensitive)
ExportImportDateUtil.getCalendar(PortletRequest, String,
boolean)
public static List<Portlet> getDataSiteLevelPortlets(long companyId)
throws Exception
Exception
public static List<Portlet> getDataSiteLevelPortlets(long companyId,
boolean excludeDataAlwaysStaged)
throws Exception
Exception
@Deprecated
public static 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
public static Layout getExportableLayout(ThemeDisplay themeDisplay)
throws PortalException
PortalException
public static String getExportableRootPortletId(long companyId,
String portletId)
throws Exception
Exception
@Deprecated
public static boolean[] getExportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap)
throws Exception
getExportPortletControlsMap(long, String, Map)
Exception
@Deprecated
public static boolean[] getExportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap,
String type)
throws Exception
getExportPortletControlsMap(long, String, Map, String)
Exception
public static Map<String,Boolean> getExportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap)
throws Exception
Exception
public static Map<String,Boolean> getExportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap,
String type)
throws Exception
Exception
@Deprecated
public static boolean[] getImportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement)
throws Exception
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary)
Exception
@Deprecated
public static boolean[] getImportPortletControls(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement,
ManifestSummary manifestSummary)
throws Exception
getImportPortletControlsMap(long, String, Map, Element,
ManifestSummary)
Exception
public static Map<String,Boolean> getImportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement,
ManifestSummary manifestSummary)
throws Exception
Exception
public static Map<Long,Boolean> getLayoutIdMap(PortletRequest portletRequest)
throws PortalException
PortalExceptionpublic static long[] getLayoutIds(List<Layout> layouts)
public static long[] getLayoutIds(Map<Long,Boolean> layoutIdMap)
throws PortalException
PortalException
public static long[] getLayoutIds(Map<Long,Boolean> layoutIdMap,
long targetGroupId)
throws PortalException
PortalException
public static long[] getLayoutIds(PortletRequest portletRequest)
throws PortalException
PortalException
public static long[] getLayoutIds(PortletRequest portletRequest,
long targetGroupId)
throws PortalException
PortalExceptionpublic static ZipWriter getLayoutSetZipWriter(long groupId)
@Deprecated
public static ManifestSummary getManifestSummary(long userId,
long groupId,
Map<String,String[]> parameterMap,
File file)
throws Exception
getManifestSummary(PortletDataContext)
Exception
public static ManifestSummary getManifestSummary(long userId,
long groupId,
Map<String,String[]> parameterMap,
FileEntry fileEntry)
throws Exception
Exception
public static ManifestSummary getManifestSummary(PortletDataContext portletDataContext)
throws Exception
Exception
public static List<Layout> getMissingParentLayouts(Layout layout,
long liveGroupId)
throws PortalException
PortalException
public static long getModelDeletionCount(PortletDataContext portletDataContext,
StagedModelType stagedModelType)
throws PortalException
PortalExceptionpublic static ZipWriter getPortletZipWriter(String portletId)
public static String getSelectedLayoutsJSON(long groupId,
boolean privateLayout,
String selectedNodes)
public static FileEntry getTempFileEntry(long groupId,
long userId,
String folderName)
throws PortalException
PortalException
public static UserIdStrategy getUserIdStrategy(long userId,
String userIdStrategy)
throws PortalException
PortalException
public static boolean isReferenceWithinExportScope(PortletDataContext portletDataContext,
StagedModel stagedModel)
@Deprecated
public static String replaceExportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
Element entityElement,
String content,
boolean exportReferencedContent)
throws Exception
Exception
@Deprecated
public static String replaceExportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content,
boolean exportReferencedContent)
throws Exception
Exception
@Deprecated
public static String replaceExportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content,
boolean exportReferencedContent,
boolean escapeContent)
throws Exception
Exception
@Deprecated
public static String replaceExportDLReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
Element entityElement,
String content,
boolean exportReferencedContent)
throws Exception
Exception
@Deprecated
public static String replaceExportDLReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content,
boolean exportReferencedContent)
throws Exception
Exception
@Deprecated
public static String replaceExportLayoutReferences(PortletDataContext portletDataContext,
String content)
throws Exception
Exception
@Deprecated
public static String replaceExportLayoutReferences(PortletDataContext portletDataContext,
String content,
boolean exportReferencedContent)
throws Exception
Exception
@Deprecated
public static String replaceExportLinksToLayouts(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
Element entityElement,
String content,
boolean exportReferencedContent)
throws Exception
Exception
@Deprecated
public static String replaceExportLinksToLayouts(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content)
throws Exception
Exception
@Deprecated
public static String replaceImportContentReferences(PortletDataContext portletDataContext,
Element entityElement,
String content,
boolean importReferencedContent)
throws Exception
Exception
@Deprecated
public static String replaceImportContentReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content)
throws Exception
Exception
@Deprecated
public static String replaceImportDLReferences(PortletDataContext portletDataContext,
Element entityElement,
String content,
boolean importReferencedContent)
throws Exception
Exception
@Deprecated
public static String replaceImportDLReferences(PortletDataContext portletDataContext,
StagedModel entityStagedModel,
String content)
throws Exception
Exception
@Deprecated
public static String replaceImportLayoutReferences(PortletDataContext portletDataContext,
String content)
throws Exception
Exception
@Deprecated
public static String replaceImportLayoutReferences(PortletDataContext portletDataContext,
String content,
boolean importReferencedContent)
throws Exception
Exception
@Deprecated
public static String replaceImportLinksToLayouts(PortletDataContext portletDataContext,
String content)
throws Exception
Exception
@Deprecated
public static String replaceImportLinksToLayouts(PortletDataContext portletDataContext,
String content,
boolean importReferencedContent)
throws Exception
Exception
@Deprecated
public static void updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
Portlet portlet,
PortletPreferences portletPreferences,
String key,
String className)
throws Exception
DefaultConfigurationPortletDataHandler.updateExportPortletPreferencesClassPKs(
PortletDataContext, Portlet, PortletPreferences, String,
String)
Exception
@Deprecated
public static void updateExportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
Portlet portlet,
PortletPreferences portletPreferences,
String key,
String className,
Element rootElement)
throws Exception
updateExportPortletPreferencesClassPKs(PortletDataContext,
Portlet, PortletPreferences, String, String)
Exception
@Deprecated
public static void updateImportPortletPreferencesClassPKs(PortletDataContext portletDataContext,
PortletPreferences portletPreferences,
String key,
Class<?> clazz,
long companyGroupId)
throws Exception
DefaultConfigurationPortletDataHandler.updateImportPortletPreferencesClassPKs(
PortletDataContext, PortletPreferences, String, Class, long)
Exception
@Deprecated
public static MissingReferences validateMissingReferences(long userId,
long groupId,
Map<String,String[]> parameterMap,
File file)
throws Exception
validateMissingReferences(PortletDataContext)
Exception
public static MissingReferences validateMissingReferences(PortletDataContext portletDataContext)
throws Exception
Exception
public static void writeManifestSummary(Document document,
ManifestSummary manifestSummary)
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||