001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
033 public class PortalServiceUtil {
034
039
040
045 public static java.lang.String getBeanIdentifier() {
046 return getService().getBeanIdentifier();
047 }
048
049
054 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
055 getService().setBeanIdentifier(beanIdentifier);
056 }
057
058 public static java.lang.String getAutoDeployDirectory()
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return getService().getAutoDeployDirectory();
061 }
062
063 public static int getBuildNumber() {
064 return getService().getBuildNumber();
065 }
066
067 public static void testAddClassName_Rollback(
068 java.lang.String classNameValue)
069 throws com.liferay.portal.kernel.exception.SystemException {
070 getService().testAddClassName_Rollback(classNameValue);
071 }
072
073 public static void testAddClassName_Success(java.lang.String classNameValue)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 getService().testAddClassName_Success(classNameValue);
076 }
077
078 public static void testAddClassNameAndTestTransactionPortletBar_PortalRollback(
079 java.lang.String transactionPortletBarText)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 getService()
082 .testAddClassNameAndTestTransactionPortletBar_PortalRollback(transactionPortletBarText);
083 }
084
085 public static void testAddClassNameAndTestTransactionPortletBar_PortletRollback(
086 java.lang.String transactionPortletBarText)
087 throws com.liferay.portal.kernel.exception.SystemException {
088 getService()
089 .testAddClassNameAndTestTransactionPortletBar_PortletRollback(transactionPortletBarText);
090 }
091
092 public static void testAddClassNameAndTestTransactionPortletBar_Success(
093 java.lang.String transactionPortletBarText)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 getService()
096 .testAddClassNameAndTestTransactionPortletBar_Success(transactionPortletBarText);
097 }
098
099 public static void testAutoSyncHibernateSessionStateOnTxCreation()
100 throws com.liferay.portal.kernel.exception.SystemException {
101 getService().testAutoSyncHibernateSessionStateOnTxCreation();
102 }
103
104 public static void testCounterIncrement_Rollback()
105 throws com.liferay.portal.kernel.exception.SystemException {
106 getService().testCounterIncrement_Rollback();
107 }
108
109 public static void testDeleteClassName()
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 getService().testDeleteClassName();
113 }
114
115 public static int testGetBuildNumber() {
116 return getService().testGetBuildNumber();
117 }
118
119 public static void testGetUserId() {
120 getService().testGetUserId();
121 }
122
123 public static boolean testHasClassName()
124 throws com.liferay.portal.kernel.exception.SystemException {
125 return getService().testHasClassName();
126 }
127
128 public static PortalService getService() {
129 if (_service == null) {
130 _service = (PortalService)PortalBeanLocatorUtil.locate(PortalService.class.getName());
131
132 ReferenceRegistry.registerReference(PortalServiceUtil.class,
133 "_service");
134 }
135
136 return _service;
137 }
138
139
142 public void setService(PortalService service) {
143 }
144
145 private static PortalService _service;
146 }