@ProviderType
public class StagingUtil
extends Object
Constructor and Description |
---|
StagingUtil() |
Modifier and Type | Method and Description |
---|---|
static <T extends BaseModel> |
addModelToChangesetCollection(T model) |
static String |
buildRemoteURL(ExportImportConfiguration exportImportConfiguration)
Deprecated.
As of Judson (7.1.x), replaced by
StagingURLHelper.buildRemoteURL(ExportImportConfiguration) |
static String |
buildRemoteURL(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection)
Deprecated.
As of Judson (7.1.x), replaced by
StagingURLHelper.buildRemoteURL(String, int, String,
boolean) |
static String |
buildRemoteURL(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean privateLayout)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getRemoteSiteURL(Group, boolean) |
static String |
buildRemoteURL(UnicodeProperties typeSettingsProperties)
Deprecated.
As of Judson (7.1.x), replaced by
StagingURLHelper.buildRemoteURL(UnicodeProperties) |
static void |
checkDefaultLayoutSetBranches(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
checkDefaultLayoutSetBranches(long, Group, boolean, boolean,
boolean, ServiceContext) |
static long |
copyFromLive(PortletRequest portletRequest) |
static long |
copyFromLive(PortletRequest portletRequest,
Portlet portlet) |
static long |
copyPortlet(PortletRequest portletRequest,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
String portletId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishPortlet(long, long, long, long, long, String, Map) |
static long |
copyRemoteLayouts(ExportImportConfiguration exportImportConfiguration) |
static long |
copyRemoteLayouts(long exportImportConfigurationId) |
static long |
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 long |
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 Wilberforce (7.0.x), replaced by
copyRemoteLayouts(long, boolean, Map, Map, String, int,
String, boolean, long, boolean) |
static long |
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 Wilberforce (7.0.x), 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 Wilberforce (7.0.x), 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 Wilberforce (7.0.x), replaced by
getExceptionMessagesJSONObject(Locale, Exception,
ExportImportConfiguration) |
static Group |
getLiveGroup(Group group) |
static Group |
getLiveGroup(long groupId) |
static long |
getLiveGroupId(long groupId) |
static List<Layout> |
getMissingParentLayouts(Layout layout,
long liveGroupId)
Deprecated.
As of Wilberforce (7.0.x), moved to
ExportImportHelperUtil.getMissingParentLayouts(
Layout, long) |
static Group |
getPermissionStagingGroup(Group group) |
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 long |
getRemoteLayoutPlid(long userId,
long stagingGroupId,
long plid) |
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 Wilberforce (7.0.x), replaced by
ExportImportConfigurationParameterMapFactory.buildParameterMap(
) |
static Map<String,String[]> |
getStagingParameters(PortletRequest portletRequest)
Deprecated.
As of Wilberforce (7.0.x), 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 Wilberforce (7.0.x), replaced by
#getWarningMessagesJSONArray(Locale, Map |
static WorkflowTask |
getWorkflowTask(long userId,
LayoutRevision layoutRevision) |
static boolean |
hasWorkflowTask(long userId,
LayoutRevision layoutRevision) |
static boolean |
isGroupAccessible(Group group,
Group fromGroup) |
static boolean |
isGroupAccessible(long groupId,
long fromGroupId) |
static boolean |
isIncomplete(Layout layout) |
static boolean |
isIncomplete(Layout layout,
long layoutSetBranchId) |
static boolean |
isRemoteLayoutHasPortletId(long userId,
long stagingGroupId,
long plid,
String portletId) |
static void |
lockGroup(long userId,
long groupId)
Deprecated.
As of Wilberforce (7.0.x), see
BackgroundTaskExecutor.getIsolationLevel(
) |
static void |
populateLastPublishDateCounts(PortletDataContext portletDataContext,
StagedModelType[] stagedModelTypes) |
static void |
populateLastPublishDateCounts(PortletDataContext portletDataContext,
String[] classNames) |
static long |
publishLayout(long userId,
long plid,
long liveGroupId,
boolean includeChildren) |
static long |
publishLayouts(long userId,
ExportImportConfiguration exportImportConfiguration) |
static long |
publishLayouts(long userId,
long exportImportConfigurationId) |
static long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap) |
static long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishLayouts(long, long, long, boolean, long[], Map) |
static long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
String name,
Map<String,String[]> parameterMap) |
static long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<Long,Boolean> layoutIdMap,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishLayouts(long, long, long, boolean, long[], Map) |
static long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<String,String[]> parameterMap) |
static long |
publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishLayouts(long, long, long, boolean, Map) |
static long |
publishPortlet(long userId,
ExportImportConfiguration exportImportConfiguration) |
static long |
publishPortlet(long userId,
long exportImportConfigurationId) |
static long |
publishPortlet(long userId,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
String portletId,
Map<String,String[]> parameterMap) |
static long |
publishToLive(PortletRequest portletRequest) |
static long |
publishToLive(PortletRequest portletRequest,
Portlet portlet) |
static long |
publishToRemote(PortletRequest portletRequest) |
static <T extends BaseModel> |
removeModelFromChangesetCollection(T model) |
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 |
transferFileToRemoteLive(File file,
long stagingRequestId,
HttpPrincipal httpPrincipal) |
static void |
unlockGroup(long groupId)
Deprecated.
As of Wilberforce (7.0.x), 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 Wilberforce (7.0.x), 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 Wilberforce (7.0.x), replaced by
ExportImportDateUtil.updateLastPublishDate(
String, PortletPreferences,
com.liferay.portal.kernel.util.DateRange, Date) |
static void |
updateStaging(PortletRequest portletRequest,
Group liveGroup)
Deprecated.
As of Judson (7.1.x), replaced by
com.liferay.staging.configuration.web.internal.portlet.StagingConfigurationPortlet#editStagingConfiguration(
javax.portlet.ActionRequest, javax.portlet.ActionResponse) |
static void |
validateRemote(long groupId,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId)
Deprecated.
As of Judson (7.1.x), replaced by
GroupLocalService.validateRemote(
long, String, int, String, boolean, long) |
static void |
validateRemote(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
validateRemote(long, String, int, String, boolean, long) |
static void |
validateRemoteGroupIsSame(long groupId,
long remoteGroupId,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection) |
public static <T extends BaseModel> void addModelToChangesetCollection(T model) throws PortalException
PortalException
@Deprecated public static String buildRemoteURL(ExportImportConfiguration exportImportConfiguration)
StagingURLHelper.buildRemoteURL(ExportImportConfiguration)
@Deprecated public static String buildRemoteURL(String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection)
StagingURLHelper.buildRemoteURL(String, int, String,
boolean)
@Deprecated public static String buildRemoteURL(String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean privateLayout)
getRemoteSiteURL(Group, boolean)
@Deprecated public static String buildRemoteURL(UnicodeProperties typeSettingsProperties)
StagingURLHelper.buildRemoteURL(UnicodeProperties)
@Deprecated public static void checkDefaultLayoutSetBranches(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, boolean remote, ServiceContext serviceContext) throws PortalException
checkDefaultLayoutSetBranches(long, Group, boolean, boolean,
boolean, ServiceContext)
PortalException
public static long copyFromLive(PortletRequest portletRequest) throws PortalException
PortalException
public static long copyFromLive(PortletRequest portletRequest, Portlet portlet) throws PortalException
PortalException
@Deprecated public static long copyPortlet(PortletRequest portletRequest, long sourceGroupId, long targetGroupId, long sourcePlid, long targetPlid, String portletId) throws PortalException
publishPortlet(long, long, long, long, long, String, Map)
PortalException
public static long copyRemoteLayouts(ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalException
public static long copyRemoteLayouts(long exportImportConfigurationId) throws PortalException
PortalException
public static long 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
PortalException
@Deprecated public static long 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
copyRemoteLayouts(long, boolean, Map, Map, String, int,
String, boolean, long, boolean)
PortalException
public static long 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
PortalException
public static void deleteLastImportSettings(Group liveGroup, boolean privateLayout) throws PortalException
PortalException
public static void deleteRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request, long layoutSetBranchId, long plid)
public static void deleteRecentLayoutRevisionId(long userId, long layoutSetBranchId, long plid)
@Deprecated public static void deleteRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid)
deleteRecentLayoutRevisionId(long, long, long)
public static JSONArray getErrorMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences)
@Deprecated public static JSONArray getErrorMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences, Map<String,Serializable> contextMap)
#getErrorMessagesJSONArray(Locale, Map)
public static JSONObject getExceptionMessagesJSONObject(Locale locale, Exception e, ExportImportConfiguration exportImportConfiguration)
@Deprecated public static JSONObject getExceptionMessagesJSONObject(Locale locale, Exception e, Map<String,Serializable> contextMap)
getExceptionMessagesJSONObject(Locale, Exception,
ExportImportConfiguration)
public static Group getLiveGroup(long groupId)
public static long getLiveGroupId(long groupId)
@Deprecated public static List<Layout> getMissingParentLayouts(Layout layout, long liveGroupId) throws Exception
ExportImportHelperUtil.getMissingParentLayouts(
Layout, long)
Exception
public static long getRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request, long layoutSetBranchId, long plid) throws PortalException
PortalException
public static long getRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid) throws PortalException
PortalException
public static long getRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request, long layoutSetId)
public static long getRecentLayoutSetBranchId(User user, long layoutSetId)
public static long getRemoteLayoutPlid(long userId, long stagingGroupId, long plid) throws PortalException
PortalException
public static String getRemoteSiteURL(Group stagingGroup, boolean privateLayout) throws PortalException
PortalException
public static String getSchedulerGroupName(String destinationName, long groupId)
public static String getStagedPortletId(String portletId)
public static long[] getStagingAndLiveGroupIds(long groupId) throws PortalException
PortalException
public static Group getStagingGroup(long groupId)
@Deprecated public static Map<String,String[]> getStagingParameters()
ExportImportConfigurationParameterMapFactory.buildParameterMap(
)
@Deprecated public static Map<String,String[]> getStagingParameters(PortletRequest portletRequest)
ExportImportConfigurationParameterMapFactory.buildParameterMap(
PortletRequest)
public static JSONArray getWarningMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences)
@Deprecated public static JSONArray getWarningMessagesJSONArray(Locale locale, Map<String,MissingReference> missingReferences, Map<String,Serializable> contextMap)
#getWarningMessagesJSONArray(Locale, Map)
public static WorkflowTask getWorkflowTask(long userId, LayoutRevision layoutRevision) throws PortalException
PortalException
public static boolean hasWorkflowTask(long userId, LayoutRevision layoutRevision) throws PortalException
PortalException
public static boolean isGroupAccessible(long groupId, long fromGroupId) throws PortalException
PortalException
public static boolean isIncomplete(Layout layout)
public static boolean isIncomplete(Layout layout, long layoutSetBranchId)
public static boolean isRemoteLayoutHasPortletId(long userId, long stagingGroupId, long plid, String portletId)
@Deprecated public static void lockGroup(long userId, long groupId) throws PortalException
BackgroundTaskExecutor.getIsolationLevel(
)
PortalException
public static void populateLastPublishDateCounts(PortletDataContext portletDataContext, StagedModelType[] stagedModelTypes) throws PortalException
PortalException
public static void populateLastPublishDateCounts(PortletDataContext portletDataContext, String[] classNames) throws PortalException
PortalException
public static long publishLayout(long userId, long plid, long liveGroupId, boolean includeChildren) throws PortalException
PortalException
public static long publishLayouts(long userId, ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalException
public static long publishLayouts(long userId, long exportImportConfigurationId) throws PortalException
PortalException
public static long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap) throws PortalException
PortalException
@Deprecated public static long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException
publishLayouts(long, long, long, boolean, long[], Map)
PortalException
public static long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, String name, Map<String,String[]> parameterMap) throws PortalException
PortalException
@Deprecated public static long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<Long,Boolean> layoutIdMap, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException
publishLayouts(long, long, long, boolean, long[], Map)
PortalException
public static long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<String,String[]> parameterMap) throws PortalException
PortalException
@Deprecated public static long publishLayouts(long userId, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException
publishLayouts(long, long, long, boolean, Map)
PortalException
public static long publishPortlet(long userId, ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalException
public static long publishPortlet(long userId, long exportImportConfigurationId) throws PortalException
PortalException
public static long publishPortlet(long userId, long sourceGroupId, long targetGroupId, long sourcePlid, long targetPlid, String portletId, Map<String,String[]> parameterMap) throws PortalException
PortalException
public static long publishToLive(PortletRequest portletRequest) throws PortalException
PortalException
public static long publishToLive(PortletRequest portletRequest, Portlet portlet) throws PortalException
PortalException
public static long publishToRemote(PortletRequest portletRequest) throws PortalException
PortalException
public static <T extends BaseModel> void removeModelFromChangesetCollection(T model) throws PortalException
PortalException
public static void scheduleCopyFromLive(PortletRequest portletRequest) throws PortalException
PortalException
public static void schedulePublishToLive(PortletRequest portletRequest) throws PortalException
PortalException
public static void schedulePublishToRemote(PortletRequest portletRequest) throws PortalException
PortalException
public static void setRecentLayoutBranchId(javax.servlet.http.HttpServletRequest request, long layoutSetBranchId, long plid, long layoutBranchId) throws PortalException
PortalException
public static void setRecentLayoutBranchId(User user, long layoutSetBranchId, long plid, long layoutBranchId) throws PortalException
PortalException
public static void setRecentLayoutRevisionId(javax.servlet.http.HttpServletRequest request, long layoutSetBranchId, long plid, long layoutRevisionId) throws PortalException
PortalException
public static void setRecentLayoutRevisionId(User user, long layoutSetBranchId, long plid, long layoutRevisionId) throws PortalException
PortalException
public static void setRecentLayoutSetBranchId(javax.servlet.http.HttpServletRequest request, long layoutSetId, long layoutSetBranchId) throws PortalException
PortalException
public static void setRecentLayoutSetBranchId(User user, long layoutSetId, long layoutSetBranchId) throws PortalException
PortalException
public static String stripProtocolFromRemoteAddress(String remoteAddress)
public static void transferFileToRemoteLive(File file, long stagingRequestId, HttpPrincipal httpPrincipal) throws Exception
Exception
@Deprecated public static void unlockGroup(long groupId)
BackgroundTaskExecutor.getIsolationLevel(
)
public static void unscheduleCopyFromLive(PortletRequest portletRequest) throws PortalException
PortalException
public static void unschedulePublishToLive(PortletRequest portletRequest) throws PortalException
PortalException
public static void unschedulePublishToRemote(PortletRequest portletRequest) throws PortalException
PortalException
public static void updateLastImportSettings(Element layoutElement, Layout layout, PortletDataContext portletDataContext) throws PortalException
PortalException
@Deprecated public static void updateLastPublishDate(long sourceGroupId, boolean privateLayout, Date lastPublishDate) throws PortalException
ExportImportDateUtil.updateLastPublishDate(
long, boolean, com.liferay.portal.kernel.util.DateRange,
Date)
PortalException
@Deprecated public static void updateLastPublishDate(String portletId, PortletPreferences portletPreferences, Date lastPublishDate) throws PortalException
ExportImportDateUtil.updateLastPublishDate(
String, PortletPreferences,
com.liferay.portal.kernel.util.DateRange, Date)
PortalException
@Deprecated public static void updateStaging(PortletRequest portletRequest, Group liveGroup) throws PortalException
com.liferay.staging.configuration.web.internal.portlet.StagingConfigurationPortlet#editStagingConfiguration(
javax.portlet.ActionRequest, javax.portlet.ActionResponse)
PortalException
@Deprecated public static void validateRemote(long groupId, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId) throws PortalException
GroupLocalService.validateRemote(
long, String, int, String, boolean, long)
PortalException
@Deprecated public static void validateRemote(String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId) throws PortalException
validateRemote(long, String, int, String, boolean, long)
PortalException
public static void validateRemoteGroupIsSame(long groupId, long remoteGroupId, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection) throws PortalException
PortalException