com.liferay.portal.service.impl
Class UserServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portal.service.base.UserServiceBaseImpl
          extended by com.liferay.portal.service.impl.UserServiceImpl
All Implemented Interfaces:
com.liferay.portal.service.UserService

public class UserServiceImpl
extends UserServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan, Brian Myunghun Kim, Scott Lee, Jorge Ferrer

Field Summary
 
Fields inherited from class com.liferay.portal.service.base.UserServiceBaseImpl
accountLocalService, accountPersistence, accountService, addressLocalService, addressPersistence, addressService, announcementsDeliveryLocalService, announcementsDeliveryPersistence, announcementsDeliveryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, browserTrackerLocalService, browserTrackerPersistence, classNameLocalService, classNamePersistence, classNameService, companyLocalService, companyPersistence, companyService, contactLocalService, contactPersistence, contactService, counterLocalService, counterService, countryPersistence, countryService, dlFileRankLocalService, dlFileRankPersistence, emailAddressLocalService, emailAddressPersistence, emailAddressService, expandoValueFinder, expandoValueLocalService, expandoValuePersistence, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutService, layoutSetLocalService, layoutSetPersistence, layoutSetService, layoutTemplateLocalService, listTypePersistence, listTypeService, lockLocalService, lockPersistence, mailService, mbBanLocalService, mbBanPersistence, mbBanService, mbMessageFlagLocalService, mbMessageFlagPersistence, mbStatsUserLocalService, mbStatsUserPersistence, membershipRequestLocalService, membershipRequestPersistence, membershipRequestService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, orgGroupPermissionFinder, orgGroupPermissionPersistence, orgGroupRolePersistence, orgLaborLocalService, orgLaborPersistence, orgLaborService, passwordPolicyFinder, passwordPolicyLocalService, passwordPolicyPersistence, passwordPolicyRelLocalService, passwordPolicyRelPersistence, passwordPolicyService, passwordTrackerLocalService, passwordTrackerPersistence, permissionFinder, permissionLocalService, permissionPersistence, permissionService, permissionUserFinder, phoneLocalService, phonePersistence, phoneService, pluginSettingLocalService, pluginSettingPersistence, pluginSettingService, portalLocalService, portalService, portletItemLocalService, portletItemPersistence, portletLocalService, portletPersistence, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, portletService, quartzLocalService, regionPersistence, regionService, releaseLocalService, releasePersistence, resourceActionLocalService, resourceActionPersistence, resourceCodeLocalService, resourceCodePersistence, resourceFinder, resourceLocalService, resourcePermissionLocalService, resourcePermissionPersistence, resourcePermissionService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, serviceComponentLocalService, serviceComponentPersistence, shardLocalService, shardPersistence, shoppingCartLocalService, shoppingCartPersistence, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialRequestLocalService, socialRequestPersistence, subscriptionLocalService, subscriptionPersistence, themeLocalService, themeService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupRoleLocalService, userGroupRolePersistence, userGroupRoleService, userGroupService, userIdMapperLocalService, userIdMapperPersistence, userLocalService, userPersistence, userService, userTrackerLocalService, userTrackerPathLocalService, userTrackerPathPersistence, userTrackerPersistence, webDAVPropsLocalService, webDAVPropsPersistence, websiteLocalService, websitePersistence, websiteService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
UserServiceImpl()
           
 
Method Summary
 void addGroupUsers(long groupId, long[] userIds)
           
 void addOrganizationUsers(long organizationId, long[] userIds)
           
 void addPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
           
 void addRoleUsers(long roleId, long[] userIds)
           
 com.liferay.portal.model.User addUser(long companyId, boolean autoPassword, java.lang.String password1, java.lang.String password2, boolean autoScreenName, java.lang.String screenName, java.lang.String emailAddress, java.util.Locale locale, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, java.lang.String jobTitle, long[] organizationIds, boolean sendEmail)
           
 void addUserGroupUsers(long userGroupId, long[] userIds)
           
 void deleteRoleUser(long roleId, long userId)
           
 void deleteUser(long userId)
           
 long getDefaultUserId(long companyId)
           
 long[] getGroupUserIds(long groupId)
           
 long[] getOrganizationUserIds(long organizationId)
           
 long[] getRoleUserIds(long roleId)
           
 com.liferay.portal.model.User getUserByEmailAddress(long companyId, java.lang.String emailAddress)
           
 com.liferay.portal.model.User getUserById(long userId)
           
 com.liferay.portal.model.User getUserByScreenName(long companyId, java.lang.String screenName)
           
 long getUserIdByEmailAddress(long companyId, java.lang.String emailAddress)
           
 long getUserIdByScreenName(long companyId, java.lang.String screenName)
           
 boolean hasGroupUser(long groupId, long userId)
           
 boolean hasRoleUser(long roleId, long userId)
           
 boolean hasRoleUser(long companyId, java.lang.String name, long userId, boolean inherited)
           
 void setRoleUsers(long roleId, long[] userIds)
           
 void setUserGroupUsers(long userGroupId, long[] userIds)
           
 void unsetGroupUsers(long groupId, long[] userIds)
           
 void unsetOrganizationUsers(long organizationId, long[] userIds)
           
 void unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
           
 void unsetRoleUsers(long roleId, long[] userIds)
           
 void unsetUserGroupUsers(long userGroupId, long[] userIds)
           
 com.liferay.portal.model.User updateActive(long userId, boolean active)
           
 com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId, boolean agreedToTermsOfUse)
           
 com.liferay.portal.model.User updateLockout(long userId, boolean lockout)
           
 void updateOpenId(long userId, java.lang.String openId)
           
 void updateOrganizations(long userId, long[] organizationIds)
           
 com.liferay.portal.model.User updatePassword(long userId, java.lang.String password1, java.lang.String password2, boolean passwordReset)
           
 void updatePortrait(long userId, byte[] bytes)
           
 void updateScreenName(long userId, java.lang.String screenName)
           
 com.liferay.portal.model.User updateUser(long userId, java.lang.String oldPassword, boolean passwordReset, java.lang.String screenName, java.lang.String emailAddress, java.lang.String languageId, java.lang.String timeZoneId, java.lang.String greeting, java.lang.String comments, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, java.lang.String smsSn, java.lang.String aimSn, java.lang.String facebookSn, java.lang.String icqSn, java.lang.String jabberSn, java.lang.String msnSn, java.lang.String mySpaceSn, java.lang.String skypeSn, java.lang.String twitterSn, java.lang.String ymSn, java.lang.String jobTitle, long[] organizationIds)
           
 com.liferay.portal.model.User updateUser(long userId, java.lang.String oldPassword, java.lang.String newPassword1, java.lang.String newPassword2, boolean passwordReset, java.lang.String screenName, java.lang.String emailAddress, java.lang.String languageId, java.lang.String timeZoneId, java.lang.String greeting, java.lang.String comments, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, java.lang.String smsSn, java.lang.String aimSn, java.lang.String facebookSn, java.lang.String icqSn, java.lang.String jabberSn, java.lang.String msnSn, java.lang.String mySpaceSn, java.lang.String skypeSn, java.lang.String twitterSn, java.lang.String ymSn, java.lang.String jobTitle, long[] organizationIds)
           
 
