Liferay 7.0-ce-b4

com.liferay.portal.service
Class PortalServiceUtil

java.lang.Object
  extended by 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

Constructor Summary
PortalServiceUtil()
           
 
Method Summary
static String getAutoDeployDirectory()
           
static int getBuildNumber()
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static PortalService getService()
           
static String getVersion()
           
static void testAddClassName_Rollback(String classNameValue)
           
static void testAddClassName_Success(String classNameValue)
           
static void testAddClassNameAndTestTransactionPortletBar_PortalRollback(String transactionPortletBarText)
           
static void testAddClassNameAndTestTransactionPortletBar_PortletRollback(String transactionPortletBarText)
           
static void testAddClassNameAndTestTransactionPortletBar_Success(String transactionPortletBarText)
           
static void testAutoSyncHibernateSessionStateOnTxCreation()
           
static void testDeleteClassName()
           
static int testGetBuildNumber()
           
static void testGetUserId()
           
static boolean testHasClassName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalServiceUtil

public PortalServiceUtil()
Method Detail

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()

Liferay 7.0-ce-b4