Liferay 7.0-ce-b4

com.liferay.portlet.exportimport.staging
Class StagingUtil

java.lang.Object
  extended by com.liferay.portlet.exportimport.staging.StagingUtil

@ProviderType
public class StagingUtil
extends Object


Constructor Summary
StagingUtil()
           
 
Method Summary
static String buildRemoteURL(String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection)
           
static String buildRemoteURL(String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean privateLayout)
          Deprecated. As of 7.0.0, replaced by getRemoteSiteURL(Group, boolean)
static String buildRemoteURL(UnicodeProperties typeSettingsProperties)
           
static 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)
static void copyFromLive(PortletRequest PortletRequest)
           
static void copyFromLive(PortletRequest PortletRequest, Portlet portlet)
           
static void copyPortlet(PortletRequest PortletRequest, long sourceGroupId, long targetGroupId, long sourcePlid, long targetPlid, String portletId)
          Deprecated. As of 7.0.0, replaced by publishPortlet(long, long, long, long, long, String, Map)
static void copyRemoteLayouts(ExportImportConfiguration exportImportConfiguration)
           
static void copyRemoteLayouts(long exportImportConfigurationId)
           
static 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)
           
static 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)
          Deprecated. As of 7.0.0, replaced by copyRemoteLayouts(long, boolean, Map, Map, String, int, String, boolean, long, boolean)
static void copyRemoteLayouts(long sourceGroupId, boolean privateLayout, Map<Long,Boolean> layoutIdMap, String name, Map<String,String[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout)
           
static void deleteLastImportSettings(Group liveGroup, boolean privateLayout)
           
static void deleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request, long layoutSetBranchId, long plid)
           
static void deleteRecentLayoutRevisionId(long userId, long layoutSetBranchId, long plid)
           
static void deleteRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid)
          Deprecated. As of 7.0.0, replaced by deleteRecentLayoutRevisionId(long, long, long)
static JSONArray getErrorMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences)
           
static JSONArray getErrorMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences, Map<String,Serializable> contextMap)
          Deprecated. As of 7.0.0, replaced by #getErrorMessagesJSONArray(Locale, Map)
static JSONObject getExceptionMessagesJSONObject(Locale locale, Exception e, ExportImportConfiguration exportImportConfiguration)
           
static JSONObject getExceptionMessagesJSONObject(Locale locale, Exception e, Map<String,Serializable> contextMap)
          Deprecated. As of 7.0.0, replaced by getExceptionMessagesJSONObject(Locale, Exception, ExportImportConfiguration)
static Group getLiveGroup(long groupId)
           
static long getLiveGroupId(long groupId)
           
static List<Layout> getMissingParentLayouts(Layout layout, long liveGroupId)
          Deprecated. As of 7.0.0, moved to ExportImportHelperUtil.getMissingParentLayouts( Layout, long)
static long getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request, long layoutSetBranchId, long plid)
           
static long getRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid)
           
static long getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request, long layoutSetId)
           
static long getRecentLayoutSetBranchId(User user, long layoutSetId)
           
static String getRemoteSiteURL(Group stagingGroup, boolean privateLayout)
           
static String getSchedulerGroupName(String destinationName, long groupId)
           
static String getStagedPortletId(String portletId)
           
static long[] getStagingAndLiveGroupIds(long groupId)
           
static Group getStagingGroup(long groupId)
           
static Map<String,String[]> getStagingParameters()
          Deprecated. As of 7.0.0, replaced by ExportImportConfigurationParameterMapFactory.buildParameterMap( )
static Map<String,String[]> getStagingParameters(PortletRequest PortletRequest)
          Deprecated. As of 7.0.0, replaced by ExportImportConfigurationParameterMapFactory.buildParameterMap( PortletRequest)
static JSONArray getWarningMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences)
           
static JSONArray getWarningMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences, Map<String,Serializable> contextMap)
          Deprecated. As of 7.0.0, replaced by #getWarningMessagesJSONArray(Locale, Map)
static WorkflowTask getWorkflowTask(long userId, LayoutRevision layoutRevision)
           
static boolean hasWorkflowTask(long userId, LayoutRevision layoutRevision)
           
static boolean isIncomplete(Layout layout, long layoutSetBranchId)
           
static void lockGroup(long userId, long groupId)
          Deprecated. As of 7.0.0, see BackgroundTaskExecutor.getIsolationLevel( )
static void publishLayout(long userId, long plid, long liveGroupId, boolean includeChildren)
           