Methods inherited from class com.liferay.portal.service.base.UserServiceBaseImpl
getAccountLocalService, getAccountPersistence, getAccountService, getAddressLocalService, getAddressPersistence, getAddressService, getAnnouncementsDeliveryLocalService, getAnnouncementsDeliveryPersistence, getAnnouncementsDeliveryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getBrowserTrackerLocalService, getBrowserTrackerPersistence, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getContactLocalService, getContactPersistence, getContactService, getCounterLocalService, getCounterService, getCountryPersistence, getCountryService, getDLFileRankLocalService, getDLFileRankPersistence, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getExpandoValueFinder, getExpandoValueLocalService, getExpandoValuePersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getLayoutTemplateLocalService, getListTypePersistence, getListTypeService, getLockLocalService, getLockPersistence, getMailService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBMessageFlagLocalService, getMBMessageFlagPersistence, getMBStatsUserLocalService, getMBStatsUserPersistence, getMembershipRequestLocalService, getMembershipRequestPersistence, getMembershipRequestService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getOrgGroupPermissionFinder, getOrgGroupPermissionPersistence, getOrgGroupRolePersistence, getOrgLaborLocalService, getOrgLaborPersistence, getOrgLaborService, getPasswordPolicyFinder, getPasswordPolicyLocalService, getPasswordPolicyPersistence, getPasswordPolicyRelLocalService, getPasswordPolicyRelPersistence, getPasswordPolicyService, getPasswordTrackerLocalService, getPasswordTrackerPersistence, getPermissionFinder, getPermissionLocalService, getPermissionPersistence, getPermissionService, getPermissionUserFinder, getPhoneLocalService, getPhonePersistence, getPhoneService, getPluginSettingLocalService, getPluginSettingPersistence, getPluginSettingService, getPortalLocalService, getPortalService, getPortletItemLocalService, getPortletItemPersistence, getPortletLocalService, getPortletPersistence, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getPortletService, getQuartzLocalService, getRegionPersistence, getRegionService, getReleaseLocalService, getReleasePersistence, getResourceActionLocalService, getResourceActionPersistence, getResourceCodeLocalService, getResourceCodePersistence, getResourceFinder, getResourceLocalService, getResourcePermissionLocalService, getResourcePermissionPersistence, getResourcePermissionService, getResourcePersistence, getResourceService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getServiceComponentLocalService, getServiceComponentPersistence, getShardLocalService, getShardPersistence, getShoppingCartLocalService, getShoppingCartPersistence, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialRequestLocalService, getSocialRequestPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getThemeLocalService, getThemeService, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoleService, getUserGroupService, getUserIdMapperLocalService, getUserIdMapperPersistence, getUserLocalService, getUserPersistence, getUserService, getUserTrackerLocalService, getUserTrackerPathLocalService, getUserTrackerPathPersistence, getUserTrackerPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, runSQL, setAccountLocalService, setAccountPersistence, setAccountService, setAddressLocalService, setAddressPersistence, setAddressService, setAnnouncementsDeliveryLocalService, setAnnouncementsDeliveryPersistence, setAnnouncementsDeliveryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setBrowserTrackerLocalService, setBrowserTrackerPersistence, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setContactLocalService, setContactPersistence, setContactService, setCounterLocalService, setCounterService, setCountryPersistence, setCountryService, setDLFileRankLocalService, setDLFileRankPersistence, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setExpandoValueFinder, setExpandoValueLocalService, setExpandoValuePersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService, setLayoutTemplateLocalService, setListTypePersistence, setListTypeService, setLockLocalService, setLockPersistence, setMailService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBMessageFlagLocalService, setMBMessageFlagPersistence, setMBStatsUserLocalService, setMBStatsUserPersistence, setMembershipRequestLocalService, setMembershipRequestPersistence, setMembershipRequestService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setOrgGroupPermissionFinder, setOrgGroupPermissionPersistence, setOrgGroupRolePersistence, setOrgLaborLocalService, setOrgLaborPersistence, setOrgLaborService, setPasswordPolicyFinder, setPasswordPolicyLocalService, setPasswordPolicyPersistence, setPasswordPolicyRelLocalService, setPasswordPolicyRelPersistence, setPasswordPolicyService, setPasswordTrackerLocalService, setPasswordTrackerPersistence, setPermissionFinder, setPermissionLocalService, setPermissionPersistence, setPermissionService, setPermissionUserFinder, setPhoneLocalService, setPhonePersistence, setPhoneService, setPluginSettingLocalService, setPluginSettingPersistence, setPluginSettingService, setPortalLocalService, setPortalService, setPortletItemLocalService, setPortletItemPersistence, setPortletLocalService, setPortletPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setPortletService, setQuartzLocalService, setRegionPersistence, setRegionService, setReleaseLocalService, setReleasePersistence, setResourceActionLocalService, setResourceActionPersistence, setResourceCodeLocalService, setResourceCodePersistence, setResourceFinder, setResourceLocalService, setResourcePermissionLocalService, setResourcePermissionPersistence, setResourcePermissionService, setResourcePersistence, setResourceService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setServiceComponentLocalService, setServiceComponentPersistence, setShardLocalService, setShardPersistence, setShoppingCartLocalService, setShoppingCartPersistence, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialRequestLocalService, setSocialRequestPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setThemeLocalService, setThemeService, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserGroupRoleService, setUserGroupService, setUserIdMapperLocalService, setUserIdMapperPersistence, setUserLocalService, setUserPersistence, setUserService, setUserTrackerLocalService, setUserTrackerPathLocalService, setUserTrackerPathPersistence, setUserTrackerPersistence, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWebsiteLocalService, setWebsitePersistence, setWebsiteService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserServiceImpl

