com.liferay.portal.service.impl
Class UserLocalServiceImpl
java.lang.Object
com.liferay.portal.service.base.UserLocalServiceBaseImpl
com.liferay.portal.service.impl.UserLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.bean.InitializingBean, com.liferay.portal.service.UserLocalService
public class UserLocalServiceImpl
- extends UserLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Scott Lee, Raymond Augé, Jorge Ferrer
Fields inherited from class com.liferay.portal.service.base.UserLocalServiceBaseImpl |
accountLocalService, accountPersistence, accountService, addressLocalService, addressPersistence, addressService, announcementsDeliveryLocalService, announcementsDeliveryPersistence, announcementsDeliveryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, classNameLocalService, classNamePersistence, classNameService, companyLocalService, companyPersistence, companyService, contactLocalService, contactPersistence, contactService, counterLocalService, counterService, countryPersistence, countryService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, emailAddressLocalService, emailAddressPersistence, emailAddressService, expandoValueFinder, expandoValueLocalService, expandoValuePersistence, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutService, layoutSetLocalService, layoutSetPersistence, layoutSetService, layoutTemplateLocalService, listTypePersistence, listTypeService, mailService, mbBanLocalService, mbBanPersistence, mbBanService, mbMessageFlagFinder, 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, portalService, portletItemLocalService, portletItemPersistence, portletLocalService, portletPersistence, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, portletService, regionPersistence, regionService, releaseLocalService, releasePersistence, resourceCodeLocalService, resourceCodePersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, serviceComponentLocalService, serviceComponentPersistence, shoppingCartLocalService, shoppingCartPersistence, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialRequestLocalService, socialRequestPersistence, subscriptionLocalService, subscriptionPersistence, themeLocalService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupRoleLocalService, userGroupRolePersistence, userGroupRoleService, userGroupService, userIdMapperLocalService, userIdMapperPersistence, userPersistence, userTrackerLocalService, userTrackerPathLocalService, userTrackerPathPersistence, userTrackerPersistence, webDAVPropsLocalService, webDAVPropsPersistence, websiteLocalService, websitePersistence, websiteService |
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 creatorUserId,
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)
|
protected int |
authenticate(long companyId,
java.lang.String login,
java.lang.String password,
java.lang.String authType,
java.util.Map<java.lang.String,java.lang.String[]> headerMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
|
int |
authenticateByEmailAddress(long companyId,
java.lang.String emailAddress,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String[]> headerMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
|
int |
authenticateByScreenName(long companyId,
java.lang.String screenName,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String[]> headerMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
|
int |
authenticateByUserId(long companyId,
long userId,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String[]> headerMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
|
long |
authenticateForBasic(long companyId,
java.lang.String authType,
java.lang.String login,
java.lang.String password)
|
boolean |
authenticateForJAAS(long userId,
java.lang.String encPassword)
|
void |
checkLockout(com.liferay.portal.model.User user)
|
void |
checkLoginFailure(com.liferay.portal.model.User user)
|
void |
checkLoginFailureByEmailAddress(long companyId,
java.lang.String emailAddress)
|
void |
checkLoginFailureById(long userId)
|
void |
checkLoginFailureByScreenName(long companyId,
java.lang.String screenName)
|
void |
checkPasswordExpired(com.liferay.portal.model.User user)
|
void |
clearOrganizationUsers(long organizationId)
|
void |
clearUserGroupUsers(long userGroupId)
|
protected void |
copyUserGroupLayouts(long userGroupId,
long userId)
|
protected void |
copyUserGroupLayouts(long userGroupId,
long[] userIds)
|
com.liferay.portal.kernel.util.KeyValuePair |
decryptUserId(long companyId,
java.lang.String name,
java.lang.String password)
|
void |
deletePasswordPolicyUser(long passwordPolicyId,
long userId)
|
void |
deleteRoleUser(long roleId,
long userId)
|
void |
deleteUser(long userId)
|
protected void |
doSendPassword(long companyId,
java.lang.String emailAddress,
java.lang.String remoteAddr,
java.lang.String remoteHost,
java.lang.String userAgent)
|
java.lang.String |
encryptUserId(java.lang.String name)
|
com.liferay.portal.model.User |
getDefaultUser(long companyId)
|
long |
getDefaultUserId(long companyId)
|
java.util.List<com.liferay.portal.model.User> |
getGroupUsers(long groupId)
|
int |
getGroupUsersCount(long groupId)
|
int |
getGroupUsersCount(long groupId,
boolean active)
|
protected java.util.Map<java.lang.String,java.lang.String[]> |
getLayoutTemplatesParameters()
|
java.util.List<com.liferay.portal.model.User> |
getNoAnnouncementsDeliveries(java.lang.String type)
|
java.util.List<com.liferay.portal.model.User> |
getOrganizationUsers(long organizationId)
|
int |
getOrganizationUsersCount(long organizationId)
|
int |
getOrganizationUsersCount(long organizationId,
boolean active)
|
java.util.List<com.liferay.portal.model.User> |
getPermissionUsers(long companyId,
long groupId,
java.lang.String name,
java.lang.String primKey,
java.lang.String actionId,
java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String emailAddress,
boolean andOperator,
int start,
int end)
|
int |
getPermissionUsersCount(long companyId,
long groupId,
java.lang.String name,
java.lang.String primKey,
java.lang.String actionId,
java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String emailAddress,
boolean andOperator)
|
java.util.List<com.liferay.portal.model.User> |
getRoleUsers(long roleId)
|
int |
getRoleUsersCount(long roleId)
|
int |
getRoleUsersCount(long roleId,
boolean active)
|
protected java.lang.String |
getScreenName(java.lang.String screenName)
|
java.util.List<com.liferay.portal.model.User> |
getSocialUsers(long userId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portal.model.User> |
getSocialUsers(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portal.model.User> |
getSocialUsers(long userId1,
long userId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portal.model.User> |
getSocialUsers(long userId1,
long userId2,
int start,
int end,
com.liferay.portal.kernel.util.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)
|
com.liferay.portal.model.User |
getUserByContactId(long contactId)
|
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 |
getUserById(long companyId,
long userId)
|
com.liferay.portal.model.User |
getUserByOpenId(java.lang.String openId)
|
com.liferay.portal.model.User |
getUserByPortraitId(long portraitId)
|
com.liferay.portal.model.User |
getUserByScreenName(long companyId,
java.lang.String screenName)
|
java.util.List<com.liferay.portal.model.User> |
getUserGroupUsers(long userGroupId)
|
int |
getUserGroupUsersCount(long userGroupId)
|
int |
getUserGroupUsersCount(long userGroupId,
boolean active)
|
long |
getUserIdByEmailAddress(long companyId,
java.lang.String emailAddress)
|
long |
getUserIdByScreenName(long companyId,
java.lang.String screenName)
|
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 |
hasUserGroupUser(long userGroupId,
long userId)
|
boolean |
isPasswordExpired(com.liferay.portal.model.User user)
|
boolean |
isPasswordExpiringSoon(com.liferay.portal.model.User user)
|
java.util.List<com.liferay.portal.model.User> |
search(long companyId,
java.lang.String keywords,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portal.model.User> |
search(long companyId,
java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andSearch,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
searchCount(long companyId,
java.lang.String keywords,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
|
int |
searchCount(long companyId,
java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andSearch)
|
protected void |
sendEmail(com.liferay.portal.model.User user,
java.lang.String password)
|
void |
sendPassword(long companyId,
java.lang.String emailAddress,
java.lang.String remoteAddr,
java.lang.String remoteHost,
java.lang.String userAgent)
|
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,
java.util.List<com.liferay.portal.model.User> users)
|
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 |
updateCreateDate(long userId,
java.util.Date createDate)
|
com.liferay.portal.model.User |
updateLastLogin(long userId,
java.lang.String loginIP)
|
com.liferay.portal.model.User |
updateLockout(com.liferay.portal.model.User user,
boolean lockout)
|
com.liferay.portal.model.User |
updateLockoutByEmailAddress(long companyId,
java.lang.String emailAddress,
boolean lockout)
|
com.liferay.portal.model.User |
updateLockoutById(long userId,
boolean lockout)
|
com.liferay.portal.model.User |
updateLockoutByScreenName(long companyId,
java.lang.String screenName,
boolean lockout)
|
com.liferay.portal.model.User |
updateModifiedDate(long userId,
java.util.Date modifiedDate)
|
void |
updateOpenId(long userId,
java.lang.String openId)
|
void |
updateOrganizations(long userId,
long[] newOrganizationIds)
|
com.liferay.portal.model.User |
updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset)
|
com.liferay.portal.model.User |
updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset,
boolean silentUpdate)
|
com.liferay.portal.model.User |
updatePasswordManually(long userId,
java.lang.String password,
boolean passwordEncrypted,
boolean passwordReset,
java.util.Date passwordModifiedDate)
|
void |
updatePasswordReset(long userId,
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)
|
protected void |
validate(long companyId,
long userId,
boolean autoPassword,
java.lang.String password1,
java.lang.String password2,
boolean autoScreenName,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.String firstName,
java.lang.String lastName,
long[] organizationIds)
|
protected void |
validate(long userId,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String smsSn)
|
protected void |
validateEmailAddress(java.lang.String emailAddress)
|
protected void |
validatePassword(long companyId,
long userId,
java.lang.String password1,
java.lang.String password2)
|
protected void |
validateScreenName(long companyId,
long userId,
java.lang.String screenName)
|
Methods inherited from class com.liferay.portal.service.base.UserLocalServiceBaseImpl |
addUser, afterPropertiesSet, deleteUser, dynamicQuery, dynamicQuery, getAccountLocalService, getAccountPersistence, getAccountService, getAddressLocalService, getAddressPersistence, getAddressService, getAnnouncementsDeliveryLocalService, getAnnouncementsDeliveryPersistence, getAnnouncementsDeliveryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getContactLocalService, getContactPersistence, getContactService, getCounterLocalService, getCounterService, getCountryPersistence, getCountryService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getExpandoValueFinder, getExpandoValueLocalService, getExpandoValuePersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getLayoutTemplateLocalService, getListTypePersistence, getListTypeService, getMailService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBMessageFlagFinder, 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, getPortalService, getPortletItemLocalService, getPortletItemPersistence, getPortletLocalService, getPortletPersistence, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getPortletService, getRegionPersistence, getRegionService, getReleaseLocalService, getReleasePersistence, getResourceCodeLocalService, getResourceCodePersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getServiceComponentLocalService, getServiceComponentPersistence, getShoppingCartLocalService, getShoppingCartPersistence, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialRequestLocalService, getSocialRequestPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getThemeLocalService, getUser, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoleService, getUserGroupService, getUserIdMapperLocalService, getUserIdMapperPersistence, getUserPersistence, getUsers, getUsersCount, getUserTrackerLocalService, getUserTrackerPathLocalService, getUserTrackerPathPersistence, getUserTrackerPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, setAccountLocalService, setAccountPersistence, setAccountService, setAddressLocalService, setAddressPersistence, setAddressService, setAnnouncementsDeliveryLocalService, setAnnouncementsDeliveryPersistence, setAnnouncementsDeliveryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setContactLocalService, setContactPersistence, setContactService, setCounterLocalService, setCounterService, setCountryPersistence, setCountryService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setExpandoValueFinder, setExpandoValueLocalService, setExpandoValuePersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService, setLayoutTemplateLocalService, setListTypePersistence, setListTypeService, setMailService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBMessageFlagFinder, 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, setPortalService, setPortletItemLocalService, setPortletItemPersistence, setPortletLocalService, setPortletPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setPortletService, setRegionPersistence, setRegionService, setReleaseLocalService, setReleasePersistence, setResourceCodeLocalService, setResourceCodePersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setServiceComponentLocalService, setServiceComponentPersistence, setShoppingCartLocalService, setShoppingCartPersistence, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialRequestLocalService, setSocialRequestPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setThemeLocalService, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserGroupRoleService, setUserGroupService, setUserIdMapperLocalService, setUserIdMapperPersistence, setUserPersistence, setUserTrackerLocalService, setUserTrackerPathLocalService, setUserTrackerPathPersistence, setUserTrackerPersistence, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWebsiteLocalService, setWebsitePersistence, setWebsiteService, updateUser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserLocalServiceImpl
public UserLocalServiceImpl()
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.SystemException
- Throws:
com.liferay.portal.SystemException
addRoleUsers
public void addRoleUsers(long roleId,
long[] userIds)
throws com.liferay.portal.SystemException
- Throws:
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 creatorUserId,
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
authenticateByEmailAddress
public int authenticateByEmailAddress(long companyId,
java.lang.String emailAddress,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String[]> headerMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
authenticateByScreenName
public int authenticateByScreenName(long companyId,
java.lang.String screenName,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String[]> headerMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
authenticateByUserId
public int authenticateByUserId(long companyId,
long userId,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String[]> headerMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
authenticateForBasic
public long authenticateForBasic(long companyId,
java.lang.String authType,
java.lang.String login,
java.lang.String password)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
authenticateForJAAS
public boolean authenticateForJAAS(long userId,
java.lang.String encPassword)
checkLockout
public void checkLockout(com.liferay.portal.model.User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkLoginFailure
public void checkLoginFailure(com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
checkLoginFailureByEmailAddress
public void checkLoginFailureByEmailAddress(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkLoginFailureById
public void checkLoginFailureById(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkLoginFailureByScreenName
public void checkLoginFailureByScreenName(long companyId,
java.lang.String screenName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkPasswordExpired
public void checkPasswordExpired(com.liferay.portal.model.User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
clearOrganizationUsers
public void clearOrganizationUsers(long organizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearUserGroupUsers
public void clearUserGroupUsers(long userGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
decryptUserId
public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(long companyId,
java.lang.String name,
java.lang.String password)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePasswordPolicyUser
public void deletePasswordPolicyUser(long passwordPolicyId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteRoleUser
public void deleteRoleUser(long roleId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUser
public void deleteUser(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteUser
in interface com.liferay.portal.service.UserLocalService
- Overrides:
deleteUser
in class UserLocalServiceBaseImpl
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
encryptUserId
public java.lang.String encryptUserId(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDefaultUser
public com.liferay.portal.model.User getDefaultUser(long companyId)
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
getGroupUsers
public java.util.List<com.liferay.portal.model.User> getGroupUsers(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUsersCount
public int getGroupUsersCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUsersCount
public int getGroupUsersCount(long groupId,
boolean active)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNoAnnouncementsDeliveries
public java.util.List<com.liferay.portal.model.User> getNoAnnouncementsDeliveries(java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationUsers
public java.util.List<com.liferay.portal.model.User> getOrganizationUsers(long organizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationUsersCount
public int getOrganizationUsersCount(long organizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationUsersCount
public int getOrganizationUsersCount(long organizationId,
boolean active)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPermissionUsers
public java.util.List<com.liferay.portal.model.User> getPermissionUsers(long companyId,
long groupId,
java.lang.String name,
java.lang.String primKey,
java.lang.String actionId,
java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String emailAddress,
boolean andOperator,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPermissionUsersCount
public int getPermissionUsersCount(long companyId,
long groupId,
java.lang.String name,
java.lang.String primKey,
java.lang.String actionId,
java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String emailAddress,
boolean andOperator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoleUsers
public java.util.List<com.liferay.portal.model.User> getRoleUsers(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoleUsersCount
public int getRoleUsersCount(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoleUsersCount
public int getRoleUsersCount(long roleId,
boolean active)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsers
public java.util.List<com.liferay.portal.model.User> getSocialUsers(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsers
public java.util.List<com.liferay.portal.model.User> getSocialUsers(long userId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsers
public java.util.List<com.liferay.portal.model.User> getSocialUsers(long userId1,
long userId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsers
public java.util.List<com.liferay.portal.model.User> getSocialUsers(long userId1,
long userId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsersCount
public int getSocialUsersCount(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsersCount
public int getSocialUsersCount(long userId,
int type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsersCount
public int getSocialUsersCount(long userId1,
long userId2)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsersCount
public int getSocialUsersCount(long userId1,
long userId2,
int type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroupUsers
public java.util.List<com.liferay.portal.model.User> getUserGroupUsers(long userGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupUsersCount
public int getUserGroupUsersCount(long userGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupUsersCount
public int getUserGroupUsersCount(long userGroupId,
boolean active)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserByContactId
public com.liferay.portal.model.User getUserByContactId(long contactId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
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
getUserById
public com.liferay.portal.model.User getUserById(long companyId,
long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserByOpenId
public com.liferay.portal.model.User getUserByOpenId(java.lang.String openId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserByPortraitId
public com.liferay.portal.model.User getUserByPortraitId(long portraitId)
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
hasOrganizationUser
public boolean hasOrganizationUser(long organizationId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasPasswordPolicyUser
public boolean hasPasswordPolicyUser(long passwordPolicyId,
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
hasUserGroupUser
public boolean hasUserGroupUser(long userGroupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
isPasswordExpired
public boolean isPasswordExpired(com.liferay.portal.model.User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
isPasswordExpiringSoon
public boolean isPasswordExpiringSoon(com.liferay.portal.model.User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
search
public java.util.List<com.liferay.portal.model.User> search(long companyId,
java.lang.String keywords,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public java.util.List<com.liferay.portal.model.User> search(long companyId,
java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andSearch,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public int searchCount(long companyId,
java.lang.String keywords,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public int searchCount(long companyId,
java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andSearch)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
sendPassword
public void sendPassword(long companyId,
java.lang.String emailAddress,
java.lang.String remoteAddr,
java.lang.String remoteHost,
java.lang.String userAgent)
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.SystemException
- Throws:
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.SystemException
- Throws:
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.SystemException
- Throws:
com.liferay.portal.SystemException
unsetRoleUsers
public void unsetRoleUsers(long roleId,
long[] userIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
unsetRoleUsers
public void unsetRoleUsers(long roleId,
java.util.List<com.liferay.portal.model.User> users)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
unsetUserGroupUsers
public void unsetUserGroupUsers(long userGroupId,
long[] userIds)
throws com.liferay.portal.SystemException
- Throws:
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
updateCreateDate
public com.liferay.portal.model.User updateCreateDate(long userId,
java.util.Date createDate)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLastLogin
public com.liferay.portal.model.User updateLastLogin(long userId,
java.lang.String loginIP)
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(com.liferay.portal.model.User user,
boolean lockout)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLockoutByEmailAddress
public com.liferay.portal.model.User updateLockoutByEmailAddress(long companyId,
java.lang.String emailAddress,
boolean lockout)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLockoutById
public com.liferay.portal.model.User updateLockoutById(long userId,
boolean lockout)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLockoutByScreenName
public com.liferay.portal.model.User updateLockoutByScreenName(long companyId,
java.lang.String screenName,
boolean lockout)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateModifiedDate
public com.liferay.portal.model.User updateModifiedDate(long userId,
java.util.Date modifiedDate)
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[] newOrganizationIds)
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
updatePassword
public com.liferay.portal.model.User updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset,
boolean silentUpdate)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePasswordManually
public com.liferay.portal.model.User updatePasswordManually(long userId,
java.lang.String password,
boolean passwordEncrypted,
boolean passwordReset,
java.util.Date passwordModifiedDate)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePasswordReset
public void updatePasswordReset(long userId,
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
authenticate
protected int authenticate(long companyId,
java.lang.String login,
java.lang.String password,
java.lang.String authType,
java.util.Map<java.lang.String,java.lang.String[]> headerMap,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
copyUserGroupLayouts
protected void copyUserGroupLayouts(long userGroupId,
long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
copyUserGroupLayouts
protected void copyUserGroupLayouts(long userGroupId,
long[] userIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
doSendPassword
protected void doSendPassword(long companyId,
java.lang.String emailAddress,
java.lang.String remoteAddr,
java.lang.String remoteHost,
java.lang.String userAgent)
throws java.io.IOException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.io.IOException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLayoutTemplatesParameters
protected java.util.Map<java.lang.String,java.lang.String[]> getLayoutTemplatesParameters()
getScreenName
protected java.lang.String getScreenName(java.lang.String screenName)
sendEmail
protected void sendEmail(com.liferay.portal.model.User user,
java.lang.String password)
throws java.io.IOException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.io.IOException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(long userId,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String smsSn)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(long companyId,
long userId,
boolean autoPassword,
java.lang.String password1,
java.lang.String password2,
boolean autoScreenName,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.String firstName,
java.lang.String lastName,
long[] organizationIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validateEmailAddress
protected void validateEmailAddress(java.lang.String emailAddress)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException
validatePassword
protected void validatePassword(long companyId,
long userId,
java.lang.String password1,
java.lang.String password2)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validateScreenName
protected void validateScreenName(long companyId,
long userId,
java.lang.String screenName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException