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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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,
boolean privateLayout,
Map<String,String[]> parameterMap)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static MissingReferences |
publishStagingRequest(long userId,
long stagingRequestId,
ExportImportConfiguration exportImportConfiguration) |
static void |
updateStagingRequest(long userId,
long stagingRequestId,
String fileName,
byte[] bytes) |
static MissingReferences |
validateStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishStagingRequest(long, long, boolean, Map) |
public static void checkDefaultLayoutSetBranches(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, boolean remote, ServiceContext serviceContext) throws PortalException
StagingLocalServiceUtil
to access the staging local service. Add custom service methods to com.liferay.portlet.exportimport.service.impl.StagingLocalServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.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()
@Deprecated public static MissingReferences publishStagingRequest(long userId, long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap) throws PortalException
PortalException
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
@Deprecated public static MissingReferences validateStagingRequest(long userId, long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
publishStagingRequest(long, long, boolean, Map)
public static StagingLocalService getService()