public interface Staging
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
buildRemoteURL(java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean privateLayout) |
java.lang.String |
buildRemoteURL(UnicodeProperties typeSettingsProperties) |
void |
checkDefaultLayoutSetBranches(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, replaced by
checkDefaultLayoutSetBranches(long, Group, boolean, boolean,
boolean, ServiceContext)) |
void |
copyFromLive(javax.portlet.PortletRequest PortletRequest) |
void |
copyFromLive(javax.portlet.PortletRequest PortletRequest,
Portlet portlet) |
void |
copyPortlet(javax.portlet.PortletRequest PortletRequest,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
java.lang.String portletId) |
void |
copyRemoteLayouts(long sourceGroupId,
boolean privateLayout,
java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean remotePrivateLayout,
java.util.Date startDate,
java.util.Date endDate) |
void |
deleteLastImportSettings(Group liveGroup,
boolean privateLayout) |
void |
deleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid) |
void |
deleteRecentLayoutRevisionId(User user,
long layoutSetBranchId,
long plid) |
void |
disableStaging(Group scopeGroup,
Group liveGroup,
ServiceContext serviceContext)
Deprecated.
As of 6.2.0, replaced by
StagingLocalService.disableStaging(
Group, ServiceContext) |
void |
disableStaging(Group liveGroup,
ServiceContext serviceContext)
Deprecated.
As of 6.2.0, replaced by
StagingLocalService.disableStaging(
Group, ServiceContext) |
void |
disableStaging(javax.portlet.PortletRequest portletRequest,
Group scopeGroup,
Group liveGroup,
ServiceContext serviceContext)
Deprecated.
As of 6.2.0, replaced by
StagingLocalService.disableStaging(
PortletRequest, Group, ServiceContext) |
void |
disableStaging(javax.portlet.PortletRequest portletRequest,
Group liveGroup,
ServiceContext serviceContext)
Deprecated.
As of 6.2.0, replaced by
StagingLocalService.disableStaging(
PortletRequest, Group, ServiceContext) |
void |
enableLocalStaging(long userId,
Group scopeGroup,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext serviceContext)
Deprecated.
As of 6.2.0, replaced by
StagingLocalService.enableLocalStaging(
long, Group, boolean, boolean, ServiceContext) |
void |
enableRemoteStaging(long userId,
Group scopeGroup,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext)
Deprecated.
|
JSONArray |
getErrorMessagesJSONArray(java.util.Locale locale,
java.util.Map<java.lang.String,MissingReference> missingReferences,
java.util.Map<java.lang.String,java.io.Serializable> contextMap) |
JSONObject |
getExceptionMessagesJSONObject(java.util.Locale locale,
java.lang.Exception e,
java.util.Map<java.lang.String,java.io.Serializable> contextMap) |
java.util.Date |
getLastPublishDate(LayoutSet layoutSet) |
java.util.Date |
getLastPublishDate(javax.portlet.PortletPreferences jxPortletPreferences) |
Group |
getLiveGroup(long groupId) |
long |
getLiveGroupId(long groupId) |
java.util.List<Layout> |
getMissingParentLayouts(Layout layout,
long liveGroupId) |
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) |
java.lang.String |
getSchedulerGroupName(java.lang.String destinationName,
long groupId) |
java.lang.String |
getStagedPortletId(java.lang.String portletId) |
java.util.Map<java.lang.String,java.lang.String[]> |
getStagingParameters() |
java.util.Map<java.lang.String,java.lang.String[]> |
getStagingParameters(javax.portlet.PortletRequest PortletRequest) |
JSONArray |
getWarningMessagesJSONArray(java.util.Locale locale,
java.util.Map<java.lang.String,MissingReference> missingReferences,
java.util.Map<java.lang.String,java.io.Serializable> contextMap) |
WorkflowTask |
getWorkflowTask(long userId,
LayoutRevision layoutRevision) |
boolean |
hasWorkflowTask(long userId,
LayoutRevision layoutRevision) |
boolean |
isIncomplete(Layout layout,
long layoutSetBranchId) |
void |
lockGroup(long userId,
long groupId) |
void |
publishLayout(long userId,
long plid,
long liveGroupId,
boolean includeChildren) |
void |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.util.Date startDate,
java.util.Date endDate) |
void |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.util.Date startDate,
java.util.Date endDate) |
void |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.util.Date startDate,
java.util.Date endDate) |
void |
publishToLive(javax.portlet.PortletRequest PortletRequest) |
void |
publishToLive(javax.portlet.PortletRequest PortletRequest,
Portlet portlet) |
void |
publishToRemote(javax.portlet.PortletRequest PortletRequest) |
void |
scheduleCopyFromLive(javax.portlet.PortletRequest PortletRequest) |
void |
schedulePublishToLive(javax.portlet.PortletRequest PortletRequest) |
void |
schedulePublishToRemote(javax.portlet.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) |
void |
unlockGroup(long groupId) |
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 |
updateLastPublishDate(long sourceGroupId,
boolean privateLayout,
java.util.Date lastPublishDate) |
void |
updateLastPublishDate(long sourceGroupId,
boolean privateLayout,
DateRange dateRange,
java.util.Date lastPublishDate) |
void |
updateLastPublishDate(java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences,
java.util.Date lastPublishDate) |
void |
updateLastPublishDate(java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences,
DateRange dateRange,
java.util.Date lastPublishDate) |
void |
updateStaging(javax.portlet.PortletRequest PortletRequest,
Group liveGroup) |
void |
validateRemote(java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId) |
java.lang.String buildRemoteURL(java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean privateLayout)
java.lang.String buildRemoteURL(UnicodeProperties typeSettingsProperties)
@Deprecated
void checkDefaultLayoutSetBranches(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
ServiceContext serviceContext)
throws PortalException,
SystemException
checkDefaultLayoutSetBranches(long, Group, boolean, boolean,
boolean, ServiceContext))PortalExceptionSystemExceptionvoid copyFromLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
java.lang.Exceptionvoid copyFromLive(javax.portlet.PortletRequest PortletRequest,
Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionvoid copyPortlet(javax.portlet.PortletRequest PortletRequest,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
java.lang.String portletId)
throws java.lang.Exception
java.lang.Exceptionvoid copyRemoteLayouts(long sourceGroupId,
boolean privateLayout,
java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean remotePrivateLayout,
java.util.Date startDate,
java.util.Date endDate)
throws java.lang.Exception
java.lang.Exceptionvoid deleteLastImportSettings(Group liveGroup, boolean privateLayout) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid deleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid)
throws SystemException
SystemExceptionvoid deleteRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid) throws SystemException
SystemExceptionvoid disableStaging(Group scopeGroup, Group liveGroup, ServiceContext serviceContext) throws java.lang.Exception
StagingLocalService.disableStaging(
Group, ServiceContext)java.lang.Exceptionvoid disableStaging(Group liveGroup, ServiceContext serviceContext) throws java.lang.Exception
StagingLocalService.disableStaging(
Group, ServiceContext)java.lang.Exceptionvoid disableStaging(javax.portlet.PortletRequest portletRequest,
Group scopeGroup,
Group liveGroup,
ServiceContext serviceContext)
throws java.lang.Exception
StagingLocalService.disableStaging(
PortletRequest, Group, ServiceContext)java.lang.Exceptionvoid disableStaging(javax.portlet.PortletRequest portletRequest,
Group liveGroup,
ServiceContext serviceContext)
throws java.lang.Exception
StagingLocalService.disableStaging(
PortletRequest, Group, ServiceContext)java.lang.Exceptionvoid enableLocalStaging(long userId,
Group scopeGroup,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext serviceContext)
throws java.lang.Exception
StagingLocalService.enableLocalStaging(
long, Group, boolean, boolean, ServiceContext)java.lang.Exceptionvoid enableRemoteStaging(long userId,
Group scopeGroup,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext)
throws java.lang.Exception
StagingLocalService.enableRemoteStaging(
long, Group, boolean, boolean, String, int, String, boolean,
long, ServiceContext)java.lang.ExceptionJSONArray getErrorMessagesJSONArray(java.util.Locale locale, java.util.Map<java.lang.String,MissingReference> missingReferences, java.util.Map<java.lang.String,java.io.Serializable> contextMap)
JSONObject getExceptionMessagesJSONObject(java.util.Locale locale, java.lang.Exception e, java.util.Map<java.lang.String,java.io.Serializable> contextMap)
java.util.Date getLastPublishDate(LayoutSet layoutSet) throws PortalException
PortalExceptionjava.util.Date getLastPublishDate(javax.portlet.PortletPreferences jxPortletPreferences)
Group getLiveGroup(long groupId) throws PortalException, SystemException
PortalExceptionSystemExceptionlong getLiveGroupId(long groupId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionjava.util.List<Layout> getMissingParentLayouts(Layout layout, long liveGroupId) throws java.lang.Exception
java.lang.Exceptionlong getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid)
throws PortalException,
SystemException
PortalExceptionSystemExceptionlong getRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid) throws PortalException, SystemException
PortalExceptionSystemExceptionlong getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request,
long layoutSetId)
long getRecentLayoutSetBranchId(User user, long layoutSetId) throws SystemException
SystemExceptionjava.lang.String getSchedulerGroupName(java.lang.String destinationName,
long groupId)
java.lang.String getStagedPortletId(java.lang.String portletId)
java.util.Map<java.lang.String,java.lang.String[]> getStagingParameters()
java.util.Map<java.lang.String,java.lang.String[]> getStagingParameters(javax.portlet.PortletRequest PortletRequest)
JSONArray getWarningMessagesJSONArray(java.util.Locale locale, java.util.Map<java.lang.String,MissingReference> missingReferences, java.util.Map<java.lang.String,java.io.Serializable> contextMap)
WorkflowTask getWorkflowTask(long userId, LayoutRevision layoutRevision) throws PortalException, SystemException
PortalExceptionSystemExceptionboolean hasWorkflowTask(long userId,
LayoutRevision layoutRevision)
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean isIncomplete(Layout layout, long layoutSetBranchId)
void lockGroup(long userId,
long groupId)
throws java.lang.Exception
java.lang.Exceptionvoid publishLayout(long userId,
long plid,
long liveGroupId,
boolean includeChildren)
throws java.lang.Exception
java.lang.Exceptionvoid publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.util.Date startDate,
java.util.Date endDate)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.util.Date startDate,
java.util.Date endDate)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.util.Date startDate,
java.util.Date endDate)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid publishToLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
java.lang.Exceptionvoid publishToLive(javax.portlet.PortletRequest PortletRequest,
Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionvoid publishToRemote(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
java.lang.Exceptionvoid scheduleCopyFromLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
java.lang.Exceptionvoid schedulePublishToLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
java.lang.Exceptionvoid schedulePublishToRemote(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
java.lang.Exceptionvoid setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid,
long layoutBranchId)
throws SystemException
SystemExceptionvoid setRecentLayoutBranchId(User user, long layoutSetBranchId, long plid, long layoutBranchId) throws SystemException
SystemExceptionvoid setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid,
long layoutRevisionId)
throws SystemException
SystemExceptionvoid setRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid, long layoutRevisionId) throws SystemException
SystemExceptionvoid setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request,
long layoutSetId,
long layoutSetBranchId)
void setRecentLayoutSetBranchId(User user, long layoutSetId, long layoutSetBranchId) throws SystemException
SystemExceptionvoid unlockGroup(long groupId)
throws SystemException
SystemExceptionvoid unscheduleCopyFromLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
java.lang.Exceptionvoid unschedulePublishToLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
java.lang.Exceptionvoid unschedulePublishToRemote(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
java.lang.Exceptionvoid updateLastImportSettings(Element layoutElement, Layout layout, PortletDataContext portletDataContext) throws java.lang.Exception
java.lang.Exceptionvoid updateLastPublishDate(long sourceGroupId,
boolean privateLayout,
java.util.Date lastPublishDate)
throws java.lang.Exception
java.lang.Exceptionvoid updateLastPublishDate(long sourceGroupId,
boolean privateLayout,
DateRange dateRange,
java.util.Date lastPublishDate)
throws java.lang.Exception
java.lang.Exceptionvoid updateLastPublishDate(java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences,
java.util.Date lastPublishDate)
throws java.lang.Exception
java.lang.Exceptionvoid updateLastPublishDate(java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences,
DateRange dateRange,
java.util.Date lastPublishDate)
void updateStaging(javax.portlet.PortletRequest PortletRequest,
Group liveGroup)
throws java.lang.Exception
java.lang.Exceptionvoid validateRemote(java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId)
throws PortalException
PortalException