com.liferay.portal.kernel.staging
Interface Staging
- All Known Implementing Classes:
- StagingImpl
public interface Staging
|
Method Summary |
String |
buildRemoteURL(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean privateLayout)
|
void |
checkDefaultLayoutSetBranches(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
ServiceContext serviceContext)
|
void |
copyFromLive(PortletRequest PortletRequest)
|
void |
copyFromLive(PortletRequest PortletRequest,
Portlet portlet)
|
void |
copyPortlet(PortletRequest PortletRequest,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
String portletId)
|
void |
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)
|
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 disableStaging(Group,
ServiceContext) |
void |
disableStaging(Group liveGroup,
ServiceContext serviceContext)
|
void |
disableStaging(PortletRequest portletRequest,
Group scopeGroup,
Group liveGroup,
ServiceContext serviceContext)
Deprecated. As of 6.2.0, replaced by disableStaging(PortletRequest, Group, ServiceContext) |
void |
disableStaging(PortletRequest portletRequest,
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,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext)
|
JSONArray |
getErrorMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences,
Map<String,Serializable> contextMap)
|
JSONObject |
getExceptionMessagesJSONObject(Locale locale,
Exception e,
Map<String,Serializable> contextMap)
|
Group |
getLiveGroup(long groupId)
|
long |
getLiveGroupId(long groupId)
|
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)
|
String |
getSchedulerGroupName(String destinationName,
long groupId)
|
String |
getStagedPortletId(String portletId)
|
Map<String,String[]> |
getStagingParameters()
|
Map<String,String[]> |
getStagingParameters(PortletRequest PortletRequest)
|
JSONArray |
getWarningMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences,
Map<String,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,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
void |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<Long,Boolean> layoutIdMap,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
void |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
void |
publishToLive(PortletRequest PortletRequest)
|
void |
publishToLive(PortletRequest PortletRequest,
Portlet portlet)
|
void |
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)
|
void |
unlockGroup(long groupId)
|
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)
|
void |
updateLastPublishDate(String portletId,
PortletPreferences portletPreferences,
Date lastPublishDate)
|
void |
updateStaging(PortletRequest PortletRequest,
Group liveGroup)
|
buildRemoteURL
String buildRemoteURL(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean privateLayout)
checkDefaultLayoutSetBranches
void checkDefaultLayoutSetBranches(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
copyFromLive
void copyFromLive(PortletRequest PortletRequest)
throws Exception
- Throws:
Exception
copyFromLive
void copyFromLive(PortletRequest PortletRequest,
Portlet portlet)
throws Exception
- Throws:
Exception
copyPortlet
void copyPortlet(PortletRequest PortletRequest,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
String portletId)
throws Exception
- Throws:
Exception
copyRemoteLayouts
void 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 Exception
- Throws:
Exception
deleteLastImportSettings
void deleteLastImportSettings(Group liveGroup,
boolean privateLayout)
throws Exception
- Throws:
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 Exception
- Deprecated. As of 6.2.0, replaced by
disableStaging(Group,
ServiceContext)
- Throws:
Exception
disableStaging
void disableStaging(Group liveGroup,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
disableStaging
void disableStaging(PortletRequest portletRequest,
Group scopeGroup,
Group liveGroup,
ServiceContext serviceContext)
throws Exception
- Deprecated. As of 6.2.0, replaced by
disableStaging(PortletRequest, Group, ServiceContext)
- Throws:
Exception
disableStaging
void disableStaging(PortletRequest portletRequest,
Group liveGroup,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
enableLocalStaging
void enableLocalStaging(long userId,
Group scopeGroup,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
enableRemoteStaging
void enableRemoteStaging(long userId,
Group scopeGroup,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
getErrorMessagesJSONArray
JSONArray getErrorMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences,
Map<String,Serializable> contextMap)
getExceptionMessagesJSONObject
JSONObject getExceptionMessagesJSONObject(Locale locale,
Exception e,
Map<String,Serializable> contextMap)
getLiveGroup
Group getLiveGroup(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLiveGroupId
long getLiveGroupId(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getMissingParentLayouts
List<Layout> getMissingParentLayouts(Layout layout,
long liveGroupId)
throws Exception
- Throws:
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
String getSchedulerGroupName(String destinationName,
long groupId)
getStagedPortletId
String getStagedPortletId(String portletId)
getStagingParameters
Map<String,String[]> getStagingParameters()
getStagingParameters
Map<String,String[]> getStagingParameters(PortletRequest PortletRequest)
getWarningMessagesJSONArray
JSONArray getWarningMessagesJSONArray(Locale locale,
Map<String,MissingReference> missingReferences,
Map<String,Serializable> contextMap)
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)
lockGroup
void lockGroup(long userId,
long groupId)
throws Exception
- Throws:
Exception
publishLayout
void publishLayout(long userId,
long plid,
long liveGroupId,
boolean includeChildren)
throws Exception
- Throws:
Exception
publishLayouts
void publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws Exception
- Throws:
Exception
publishLayouts
void publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<Long,Boolean> layoutIdMap,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws Exception
- Throws:
Exception
publishLayouts
void publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws Exception
- Throws:
Exception
publishToLive
void publishToLive(PortletRequest PortletRequest)
throws Exception
- Throws:
Exception
publishToLive
void publishToLive(PortletRequest PortletRequest,
Portlet portlet)
throws Exception
- Throws:
Exception
publishToRemote
void publishToRemote(PortletRequest PortletRequest)
throws Exception
- Throws:
Exception
scheduleCopyFromLive
void scheduleCopyFromLive(PortletRequest PortletRequest)
throws Exception
- Throws:
Exception
schedulePublishToLive
void schedulePublishToLive(PortletRequest PortletRequest)
throws Exception
- Throws:
Exception
schedulePublishToRemote
void schedulePublishToRemote(PortletRequest PortletRequest)
throws Exception
- Throws:
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
unlockGroup
void unlockGroup(long groupId)
throws SystemException
- Throws:
SystemException
unscheduleCopyFromLive
void unscheduleCopyFromLive(PortletRequest PortletRequest)
throws Exception
- Throws:
Exception
unschedulePublishToLive
void unschedulePublishToLive(PortletRequest PortletRequest)
throws Exception
- Throws:
Exception
unschedulePublishToRemote
void unschedulePublishToRemote(PortletRequest PortletRequest)
throws Exception
- Throws:
Exception
updateLastImportSettings
void updateLastImportSettings(Element layoutElement,
Layout layout,
PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
updateLastPublishDate
void updateLastPublishDate(long sourceGroupId,
boolean privateLayout,
Date lastPublishDate)
throws Exception
- Throws:
Exception
updateLastPublishDate
void updateLastPublishDate(String portletId,
PortletPreferences portletPreferences,
Date lastPublishDate)
throws Exception
- Throws:
Exception
updateStaging
void updateStaging(PortletRequest PortletRequest,
Group liveGroup)
throws Exception
- Throws:
Exception