static void publishLayouts(long userId, ExportImportConfiguration exportImportConfiguration)
           
static void publishLayouts(long userId, long exportImportConfigurationId)
           
static void publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap)
           
static void publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate)
          Deprecated. As of 7.0.0, replaced by publishLayouts(long, long, long, boolean, long[], Map)
static void publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, String name, Map<String,String[]> parameterMap)
           
static 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)
static void publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<String,String[]> parameterMap)
           
static void publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<String,String[]> parameterMap, Date startDate, Date endDate)
          Deprecated. As of 7.0.0, replaced by publishLayouts(long, long, long, boolean, Map)
static void publishPortlet(long userId, ExportImportConfiguration exportImportConfiguration)
           
static void publishPortlet(long userId, long exportImportConfigurationId)
           
static void publishPortlet(long userId, long sourceGroupId, long targetGroupId, long sourcePlid, long targetPlid, String portletId, Map<String,String[]> parameterMap)
           
static void publishToLive(PortletRequest PortletRequest)
           
static void publishToLive(PortletRequest PortletRequest, Portlet portlet)
           
static void publishToRemote(PortletRequest PortletRequest)
           
static void scheduleCopyFromLive(PortletRequest PortletRequest)
           
static void schedulePublishToLive(PortletRequest PortletRequest)
           
static void schedulePublishToRemote(PortletRequest PortletRequest)
           
static void setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest request, long layoutSetBranchId, long plid, long layoutBranchId)
           
static void setRecentLayoutBranchId(User user, long layoutSetBranchId, long plid, long layoutBranchId)
           
static void setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request, long layoutSetBranchId, long plid, long layoutRevisionId)
           
static void setRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid, long layoutRevisionId)
           
static void setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request, long layoutSetId, long layoutSetBranchId)
           
static void setRecentLayoutSetBranchId(User user, long layoutSetId, long layoutSetBranchId)
           
static String stripProtocolFromRemoteAddress(String remoteAddress)
           
static void unlockGroup(long groupId)
          Deprecated. As of 7.0.0, see BackgroundTaskExecutor.getIsolationLevel( )
static void unscheduleCopyFromLive(PortletRequest PortletRequest)
           
static void unschedulePublishToLive(PortletRequest PortletRequest)
           
static void unschedulePublishToRemote(PortletRequest PortletRequest)
           
static void updateLastImportSettings(Element layoutElement, Layout layout, PortletDataContext portletDataContext)
           
static 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)
static 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)
static void updateStaging(PortletRequest PortletRequest, Group liveGroup)
           
static void validateRemote(long groupId, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId)
           
static 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)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StagingUtil

public StagingUtil()
Method Detail

buildRemoteURL

public static String buildRemoteURL(String remoteAddress,
                                    int remotePort,
                                    String remotePathContext,
                                    boolean secureConnection)

buildRemoteURL

@Deprecated
public static String buildRemoteURL(String remoteAddress,
                                               int remotePort,
                                               String remotePathContext,
                                               boolean secureConnection,
                                               long remoteGroupId,
                                               boolean privateLayout)
Deprecated. As of 7.0.0, replaced by getRemoteSiteURL(Group, boolean)


buildRemoteURL

public static String buildRemoteURL(UnicodeProperties typeSettingsProperties)

checkDefaultLayoutSetBranches

@Deprecated
public static 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

public static void copyFromLive(PortletRequest PortletRequest)
                         throws PortalException
Throws:
PortalException

copyFromLive

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

copyPortlet

@Deprecated
public static void copyPortlet(PortletRequest PortletRequest,
                                          long sourceGroupId,
                                          long targetGroupId,
                                          long sourcePlid,
                                          long targetPlid,
                                          String portletId)
                        throws PortalException
Deprecated. As of 7.0.0, replaced by publishPortlet(long, long, long, long, long, String, Map)

Throws:
PortalException

copyRemoteLayouts

public static void copyRemoteLayouts(ExportImportConfiguration exportImportConfiguration)
                              throws PortalException
Throws:
PortalException

copyRemoteLayouts

public static void copyRemoteLayouts(long exportImportConfigurationId)
                              throws PortalException
Throws:
PortalException

copyRemoteLayouts

public static 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)
                              throws PortalException
Throws:
PortalException

copyRemoteLayouts

@Deprecated
public static 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
Deprecated. As of 7.0.0, replaced by copyRemoteLayouts(long, boolean, Map, Map, String, int, String, boolean, long, boolean)

