Liferay 6.0.5

com.liferay.portal.service.impl
Class UserLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.UserLocalServiceBaseImpl
      extended by com.liferay.portal.service.impl.UserLocalServiceImpl
All Implemented Interfaces:
UserLocalService

public class UserLocalServiceImpl
extends UserLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.UserLocalServiceBaseImpl
accountLocalService, accountPersistence, accountService, addressLocalService, addressPersistence, addressService, announcementsDeliveryLocalService, announcementsDeliveryPersistence, announcementsDeliveryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, browserTrackerLocalService, browserTrackerPersistence, classNameLocalService, classNamePersistence, classNameService, clusterGroupLocalService, clusterGroupPersistence, companyLocalService, companyPersistence, companyService, contactLocalService, contactPersistence, contactService, counterLocalService, countryPersistence, countryService, dlFileRankLocalService, dlFileRankPersistence, emailAddressLocalService, emailAddressPersistence, emailAddressService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, layoutFinder, layoutLocalService, layoutPersistence, layoutPrototypeLocalService, layoutPrototypePersistence, layoutPrototypeService, layoutService, layoutSetLocalService, layoutSetPersistence, layoutSetPrototypeLocalService, layoutSetPrototypePersistence, layoutSetPrototypeService, layoutSetService, layoutTemplateLocalService, listTypePersistence, listTypeService, lockLocalService, lockPersistence, mailService, mbBanLocalService, mbBanPersistence, mbBanService, mbMessageFinder, mbMessageFlagLocalService, mbMessageFlagPersistence, mbMessageFlagService, mbMessageLocalService, mbMessagePersistence, mbMessageService, 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, 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, resourcePermissionFinder, resourcePermissionLocalService, resourcePermissionPersistence, resourcePermissionService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, serviceComponentLocalService, serviceComponentPersistence, shardLocalService, shardPersistence, shoppingCartLocalService, shoppingCartPersistence, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialRequestLocalService, socialRequestPersistence, subscriptionLocalService, subscriptionPersistence, teamFinder, teamLocalService, teamPersistence, teamService, themeLocalService, themeService, ticketLocalService, ticketPersistence, userFinder, userGroupFinder, userGroupGroupRoleLocalService, userGroupGroupRolePersistence, userGroupGroupRoleService, userGroupLocalService, userGroupPersistence, userGroupRoleFinder, userGroupRoleLocalService, userGroupRolePersistence, userGroupRoleService, userGroupService, userIdMapperLocalService, userIdMapperPersistence, userLocalService, userPersistence, userService, userTrackerLocalService, userTrackerPathLocalService, userTrackerPathPersistence, userTrackerPersistence, webDAVPropsLocalService, webDAVPropsPersistence, websiteLocalService, websitePersistence, websiteService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Constructor Summary
UserLocalServiceImpl()
           
 
Method Summary
 void addDefaultGroups(long userId)
           
 void addDefaultRoles(long userId)
           
 void addDefaultUserGroups(long userId)
           
 void addGroupUsers(long groupId, long[] userIds)
           
 void addOrganizationUsers(long organizationId, long[] userIds)
           
 void addPasswordPolicyUsers(long passwordPolicyId, long[] userIds)
           
 void addRoleUsers(long roleId, long[] userIds)
           
 void addTeamUsers(long teamId, long[] userIds)
           
 User addUser(long creatorUserId, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, long facebookId, String openId, Locale locale, String firstName, String middleName, String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, boolean sendEmail, ServiceContext serviceContext)
           
 void addUserGroupUsers(long userGroupId, long[] userIds)
           
protected  int authenticate(long companyId, String login, String password, String authType, Map<String,String[]> headerMap, Map<String,String[]> parameterMap)
           
 int authenticateByEmailAddress(long companyId, String emailAddress, String password, Map<String,String[]> headerMap, Map<String,String[]> parameterMap)
           
 int authenticateByScreenName(long companyId, String screenName, String password, Map<String,String[]> headerMap, Map<String,String[]> parameterMap)
           
 int authenticateByUserId(long companyId, long userId, String password, Map<String,String[]> headerMap, Map<String,String[]> parameterMap)
           
 long authenticateForBasic(long companyId, String authType, String login, String password)
           
 long authenticateForDigest(long companyId, String username, String realm, String nonce, String method, String uri, String response)
           
 boolean authenticateForJAAS(long userId, String encPassword)
           
 void checkLockout(User user)
           
 void checkLoginFailure(User user)
           
 void checkLoginFailureByEmailAddress(long companyId, String emailAddress)
           
 void checkLoginFailureById(long userId)
           
 void checkLoginFailureByScreenName(long companyId, String screenName)
           
 void checkPasswordExpired(User user)
           
 KeyValuePair decryptUserId(long companyId, String name, String password)
           
 void deletePortrait(long userId)
           
 void deleteRoleUser(long roleId, long userId)
           
 void deleteUser(long userId)
          Deletes the user with the primary key from the database.
