Liferay 6.1.2-ce-ga3

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 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. disableStaging(Group, ServiceContext)
 void disableStaging(Group liveGroup, ServiceContext serviceContext)
           
 void disableStaging(PortletRequest portletRequest, Group scopeGroup, Group liveGroup, ServiceContext serviceContext)
          Deprecated. 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)
           
 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)
           
 Map<String,String[]> getStagingParameters()
           
 Map<String,String[]> getStagingParameters(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, 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 unscheduleCopyFromLive(PortletRequest PortletRequest)
           
 void unschedulePublishToLive(PortletRequest PortletRequest)
           
 void unschedulePublishToRemote(PortletRequest PortletRequest)
           
 void updateLastImportSettings(Element layoutElement, Layout layout, PortletDataContext portletDataContext)
           
 void updateStaging(PortletRequest PortletRequest, Group liveGroup)
           
 

Method Detail

buildRemoteURL

String buildRemoteURL(String remoteAddress,
                      int remotePort,
                      String remotePathContext,
                      boolean secureConnection,
                      long remoteGroupId,
                      boolean privateLayout)

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. 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. 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

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)

getStagingParameters

Map<String,String[]> getStagingParameters()

getStagingParameters

Map<String,String[]> getStagingParameters(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 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

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

updateStaging

void updateStaging(PortletRequest PortletRequest,
                   Group liveGroup)
                   throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3