Throws:
PortalException

copyRemoteLayouts

public static void copyRemoteLayouts(long sourceGroupId,
                                     boolean privateLayout,
                                     Map<Long,Boolean> layoutIdMap,
                                     String name,
                                     Map<String,String[]> parameterMap,
                                     String remoteAddress,
                                     int remotePort,
                                     String remotePathContext,
                                     boolean secureConnection,
                                     long remoteGroupId,
                                     boolean remotePrivateLayout)
                              throws PortalException
Throws:
PortalException

deleteLastImportSettings

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

deleteRecentLayoutRevisionId

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

deleteRecentLayoutRevisionId

public static void deleteRecentLayoutRevisionId(long userId,
                                                long layoutSetBranchId,
                                                long plid)

deleteRecentLayoutRevisionId

@Deprecated
public static void deleteRecentLayoutRevisionId(User user,
                                                           long layoutSetBranchId,
                                                           long plid)
Deprecated. As of 7.0.0, replaced by deleteRecentLayoutRevisionId(long, long, long)


getErrorMessagesJSONArray

public static JSONArray getErrorMessagesJSONArray(Locale locale,
                                                  Map<String,MissingReference> missingReferences)

getErrorMessagesJSONArray

@Deprecated
public static JSONArray getErrorMessagesJSONArray(Locale locale,
                                                             Map<String,MissingReference> missingReferences,
                                                             Map<String,Serializable> contextMap)
Deprecated. As of 7.0.0, replaced by #getErrorMessagesJSONArray(Locale, Map)


getExceptionMessagesJSONObject

public static JSONObject getExceptionMessagesJSONObject(Locale locale,
                                                        Exception e,
                                                        ExportImportConfiguration exportImportConfiguration)

getExceptionMessagesJSONObject

@Deprecated
public static JSONObject getExceptionMessagesJSONObject(Locale locale,
                                                                   Exception e,
                                                                   Map<String,Serializable> contextMap)
Deprecated. As of 7.0.0, replaced by getExceptionMessagesJSONObject(Locale, Exception, ExportImportConfiguration)


getLiveGroup

public static Group getLiveGroup(long groupId)

getLiveGroupId

public static long getLiveGroupId(long groupId)

getMissingParentLayouts

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

Throws:
Exception

getRecentLayoutRevisionId

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

getRecentLayoutRevisionId

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

getRecentLayoutSetBranchId

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

getRecentLayoutSetBranchId

public static long getRecentLayoutSetBranchId(User user,
                                              long layoutSetId)

getRemoteSiteURL

public static String getRemoteSiteURL(Group stagingGroup,
                                      boolean privateLayout)
                               throws PortalException
Throws:
PortalException

getSchedulerGroupName

public static String getSchedulerGroupName(String destinationName,
                                           long groupId)

getStagedPortletId

public static String getStagedPortletId(String portletId)

getStagingAndLiveGroupIds

public static long[] getStagingAndLiveGroupIds(long groupId)
                                        throws PortalException
Throws:
PortalException

getStagingGroup

public static Group getStagingGroup(long groupId)

getStagingParameters

@Deprecated
public static Map<String,String[]> getStagingParameters()
Deprecated. As of 7.0.0, replaced by ExportImportConfigurationParameterMapFactory.buildParameterMap( )


getStagingParameters

@Deprecated
public static Map<String,String[]> getStagingParameters(PortletRequest PortletRequest)
Deprecated. As of 7.0.0, replaced by ExportImportConfigurationParameterMapFactory.buildParameterMap( PortletRequest)


getWarningMessagesJSONArray

public static JSONArray getWarningMessagesJSONArray(Locale locale,
                                                    Map<String,MissingReference> missingReferences)

getWarningMessagesJSONArray

@Deprecated
public static JSONArray getWarningMessagesJSONArray(Locale locale,
                                                               Map<String,MissingReference> missingReferences,
                                                               Map<String,Serializable> contextMap)
Deprecated. As of 7.0.0, replaced by #getWarningMessagesJSONArray(Locale, Map)


getWorkflowTask

public static WorkflowTask getWorkflowTask(long userId,
                                           LayoutRevision layoutRevision)
                                    throws PortalException
Throws:
PortalException

hasWorkflowTask

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

isIncomplete

public static boolean isIncomplete(Layout layout,
                                   long layoutSetBranchId)

lockGroup

