Liferay 7.0-ce-m3

com.liferay.portal.kernel.staging
Interface Staging

All Known Implementing Classes:
StagingImpl

@ProviderType
public interface Staging


Method Summary
 String buildRemoteURL(String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean privateLayout)
           
 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(PortletRequest PortletRequest)
           
 void copyFromLive(PortletRequest PortletRequest, Portlet portlet)
           
 void copyPortlet(PortletRequest PortletRequest, long sourceGroupId, long targetGroupId, long sourcePlid, long targetPlid, String portletId)
           
 void copyRemoteLayouts(ExportImportConfiguration exportImportConfiguration)
           
 void copyRemoteLayouts(long exportImportConfigurationId)
           
 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 StagingLocalService.disableStaging( Group, ServiceContext)
 void disableStaging(Group liveGroup, ServiceContext serviceContext)
          Deprecated. As of 6.2.0, replaced by StagingLocalService.disableStaging( Group, ServiceContext)
 void disableStaging(PortletRequest portletRequest, Group scopeGroup, Group liveGroup, ServiceContext serviceContext)
          Deprecated. As of 6.2.0, replaced by StagingLocalService.disableStaging( PortletRequest, Group, ServiceContext)
 void disableStaging(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, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext)
          Deprecated. As of 6.2.0, replaced by StagingLocalService.enableRemoteStaging( long, Group, boolean, boolean, String, int, String, boolean, long, 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)
          Deprecated. As of 7.0.0, moved to ExportImportHelperUtil.getMissingParentLayouts( Layout, long)
 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)
           
 Group getStagingGroup(long groupId)
           
 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, ExportImportConfiguration exportImportConfiguration)
           
 void publishLayouts(long userId, long exportImportConfigurationId)
           
 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)
          Deprecated. As of 7.0.0, replaced by publishLayouts(long, long, long, boolean, long[], Map, Date, Date)
 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)
           
 String stripProtocolFromRemoteAddress(String remoteAddress)
           
 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)
          Deprecated. As of 7.0.0, replaced by ExportImportDateUtil.updateLastPublishDate( long, boolean, com.liferay.portal.kernel.util.DateRange, Date)
 void updateLastPublishDate(String portletId, PortletPreferences portletPreferences, Date lastPublishDate)
          Deprecated. As of 7.0.0, replaced by ExportImportDateUtil.updateLastPublishDate( String, PortletPreferences, com.liferay.portal.kernel.util.DateRange, Date)
 void updateStaging(PortletRequest PortletRequest, Group liveGroup)
           
 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 7.0.0, replaced by validateRemote(long, String, int, String, boolean, long)
 

Method Detail

buildRemoteURL

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

buildRemoteURL

String buildRemoteURL(UnicodeProperties typeSettingsProperties)

checkDefaultLayoutSetBranches

@Deprecated
void checkDefaultLayoutSetBranches(long userId,
                                              Group liveGroup,
                                              boolean branchingPublic,
                                              boolean branchingPrivate,
                                              boolean remote,
                                              ServiceContext serviceContext)
                                   throws PortalException
Deprecated. As of 7.0.0, replaced by checkDefaultLayoutSetBranches(long, Group, boolean, boolean, boolean, ServiceContext))

Throws:
PortalException

copyFromLive

void copyFromLive(PortletRequest PortletRequest)
                  throws PortalException
Throws:
PortalException

copyFromLive

void copyFromLive(PortletRequest PortletRequest,
                  Portlet portlet)
                  throws PortalException
Throws:
PortalException

copyPortlet

void copyPortlet(PortletRequest PortletRequest,
                 long sourceGroupId,
                 long targetGroupId,
                 long sourcePlid,
                 long targetPlid,
                 String portletId)
                 throws PortalException
Throws:
PortalException

copyRemoteLayouts

void copyRemoteLayouts(ExportImportConfiguration exportImportConfiguration)
                       throws PortalException
Throws:
PortalException

copyRemoteLayouts

void copyRemoteLayouts(long exportImportConfigurationId)
                       throws PortalException
Throws:
PortalException

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 PortalException
Throws:
PortalException

deleteLastImportSettings

void deleteLastImportSettings(Group liveGroup,
                              boolean privateLayout)
                              throws PortalException
Throws:
PortalException

deleteRecentLayoutRevisionId

void deleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
                                  long layoutSetBranchId,
                                  long plid)

deleteRecentLayoutRevisionId

