Class UserServiceBaseImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.UserServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.UserService
Direct Known Subclasses:
UserServiceImpl

public abstract class UserServiceBaseImpl extends com.liferay.portal.kernel.service.BaseServiceImpl implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.UserService
Provides the base implementation for the user 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 UserServiceImpl.

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.OrganizationPersistence
     
    protected com.liferay.portal.kernel.service.persistence.RolePersistence
     
    protected com.liferay.portal.kernel.service.persistence.TeamPersistence
     
    protected com.liferay.portal.kernel.service.persistence.UserFinder
     
    protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence
     
    protected com.liferay.portal.kernel.service.UserLocalService
     
    protected com.liferay.portal.kernel.service.persistence.UserPersistence
     
    protected com.liferay.portal.kernel.service.UserService
     

    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.UserFinder
    Returns the user finder.
    com.liferay.portal.kernel.service.UserLocalService
    Returns the user local service.
    com.liferay.portal.kernel.service.persistence.UserPersistence
    Returns the user persistence.
    com.liferay.portal.kernel.service.UserService
    Returns the user remote service.
    protected void
    Performs a SQL query.
    void
    setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
    Sets the counter local service.
    void
    setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
    Sets the user finder.
    void
    setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
    Sets the user local service.
    void
    setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
    Sets the user persistence.
    void
    setUserService(com.liferay.portal.kernel.service.UserService userService)
    Sets the user 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.UserService

    addGroupUsers, addOrganizationUsers, addOrUpdateUser, addPasswordPolicyUsers, addRoleUsers, addTeamUsers, addUser, addUser, addUser, addUser, addUserGroupUsers, addUserWithWorkflow, addUserWithWorkflow, addUserWithWorkflow, addUserWithWorkflow, deletePortrait, deleteRoleUser, deleteUser, fetchUserByExternalReferenceCode, getCompanyUsers, getCompanyUsersCount, getCurrentUser, getGroupUserIds, getGroupUsers, getGroupUsers, getGroupUsers, getGroupUsersCount, getGtCompanyUsers, getGtOrganizationUsers, getGtUserGroupUsers, getOrganizationsAndUserGroupsUsersCount, getOrganizationUserIds, getOrganizationUsers, getOrganizationUsers, getOrganizationUsers, getOrganizationUsersCount, getRoleUserIds, getUserByEmailAddress, getUserByExternalReferenceCode, getUserByExternalReferenceCode, getUserById, getUserByScreenName, getUserGroupUsers, getUserGroupUsers, getUserIdByEmailAddress, getUserIdByScreenName, hasGroupUser, hasRoleUser, hasRoleUser, sendPasswordByEmailAddress, sendPasswordByScreenName, sendPasswordByUserId, setRoleUsers, setUserGroupUsers, unsetGroupTeamsUsers, unsetGroupUsers, unsetOrganizationUsers, unsetPasswordPolicyUsers, unsetRoleUsers, unsetTeamUsers, unsetUserGroupUsers, updateAgreedToTermsOfUse, updateEmailAddress, updateExternalReferenceCode, updateExternalReferenceCode, updateIncompleteUser, updateIncompleteUser, updateLanguageId, updateLockoutById, updateOpenId, updateOrganizations, updatePassword, updatePortrait, updateReminderQuery, updateScreenName, updateStatus, updateStatus, updateUser, updateUser, updateUser, updateUser
  • Field Details

    • userLocalService

      @BeanReference(type=com.liferay.portal.kernel.service.UserLocalService.class) protected com.liferay.portal.kernel.service.UserLocalService userLocalService
    • userService

      @BeanReference(type=com.liferay.portal.kernel.service.UserService.class) protected com.liferay.portal.kernel.service.UserService userService
    • userPersistence

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

      @BeanReference(type=com.liferay.portal.kernel.service.persistence.UserFinder.class) protected com.liferay.portal.kernel.service.persistence.UserFinder userFinder
    • 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
    • organizationPersistence

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

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

      @BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamPersistence.class) protected com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence
    • userGroupPersistence

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

    • UserServiceBaseImpl

      public UserServiceBaseImpl()
  • Method Details

    • getUserLocalService

      public com.liferay.portal.kernel.service.UserLocalService getUserLocalService()
      Returns the user local service.
      Returns:
      the user local service
    • setUserLocalService

      public void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
      Sets the user local service.
      Parameters:
      userLocalService - the user local service
    • getUserService

      public com.liferay.portal.kernel.service.UserService getUserService()
      Returns the user remote service.
      Returns:
      the user remote service
    • setUserService

      public void setUserService(com.liferay.portal.kernel.service.UserService userService)
      Sets the user remote service.
      Parameters:
      userService - the user remote service
    • getUserPersistence

      public com.liferay.portal.kernel.service.persistence.UserPersistence getUserPersistence()
      Returns the user persistence.
      Returns:
      the user persistence
    • setUserPersistence

      public void setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
      Sets the user persistence.
      Parameters:
      userPersistence - the user persistence
    • getUserFinder

      public com.liferay.portal.kernel.service.persistence.UserFinder getUserFinder()
      Returns the user finder.
      Returns:
      the user finder
    • setUserFinder

      public void setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
      Sets the user finder.
      Parameters:
      userFinder - the user 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.UserService
      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