protected  void doSendPassword(long companyId, String emailAddress, String remoteAddr, String remoteHost, String userAgent, String fromName, String fromAddress, String subject, String body, ServiceContext serviceContext)
           
 String encryptUserId(String name)
           
 List<User> getCompanyUsers(long companyId, int start, int end)
           
 int getCompanyUsersCount(long companyId)
           
 User getDefaultUser(long companyId)
           
 long getDefaultUserId(long companyId)
           
 long[] getGroupUserIds(long groupId)
           
 List<User> getGroupUsers(long groupId)
           
 int getGroupUsersCount(long groupId)
           
 int getGroupUsersCount(long groupId, boolean active)
           
 List<User> getNoAnnouncementsDeliveries(String type)
           
 List<User> getNoContacts()
           
 List<User> getNoGroups()
           
 long[] getOrganizationUserIds(long organizationId)
           
 List<User> getOrganizationUsers(long organizationId)
           
 int getOrganizationUsersCount(long organizationId)
           
 int getOrganizationUsersCount(long organizationId, boolean active)
           
 long[] getRoleUserIds(long roleId)
           
 List<User> getRoleUsers(long roleId)
           
 List<User> getRoleUsers(long roleId, int start, int end)
           
 int getRoleUsersCount(long roleId)
           
 int getRoleUsersCount(long roleId, boolean active)
           
protected  String getScreenName(String screenName)
           
 List<User> getSocialUsers(long userId, int type, int start, int end, OrderByComparator obc)
           
 List<User> getSocialUsers(long userId, int start, int end, OrderByComparator obc)
           
 List<User> getSocialUsers(long userId1, long userId2, int type, int start, int end, OrderByComparator obc)
           
 List<User> getSocialUsers(long userId1, long userId2, int start, int end, OrderByComparator obc)
           
 int getSocialUsersCount(long userId)
           
 int getSocialUsersCount(long userId, int type)
           
 int getSocialUsersCount(long userId1, long userId2)
           
 int getSocialUsersCount(long userId1, long userId2, int type)
           
 User getUserByContactId(long contactId)
           
 User getUserByEmailAddress(long companyId, String emailAddress)
           
 User getUserByFacebookId(long companyId, long facebookId)
           
 User getUserById(long userId)
           
 User getUserById(long companyId, long userId)
           
 User getUserByOpenId(long companyId, String openId)
           
 User getUserByPortraitId(long portraitId)
           
 User getUserByScreenName(long companyId, String screenName)
           
 User getUserByUuid(String uuid)
           
 List<User> getUserGroupUsers(long userGroupId)
           
 int getUserGroupUsersCount(long userGroupId)
           
 int getUserGroupUsersCount(long userGroupId, boolean active)
           
 long getUserIdByEmailAddress(long companyId, String emailAddress)
           
 long getUserIdByScreenName(long companyId, String screenName)
           
