Class PermissionServiceBaseImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.PermissionServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.PermissionService
Direct Known Subclasses:
PermissionServiceImpl

public abstract class PermissionServiceBaseImpl extends com.liferay.portal.kernel.service.BaseServiceImpl implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.PermissionService
Provides the base implementation for the permission 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 PermissionServiceImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.liferay.counter.kernel.service.CounterLocalService
     
    protected com.liferay.portal.kernel.service.PermissionService
     

    Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl

    ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    com.liferay.counter.kernel.service.CounterLocalService
    Returns the counter local service.
    Returns the OSGi service identifier.
    com.liferay.portal.kernel.service.PermissionService
    Returns the permission remote service.
    protected void
    Performs a SQL query.
    void
    setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
    Sets the counter local service.
    void
    setPermissionService(com.liferay.portal.kernel.service.PermissionService permissionService)
    Sets the permission remote service.

    Methods inherited from class com.liferay.portal.kernel.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.kernel.service.PermissionService

    checkPermission, checkPermission
  • Field Details

    • permissionService

      @BeanReference(type=com.liferay.portal.kernel.service.PermissionService.class) protected com.liferay.portal.kernel.service.PermissionService permissionService
    • counterLocalService

      @BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
  • Constructor Details

    • PermissionServiceBaseImpl

      public PermissionServiceBaseImpl()
  • Method Details

    • getPermissionService

      public com.liferay.portal.kernel.service.PermissionService getPermissionService()
      Returns the permission remote service.
      Returns:
      the permission remote service
    • setPermissionService

      public void setPermissionService(com.liferay.portal.kernel.service.PermissionService permissionService)
      Sets the permission remote service.
      Parameters:
      permissionService - the permission remote service
    • getCounterLocalService

      public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
      Returns the counter local service.
      Returns:
      the counter local service
    • setCounterLocalService

      public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
      Sets the counter local service.
      Parameters:
      counterLocalService - the counter local service
    • afterPropertiesSet

      public void afterPropertiesSet()
    • destroy

      public void destroy()
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.service.PermissionService
      Returns:
      the OSGi service identifier
    • runSQL

      protected void runSQL(String sql)
      Performs a SQL query.
      Parameters:
      sql - the sql query