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