Class PortalServiceUtil
Object
com.liferay.portal.kernel.service.PortalServiceUtil
Provides the remote service utility for Portal. This utility wraps
com.liferay.portal.service.impl.PortalServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static int
static String
Returns the OSGi service identifier.static PortalService
static String
static void
setService
(PortalService service) static void
testAddClassName_Rollback
(String classNameValue) static void
testAddClassName_Success
(String classNameValue) static void
static void
static int
static void
static boolean
-
Constructor Details
-
PortalServiceUtil
public PortalServiceUtil()
-
-
Method Details
-
getAutoDeployDirectory
-
getBuildNumber
public static int getBuildNumber() -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getVersion
-
testAddClassName_Rollback
-
testAddClassName_Success
-
testAutoSyncHibernateSessionStateOnTxCreation
public static void testAutoSyncHibernateSessionStateOnTxCreation() -
testDeleteClassName
- Throws:
PortalException
-
testGetBuildNumber
public static int testGetBuildNumber() -
testGetUserId
public static void testGetUserId() -
testHasClassName
public static boolean testHasClassName() -
getService
-
setService
-