@ProviderType
public interface ExportImportHelper
| Modifier and Type | Field and Description |
|---|---|
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) |
List<Portlet> |
getDataSiteLevelPortlets(long companyId) |
List<Portlet> |
getDataSiteLevelPortlets(long companyId,
boolean excludeDataAlwaysStaged) |
String |
getExportableRootPortletId(long companyId,
String portletId) |
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) |
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,
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 |
isAlwaysIncludeReference(PortletDataContext portletDataContext,
StagedModel referenceStagedModel,
String rootPortletId) |
boolean |
isExportPortletData(PortletDataContext portletDataContext) |
boolean |
isLayoutRevisionInReview(Layout layout) |
boolean |
isPublishDisplayedContent(PortletDataContext portletDataContext,
Portlet portlet) |
boolean |
isReferenceWithinExportScope(PortletDataContext portletDataContext,
StagedModel stagedModel) |
void |
processBackgroundTaskManifestSummary(long userId,
long sourceGroupId,
BackgroundTask backgroundTask,
File file) |
void |
setPortletScope(PortletDataContext portletDataContext,
Element portletElement) |
MissingReferences |
validateMissingReferences(PortletDataContext portletDataContext) |
void |
writeManifestSummary(Document document,
ManifestSummary manifestSummary) |
long[] getAllLayoutIds(long groupId,
boolean privateLayout)
Map<Long,Boolean> getAllLayoutIdsMap(long groupId,
boolean privateLayout)
List<Portlet> getDataSiteLevelPortlets(long companyId) throws Exception
ExceptionList<Portlet> getDataSiteLevelPortlets(long companyId, boolean excludeDataAlwaysStaged) throws Exception
ExceptionString getExportableRootPortletId(long companyId,
String portletId)
throws Exception
ExceptionMap<String,Boolean> getExportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap)
throws Exception
ExceptionMap<String,Boolean> getExportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap,
String type)
throws Exception
ExceptionMap<String,Boolean> getImportPortletControlsMap(long companyId,
String portletId,
Map<String,String[]> parameterMap,
Element portletDataElement,
ManifestSummary manifestSummary)
throws Exception
ExceptionMap<Long,Boolean> getLayoutIdMap(PortletRequest portletRequest) throws PortalException
PortalExceptionlong[] getLayoutIds(List<Layout> layouts)
long[] getLayoutIds(Map<Long,Boolean> layoutIdMap)
throws PortalException
PortalExceptionlong[] getLayoutIds(Map<Long,Boolean> layoutIdMap,
long targetGroupId)
throws PortalException
PortalExceptionlong[] getLayoutIds(PortletRequest portletRequest) throws PortalException
PortalExceptionlong[] getLayoutIds(PortletRequest portletRequest, long targetGroupId) throws PortalException
PortalExceptionlong getLayoutModelDeletionCount(PortletDataContext portletDataContext, boolean privateLayout) throws PortalException
PortalExceptionLayout 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)
ManifestSummary getManifestSummary(long userId, long groupId, Map<String,String[]> parameterMap, FileEntry fileEntry) throws Exception
ExceptionManifestSummary getManifestSummary(PortletDataContext portletDataContext) throws Exception
ExceptionList<Layout> getMissingParentLayouts(Layout layout, long liveGroupId) throws PortalException
PortalExceptionlong getModelDeletionCount(PortletDataContext portletDataContext, StagedModelType stagedModelType) throws PortalException
PortalExceptionString 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
PortalExceptionUserIdStrategy getUserIdStrategy(long userId, String userIdStrategy) throws PortalException
PortalExceptionboolean isAlwaysIncludeReference(PortletDataContext portletDataContext, StagedModel referenceStagedModel)
boolean isAlwaysIncludeReference(PortletDataContext portletDataContext, StagedModel referenceStagedModel, String rootPortletId)
boolean isExportPortletData(PortletDataContext portletDataContext)
boolean isLayoutRevisionInReview(Layout layout)
boolean isPublishDisplayedContent(PortletDataContext portletDataContext, Portlet portlet)
boolean isReferenceWithinExportScope(PortletDataContext portletDataContext, StagedModel stagedModel)
void processBackgroundTaskManifestSummary(long userId,
long sourceGroupId,
BackgroundTask backgroundTask,
File file)
throws PortalException
PortalExceptionvoid setPortletScope(PortletDataContext portletDataContext, Element portletElement)
MissingReferences validateMissingReferences(PortletDataContext portletDataContext) throws Exception
Exceptionvoid writeManifestSummary(Document document, ManifestSummary manifestSummary)