Class RoleServiceBaseImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.RoleServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.RoleService
Direct Known Subclasses:
RoleServiceImpl

public abstract class RoleServiceBaseImpl extends com.liferay.portal.kernel.service.BaseServiceImpl implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.RoleService
Provides the base implementation for the role 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 RoleServiceImpl.

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.persistence.GroupPersistence
     
    protected com.liferay.portal.kernel.service.persistence.RoleFinder
     
    protected com.liferay.portal.kernel.service.RoleLocalService
     
    protected com.liferay.portal.kernel.service.persistence.RolePersistence
     
    protected com.liferay.portal.kernel.service.RoleService
     
    protected com.liferay.portal.kernel.service.persistence.UserPersistence
     

    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.
    protected Class<?>
     
    protected String
     
    Returns the OSGi service identifier.
    com.liferay.portal.kernel.service.persistence.RoleFinder
    Returns the role finder.
    com.liferay.portal.kernel.service.RoleLocalService
    Returns the role local service.
    com.liferay.portal.kernel.service.persistence.RolePersistence
    Returns the role persistence.
    com.liferay.portal.kernel.service.RoleService
    Returns the role remote service.
    protected void
    Performs a SQL query.
    void
    setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
    Sets the counter local service.
    void
    setRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder)
    Sets the role finder.
    void
    setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
    Sets the role local service.
    void
    setRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence)
    Sets the role persistence.
    void
    setRoleService(com.liferay.portal.kernel.service.RoleService roleService)
    Sets the role 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.RoleService

    addRole, addUserRoles, deleteRole, fetchRole, fetchRole, fetchRoleByExternalReferenceCode, getGroupRoles, getGroupRolesAndTeamRoles, getGroupRolesAndTeamRolesCount, getRole, getRole, getRoleByExternalReferenceCode, getRoles, getRoles, getUserGroupGroupRoles, getUserGroupRoles, getUserRelatedRoles, getUserRoles, hasUserRole, hasUserRoles, search, searchCount, unsetUserRoles, updateExternalReferenceCode, updateExternalReferenceCode, updateRole
  • Field Details

    • roleLocalService

      @BeanReference(type=com.liferay.portal.kernel.service.RoleLocalService.class) protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService
    • roleService

      @BeanReference(type=com.liferay.portal.kernel.service.RoleService.class) protected com.liferay.portal.kernel.service.RoleService roleService
    • rolePersistence

      @BeanReference(type=com.liferay.portal.kernel.service.persistence.RolePersistence.class) protected com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence
    • roleFinder

      @BeanReference(type=com.liferay.portal.kernel.service.persistence.RoleFinder.class) protected com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder
    • counterLocalService

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

      @BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence
    • userPersistence

      @BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
  • Constructor Details

    • RoleServiceBaseImpl

      public RoleServiceBaseImpl()
  • Method Details

    • getRoleLocalService

      public com.liferay.portal.kernel.service.RoleLocalService getRoleLocalService()
      Returns the role local service.
      Returns:
      the role local service
    • setRoleLocalService

      public void setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
      Sets the role local service.
      Parameters:
      roleLocalService - the role local service
    • getRoleService

      public com.liferay.portal.kernel.service.RoleService getRoleService()
      Returns the role remote service.
      Returns:
      the role remote service
    • setRoleService

      public void setRoleService(com.liferay.portal.kernel.service.RoleService roleService)
      Sets the role remote service.
      Parameters:
      roleService - the role remote service
    • getRolePersistence

      public com.liferay.portal.kernel.service.persistence.RolePersistence getRolePersistence()
      Returns the role persistence.
      Returns:
      the role persistence
    • setRolePersistence

      public void setRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence)
      Sets the role persistence.
      Parameters:
      rolePersistence - the role persistence
    • getRoleFinder

      public com.liferay.portal.kernel.service.persistence.RoleFinder getRoleFinder()
      Returns the role finder.
      Returns:
      the role finder
    • setRoleFinder

      public void setRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder)
      Sets the role finder.
      Parameters:
      roleFinder - the role finder
    • 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.RoleService
      Returns:
      the OSGi service identifier
    • getModelClass

      protected Class<?> getModelClass()
    • getModelClassName

      protected String getModelClassName()
    • runSQL

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