Class PortalServiceUtil

Object
com.liferay.portal.kernel.service.PortalServiceUtil

public class PortalServiceUtil extends Object
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 Details

    • PortalServiceUtil

      public PortalServiceUtil()
  • Method Details

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

      public static void setService(PortalService service)