com.liferay.portal.kernel.staging
Interface Staging
public interface Staging
- Author:
- Raymond Augé
|
Method Summary |
java.lang.String |
buildRemoteURL(java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean privateLayout)
|
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)
|
void |
disableStaging(javax.portlet.PortletRequest portletRequest,
Group scopeGroup,
Group liveGroup,
ServiceContext serviceContext)
|
void |
enableLocalStaging(long userId,
Group scopeGroup,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext 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)
|
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.util.Map<java.lang.String,java.lang.String[]> |
getStagingParameters()
|
java.util.Map<java.lang.String,java.lang.String[]> |
getStagingParameters(javax.portlet.PortletRequest PortletRequest)
|
WorkflowTask |
getWorkflowTask(long userId,
LayoutRevision layoutRevision)
|
boolean |
hasWorkflowTask(long userId,
LayoutRevision layoutRevision)
|
boolean |
isIncomplete(Layout layout,
long layoutSetBranchId)
|
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 |
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 |
updateStaging(javax.portlet.PortletRequest PortletRequest,
Group liveGroup)
|
buildRemoteURL
java.lang.String buildRemoteURL(java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean privateLayout)
copyFromLive
void copyFromLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
copyFromLive
void copyFromLive(javax.portlet.PortletRequest PortletRequest,
Portlet portlet)
throws java.lang.Exception
- Throws:
java.lang.Exception
copyPortlet
void copyPortlet(javax.portlet.PortletRequest PortletRequest,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
java.lang.String portletId)
throws java.lang.Exception
- Throws:
java.lang.Exception
copyRemoteLayouts
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)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteLastImportSettings
void deleteLastImportSettings(Group liveGroup,
boolean privateLayout)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteRecentLayoutRevisionId
void deleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid)
throws SystemException
- Throws:
SystemException
deleteRecentLayoutRevisionId
void deleteRecentLayoutRevisionId(User user,
long layoutSetBranchId,
long plid)
throws SystemException
- Throws:
SystemException
disableStaging
void disableStaging(Group scopeGroup,
Group liveGroup,
ServiceContext serviceContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
disableStaging
void disableStaging(javax.portlet.PortletRequest portletRequest,
Group scopeGroup,
Group liveGroup,
ServiceContext serviceContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
enableLocalStaging
void enableLocalStaging(long userId,
Group scopeGroup,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext serviceContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
enableRemoteStaging
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)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLiveGroup
Group getLiveGroup(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLiveGroupId
long getLiveGroupId(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getMissingParentLayouts
java.util.List<Layout> getMissingParentLayouts(Layout layout,
long liveGroupId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRecentLayoutRevisionId
long getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRecentLayoutRevisionId
long getRecentLayoutRevisionId(User user,
long layoutSetBranchId,
long plid)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRecentLayoutSetBranchId
long getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request,
long layoutSetId)
getRecentLayoutSetBranchId
long getRecentLayoutSetBranchId(User user,
long layoutSetId)
throws SystemException
- Throws:
SystemException
getSchedulerGroupName
java.lang.String getSchedulerGroupName(java.lang.String destinationName,
long groupId)
getStagingParameters
java.util.Map<java.lang.String,java.lang.String[]> getStagingParameters()
getStagingParameters
java.util.Map<java.lang.String,java.lang.String[]> getStagingParameters(javax.portlet.PortletRequest PortletRequest)
getWorkflowTask
WorkflowTask getWorkflowTask(long userId,
LayoutRevision layoutRevision)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasWorkflowTask
boolean hasWorkflowTask(long userId,
LayoutRevision layoutRevision)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isIncomplete
boolean isIncomplete(Layout layout,
long layoutSetBranchId)
publishLayout
void publishLayout(long userId,
long plid,
long liveGroupId,
boolean includeChildren)
throws java.lang.Exception
- Throws:
java.lang.Exception
publishLayouts
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)
throws java.lang.Exception
- Throws:
java.lang.Exception
publishLayouts
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)
throws java.lang.Exception
- Throws:
java.lang.Exception
publishLayouts
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)
throws java.lang.Exception
- Throws:
java.lang.Exception
publishToLive
void publishToLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
publishToLive
void publishToLive(javax.portlet.PortletRequest PortletRequest,
Portlet portlet)
throws java.lang.Exception
- Throws:
java.lang.Exception
publishToRemote
void publishToRemote(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
scheduleCopyFromLive
void scheduleCopyFromLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
schedulePublishToLive
void schedulePublishToLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
schedulePublishToRemote
void schedulePublishToRemote(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
setRecentLayoutBranchId
void setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid,
long layoutBranchId)
throws SystemException
- Throws:
SystemException
setRecentLayoutBranchId
void setRecentLayoutBranchId(User user,
long layoutSetBranchId,
long plid,
long layoutBranchId)
throws SystemException
- Throws:
SystemException
setRecentLayoutRevisionId
void setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
long layoutSetBranchId,
long plid,
long layoutRevisionId)
throws SystemException
- Throws:
SystemException
setRecentLayoutRevisionId
void setRecentLayoutRevisionId(User user,
long layoutSetBranchId,
long plid,
long layoutRevisionId)
throws SystemException
- Throws:
SystemException
setRecentLayoutSetBranchId
void setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request,
long layoutSetId,
long layoutSetBranchId)
setRecentLayoutSetBranchId
void setRecentLayoutSetBranchId(User user,
long layoutSetId,
long layoutSetBranchId)
throws SystemException
- Throws:
SystemException
unscheduleCopyFromLive
void unscheduleCopyFromLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
unschedulePublishToLive
void unschedulePublishToLive(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
unschedulePublishToRemote
void unschedulePublishToRemote(javax.portlet.PortletRequest PortletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateLastImportSettings
void updateLastImportSettings(Element layoutElement,
Layout layout,
PortletDataContext portletDataContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateStaging
void updateStaging(javax.portlet.PortletRequest PortletRequest,
Group liveGroup)
throws java.lang.Exception
- Throws:
java.lang.Exception