public class StagingLocalServiceUtil
extends Object
com.liferay.portlet.exportimport.service.impl.StagingLocalServiceImpl
and
is an 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
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,
String checksum) |
static void |
disableStaging(Group liveGroup,
ServiceContext serviceContext) |
static void |
disableStaging(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 stagingGroup,
boolean branchingPublic,
boolean branchingPrivate,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static StagingLocalService |
getService() |
static MissingReferences |
publishStagingRequest(long userId,
long stagingRequestId,
ExportImportConfiguration exportImportConfiguration) |
static void |
updateStagingRequest(long userId,
long stagingRequestId,
String fileName,
byte[] bytes) |
public static void checkDefaultLayoutSetBranches(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, boolean remote, ServiceContext serviceContext) throws PortalException
PortalException
public static void cleanUpStagingRequest(long stagingRequestId) throws PortalException
PortalException
public static long createStagingRequest(long userId, long groupId, String checksum) throws PortalException
PortalException
public static void disableStaging(Group liveGroup, ServiceContext serviceContext) throws PortalException
PortalException
public static void disableStaging(PortletRequest portletRequest, Group liveGroup, ServiceContext serviceContext) throws PortalException
PortalException
public static void enableLocalStaging(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) throws PortalException
PortalException
public static void enableRemoteStaging(long userId, Group stagingGroup, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static MissingReferences publishStagingRequest(long userId, long stagingRequestId, ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalException
public static void updateStagingRequest(long userId, long stagingRequestId, String fileName, byte[] bytes) throws PortalException
PortalException
public static StagingLocalService getService()