public UserServiceImpl()
Method Detail

addGroupUsers

public void addGroupUsers(long groupId,
                          long[] userIds)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addOrganizationUsers

public void addOrganizationUsers(long organizationId,
                                 long[] userIds)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addPasswordPolicyUsers

public void addPasswordPolicyUsers(long passwordPolicyId,
                                   long[] userIds)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addRoleUsers

public void addRoleUsers(long roleId,
                         long[] userIds)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addUserGroupUsers

public void addUserGroupUsers(long userGroupId,
                              long[] userIds)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addUser

public com.liferay.portal.model.User addUser(long companyId,
                                             boolean autoPassword,
                                             java.lang.String password1,
                                             java.lang.String password2,
                                             boolean autoScreenName,
                                             java.lang.String screenName,
                                             java.lang.String emailAddress,
                                             java.util.Locale locale,
                                             java.lang.String firstName,
                                             java.lang.String middleName,
                                             java.lang.String lastName,
                                             int prefixId,
                                             int suffixId,
                                             boolean male,
                                             int birthdayMonth,
                                             int birthdayDay,
                                             int birthdayYear,
                                             java.lang.String jobTitle,
                                             long[] organizationIds,
                                             boolean sendEmail)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteRoleUser

public void deleteRoleUser(long roleId,
                           long userId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUser

public void deleteUser(long userId)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getDefaultUserId

public long getDefaultUserId(long companyId)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getGroupUserIds

public long[] getGroupUserIds(long groupId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationUserIds

public long[] getOrganizationUserIds(long organizationId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRoleUserIds

public long[] getRoleUserIds(long roleId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserByEmailAddress

public com.liferay.portal.model.User getUserByEmailAddress(long companyId,
                                                           java.lang.String emailAddress)
                                                    throws com.liferay.portal.PortalException,
                                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserById

public com.liferay.portal.model.User getUserById(long userId)
                                          throws com.liferay.portal.PortalException,
                                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserByScreenName

public com.liferay.portal.model.User getUserByScreenName(long companyId,
                                                         java.lang.String screenName)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserIdByEmailAddress

public long getUserIdByEmailAddress(long companyId,
                                    java.lang.String emailAddress)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserIdByScreenName

public long getUserIdByScreenName(long companyId,
                                  java.lang.String screenName)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

hasGroupUser

public boolean hasGroupUser(long groupId,
                            long userId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

hasRoleUser

public boolean hasRoleUser(long roleId,
                           long userId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

hasRoleUser

public boolean hasRoleUser(long companyId,
                           java.lang.String name,
                           long userId,
                           boolean inherited)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

setRoleUsers

public void setRoleUsers(long roleId,
                         long[] userIds)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

setUserGroupUsers

public void setUserGroupUsers(long userGroupId,
                              long[] userIds)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsetGroupUsers

public void unsetGroupUsers(long groupId,
                            long[] userIds)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsetOrganizationUsers

public void unsetOrganizationUsers(long organizationId,
                                   long[] userIds)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsetPasswordPolicyUsers

public void unsetPasswordPolicyUsers(long passwordPolicyId,
                                     long[] userIds)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsetRoleUsers

public void unsetRoleUsers(long roleId,
                           long[] userIds)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsetUserGroupUsers

public void unsetUserGroupUsers(long userGroupId,
                                long[] userIds)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateActive

public com.liferay.portal.model.User updateActive(long userId,
                                                  boolean active)
                                           throws com.liferay.portal.PortalException,
                                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateAgreedToTermsOfUse

public com.liferay.portal.model.User updateAgreedToTermsOfUse(long userId,
                                                              boolean agreedToTermsOfUse)
                                                       throws com.liferay.portal.PortalException,
                                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLockout

public com.liferay.portal.model.User updateLockout(long userId,
                                                   boolean lockout)
                                            throws com.liferay.portal.PortalException,
                                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateOpenId

public void updateOpenId(long userId,
                         java.lang.String openId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateOrganizations

public void updateOrganizations(long userId,
                                long[] organizationIds)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updatePassword

public com.liferay.portal.model.User updatePassword(long userId,
                                                    java.lang.String password1,
                                                    java.lang.String password2,
                                                    boolean passwordReset)
                                             throws com.liferay.portal.PortalException,
                                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updatePortrait

public void updatePortrait(long userId,
                           byte[] bytes)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateScreenName

public void updateScreenName(long userId,
                             java.lang.String screenName)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateUser

public com.liferay.portal.model.User updateUser(long userId,
                                                java.lang.String oldPassword,
                                                boolean passwordReset,
                                                java.lang.String screenName,
                                                java.lang.String emailAddress,
                                                java.lang.String languageId,
                                                java.lang.String timeZoneId,
                                                java.lang.String greeting,
                                                java.lang.String comments,
                                                java.lang.String firstName,
                                                java.lang.String middleName,
                                                java.lang.String lastName,
                                                int prefixId,
                                                int suffixId,
                                                boolean male,
                                                int birthdayMonth,
                                                int birthdayDay,
                                                int birthdayYear,
                                                java.lang.String smsSn,
                                                java.lang.String aimSn,
                                                java.lang.String facebookSn,
                                                java.lang.String icqSn,
                                                java.lang.String jabberSn,
                                                java.lang.String msnSn,
                                                java.lang.String mySpaceSn,
                                                java.lang.String skypeSn,
                                                java.lang.String twitterSn,
                                                java.lang.String ymSn,
                                                java.lang.String jobTitle,
                                                long[] organizationIds)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateUser

public com.liferay.portal.model.User updateUser(long userId,
                                                java.lang.String oldPassword,
                                                java.lang.String newPassword1,
                                                java.lang.String newPassword2,
                                                boolean passwordReset,
                                                java.lang.String screenName,
                                                java.lang.String emailAddress,
                                                java.lang.String languageId,
                                                java.lang.String timeZoneId,
                                                java.lang.String greeting,
                                                java.lang.String comments,
                                                java.lang.String firstName,
                                                java.lang.String middleName,
                                                java.lang.String lastName,
                                                int prefixId,
                                                int suffixId,
                                                boolean male,
                                                int birthdayMonth,
                                                int birthdayDay,
                                                int birthdayYear,
                                                java.lang.String smsSn,
                                                java.lang.String aimSn,
                                                java.lang.String facebookSn,
                                                java.lang.String icqSn,
                                                java.lang.String jabberSn,
                                                java.lang.String msnSn,
                                                java.lang.String mySpaceSn,
                                                java.lang.String skypeSn,
                                                java.lang.String twitterSn,
                                                java.lang.String ymSn,
                                                java.lang.String jobTitle,
                                                long[] organizationIds)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException