Liferay 7.0-ce-m6

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 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static int getBuildNumber()
           
static PortalService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(PortalService service)
          Deprecated. As of 6.2.0
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()

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getBuildNumber

public static int getBuildNumber()

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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

setService

@Deprecated
public void setService(PortalService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-m6