void deleteRecentLayoutRevisionId(User user,
                                  long layoutSetBranchId,
                                  long plid)

disableStaging

@Deprecated
void disableStaging(Group scopeGroup,
                               Group liveGroup,
                               ServiceContext serviceContext)
                    throws Exception
Deprecated. As of 6.2.0, replaced by StagingLocalService.disableStaging( Group, ServiceContext)

Throws:
Exception

disableStaging

@Deprecated
void disableStaging(Group liveGroup,
                               ServiceContext serviceContext)
                    throws Exception
Deprecated. As of 6.2.0, replaced by StagingLocalService.disableStaging( Group, ServiceContext)

Throws:
Exception

disableStaging

@Deprecated
void disableStaging(PortletRequest portletRequest,
                               Group scopeGroup,
                               Group liveGroup,
                               ServiceContext serviceContext)
                    throws Exception
Deprecated. As of 6.2.0, replaced by StagingLocalService.disableStaging( PortletRequest, Group, ServiceContext)

Throws:
Exception

disableStaging

@Deprecated
void disableStaging(PortletRequest portletRequest,
                               Group liveGroup,
                               ServiceContext serviceContext)
                    throws Exception
Deprecated. As of 6.2.0, replaced by StagingLocalService.disableStaging( PortletRequest, Group, ServiceContext)

Throws:
Exception

enableLocalStaging

@Deprecated
void enableLocalStaging(long userId,
                                   Group scopeGroup,
                                   Group liveGroup,
                                   boolean branchingPublic,
                                   boolean branchingPrivate,
                                   ServiceContext serviceContext)
                        throws Exception
Deprecated. As of 6.2.0, replaced by StagingLocalService.enableLocalStaging( long, Group, boolean, boolean, ServiceContext)

Throws:
Exception

enableRemoteStaging

@Deprecated
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
Deprecated. As of 6.2.0, replaced by StagingLocalService.enableRemoteStaging( long, Group, boolean, boolean, String, int, String, boolean, long, ServiceContext)

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)

getLiveGroupId

long getLiveGroupId(long groupId)

getMissingParentLayouts

@Deprecated
List<Layout> getMissingParentLayouts(Layout layout,
                                                long liveGroupId)
                                     throws PortalException
Deprecated. As of 7.0.0, moved to ExportImportHelperUtil.getMissingParentLayouts( Layout, long)

Throws:
PortalException

getRecentLayoutRevisionId

long getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
                               long layoutSetBranchId,
                               long plid)
                               throws PortalException
Throws:
PortalException

getRecentLayoutRevisionId

long getRecentLayoutRevisionId(User user,
                               long layoutSetBranchId,
                               long plid)
                               throws PortalException
Throws:
PortalException

getRecentLayoutSetBranchId

long getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request,
                                long layoutSetId)

getRecentLayoutSetBranchId

long getRecentLayoutSetBranchId(User user,
                                long layoutSetId)

getSchedulerGroupName

String getSchedulerGroupName(String destinationName,
                             long groupId)

getStagedPortletId

String getStagedPortletId(String portletId)

getStagingGroup

Group getStagingGroup(long groupId)

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
Throws:
PortalException

hasWorkflowTask

boolean hasWorkflowTask(long userId,
                        LayoutRevision layoutRevision)
                        throws PortalException
Throws:
PortalException

isIncomplete

boolean isIncomplete(Layout layout,
                     long layoutSetBranchId)

lockGroup

void lockGroup(long userId,
               long groupId)
               throws PortalException
Throws:
PortalException

publishLayout

void publishLayout(long userId,
                   long plid,
                   long liveGroupId,
                   boolean includeChildren)
                   throws PortalException
Throws:
PortalException

publishLayouts

void publishLayouts(long userId,
                    ExportImportConfiguration exportImportConfiguration)
                    throws PortalException
Throws:
PortalException

publishLayouts

void publishLayouts(long userId,
                    long exportImportConfigurationId)
                    throws PortalException
Throws:
PortalException

publishLayouts

void publishLayouts(long userId,
                    long sourceGroupId,
                    long targetGroupId,
                    boolean privateLayout,
                    long[] layoutIds,
                    Map<String,String[]> parameterMap,
                    Date startDate,
                    Date endDate)
                    throws PortalException
Throws:
PortalException

publishLayouts

