@ProviderType
public interface Staging
Modifier and Type | Method and Description |
---|---|
String |
buildRemoteURL(ExportImportConfiguration exportImportConfiguration) |
String |
buildRemoteURL(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection) |
String |
buildRemoteURL(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean privateLayout)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getRemoteSiteURL(Group, boolean) |
String |
buildRemoteURL(UnicodeProperties typeSettingsProperties) |
void |
checkDefaultLayoutSetBranches(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
checkDefaultLayoutSetBranches(long, Group, boolean, boolean,
boolean, ServiceContext) |
long |
copyFromLive(PortletRequest portletRequest) |
long |
copyFromLive(PortletRequest portletRequest,
Portlet portlet) |
long |
copyPortlet(PortletRequest portletRequest,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
String portletId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishPortlet(long, long, long, long, long, String, Map) |
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,
Map<String,String[]> parameterMap,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean remotePrivateLayout,
Date startDate,
Date endDate)
Deprecated.
As of Wilberforce (7.0.x), replaced by
copyRemoteLayouts(long, boolean, Map, Map, String, int,
String, boolean, long, boolean) |
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 request,
long layoutSetBranchId,
long plid) |
void |
deleteRecentLayoutRevisionId(long userId,
long layoutSetBranchId,
long plid) |
void |
deleteRecentLayoutRevisionId(User user,
long layoutSetBranchId,
long plid)
Deprecated.
As of Wilberforce (7.0.x), replaced by
deleteRecentLayoutRevisionId(long, long, long) |
JSONArray |
getErrorMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences) |
JSONArray |
getErrorMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences,
Map<String,Serializable> contextMap)
Deprecated.
As of Wilberforce (7.0.x), replaced by
#getErrorMessagesJSONArray(Locale, Map |
JSONObject |
getExceptionMessagesJSONObject(Locale locale,
Exception e,
ExportImportConfiguration exportImportConfiguration) |
JSONObject |
getExceptionMessagesJSONObject(Locale locale,
Exception e,
Map<String,Serializable> contextMap)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getExceptionMessagesJSONObject(Locale, Exception,
ExportImportConfiguration) |
Group |
getLiveGroup(Group group) |
Group |
getLiveGroup(long groupId) |
long |
getLiveGroupId(long groupId) |
List<Layout> |
getMissingParentLayouts(Layout layout,
long liveGroupId)
Deprecated.
As of Wilberforce (7.0.x), moved to
ExportImportHelperUtil.getMissingParentLayouts(
Layout, long) |
Group |
getPermissionStagingGroup(Group group) |
long |
getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid) |
long |
getRecentLayoutRevisionId(User user,
long layoutSetBranchId,
long plid) |
long |
getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request,
long layoutSetId) |
long |
getRecentLayoutSetBranchId(User user,
long layoutSetId) |
String |
getRemoteSiteURL(Group stagingGroup,
boolean privateLayout) |
String |
getSchedulerGroupName(String destinationName,
long groupId) |
String |
getStagedPortletId(String portletId) |
long[] |
getStagingAndLiveGroupIds(long groupId) |
Group |
getStagingGroup(long groupId) |
Map<String,String[]> |
getStagingParameters()
Deprecated.
As of Wilberforce (7.0.x), replaced by
ExportImportConfigurationParameterMapFactory.buildParameterMap(
) |
Map<String,String[]> |
getStagingParameters(PortletRequest portletRequest)
Deprecated.
As of Wilberforce (7.0.x), replaced by
ExportImportConfigurationParameterMapFactory.buildParameterMap(
PortletRequest) |
JSONArray |
getWarningMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences) |
JSONArray |
getWarningMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences,
Map<String,Serializable> contextMap)
Deprecated.
As of Wilberforce (7.0.x), replaced by
#getWarningMessagesJSONArray(Locale, Map |
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,
long layoutSetBranchId) |
void |
lockGroup(long userId,
long groupId)
Deprecated.
As of Wilberforce (7.0.x), see
BackgroundTaskExecutor.getIsolationLevel(
) |
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,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishLayouts(long, long, long, boolean, long[], Map) |
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<Long,Boolean> layoutIdMap,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishLayouts(long, long, long, boolean, long[], Map) |
long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<String,String[]> parameterMap) |
long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishLayouts(long, long, long, boolean, Map) |
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) |
void |
scheduleCopyFromLive(PortletRequest portletRequest) |
void |
schedulePublishToLive(PortletRequest portletRequest) |
void |
schedulePublishToRemote(PortletRequest portletRequest) |
void |
setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid,
long layoutBranchId) |
void |
setRecentLayoutBranchId(User user,
long layoutSetBranchId,
long plid,
long layoutBranchId) |
void |
setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid,
long layoutRevisionId) |
void |
setRecentLayoutRevisionId(User user,
long layoutSetBranchId,
long plid,
long layoutRevisionId) |
void |
setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request,
long layoutSetId,
long layoutSetBranchId) |
void |
setRecentLayoutSetBranchId(User user,
long layoutSetId,
long layoutSetBranchId) |
String |
stripProtocolFromRemoteAddress(String remoteAddress) |
void |
unlockGroup(long groupId)
Deprecated.
As of Wilberforce (7.0.x), see
BackgroundTaskExecutor.getIsolationLevel(
) |
void |
unscheduleCopyFromLive(PortletRequest portletRequest) |
void |
unschedulePublishToLive(PortletRequest portletRequest) |
void |
unschedulePublishToRemote(PortletRequest portletRequest) |
void |
updateLastImportSettings(Element layoutElement,
Layout layout,
PortletDataContext portletDataContext) |
void |
updateLastPublishDate(long sourceGroupId,
boolean privateLayout,
Date lastPublishDate)
Deprecated.
As of Wilberforce (7.0.x), replaced by
ExportImportDateUtil.updateLastPublishDate(
long, boolean, com.liferay.portal.kernel.util.DateRange,
Date) |
void |
updateLastPublishDate(String portletId,
PortletPreferences portletPreferences,
Date lastPublishDate)
Deprecated.
As of Wilberforce (7.0.x), replaced by
ExportImportDateUtil.updateLastPublishDate(
String, PortletPreferences,
com.liferay.portal.kernel.util.DateRange, Date) |
void |
updateStaging(PortletRequest portletRequest,
Group liveGroup)
Deprecated.
As of Judson (7.1.x), replaced by
com.liferay.staging.configuration.web.internal.portlet.StagingConfigurationPortlet#editStagingConfiguration(
javax.portlet.ActionRequest, javax.portlet.ActionResponse) |
void |
validateRemote(long groupId,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId) |
void |
validateRemote(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
validateRemote(long, String, int, String, boolean, long) |
String buildRemoteURL(ExportImportConfiguration exportImportConfiguration)
String buildRemoteURL(String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection)
@Deprecated String buildRemoteURL(String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean privateLayout)
getRemoteSiteURL(Group, boolean)
String buildRemoteURL(UnicodeProperties typeSettingsProperties)
@Deprecated void checkDefaultLayoutSetBranches(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, boolean remote, ServiceContext serviceContext) throws PortalException
checkDefaultLayoutSetBranches(long, Group, boolean, boolean,
boolean, ServiceContext)
PortalException
long copyFromLive(PortletRequest portletRequest) throws PortalException
PortalException
long copyFromLive(PortletRequest portletRequest, Portlet portlet) throws PortalException
PortalException
@Deprecated long copyPortlet(PortletRequest portletRequest, long sourceGroupId, long targetGroupId, long sourcePlid, long targetPlid, String portletId) throws PortalException
publishPortlet(long, long, long, long, long, String, Map)
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
@Deprecated 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, Date startDate, Date endDate) throws PortalException
copyRemoteLayouts(long, boolean, Map, Map, String, int,
String, boolean, long, boolean)
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 request, long layoutSetBranchId, long plid)
void deleteRecentLayoutRevisionId(long userId, long layoutSetBranchId, long plid)
@Deprecated void deleteRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid)
deleteRecentLayoutRevisionId(long, long, long)
JSONArray getErrorMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences)
@Deprecated JSONArray getErrorMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences, Map<String,Serializable> contextMap)
#getErrorMessagesJSONArray(Locale, Map)
JSONObject getExceptionMessagesJSONObject(Locale locale, Exception e, ExportImportConfiguration exportImportConfiguration)
@Deprecated JSONObject getExceptionMessagesJSONObject(Locale locale, Exception e, Map<String,Serializable> contextMap)
getExceptionMessagesJSONObject(Locale, Exception,
ExportImportConfiguration)
Group getLiveGroup(long groupId)
long getLiveGroupId(long groupId)
@Deprecated List<Layout> getMissingParentLayouts(Layout layout, long liveGroupId) throws PortalException
ExportImportHelperUtil.getMissingParentLayouts(
Layout, long)
PortalException
long getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request, long layoutSetBranchId, long plid) throws PortalException
PortalException
long getRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid) throws PortalException
PortalException
long getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request, long layoutSetId)
long getRecentLayoutSetBranchId(User user, long layoutSetId)
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)
@Deprecated Map<String,String[]> getStagingParameters()
ExportImportConfigurationParameterMapFactory.buildParameterMap(
)
@Deprecated Map<String,String[]> getStagingParameters(PortletRequest portletRequest)
ExportImportConfigurationParameterMapFactory.buildParameterMap(
PortletRequest)
JSONArray getWarningMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences)
@Deprecated JSONArray getWarningMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences, Map<String,Serializable> contextMap)
#getWarningMessagesJSONArray(Locale, Map)
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, long layoutSetBranchId)
@Deprecated void lockGroup(long userId, long groupId) throws PortalException
BackgroundTaskExecutor.getIsolationLevel(
)
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
@Deprecated long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException
publishLayouts(long, long, long, boolean, long[], Map)
PortalException
long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, String name, Map<String,String[]> parameterMap) throws PortalException
PortalException
@Deprecated long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<Long,Boolean> layoutIdMap, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException
publishLayouts(long, long, long, boolean, long[], Map)
PortalException
long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<String,String[]> parameterMap) throws PortalException
PortalException
@Deprecated long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException
publishLayouts(long, long, long, boolean, Map)
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
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 request, 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 request, 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 request, long layoutSetId, long layoutSetBranchId) throws PortalException
PortalException
void setRecentLayoutSetBranchId(User user, long layoutSetId, long layoutSetBranchId) throws PortalException
PortalException
String stripProtocolFromRemoteAddress(String remoteAddress)
@Deprecated void unlockGroup(long groupId)
BackgroundTaskExecutor.getIsolationLevel(
)
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
@Deprecated void updateLastPublishDate(long sourceGroupId, boolean privateLayout, Date lastPublishDate) throws PortalException
ExportImportDateUtil.updateLastPublishDate(
long, boolean, com.liferay.portal.kernel.util.DateRange,
Date)
PortalException
@Deprecated void updateLastPublishDate(String portletId, PortletPreferences portletPreferences, Date lastPublishDate) throws PortalException
ExportImportDateUtil.updateLastPublishDate(
String, PortletPreferences,
com.liferay.portal.kernel.util.DateRange, Date)
PortalException
@Deprecated void updateStaging(PortletRequest portletRequest, Group liveGroup) throws PortalException
com.liferay.staging.configuration.web.internal.portlet.StagingConfigurationPortlet#editStagingConfiguration(
javax.portlet.ActionRequest, javax.portlet.ActionResponse)
PortalException
void validateRemote(long groupId, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId) throws PortalException
PortalException
@Deprecated void validateRemote(String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId) throws PortalException
validateRemote(long, String, int, String, boolean, long)
PortalException