001
014
015 package com.liferay.portal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
036 @ProviderType
037 public class PortalServiceUtil {
038
043 public static java.lang.String getAutoDeployDirectory() {
044 return getService().getAutoDeployDirectory();
045 }
046
047 public static int getBuildNumber() {
048 return getService().getBuildNumber();
049 }
050
051
056 public static java.lang.String getOSGiServiceIdentifier() {
057 return getService().getOSGiServiceIdentifier();
058 }
059
060 public static java.lang.String getVersion() {
061 return getService().getVersion();
062 }
063
064 public static void testAddClassNameAndTestTransactionPortletBar_PortalRollback(
065 java.lang.String transactionPortletBarText) {
066 getService()
067 .testAddClassNameAndTestTransactionPortletBar_PortalRollback(transactionPortletBarText);
068 }
069
070 public static void testAddClassNameAndTestTransactionPortletBar_PortletRollback(
071 java.lang.String transactionPortletBarText) {
072 getService()
073 .testAddClassNameAndTestTransactionPortletBar_PortletRollback(transactionPortletBarText);
074 }
075
076 public static void testAddClassNameAndTestTransactionPortletBar_Success(
077 java.lang.String transactionPortletBarText) {
078 getService()
079 .testAddClassNameAndTestTransactionPortletBar_Success(transactionPortletBarText);
080 }
081
082 public static void testAddClassName_Rollback(
083 java.lang.String classNameValue) {
084 getService().testAddClassName_Rollback(classNameValue);
085 }
086
087 public static void testAddClassName_Success(java.lang.String classNameValue) {
088 getService().testAddClassName_Success(classNameValue);
089 }
090
091 public static void testAutoSyncHibernateSessionStateOnTxCreation() {
092 getService().testAutoSyncHibernateSessionStateOnTxCreation();
093 }
094
095 public static void testDeleteClassName()
096 throws com.liferay.portal.kernel.exception.PortalException {
097 getService().testDeleteClassName();
098 }
099
100 public static int testGetBuildNumber() {
101 return getService().testGetBuildNumber();
102 }
103
104 public static void testGetUserId() {
105 getService().testGetUserId();
106 }
107
108 public static boolean testHasClassName() {
109 return getService().testHasClassName();
110 }
111
112 public static PortalService getService() {
113 if (_service == null) {
114 _service = (PortalService)PortalBeanLocatorUtil.locate(PortalService.class.getName());
115
116 ReferenceRegistry.registerReference(PortalServiceUtil.class,
117 "_service");
118 }
119
120 return _service;
121 }
122
123 private static PortalService _service;
124 }