@Deprecated
void publishLayouts(long userId,
                               long sourceGroupId,
                               long targetGroupId,
                               boolean privateLayout,
                               Map<Long,Boolean> layoutIdMap,
                               Map<String,String[]> parameterMap,
                               Date startDate,
                               Date endDate)
                    throws PortalException
Deprecated. As of 7.0.0, replaced by publishLayouts(long, long, long, boolean, long[], Map, Date, Date)

Throws:
PortalException

publishLayouts

void publishLayouts(long userId,
                    long sourceGroupId,
                    long targetGroupId,
                    boolean privateLayout,
                    Map<String,String[]> parameterMap,
                    Date startDate,
                    Date endDate)
                    throws PortalException
Throws:
PortalException

publishToLive

void publishToLive(PortletRequest PortletRequest)
                   throws PortalException
Throws:
PortalException

publishToLive

void publishToLive(PortletRequest PortletRequest,
                   Portlet portlet)
                   throws PortalException
Throws:
PortalException

publishToRemote

void publishToRemote(PortletRequest PortletRequest)
                     throws PortalException
Throws:
PortalException

scheduleCopyFromLive

void scheduleCopyFromLive(PortletRequest PortletRequest)
                          throws PortalException
Throws:
PortalException

schedulePublishToLive

void schedulePublishToLive(PortletRequest PortletRequest)
                           throws PortalException
Throws:
PortalException

schedulePublishToRemote

void schedulePublishToRemote(PortletRequest PortletRequest)
                             throws PortalException
Throws:
PortalException

setRecentLayoutBranchId

void setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest request,
                             long layoutSetBranchId,
                             long plid,
                             long layoutBranchId)

setRecentLayoutBranchId

void setRecentLayoutBranchId(User user,
                             long layoutSetBranchId,
                             long plid,
                             long layoutBranchId)

setRecentLayoutRevisionId

void setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
                               long layoutSetBranchId,
                               long plid,
                               long layoutRevisionId)

setRecentLayoutRevisionId

void setRecentLayoutRevisionId(User user,
                               long layoutSetBranchId,
                               long plid,
                               long layoutRevisionId)

setRecentLayoutSetBranchId

void setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request,
                                long layoutSetId,
                                long layoutSetBranchId)

setRecentLayoutSetBranchId

void setRecentLayoutSetBranchId(User user,
                                long layoutSetId,
                                long layoutSetBranchId)

stripProtocolFromRemoteAddress

String stripProtocolFromRemoteAddress(String remoteAddress)

unlockGroup

void unlockGroup(long groupId)

unscheduleCopyFromLive

void unscheduleCopyFromLive(PortletRequest PortletRequest)
                            throws PortalException
Throws:
PortalException

unschedulePublishToLive

void unschedulePublishToLive(PortletRequest PortletRequest)
                             throws PortalException
Throws:
PortalException

unschedulePublishToRemote

void unschedulePublishToRemote(PortletRequest PortletRequest)
                               throws PortalException
Throws:
PortalException

updateLastImportSettings

void updateLastImportSettings(Element layoutElement,
                              Layout layout,
                              PortletDataContext portletDataContext)
                              throws PortalException
Throws:
PortalException

updateLastPublishDate

@Deprecated
void updateLastPublishDate(long sourceGroupId,
                                      boolean privateLayout,
                                      Date lastPublishDate)
                           throws PortalException
Deprecated. As of 7.0.0, replaced by ExportImportDateUtil.updateLastPublishDate( long, boolean, com.liferay.portal.kernel.util.DateRange, Date)

Throws:
PortalException

updateLastPublishDate

@Deprecated
void updateLastPublishDate(String portletId,
                                      PortletPreferences portletPreferences,
                                      Date lastPublishDate)
                           throws PortalException
Deprecated. As of 7.0.0, replaced by ExportImportDateUtil.updateLastPublishDate( String, PortletPreferences, com.liferay.portal.kernel.util.DateRange, Date)

Throws:
PortalException

updateStaging

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

validateRemote

void validateRemote(long groupId,
                    String remoteAddress,
                    int remotePort,
                    String remotePathContext,
                    boolean secureConnection,
                    long remoteGroupId)
                    throws PortalException
Throws:
PortalException

validateRemote

@Deprecated
void validateRemote(String remoteAddress,
                               int remotePort,
                               String remotePathContext,
                               boolean secureConnection,
                               long remoteGroupId)
                    throws PortalException
Deprecated. As of 7.0.0, replaced by validateRemote(long, String, int, String, boolean, long)

Throws:
PortalException

Liferay 7.0-ce-m3