@ProviderType
public interface Staging
| Modifier and Type | Method and Description |
|---|---|
<T extends BaseModel> |
addModelToChangesetCollection(T model) |
long |
copyFromLive(javax.portlet.PortletRequest portletRequest) |
long |
copyFromLive(javax.portlet.PortletRequest portletRequest,
Portlet portlet) |
long |
copyRemoteLayouts(ExportImportConfiguration exportImportConfiguration) |
long |
copyRemoteLayouts(long exportImportConfigurationId) |
long |
copyRemoteLayouts(long sourceGroupId,
boolean privateLayout,
Map<Long,Boolean> layoutIdMap,
Map<String,String[]> parameterMap,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean remotePrivateLayout) |
long |
copyRemoteLayouts(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) |
void |
deleteLastImportSettings(Group liveGroup,
boolean privateLayout) |
void |
deleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetBranchId,
long plid) |
void |
deleteRecentLayoutRevisionId(long userId,
long layoutSetBranchId,
long plid) |
JSONArray |
getErrorMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences) |
JSONObject |
getExceptionMessagesJSONObject(Locale locale,
Exception exception,
ExportImportConfiguration exportImportConfiguration) |
Group |
getLiveGroup(Group group) |
Group |
getLiveGroup(long groupId) |
long |
getLiveGroupId(long groupId) |
Group |
getPermissionStagingGroup(Group group) |
long |
getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetBranchId,
long plid) |
long |
getRecentLayoutRevisionId(User user,
long layoutSetBranchId,
long plid) |
long |
getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetId) |
long |
getRecentLayoutSetBranchId(User user,
long layoutSetId) |
Layout |
getRemoteLayout(long userId,
long stagingGroupId,
long plid) |
long |
getRemoteLayoutPlid(long userId,
long stagingGroupId,
long plid) |
String |
getRemoteSiteURL(Group stagingGroup,
boolean privateLayout) |
String |
getSchedulerGroupName(String destinationName,
long groupId) |
String |
getStagedPortletId(String portletId) |
long[] |
getStagingAndLiveGroupIds(long groupId) |
Group |
getStagingGroup(long groupId) |
JSONArray |
getWarningMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences) |
WorkflowTask |
getWorkflowTask(long userId,
LayoutRevision layoutRevision) |
boolean |
hasRemoteLayout(long userId,
long stagingGroupId,
long plid) |
boolean |
hasWorkflowTask(long userId,
LayoutRevision layoutRevision) |
boolean |
isGroupAccessible(Group group,
Group fromGroup) |
boolean |
isGroupAccessible(long groupId,
long fromGroupId) |
boolean |
isIncomplete(Layout layout) |
boolean |
isIncomplete(Layout layout,
long layoutSetBranchId) |
boolean |
isRemoteLayoutHasPortletId(long userId,
long stagingGroupId,
long plid,
String portletId) |
void |
populateLastPublishDateCounts(PortletDataContext portletDataContext,
StagedModelType[] stagedModelTypes) |
void |
populateLastPublishDateCounts(PortletDataContext portletDataContext,
String[] classNames) |
long |
publishLayout(long userId,
long plid,
long liveGroupId,
boolean includeChildren) |
long |
publishLayouts(long userId,
ExportImportConfiguration exportImportConfiguration) |
long |
publishLayouts(long userId,
long exportImportConfigurationId) |
long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap) |
long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
String name,
Map<String,String[]> parameterMap) |
long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<String,String[]> parameterMap) |
long |
publishPortlet(long userId,
ExportImportConfiguration exportImportConfiguration) |
long |
publishPortlet(long userId,
long exportImportConfigurationId) |
long |
publishPortlet(long userId,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
String portletId,
Map<String,String[]> parameterMap) |
long |
publishToLive(javax.portlet.PortletRequest portletRequest) |
long |
publishToLive(javax.portlet.PortletRequest portletRequest,
Portlet portlet) |
long |
publishToRemote(javax.portlet.PortletRequest portletRequest) |
<T extends BaseModel> |
removeModelFromChangesetCollection(T model) |
void |
scheduleCopyFromLive(javax.portlet.PortletRequest portletRequest) |
void |
schedulePublishToLive(javax.portlet.PortletRequest portletRequest) |
void |
schedulePublishToRemote(javax.portlet.PortletRequest portletRequest) |
void |
setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetBranchId,
long plid,
long layoutBranchId) |
void |
setRecentLayoutBranchId(User user,
long layoutSetBranchId,
long plid,
long layoutBranchId) |
void |
setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetBranchId,
long plid,
long layoutRevisionId) |
void |
setRecentLayoutRevisionId(User user,
long layoutSetBranchId,
long plid,
long layoutRevisionId) |
void |
setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetId,
long layoutSetBranchId) |
void |
setRecentLayoutSetBranchId(User user,
long layoutSetId,
long layoutSetBranchId) |
void |
setRemoteSiteURL(Group stagingGroup,
boolean overrideRemoteSiteURL,
String remoteSiteURL) |
String |
stripProtocolFromRemoteAddress(String remoteAddress) |
void |
transferFileToRemoteLive(File file,
long stagingRequestId,
HttpPrincipal httpPrincipal) |
void |
unscheduleCopyFromLive(javax.portlet.PortletRequest portletRequest) |
void |
unschedulePublishToLive(javax.portlet.PortletRequest portletRequest) |
void |
unschedulePublishToRemote(javax.portlet.PortletRequest portletRequest) |
void |
updateLastImportSettings(Element layoutElement,
Layout layout,
PortletDataContext portletDataContext) |
void |
validateRemoteGroupIsSame(long groupId,
long remoteGroupId,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection) |
<T extends BaseModel> void addModelToChangesetCollection(T model) throws PortalException
PortalExceptionlong copyFromLive(javax.portlet.PortletRequest portletRequest)
throws PortalException
PortalExceptionlong copyFromLive(javax.portlet.PortletRequest portletRequest,
Portlet portlet)
throws PortalException
PortalExceptionlong copyRemoteLayouts(ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalExceptionlong copyRemoteLayouts(long exportImportConfigurationId)
throws PortalException
PortalExceptionlong copyRemoteLayouts(long sourceGroupId,
boolean privateLayout,
Map<Long,Boolean> layoutIdMap,
Map<String,String[]> parameterMap,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean remotePrivateLayout)
throws PortalException
PortalExceptionlong copyRemoteLayouts(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)
throws PortalException
PortalExceptionvoid deleteLastImportSettings(Group liveGroup, boolean privateLayout) throws PortalException
PortalExceptionvoid deleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetBranchId,
long plid)
void deleteRecentLayoutRevisionId(long userId,
long layoutSetBranchId,
long plid)
JSONArray getErrorMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences)
JSONObject getExceptionMessagesJSONObject(Locale locale, Exception exception, ExportImportConfiguration exportImportConfiguration)
Group getLiveGroup(long groupId)
long getLiveGroupId(long groupId)
long getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetBranchId,
long plid)
throws PortalException
PortalExceptionlong getRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid) throws PortalException
PortalExceptionlong getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetId)
long getRecentLayoutSetBranchId(User user, long layoutSetId)
Layout getRemoteLayout(long userId, long stagingGroupId, long plid) throws PortalException
PortalExceptionlong getRemoteLayoutPlid(long userId,
long stagingGroupId,
long plid)
throws PortalException
PortalExceptionString getRemoteSiteURL(Group stagingGroup, boolean privateLayout) throws PortalException
PortalExceptionString getSchedulerGroupName(String destinationName,
long groupId)
String getStagedPortletId(String portletId)
long[] getStagingAndLiveGroupIds(long groupId)
throws PortalException
PortalExceptionGroup getStagingGroup(long groupId)
JSONArray getWarningMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences)
WorkflowTask getWorkflowTask(long userId, LayoutRevision layoutRevision) throws PortalException
PortalExceptionboolean hasRemoteLayout(long userId,
long stagingGroupId,
long plid)
throws PortalException
PortalExceptionboolean hasWorkflowTask(long userId,
LayoutRevision layoutRevision)
throws PortalException
PortalExceptionboolean isGroupAccessible(long groupId,
long fromGroupId)
throws PortalException
PortalExceptionboolean isIncomplete(Layout layout)
boolean isIncomplete(Layout layout, long layoutSetBranchId)
boolean isRemoteLayoutHasPortletId(long userId,
long stagingGroupId,
long plid,
String portletId)
void populateLastPublishDateCounts(PortletDataContext portletDataContext, StagedModelType[] stagedModelTypes) throws PortalException
PortalExceptionvoid populateLastPublishDateCounts(PortletDataContext portletDataContext, String[] classNames) throws PortalException
PortalExceptionlong publishLayout(long userId,
long plid,
long liveGroupId,
boolean includeChildren)
throws PortalException
PortalExceptionlong publishLayouts(long userId,
ExportImportConfiguration exportImportConfiguration)
throws PortalException
PortalExceptionlong publishLayouts(long userId,
long exportImportConfigurationId)
throws PortalException
PortalExceptionlong publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap)
throws PortalException
PortalExceptionlong publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
String name,
Map<String,String[]> parameterMap)
throws PortalException
PortalExceptionlong publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<String,String[]> parameterMap)
throws PortalException
PortalExceptionlong publishPortlet(long userId,
ExportImportConfiguration exportImportConfiguration)
throws PortalException
PortalExceptionlong publishPortlet(long userId,
long exportImportConfigurationId)
throws PortalException
PortalExceptionlong publishPortlet(long userId,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
String portletId,
Map<String,String[]> parameterMap)
throws PortalException
PortalExceptionlong publishToLive(javax.portlet.PortletRequest portletRequest)
throws PortalException
PortalExceptionlong publishToLive(javax.portlet.PortletRequest portletRequest,
Portlet portlet)
throws PortalException
PortalExceptionlong publishToRemote(javax.portlet.PortletRequest portletRequest)
throws PortalException
PortalException<T extends BaseModel> void removeModelFromChangesetCollection(T model) throws PortalException
PortalExceptionvoid scheduleCopyFromLive(javax.portlet.PortletRequest portletRequest)
throws PortalException
PortalExceptionvoid schedulePublishToLive(javax.portlet.PortletRequest portletRequest)
throws PortalException
PortalExceptionvoid schedulePublishToRemote(javax.portlet.PortletRequest portletRequest)
throws PortalException
PortalExceptionvoid setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetBranchId,
long plid,
long layoutBranchId)
throws PortalException
PortalExceptionvoid setRecentLayoutBranchId(User user, long layoutSetBranchId, long plid, long layoutBranchId) throws PortalException
PortalExceptionvoid setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetBranchId,
long plid,
long layoutRevisionId)
throws PortalException
PortalExceptionvoid setRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid, long layoutRevisionId) throws PortalException
PortalExceptionvoid setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest httpServletRequest,
long layoutSetId,
long layoutSetBranchId)
throws PortalException
PortalExceptionvoid setRecentLayoutSetBranchId(User user, long layoutSetId, long layoutSetBranchId) throws PortalException
PortalExceptionvoid setRemoteSiteURL(Group stagingGroup, boolean overrideRemoteSiteURL, String remoteSiteURL) throws PortalException
PortalExceptionString stripProtocolFromRemoteAddress(String remoteAddress)
void transferFileToRemoteLive(File file,
long stagingRequestId,
HttpPrincipal httpPrincipal)
throws Exception
Exceptionvoid unscheduleCopyFromLive(javax.portlet.PortletRequest portletRequest)
throws PortalException
PortalExceptionvoid unschedulePublishToLive(javax.portlet.PortletRequest portletRequest)
throws PortalException
PortalExceptionvoid unschedulePublishToRemote(javax.portlet.PortletRequest portletRequest)
throws PortalException
PortalExceptionvoid updateLastImportSettings(Element layoutElement, Layout layout, PortletDataContext portletDataContext) throws PortalException
PortalExceptionvoid validateRemoteGroupIsSame(long groupId,
long remoteGroupId,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection)
throws PortalException
PortalException