|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.exportimport.staging.StagingUtil
@ProviderType public class StagingUtil
| 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 |
|---|
public StagingUtil()
| Method Detail |
|---|
public static String buildRemoteURL(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection)
@Deprecated
public static String buildRemoteURL(String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean privateLayout)
getRemoteSiteURL(Group,
boolean)
public static String buildRemoteURL(UnicodeProperties typeSettingsProperties)
@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 void copyFromLive(PortletRequest PortletRequest)
throws PortalException
PortalException
public static void copyFromLive(PortletRequest PortletRequest,
Portlet portlet)
throws PortalException
PortalException
@Deprecated
public static void 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 void copyRemoteLayouts(ExportImportConfiguration exportImportConfiguration)
throws PortalException
PortalException
public static void copyRemoteLayouts(long exportImportConfigurationId)
throws PortalException
PortalException
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
PortalException
@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
copyRemoteLayouts(long,
boolean, Map, Map, String, int, String, boolean, long,
boolean)
PortalException
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
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 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
PortalExceptionpublic 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 isIncomplete(Layout layout,
long layoutSetBranchId)
@Deprecated
public static void lockGroup(long userId,
long groupId)
throws PortalException
BackgroundTaskExecutor.getIsolationLevel(
)
PortalException
public static void publishLayout(long userId,
long plid,
long liveGroupId,
boolean includeChildren)
throws PortalException
PortalException
public static void publishLayouts(long userId,
ExportImportConfiguration exportImportConfiguration)
throws PortalException
PortalException
public static void publishLayouts(long userId,
long exportImportConfigurationId)
throws PortalException
PortalException
public static void publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap)
throws PortalException
PortalException
@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
publishLayouts(long, long,
long, boolean, long[], Map)
PortalException
public static void publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
String name,
Map<String,String[]> parameterMap)
throws PortalException
PortalException
@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
publishLayouts(long, long,
long, boolean, long[], Map)
PortalException
public static void publishLayouts(long userId,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<String,String[]> parameterMap)
throws PortalException
PortalException
@Deprecated
public static void 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 void publishPortlet(long userId,
ExportImportConfiguration exportImportConfiguration)
throws PortalException
PortalException
public static void publishPortlet(long userId,
long exportImportConfigurationId)
throws PortalException
PortalException
public static void publishPortlet(long userId,
long sourceGroupId,
long targetGroupId,
long sourcePlid,
long targetPlid,
String portletId,
Map<String,String[]> parameterMap)
throws PortalException
PortalException
public static void publishToLive(PortletRequest PortletRequest)
throws PortalException
PortalException
public static void publishToLive(PortletRequest PortletRequest,
Portlet portlet)
throws PortalException
PortalException
public static void publishToRemote(PortletRequest PortletRequest)
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
PortalExceptionpublic static String stripProtocolFromRemoteAddress(String remoteAddress)
@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
public static void updateStaging(PortletRequest PortletRequest,
Group liveGroup)
throws PortalException
PortalException
public static void validateRemote(long groupId,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId)
throws PortalException
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
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||