|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.StagingLocalServiceUtil
@ProviderType public class StagingLocalServiceUtil
Provides the local service utility for Staging. This utility wraps
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 Summary | |
---|---|
StagingLocalServiceUtil()
|
Method Summary | |
---|---|
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 liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static StagingLocalService |
getService()
|
static void |
publishStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
|
static void |
setBeanIdentifier(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,
String fileName,
byte[] bytes)
|
static MissingReferences |
validateStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StagingLocalServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(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
PortalException
SystemException
public static void cleanUpStagingRequest(long stagingRequestId) throws PortalException, SystemException
PortalException
SystemException
public static long createStagingRequest(long userId, long groupId, String checksum) throws PortalException, SystemException
PortalException
SystemException
public static void disableStaging(Group liveGroup, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void disableStaging(PortletRequest portletRequest, Group liveGroup, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void enableLocalStaging(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void enableRemoteStaging(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void publishStagingRequest(long userId, long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap) throws PortalException, SystemException
PortalException
SystemException
public static void updateStagingRequest(long userId, long stagingRequestId, String fileName, byte[] bytes) throws PortalException, SystemException
PortalException
SystemException
public static MissingReferences validateStagingRequest(long userId, long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap) throws PortalException, SystemException
PortalException
SystemException
public static StagingLocalService getService()
public void setService(StagingLocalService service)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |