Interface Staging
@ProviderType
public interface Staging
- Author:
- Raymond Augé
-
Method Summary
Modifier and TypeMethodDescription<T extends BaseModel>
voidaddModelToChangesetCollection(T model) longcopyFromLive(PortletRequest portletRequest) longcopyFromLive(PortletRequest portletRequest, Portlet portlet) longcopyRemoteLayouts(long exportImportConfigurationId) longcopyRemoteLayouts(long sourceGroupId, boolean privateLayout, Map<Long, Boolean> layoutIdMap, String name, Map<String, String[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout) longcopyRemoteLayouts(long sourceGroupId, boolean privateLayout, Map<Long, Boolean> layoutIdMap, Map<String, String[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout) longcopyRemoteLayouts(ExportImportConfiguration exportImportConfiguration) voiddeleteLastImportSettings(Group liveGroup, boolean privateLayout) voiddeleteRecentLayoutRevisionId(long userId, long layoutSetBranchId, long plid) voiddeleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetBranchId, long plid) getErrorMessagesJSONArray(Locale locale, Map<String, MissingReference> missingReferences) getExceptionMessagesJSONObject(Locale locale, Exception exception, ExportImportConfiguration exportImportConfiguration) getLiveGroup(long groupId) getLiveGroup(Group group) longgetLiveGroupId(long groupId) getPermissionStagingGroup(Group group) longgetRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid) longgetRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetBranchId, long plid) longgetRecentLayoutSetBranchId(User user, long layoutSetId) longgetRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetId) getRemoteLayout(long userId, long stagingGroupId, long plid) longgetRemoteLayoutPlid(long userId, long stagingGroupId, long plid) getRemoteSiteURL(Group stagingGroup, boolean privateLayout) getSchedulerGroupName(String destinationName, long groupId) getStagedPortletId(String portletId) long[]getStagingAndLiveGroupIds(long groupId) getStagingGroup(long groupId) getWarningMessagesJSONArray(Locale locale, Map<String, MissingReference> missingReferences) getWorkflowTask(long userId, LayoutRevision layoutRevision) booleanhasRemoteLayout(long userId, long stagingGroupId, long plid) booleanhasWorkflowTask(long userId, LayoutRevision layoutRevision) booleanisGroupAccessible(long groupId, long fromGroupId) booleanisGroupAccessible(Group group, Group fromGroup) booleanisIncomplete(Layout layout) booleanisIncomplete(Layout layout, long layoutSetBranchId) booleanisRemoteLayoutHasPortletId(long userId, long stagingGroupId, long plid, String portletId) voidpopulateLastPublishDateCounts(PortletDataContext portletDataContext, StagedModelType[] stagedModelTypes) voidpopulateLastPublishDateCounts(PortletDataContext portletDataContext, String[] classNames) longpublishLayout(long userId, long plid, long liveGroupId, boolean includeChildren) longpublishLayouts(long userId, long exportImportConfigurationId) longpublishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, String name, Map<String, String[]> parameterMap) longpublishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String, String[]> parameterMap) longpublishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<String, String[]> parameterMap) longpublishLayouts(long userId, ExportImportConfiguration exportImportConfiguration) longpublishPortlet(long userId, long exportImportConfigurationId) longpublishPortlet(long userId, long sourceGroupId, long targetGroupId, long sourcePlid, long targetPlid, String portletId, Map<String, String[]> parameterMap) longpublishPortlet(long userId, ExportImportConfiguration exportImportConfiguration) longpublishToLive(PortletRequest portletRequest) longpublishToLive(PortletRequest portletRequest, Portlet portlet) longpublishToRemote(PortletRequest portletRequest) <T extends BaseModel>
voidremoveModelFromChangesetCollection(T model) voidscheduleCopyFromLive(PortletRequest portletRequest) voidschedulePublishToLive(PortletRequest portletRequest) voidschedulePublishToRemote(PortletRequest portletRequest) voidsetRecentLayoutBranchId(User user, long layoutSetBranchId, long plid, long layoutBranchId) voidsetRecentLayoutBranchId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetBranchId, long plid, long layoutBranchId) voidsetRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid, long layoutRevisionId) voidsetRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetBranchId, long plid, long layoutRevisionId) voidsetRecentLayoutSetBranchId(User user, long layoutSetId, long layoutSetBranchId) voidsetRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetId, long layoutSetBranchId) voidsetRemoteSiteURL(Group stagingGroup, boolean overrideRemoteSiteURL, String remoteSiteURL) stripProtocolFromRemoteAddress(String remoteAddress) voidtransferFileToRemoteLive(File file, long stagingRequestId, HttpPrincipal httpPrincipal) voidunscheduleCopyFromLive(PortletRequest portletRequest) voidunschedulePublishToLive(PortletRequest portletRequest) voidunschedulePublishToRemote(PortletRequest portletRequest) voidupdateLastImportSettings(Element layoutElement, Layout layout, PortletDataContext portletDataContext) voidvalidateRemoteGroupIsSame(long groupId, long remoteGroupId, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection)
-
Method Details
-
addModelToChangesetCollection
- Throws:
PortalException
-
copyFromLive
- Throws:
PortalException
-
copyFromLive
- Throws:
PortalException
-
copyRemoteLayouts
- Throws:
PortalException
-
copyRemoteLayouts
- Throws:
PortalException
-
copyRemoteLayouts
long copyRemoteLayouts(long sourceGroupId, boolean privateLayout, Map<Long, Boolean> layoutIdMap, Map<String, throws PortalExceptionString[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout) - Throws:
PortalException
-
copyRemoteLayouts
long copyRemoteLayouts(long sourceGroupId, boolean privateLayout, Map<Long, Boolean> layoutIdMap, String name, Map<String, throws PortalExceptionString[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout) - Throws:
PortalException
-
deleteLastImportSettings
- Throws:
PortalException
-
deleteRecentLayoutRevisionId
void deleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetBranchId, long plid) -
deleteRecentLayoutRevisionId
void deleteRecentLayoutRevisionId(long userId, long layoutSetBranchId, long plid) -
getErrorMessagesJSONArray
-
getExceptionMessagesJSONObject
JSONObject getExceptionMessagesJSONObject(Locale locale, Exception exception, ExportImportConfiguration exportImportConfiguration) -
getLiveGroup
-
getLiveGroup
-
getLiveGroupId
long getLiveGroupId(long groupId) -
getPermissionStagingGroup
-
getRecentLayoutRevisionId
long getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetBranchId, long plid) throws PortalException - Throws:
PortalException
-
getRecentLayoutRevisionId
- Throws:
PortalException
-
getRecentLayoutSetBranchId
long getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetId) -
getRecentLayoutSetBranchId
-
getRemoteLayout
- Throws:
PortalException
-
getRemoteLayoutPlid
- Throws:
PortalException
-
getRemoteSiteURL
- Throws:
PortalException
-
getSchedulerGroupName
-
getStagedPortletId
-
getStagingAndLiveGroupIds
- Throws:
PortalException
-
getStagingGroup
-
getWarningMessagesJSONArray
JSONArray getWarningMessagesJSONArray(Locale locale, Map<String, MissingReference> missingReferences) -
getWorkflowTask
- Throws:
PortalException
-
hasRemoteLayout
- Throws:
PortalException
-
hasWorkflowTask
- Throws:
PortalException
-
isGroupAccessible
-
isGroupAccessible
- Throws:
PortalException
-
isIncomplete
-
isIncomplete
-
isRemoteLayoutHasPortletId
-
populateLastPublishDateCounts
void populateLastPublishDateCounts(PortletDataContext portletDataContext, StagedModelType[] stagedModelTypes) throws PortalException - Throws:
PortalException
-
populateLastPublishDateCounts
void populateLastPublishDateCounts(PortletDataContext portletDataContext, String[] classNames) throws PortalException - Throws:
PortalException
-
publishLayout
long publishLayout(long userId, long plid, long liveGroupId, boolean includeChildren) throws PortalException - Throws:
PortalException
-
publishLayouts
long publishLayouts(long userId, ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
publishLayouts
- Throws:
PortalException
-
publishLayouts
long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String, String[]> parameterMap) throws PortalException- Throws:
PortalException
-
publishLayouts
long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, String name, Map<String, String[]> parameterMap) throws PortalException- Throws:
PortalException
-
publishLayouts
long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<String, String[]> parameterMap) throws PortalException- Throws:
PortalException
-
publishPortlet
long publishPortlet(long userId, ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
publishPortlet
- Throws:
PortalException
-
publishPortlet
long publishPortlet(long userId, long sourceGroupId, long targetGroupId, long sourcePlid, long targetPlid, String portletId, Map<String, String[]> parameterMap) throws PortalException- Throws:
PortalException
-
publishToLive
- Throws:
PortalException
-
publishToLive
- Throws:
PortalException
-
publishToRemote
- Throws:
PortalException
-
removeModelFromChangesetCollection
- Throws:
PortalException
-
scheduleCopyFromLive
- Throws:
PortalException
-
schedulePublishToLive
- Throws:
PortalException
-
schedulePublishToRemote
- Throws:
PortalException
-
setRecentLayoutBranchId
void setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetBranchId, long plid, long layoutBranchId) throws PortalException - Throws:
PortalException
-
setRecentLayoutBranchId
void setRecentLayoutBranchId(User user, long layoutSetBranchId, long plid, long layoutBranchId) throws PortalException - Throws:
PortalException
-
setRecentLayoutRevisionId
void setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetBranchId, long plid, long layoutRevisionId) throws PortalException - Throws:
PortalException
-
setRecentLayoutRevisionId
void setRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid, long layoutRevisionId) throws PortalException - Throws:
PortalException
-
setRecentLayoutSetBranchId
void setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest httpServletRequest, long layoutSetId, long layoutSetBranchId) throws PortalException - Throws:
PortalException
-
setRecentLayoutSetBranchId
void setRecentLayoutSetBranchId(User user, long layoutSetId, long layoutSetBranchId) throws PortalException - Throws:
PortalException
-
setRemoteSiteURL
void setRemoteSiteURL(Group stagingGroup, boolean overrideRemoteSiteURL, String remoteSiteURL) throws PortalException - Throws:
PortalException
-
stripProtocolFromRemoteAddress
-
transferFileToRemoteLive
void transferFileToRemoteLive(File file, long stagingRequestId, HttpPrincipal httpPrincipal) throws Exception - Throws:
Exception
-
unscheduleCopyFromLive
- Throws:
PortalException
-
unschedulePublishToLive
- Throws:
PortalException
-
unschedulePublishToRemote
- Throws:
PortalException
-
updateLastImportSettings
void updateLastImportSettings(Element layoutElement, Layout layout, PortletDataContext portletDataContext) throws PortalException - Throws:
PortalException
-
validateRemoteGroupIsSame
void validateRemoteGroupIsSame(long groupId, long remoteGroupId, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection) throws PortalException - Throws:
PortalException
-