protected  long[] getUserIds(List<User> users)
           
 boolean hasGroupUser(long groupId, long userId)
           
 boolean hasOrganizationUser(long organizationId, long userId)
           
 boolean hasPasswordPolicyUser(long passwordPolicyId, long userId)
           
 boolean hasRoleUser(long roleId, long userId)
           
 boolean hasRoleUser(long companyId, String name, long userId, boolean inherited)
          Returns true if the user has the role.
 boolean hasTeamUser(long teamId, long userId)
           
 boolean hasUserGroupUser(long userGroupId, long userId)
           
 boolean isPasswordExpired(User user)
           
 boolean isPasswordExpiringSoon(User user)
           
 List<User> search(long companyId, String keywords, Boolean active, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
 Hits search(long companyId, String keywords, Boolean active, LinkedHashMap<String,Object> params, int start, int end, Sort sort)
           
 List<User> search(long companyId, String firstName, String middleName, String lastName, String screenName, String emailAddress, Boolean active, LinkedHashMap<String,Object> params, boolean andSearch, int start, int end, OrderByComparator obc)
           
 Hits search(long companyId, String firstName, String middleName, String lastName, String screenName, String emailAddress, Boolean active, LinkedHashMap<String,Object> params, boolean andSearch, int start, int end, Sort sort)
           
 int searchCount(long companyId, String keywords, Boolean active, LinkedHashMap<String,Object> params)
           
 int searchCount(long companyId, String firstName, String middleName, String lastName, String screenName, String emailAddress, Boolean active, LinkedHashMap<String,Object> params, boolean andSearch)
           
protected  void sendEmail(User user, String password)
           
 void sendPassword(long companyId, String emailAddress, String remoteAddr, String remoteHost, String userAgent, String fromName, String fromAddress, String subject, String body, ServiceContext serviceContext)
           
protected  void setEmailAddress(User user, String password, String firstName, String middleName, String lastName, String emailAddress)
           
 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, List<User> users)
           
 void unsetRoleUsers(long roleId, long[] userIds)
           
 void unsetTeamUsers(long teamId, long[] userIds)
           
 void unsetUserGroupUsers(long userGroupId, long[] userIds)
           
 User updateActive(long userId, boolean active)
           
 User updateAgreedToTermsOfUse(long userId, boolean agreedToTermsOfUse)
           
 void updateAsset(long userId, User user, long[] assetCategoryIds, String[] assetTagNames)
           
 User updateCreateDate(long userId, Date createDate)
           
 User updateEmailAddress(long userId, String password, String emailAddress1, String emailAddress2)
           
 void updateGroups(long userId, long[] newGroupIds)
           
 User updateLastLogin(long userId, String loginIP)
           
 User updateLockout(User user, boolean lockout)
           
 User updateLockoutByEmailAddress(long companyId, String emailAddress, boolean lockout)
           
 User updateLockoutById(long userId, boolean lockout)
           
 User updateLockoutByScreenName(long companyId, String screenName, boolean lockout)
           
 User updateModifiedDate(long userId, Date modifiedDate)
           
 void updateOpenId(long userId, String openId)
           
 void updateOrganizations(long userId, long[] newOrganizationIds)
           
 User updatePassword(long userId, String password1, String password2, boolean passwordReset)
           
 User updatePassword(long userId, String password1, String password2, boolean passwordReset, boolean silentUpdate)
           
 User updatePasswordManually(long userId, String password, boolean passwordEncrypted, boolean passwordReset, Date passwordModifiedDate)
           
 void updatePasswordReset(long userId, boolean passwordReset)
           
 void updatePortrait(long userId, byte[] bytes)
           
 void updateReminderQuery(long userId, String question, String answer)
           
 void updateScreenName(long userId, String screenName)
           
 User updateUser(long userId, String oldPassword, String newPassword1, String newPassword2, boolean passwordReset, String reminderQueryQuestion, String reminderQueryAnswer, String screenName, String emailAddress, long facebookId, String openId, String languageId, String timeZoneId, String greeting, String comments, String firstName, String middleName, String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String aimSn, String facebookSn, String icqSn, String jabberSn, String msnSn, String mySpaceSn, String skypeSn, String twitterSn, String ymSn, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, List<UserGroupRole> userGroupRoles, long[] userGroupIds, ServiceContext serviceContext)
           
protected  void updateUserGroupRoles(User user, long[] groupIds, long[] organizationIds, List<UserGroupRole> userGroupRoles)
           
protected  void validate(long companyId, long userId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, String firstName, String middleName, String lastName, long[] organizationIds)
           
protected  void validate(long userId, String screenName, String emailAddress, String firstName, String middleName, String lastName, String smsSn)
           
protected  void validateEmailAddress(long companyId, String emailAddress)
           
protected  void validateFullName(long companyId, String firstName, String middleName, String lastName)
           
protected  void validatePassword(long companyId, long userId, String password1, String password2)
           
protected  void validateReminderQuery(String question, String answer)
           
protected  void validateScreenName(long companyId, long userId, String screenName)
           
 
Methods inherited from class com.liferay.portal.service.base.UserLocalServiceBaseImpl
addUser, createUser, deleteUser, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getAccountLocalService, getAccountPersistence, getAccountService, getAddressLocalService, getAddressPersistence, getAddressService, getAnnouncementsDeliveryLocalService, getAnnouncementsDeliveryPersistence, getAnnouncementsDeliveryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getBrowserTrackerLocalService, getBrowserTrackerPersistence, getClassNameLocalService, getClassNamePersistence, getClassNameService, getClusterGroupLocalService, getClusterGroupPersistence, getCompanyLocalService, getCompanyPersistence, getCompanyService, getContactLocalService, getContactPersistence, getContactService, getCounterLocalService, getCountryPersistence, getCountryService, getDLFileRankLocalService, getDLFileRankPersistence, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutPrototypeLocalService, getLayoutPrototypePersistence, getLayoutPrototypeService, getLayoutService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetPrototypeLocalService, getLayoutSetPrototypePersistence, getLayoutSetPrototypeService, getLayoutSetService, getLayoutTemplateLocalService, getListTypePersistence, getListTypeService, getLockLocalService, getLockPersistence, getMailService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBMessageFinder, getMBMessageFlagLocalService, getMBMessageFlagPersistence, getMBMessageFlagService, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, 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, 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, getResourcePermissionFinder, getResourcePermissionLocalService, getResourcePermissionPersistence, getResourcePermissionService, getResourcePersistence, getResourceService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getServiceComponentLocalService, getServiceComponentPersistence, getShardLocalService, getShardPersistence, getShoppingCartLocalService, getShoppingCartPersistence, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialRequestLocalService, getSocialRequestPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getTeamFinder, getTeamLocalService, getTeamPersistence, getTeamService, getThemeLocalService, getThemeService, getTicketLocalService, getTicketPersistence, getUser, getUserFinder, getUserGroupFinder, getUserGroupGroupRoleLocalService, getUserGroupGroupRolePersistence, getUserGroupGroupRoleService, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleFinder, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoleService, getUserGroupService, getUserIdMapperLocalService, getUserIdMapperPersistence, getUserLocalService, getUserPersistence, getUsers, getUsersCount, getUserService, getUserTrackerLocalService, getUserTrackerPathLocalService, getUserTrackerPathPersistence, getUserTrackerPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAccountLocalService, setAccountPersistence, setAccountService, setAddressLocalService, setAddressPersistence, setAddressService, setAnnouncementsDeliveryLocalService, setAnnouncementsDeliveryPersistence, setAnnouncementsDeliveryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setBrowserTrackerLocalService, setBrowserTrackerPersistence, setClassNameLocalService, setClassNamePersistence, setClassNameService, setClusterGroupLocalService, setClusterGroupPersistence, setCompanyLocalService, setCompanyPersistence, setCompanyService, setContactLocalService, setContactPersistence, setContactService, setCounterLocalService, setCountryPersistence, setCountryService, setDLFileRankLocalService, setDLFileRankPersistence, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutPrototypeLocalService, setLayoutPrototypePersistence, setLayoutPrototypeService, setLayoutService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetPrototypeLocalService, setLayoutSetPrototypePersistence, setLayoutSetPrototypeService, setLayoutSetService, setLayoutTemplateLocalService, setListTypePersistence, setListTypeService, setLockLocalService, setLockPersistence, setMailService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBMessageFinder, setMBMessageFlagLocalService, setMBMessageFlagPersistence, setMBMessageFlagService, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, 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, 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, setResourcePermissionFinder, setResourcePermissionLocalService, setResourcePermissionPersistence, setResourcePermissionService, setResourcePersistence, setResourceService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setServiceComponentLocalService, setServiceComponentPersistence, setShardLocalService, setShardPersistence, setShoppingCartLocalService, setShoppingCartPersistence, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialRequestLocalService, setSocialRequestPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setTeamFinder, setTeamLocalService, setTeamPersistence, setTeamService, setThemeLocalService, setThemeService, setTicketLocalService, setTicketPersistence, setUserFinder, setUserGroupFinder, setUserGroupGroupRoleLocalService, setUserGroupGroupRolePersistence, setUserGroupGroupRoleService, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleFinder, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserGroupRoleService, setUserGroupService, setUserIdMapperLocalService, setUserIdMapperPersistence, setUserLocalService, setUserPersistence, setUserService, setUserTrackerLocalService, setUserTrackerPathLocalService, setUserTrackerPathPersistence, setUserTrackerPersistence, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWebsiteLocalService, setWebsitePersistence, setWebsiteService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateUser, updateUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLocalServiceImpl

public UserLocalServiceImpl()
Method Detail