@Deprecated
public static void lockGroup(long userId,
                                        long groupId)
                      throws PortalException
Deprecated. As of 7.0.0, see BackgroundTaskExecutor.getIsolationLevel( )

Throws:
PortalException

publishLayout

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

publishLayouts

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

publishLayouts

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

publishLayouts

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

publishLayouts

@Deprecated
public static void publishLayouts(long userId,
                                             long sourceGroupId,
                                             long targetGroupId,
                                             boolean privateLayout,
                                             long[] layoutIds,
                                             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)

Throws:
PortalException

publishLayouts

public static void publishLayouts(long userId,
                                  long sourceGroupId,
                                  long targetGroupId,
                                  boolean privateLayout,
                                  long[] layoutIds,
                                  String name,
                                  Map<String,String[]> parameterMap)
                           throws PortalException
Throws:
PortalException

publishLayouts

@Deprecated
public static 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)

Throws:
PortalException

publishLayouts

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

publishLayouts

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

Throws:
PortalException

publishPortlet

public static void publishPortlet(long userId,
                                  ExportImportConfiguration exportImportConfiguration)
                           throws PortalException
Throws:
PortalException

publishPortlet

public static void publishPortlet(long userId,
                                  long exportImportConfigurationId)
                           throws PortalException
Throws:
PortalException

publishPortlet

public static void publishPortlet(long userId,
                                  long sourceGroupId,
                                  long targetGroupId,
                                  long sourcePlid,
                                  long targetPlid,
                                  String portletId,
                                  Map<String,String[]> parameterMap)
                           throws PortalException
Throws:
PortalException

publishToLive

public static void publishToLive(PortletRequest PortletRequest)
                          throws PortalException
Throws:
PortalException

publishToLive

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

publishToRemote

public static void publishToRemote(PortletRequest PortletRequest)
                            throws PortalException
Throws:
PortalException

scheduleCopyFromLive

public static void scheduleCopyFromLive(PortletRequest PortletRequest)
                                 throws PortalException
Throws:
PortalException

schedulePublishToLive

public static void schedulePublishToLive(PortletRequest PortletRequest)
                                  throws PortalException
Throws:
PortalException

schedulePublishToRemote

public static void schedulePublishToRemote(PortletRequest PortletRequest)
                                    throws PortalException
Throws:
PortalException

setRecentLayoutBranchId

public static void setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest request,
                                           long layoutSetBranchId,
                                           long plid,
                                           long layoutBranchId)
                                    throws PortalException
Throws:
PortalException

setRecentLayoutBranchId

public static void setRecentLayoutBranchId(User user,
                                           long layoutSetBranchId,
                                           long plid,
                                           long layoutBranchId)
                                    throws PortalException
Throws:
PortalException

setRecentLayoutRevisionId

public static void setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request,
                                             long layoutSetBranchId,
                                             long plid,
                                             long layoutRevisionId)
                                      throws PortalException
Throws:
PortalException

setRecentLayoutRevisionId

public static void setRecentLayoutRevisionId(User user,
                                             long layoutSetBranchId,
                                             long plid,
                                             long layoutRevisionId)
                                      throws PortalException
Throws:
PortalException

setRecentLayoutSetBranchId

public static void setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request,
                                              long layoutSetId,
                                              long layoutSetBranchId)
                                       throws PortalException
Throws:
PortalException

setRecentLayoutSetBranchId

public static void setRecentLayoutSetBranchId(User user,
                                              long layoutSetId,
                                              long layoutSetBranchId)
                                       throws PortalException
Throws:
PortalException

stripProtocolFromRemoteAddress

public static String stripProtocolFromRemoteAddress(String remoteAddress)

unlockGroup

@Deprecated
public static void unlockGroup(long groupId)
Deprecated. As of 7.0.0, see BackgroundTaskExecutor.getIsolationLevel( )


unscheduleCopyFromLive

public static void unscheduleCopyFromLive(PortletRequest PortletRequest)
                                   throws PortalException
Throws:
PortalException

unschedulePublishToLive

public static void unschedulePublishToLive(PortletRequest PortletRequest)
                                    throws PortalException
Throws:
PortalException

unschedulePublishToRemote

public static void unschedulePublishToRemote(PortletRequest PortletRequest)
                                      throws PortalException
Throws:
PortalException

updateLastImportSettings

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

updateLastPublishDate

@Deprecated
public static 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
public static 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

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

validateRemote

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

validateRemote

@Deprecated
public static 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-b4