@ProviderType
public class StagingLocalServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.StagingLocalServiceImpl and is the
primary access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.StagingLocalService,
StagingLocalServiceBaseImpl,
com.liferay.portal.service.impl.StagingLocalServiceImpl| Constructor and Description |
|---|
StagingLocalServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkDefaultLayoutSetBranches(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
ServiceContext serviceContext) |
static void |
cleanUpStagingRequest(long stagingRequestId) |
static long |
createStagingRequest(long userId,
long groupId,
java.lang.String checksum) |
static void |
disableStaging(Group liveGroup,
ServiceContext serviceContext) |
static void |
disableStaging(javax.portlet.PortletRequest portletRequest,
Group liveGroup,
ServiceContext serviceContext) |
static void |
enableLocalStaging(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext serviceContext) |
static void |
enableRemoteStaging(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static StagingLocalService |
getService() |
static void |
publishStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(StagingLocalService service)
Deprecated.
As of 6.2.0
|
static void |
updateStagingRequest(long userId,
long stagingRequestId,
java.lang.String fileName,
byte[] bytes) |
static MissingReferences |
validateStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static void checkDefaultLayoutSetBranches(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void cleanUpStagingRequest(long stagingRequestId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static long createStagingRequest(long userId,
long groupId,
java.lang.String checksum)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void disableStaging(Group liveGroup, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void disableStaging(javax.portlet.PortletRequest portletRequest,
Group liveGroup,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void enableLocalStaging(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void enableRemoteStaging(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
java.lang.String remoteAddress,
int remotePort,
java.lang.String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void publishStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void updateStagingRequest(long userId,
long stagingRequestId,
java.lang.String fileName,
byte[] bytes)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static MissingReferences validateStagingRequest(long userId, long stagingRequestId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static StagingLocalService getService()
public void setService(StagingLocalService service)