Liferay 7.0-ce-b4

com.liferay.portal.service.base
Class PortalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portal.service.base.PortalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseService, PortalService
Direct Known Subclasses:
PortalServiceImpl

public abstract class PortalServiceBaseImpl
extends BaseServiceImpl
implements PortalService, IdentifiableOSGiService

Provides the base implementation for the portal remote service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in PortalServiceImpl.

See Also:
PortalServiceImpl, PortalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  ClassNameService classNameService
           
protected  CounterLocalService counterLocalService
           
protected  PortalLocalService portalLocalService
           
protected  PortalService portalService
           
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
PortalServiceBaseImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 ClassNameService getClassNameService()
          Returns the class name remote service.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PortalLocalService getPortalLocalService()
          Returns the portal local service.
 PortalService getPortalService()
          Returns the portal remote service.
protected  void runSQL(String sql)
          Performs a SQL query.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setClassNameService(ClassNameService classNameService)
          Sets the class name remote service.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setPortalLocalService(PortalLocalService portalLocalService)
          Sets the portal local service.
 void setPortalService(PortalService portalService)
          Sets the portal remote service.
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.PortalService
getAutoDeployDirectory, getBuildNumber, getVersion, testAddClassName_Rollback, testAddClassName_Success, testAddClassNameAndTestTransactionPortletBar_PortalRollback, testAddClassNameAndTestTransactionPortletBar_PortletRollback, testAddClassNameAndTestTransactionPortletBar_Success, testAutoSyncHibernateSessionStateOnTxCreation, testDeleteClassName, testGetBuildNumber, testGetUserId, testHasClassName
 

Field Detail

portalLocalService

@BeanReference(type=PortalLocalService.class)
protected PortalLocalService portalLocalService

portalService

@BeanReference(type=PortalService.class)
protected PortalService portalService

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

classNameLocalService

@BeanReference(type=ClassNameLocalService.class)
protected ClassNameLocalService classNameLocalService

classNameService

@BeanReference(type=ClassNameService.class)
protected ClassNameService classNameService

classNamePersistence

@BeanReference(type=ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence
Constructor Detail

PortalServiceBaseImpl

public PortalServiceBaseImpl()
Method Detail

getPortalLocalService

public PortalLocalService getPortalLocalService()
Returns the portal local service.

Returns:
the portal local service

setPortalLocalService

public void setPortalLocalService(PortalLocalService portalLocalService)
Sets the portal local service.

Parameters:
portalLocalService - the portal local service

getPortalService

public PortalService getPortalService()
Returns the portal remote service.

Returns:
the portal remote service

setPortalService

public void setPortalService(PortalService portalService)
Sets the portal remote service.

Parameters:
portalService - the portal remote service

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getClassNameLocalService

public ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNameService

public ClassNameService getClassNameService()
Returns the class name remote service.

Returns:
the class name remote service

setClassNameService

public void setClassNameService(ClassNameService classNameService)
Sets the class name remote service.

Parameters:
classNameService - the class name remote service

getClassNamePersistence

public ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface IdentifiableOSGiService
Specified by:
getOSGiServiceIdentifier in interface PortalService
Returns:
the OSGi service identifier

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b4