addDefaultGroups

public void addDefaultGroups(long userId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addDefaultRoles

public void addDefaultRoles(long userId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

addDefaultUserGroups

public void addDefaultUserGroups(long userId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

addGroupUsers

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

addOrganizationUsers

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

addPasswordPolicyUsers

public void addPasswordPolicyUsers(long passwordPolicyId,
                                   long[] userIds)
                            throws SystemException
Throws:
SystemException

addRoleUsers

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

addTeamUsers

public void addTeamUsers(long teamId,
                         long[] userIds)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

addUser

public User addUser(long creatorUserId,
                    long companyId,
                    boolean autoPassword,
                    String password1,
                    String password2,
                    boolean autoScreenName,
                    String screenName,
                    String emailAddress,
                    long facebookId,
                    String openId,
                    Locale locale,
                    String firstName,
                    String middleName,
                    String lastName,
                    int prefixId,
                    int suffixId,
                    boolean male,
                    int birthdayMonth,
                    int birthdayDay,
                    int birthdayYear,
                    String jobTitle,
                    long[] groupIds,
                    long[] organizationIds,
                    long[] roleIds,
                    long[] userGroupIds,
                    boolean sendEmail,
                    ServiceContext serviceContext)
             throws PortalException,
                    SystemException
Throws:
PortalException
SystemException

addUserGroupUsers

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

authenticateByEmailAddress

@Transactional(propagation=SUPPORTS,
               readOnly=true)
public int authenticateByEmailAddress(long companyId,
                                                                               String emailAddress,
                                                                               String password,
                                                                               Map<String,String[]> headerMap,
                                                                               Map<String,String[]> parameterMap)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

authenticateByScreenName

@Transactional(propagation=SUPPORTS,
               readOnly=true)
public int authenticateByScreenName(long companyId,
                                                                             String screenName,
                                                                             String password,
                                                                             Map<String,String[]> headerMap,
                                                                             Map<String,String[]> parameterMap)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

authenticateByUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
public int authenticateByUserId(long companyId,
                                                                         long userId,
                                                                         String password,
                                                                         Map<String,String[]> headerMap,
                                                                         Map<String,String[]> parameterMap)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

authenticateForBasic

@Transactional(propagation=SUPPORTS,
               readOnly=true)
public long authenticateForBasic(long companyId,
                                                                          String authType,
                                                                          String login,
                                                                          String password)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

authenticateForDigest

@Transactional(propagation=SUPPORTS,
               readOnly=true)
public long authenticateForDigest(long companyId,
                                                                           String username,
                                                                           String realm,
                                                                           String nonce,
                                                                           String method,
                                                                           String uri,
                                                                           String response)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

authenticateForJAAS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
public boolean authenticateForJAAS(long userId,
                                                                            String encPassword)

checkLockout

public void checkLockout(User user)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

checkLoginFailure

public void checkLoginFailure(User user)
                       throws SystemException
Throws:
SystemException

checkLoginFailureByEmailAddress

public void checkLoginFailureByEmailAddress(long companyId,
                                            String emailAddress)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

checkLoginFailureById

public void checkLoginFailureById(long userId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

checkLoginFailureByScreenName

public void checkLoginFailureByScreenName(long companyId,
                                          String screenName)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

checkPasswordExpired

public void checkPasswordExpired(User user)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

decryptUserId

public KeyValuePair decryptUserId(long companyId,
                                  String name,
                                  String password)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deletePortrait

public void deletePortrait(long userId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteRoleUser

public void deleteRoleUser(long roleId,
                           long userId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteUser

public void deleteUser(long userId)
                throws PortalException,
                       SystemException
Description copied from class: UserLocalServiceBaseImpl
Deletes the user with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteUser in interface UserLocalService
Overrides:
deleteUser in class UserLocalServiceBaseImpl
Parameters:
userId - the primary key of the user to delete
Throws:
PortalException - if a user with the primary key could not be found
SystemException - if a system exception occurred

encryptUserId

public String encryptUserId(String name)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getCompanyUsers

public List<User> getCompanyUsers(long companyId,
                                  int start,
                                  int end)
                           throws SystemException
Throws:
SystemException

getCompanyUsersCount

public int getCompanyUsersCount(long companyId)
                         throws SystemException
Throws:
SystemException

getDefaultUser

public User getDefaultUser(long companyId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getDefaultUserId

public long getDefaultUserId(long companyId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getGroupUserIds

public long[] getGroupUserIds(long groupId)
                       throws SystemException
Throws:
SystemException

getGroupUsers

public List<User> getGroupUsers(long groupId)
                         throws SystemException
Throws:
SystemException

getGroupUsersCount

public int getGroupUsersCount(long groupId)
                       throws SystemException
Throws:
SystemException

getGroupUsersCount

public int getGroupUsersCount(long groupId,
                              boolean active)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getNoAnnouncementsDeliveries

public List<User> getNoAnnouncementsDeliveries(String type)
                                        throws SystemException
Throws:
SystemException

getNoContacts

public List<User> getNoContacts()
                         throws SystemException
Throws:
SystemException

getNoGroups

public List<User> getNoGroups()
                       throws SystemException
Throws:
SystemException

getOrganizationUserIds

public long[] getOrganizationUserIds(long organizationId)
                              throws SystemException
Throws:
SystemException

getOrganizationUsers

public List<User> getOrganizationUsers(long organizationId)
                                throws SystemException
Throws:
SystemException

getOrganizationUsersCount

public int getOrganizationUsersCount(long organizationId)
                              throws SystemException
Throws:
SystemException

getOrganizationUsersCount

public int getOrganizationUsersCount(long organizationId,
                                     boolean active)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getRoleUserIds

public long[] getRoleUserIds(long roleId)
                      throws SystemException
Throws:
SystemException

getRoleUsers

public List<User> getRoleUsers(long roleId)
                        throws SystemException
Throws:
SystemException

getRoleUsers

public List<User> getRoleUsers(long roleId,
                               int start,
                               int end)
                        throws SystemException
Throws:
SystemException

getRoleUsersCount

public int getRoleUsersCount(long roleId)
                      throws SystemException
Throws:
SystemException

getRoleUsersCount

public int getRoleUsersCount(long roleId,
                             boolean active)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getSocialUsers

public List<User> getSocialUsers(long userId,
                                 int type,
                                 int start,
                                 int end,
                                 OrderByComparator obc)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getSocialUsers

public List<User> getSocialUsers(long userId,
                                 int start,
                                 int end,
                                 OrderByComparator obc)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getSocialUsers

public List<User> getSocialUsers(long userId1,
                                 long userId2,
                                 int type,
                                 int start,
                                 int end,
                                 OrderByComparator obc)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getSocialUsers

public List<User> getSocialUsers(long userId1,
                                 long userId2,
                                 int start,
                                 int end,
                                 OrderByComparator obc)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getSocialUsersCount

public int getSocialUsersCount(long userId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getSocialUsersCount

public int getSocialUsersCount(long userId,
                               int type)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getSocialUsersCount

public int getSocialUsersCount(long userId1,
                               long userId2)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getSocialUsersCount

public int getSocialUsersCount(long userId1,
                               long userId2,
                               int type)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getUserByContactId

public User getUserByContactId(long contactId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getUserByEmailAddress

public User getUserByEmailAddress(long companyId,
                                  String emailAddress)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getUserByFacebookId

public User getUserByFacebookId(long companyId,
                                long facebookId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getUserById

public User getUserById(long userId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getUserById

public User getUserById(long companyId,
                        long userId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getUserByOpenId

public User getUserByOpenId(long companyId,
                            String openId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getUserByPortraitId

public User getUserByPortraitId(long portraitId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getUserByScreenName

public User getUserByScreenName(long companyId,
                                String screenName)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getUserByUuid

public User getUserByUuid(String uuid)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getUserGroupUsers

public List<User> getUserGroupUsers(long userGroupId)
                             throws SystemException
Throws:
SystemException

getUserGroupUsersCount

public int getUserGroupUsersCount(long userGroupId)
                           throws SystemException
Throws:
SystemException

getUserGroupUsersCount

public int getUserGroupUsersCount(long userGroupId,
                                  boolean active)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getUserIdByEmailAddress

public long getUserIdByEmailAddress(long companyId,
                                    String emailAddress)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getUserIdByScreenName

public long getUserIdByScreenName(long companyId,
                                  String screenName)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

hasGroupUser

public boolean hasGroupUser(long groupId,
                            long userId)
                     throws SystemException
Throws:
SystemException

hasOrganizationUser

public boolean hasOrganizationUser(long organizationId,
                                   long userId)
                            throws SystemException
Throws:
SystemException

hasPasswordPolicyUser

public boolean hasPasswordPolicyUser(long passwordPolicyId,
                                     long userId)
                              throws SystemException
Throws:
SystemException

hasRoleUser

public boolean hasRoleUser(long roleId,
                           long userId)
                    throws SystemException
Throws:
SystemException

hasRoleUser

public boolean hasRoleUser(long companyId,
                           String name,
                           long userId,
                           boolean inherited)
                    throws PortalException,
                           SystemException
Returns true if the user has the role.

Returns:
true if the user has the role
Throws:
PortalException
SystemException

hasTeamUser

public boolean hasTeamUser(long teamId,
                           long userId)
                    throws SystemException
Throws:
SystemException

hasUserGroupUser

public boolean hasUserGroupUser(long userGroupId,
                                long userId)
                         throws SystemException
Throws:
SystemException

isPasswordExpired

public boolean isPasswordExpired(User user)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

isPasswordExpiringSoon

public boolean isPasswordExpiringSoon(User user)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

search

public List<User> search(long companyId,
                         String keywords,
                         Boolean active,
                         LinkedHashMap<String,Object> params,
                         int start,
                         int end,
                         OrderByComparator obc)
                  throws SystemException
Throws:
SystemException

search

public Hits search(long companyId,
                   String keywords,
                   Boolean active,
                   LinkedHashMap<String,Object> params,
                   int start,
                   int end,
                   Sort sort)
            throws SystemException
Throws:
SystemException

search

public List<User> search(long companyId,
                         String firstName,
                         String middleName,
                         String lastName,
                         String screenName,
                         String emailAddress,
                         Boolean active,
                         LinkedHashMap<String,Object> params,
                         boolean andSearch,
                         int start,
                         int end,
                         OrderByComparator obc)
                  throws SystemException
Throws:
SystemException

search

public Hits search(long companyId,
                   String firstName,
                   String middleName,
                   String lastName,
                   String screenName,
                   String emailAddress,
                   Boolean active,
                   LinkedHashMap<String,Object> params,
                   boolean andSearch,
                   int start,
                   int end,
                   Sort sort)
            throws SystemException
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       String keywords,
                       Boolean active,
                       LinkedHashMap<String,Object> params)
                throws SystemException
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       String firstName,
                       String middleName,
                       String lastName,
                       String screenName,
                       String emailAddress,
                       Boolean active,
                       LinkedHashMap<String,Object> params,
                       boolean andSearch)
                throws SystemException
Throws:
SystemException

sendPassword

public void sendPassword(long companyId,
                         String emailAddress,
                         String remoteAddr,
                         String remoteHost,
                         String userAgent,
                         String fromName,
                         String fromAddress,
                         String subject,
                         String body,
                         ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

setRoleUsers

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

setUserGroupUsers

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

unsetGroupUsers

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

unsetOrganizationUsers

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

unsetPasswordPolicyUsers

public void unsetPasswordPolicyUsers(long passwordPolicyId,
                                     long[] userIds)
                              throws SystemException
Throws:
SystemException

unsetRoleUsers

public void unsetRoleUsers(long roleId,
                           List<User> users)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

unsetRoleUsers

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

unsetTeamUsers

public void unsetTeamUsers(long teamId,
                           long[] userIds)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

unsetUserGroupUsers

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

updateActive

public User updateActive(long userId,
                         boolean active)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

updateAgreedToTermsOfUse

public User updateAgreedToTermsOfUse(long userId,
                                     boolean agreedToTermsOfUse)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

updateAsset

public void updateAsset(long userId,
                        User user,
                        long[] assetCategoryIds,
                        String[] assetTagNames)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

updateCreateDate

public User updateCreateDate(long userId,
                             Date createDate)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

updateEmailAddress

public User updateEmailAddress(long userId,
                               String password,
                               String emailAddress1,
                               String emailAddress2)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

updateGroups

public void updateGroups(long userId,
                         long[] newGroupIds)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

updateLastLogin

public User updateLastLogin(long userId,
                            String loginIP)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateLockout

public User updateLockout(User user,
                          boolean lockout)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

updateLockoutByEmailAddress

public User updateLockoutByEmailAddress(long companyId,
                                        String emailAddress,
                                        boolean lockout)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

updateLockoutById

public User updateLockoutById(long userId,
                              boolean lockout)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateLockoutByScreenName

public User updateLockoutByScreenName(long companyId,
                                      String screenName,
                                      boolean lockout)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

updateModifiedDate

public User updateModifiedDate(long userId,
                               Date modifiedDate)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

updateOpenId

public void updateOpenId(long userId,
                         String openId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

updateOrganizations

public void updateOrganizations(long userId,
                                long[] newOrganizationIds)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

updatePassword

public User updatePassword(long userId,
                           String password1,
                           String password2,
                           boolean passwordReset)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

updatePassword

public User updatePassword(long userId,
                           String password1,
                           String password2,
                           boolean passwordReset,
                           boolean silentUpdate)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

updatePasswordManually

public User updatePasswordManually(long userId,
                                   String password,
                                   boolean passwordEncrypted,
                                   boolean passwordReset,
                                   Date passwordModifiedDate)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

updatePasswordReset

public void updatePasswordReset(long userId,
                                boolean passwordReset)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

updatePortrait

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

updateReminderQuery

public void updateReminderQuery(long userId,
                                String question,
                                String answer)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

updateScreenName

public void updateScreenName(long userId,
                             String screenName)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

updateUser

public User updateUser(long userId,
                       String oldPassword,
                       String newPassword1,
                       String newPassword2,
                       boolean passwordReset,
                       String reminderQueryQuestion,
                       String reminderQueryAnswer,
                       String screenName,
                       String emailAddress,
                       long facebookId,
                       String openId,
                       String languageId,
                       String timeZoneId,
                       String greeting,
                       String comments,
                       String firstName,
                       String middleName,
                       String lastName,
                       int prefixId,
                       int suffixId,
                       boolean male,
                       int birthdayMonth,
                       int birthdayDay,
                       int birthdayYear,
                       String smsSn,
                       String aimSn,
                       String facebookSn,
                       String icqSn,
                       String jabberSn,
                       String msnSn,
                       String mySpaceSn,
                       String skypeSn,
                       String twitterSn,
                       String ymSn,
                       String jobTitle,
                       long[] groupIds,
                       long[] organizationIds,
                       long[] roleIds,
                       List<UserGroupRole> userGroupRoles,
                       long[] userGroupIds,
                       ServiceContext serviceContext)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

authenticate

protected int authenticate(long companyId,
                           String login,
                           String password,
                           String authType,
                           Map<String,String[]> headerMap,
                           Map<String,String[]> parameterMap)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

doSendPassword

protected void doSendPassword(long companyId,
                              String emailAddress,
                              String remoteAddr,
                              String remoteHost,
                              String userAgent,
                              String fromName,
                              String fromAddress,
                              String subject,
                              String body,
                              ServiceContext serviceContext)
                       throws IOException,
                              PortalException,
                              SystemException
Throws:
IOException
PortalException
SystemException

getScreenName

protected String getScreenName(String screenName)

getUserIds

protected long[] getUserIds(List<User> users)

sendEmail

protected void sendEmail(User user,
                         String password)
                  throws IOException,
                         PortalException,
                         SystemException
Throws:
IOException
PortalException
SystemException

setEmailAddress

protected void setEmailAddress(User user,
                               String password,
                               String firstName,
                               String middleName,
                               String lastName,
                               String emailAddress)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

updateUserGroupRoles

protected void updateUserGroupRoles(User user,
                                    long[] groupIds,
                                    long[] organizationIds,
                                    List<UserGroupRole> userGroupRoles)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

validate

protected void validate(long companyId,
                        long userId,
                        boolean autoPassword,
                        String password1,
                        String password2,
                        boolean autoScreenName,
                        String screenName,
                        String emailAddress,
                        String firstName,
                        String middleName,
                        String lastName,
                        long[] organizationIds)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

validate

protected void validate(long userId,
                        String screenName,
                        String emailAddress,
                        String firstName,
                        String middleName,
                        String lastName,
                        String smsSn)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

validateEmailAddress

protected void validateEmailAddress(long companyId,
                                    String emailAddress)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

validateFullName

protected void validateFullName(long companyId,
                                String firstName,
                                String middleName,
                                String lastName)
                         throws PortalException
Throws:
PortalException

validatePassword

protected void validatePassword(long companyId,
                                long userId,
                                String password1,
                                String password2)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

validateReminderQuery

protected void validateReminderQuery(String question,
                                     String answer)
                              throws PortalException
Throws:
PortalException

validateScreenName

protected void validateScreenName(long companyId,
                                  long userId,
                                  String screenName)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5