com.liferay.portal.service
Class PortalServiceUtil
java.lang.Object
com.liferay.portal.service.PortalServiceUtil
@ProviderType
public class PortalServiceUtil
- extends Object
Provides the remote service utility for Portal. This utility wraps
com.liferay.portal.service.impl.PortalServiceImpl and is the
primary 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.
- See Also:
PortalService,
PortalServiceBaseImpl,
com.liferay.portal.service.impl.PortalServiceImpl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalServiceUtil
public PortalServiceUtil()
getAutoDeployDirectory
public static String getAutoDeployDirectory()
getBuildNumber
public static int getBuildNumber()
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getVersion
public static String getVersion()
testAddClassNameAndTestTransactionPortletBar_PortalRollback
public static void testAddClassNameAndTestTransactionPortletBar_PortalRollback(String transactionPortletBarText)
testAddClassNameAndTestTransactionPortletBar_PortletRollback
public static void testAddClassNameAndTestTransactionPortletBar_PortletRollback(String transactionPortletBarText)
testAddClassNameAndTestTransactionPortletBar_Success
public static void testAddClassNameAndTestTransactionPortletBar_Success(String transactionPortletBarText)
testAddClassName_Rollback
public static void testAddClassName_Rollback(String classNameValue)
testAddClassName_Success
public static void testAddClassName_Success(String classNameValue)
testAutoSyncHibernateSessionStateOnTxCreation
public static void testAutoSyncHibernateSessionStateOnTxCreation()
testDeleteClassName
public static void testDeleteClassName()
throws PortalException
- Throws:
PortalException
testGetBuildNumber
public static int testGetBuildNumber()
testGetUserId
public static void testGetUserId()
testHasClassName
public static boolean testHasClassName()
getService
public static PortalService getService()