com.liferay.portal.service
Interface UserLocalService
- public interface UserLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This interface defines the service. The default implementation is com.liferay.portal.service.impl.UserLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be accessed
from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
UserServiceFactory
,
UserServiceUtil
Method Summary |
void |
addGroupUsers(long groupId,
long[] userIds)
|
void |
addPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
|
void |
addRoleUsers(long roleId,
long[] userIds)
|
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 organizationId,
long locationId,
boolean sendEmail)
|
User |
addUser(User model)
|
void |
addUserGroupUsers(long userGroupId,
long[] userIds)
|
int |
authenticateByEmailAddress(long companyId,
java.lang.String emailAddress,
java.lang.String password,
java.util.Map headerMap,
java.util.Map parameterMap)
|
int |
authenticateByScreenName(long companyId,
java.lang.String screenName,
java.lang.String password,
java.util.Map headerMap,
java.util.Map parameterMap)
|
int |
authenticateByUserId(long companyId,
long userId,
java.lang.String password,
java.util.Map headerMap,
java.util.Map parameterMap)
|
boolean |
authenticateForJAAS(long userId,
java.lang.String encPwd)
|
void |
checkLockout(User user)
|
void |
checkLoginFailure(User user)
|
void |
checkLoginFailureByEmailAddress(long companyId,
java.lang.String emailAddress)
|
void |
checkLoginFailureById(long userId)
|
void |
checkLoginFailureByScreenName(long companyId,
java.lang.String screenName)
|
void |
checkPasswordExpired(User user)
|
void |
clearUserGroupUsers(long userGroupId)
|
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)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.lang.String |
encryptUserId(java.lang.String name)
|
User |
getDefaultUser(long companyId)
|
long |
getDefaultUserId(long companyId)
|
java.util.List |
getGroupUsers(long groupId)
|
java.util.List |
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 begin,
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 |
getRoleUsers(long roleId)
|
User |
getUserByContactId(long contactId)
|
User |
getUserByEmailAddress(long companyId,
java.lang.String emailAddress)
|
User |
getUserById(long userId)
|
User |
getUserById(long companyId,
long userId)
|
User |
getUserByPortraitId(long portraitId)
|
User |
getUserByScreenName(long companyId,
java.lang.String screenName)
|
java.util.List |
getUserGroupUsers(long userGroupId)
|
long |
getUserIdByEmailAddress(long companyId,
java.lang.String emailAddress)
|
long |
getUserIdByScreenName(long companyId,
java.lang.String screenName)
|
boolean |
hasGroupUser(long groupId,
long userId)
|
boolean |
hasPasswordPolicyUser(long passwordPolicyId,
long userId)
|
boolean |
hasRoleUser(long roleId,
long userId)
|
boolean |
hasUserGroupUser(long userGroupId,
long userId)
|
boolean |
isPasswordExpired(User user)
|
boolean |
isPasswordExpiringSoon(User user)
|
java.util.List |
search(long companyId,
java.lang.String keywords,
java.lang.Boolean active,
java.util.LinkedHashMap params,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
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 params,
boolean andSearch,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
searchCount(long companyId,
java.lang.String keywords,
java.lang.Boolean active,
java.util.LinkedHashMap 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 params,
boolean andSearch)
|
void |
sendPassword(long companyId,
java.lang.String emailAddress,
java.lang.String remoteAddr,
java.lang.String remoteHost,
java.lang.String userAgent)
|
void |
setGroupUsers(long groupId,
long[] userIds)
|
void |
setRoleUsers(long roleId,
long[] userIds)
|
void |
setUserGroupUsers(long userGroupId,
long[] userIds)
|
void |
unsetGroupUsers(long groupId,
long[] userIds)
|
void |
unsetPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
|
void |
unsetRoleUsers(long roleId,
long[] userIds)
|
void |
unsetUserGroupUsers(long userGroupId,
long[] userIds)
|
User |
updateActive(long userId,
boolean active)
|
User |
updateAgreedToTermsOfUse(long userId,
boolean agreedToTermsOfUse)
|
User |
updateCreateDate(long userId,
java.util.Date createDate)
|
User |
updateLastLogin(long userId,
java.lang.String loginIP)
|
User |
updateLockout(User user,
boolean lockout)
|
User |
updateLockoutByEmailAddress(long companyId,
java.lang.String emailAddress,
boolean lockout)
|
User |
updateLockoutById(long userId,
boolean lockout)
|
User |
updateLockoutByScreenName(long companyId,
java.lang.String screenName,
boolean lockout)
|
User |
updateModifiedDate(long userId,
java.util.Date modifiedDate)
|
void |
updateOrganizations(long userId,
long organizationId,
long locationId)
|
User |
updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset)
|
User |
updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset,
boolean silentUpdate)
|
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)
|
User |
updateUser(long userId,
java.lang.String password,
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 icqSn,
java.lang.String jabberSn,
java.lang.String msnSn,
java.lang.String skypeSn,
java.lang.String ymSn,
java.lang.String jobTitle,
long organizationId,
long locationId)
|
User |
updateUser(User model)
|
addUser
public User addUser(User model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateUser
public User updateUser(User model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addGroupUsers
public void addGroupUsers(long groupId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addPasswordPolicyUsers
public void addPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addRoleUsers
public void addRoleUsers(long roleId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addUserGroupUsers
public void addUserGroupUsers(long userGroupId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addUser
public 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 organizationId,
long locationId,
boolean sendEmail)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
authenticateByEmailAddress
public int authenticateByEmailAddress(long companyId,
java.lang.String emailAddress,
java.lang.String password,
java.util.Map headerMap,
java.util.Map parameterMap)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
authenticateByScreenName
public int authenticateByScreenName(long companyId,
java.lang.String screenName,
java.lang.String password,
java.util.Map headerMap,
java.util.Map parameterMap)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
authenticateByUserId
public int authenticateByUserId(long companyId,
long userId,
java.lang.String password,
java.util.Map headerMap,
java.util.Map parameterMap)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
authenticateForJAAS
public boolean authenticateForJAAS(long userId,
java.lang.String encPwd)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkLockout
public void checkLockout(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkLoginFailure
public void checkLoginFailure(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkLoginFailureByEmailAddress
public void checkLoginFailureByEmailAddress(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkLoginFailureById
public void checkLoginFailureById(long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkLoginFailureByScreenName
public void checkLoginFailureByScreenName(long companyId,
java.lang.String screenName)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkPasswordExpired
public void checkPasswordExpired(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
clearUserGroupUsers
public void clearUserGroupUsers(long userGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
decryptUserId
public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(long companyId,
java.lang.String name,
java.lang.String password)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deletePasswordPolicyUser
public void deletePasswordPolicyUser(long passwordPolicyId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteRoleUser
public void deleteRoleUser(long roleId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteUser
public void deleteUser(long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
encryptUserId
public java.lang.String encryptUserId(java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getDefaultUser
public User getDefaultUser(long companyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getDefaultUserId
public long getDefaultUserId(long companyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getGroupUsers
public java.util.List getGroupUsers(long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPermissionUsers
public java.util.List 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 begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
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,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getRoleUsers
public java.util.List getRoleUsers(long roleId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserGroupUsers
public java.util.List getUserGroupUsers(long userGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserByContactId
public User getUserByContactId(long contactId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserByEmailAddress
public User getUserByEmailAddress(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserById
public User getUserById(long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserById
public User getUserById(long companyId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserByPortraitId
public User getUserByPortraitId(long portraitId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserByScreenName
public User getUserByScreenName(long companyId,
java.lang.String screenName)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserIdByEmailAddress
public long getUserIdByEmailAddress(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserIdByScreenName
public long getUserIdByScreenName(long companyId,
java.lang.String screenName)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
hasGroupUser
public boolean hasGroupUser(long groupId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
hasPasswordPolicyUser
public boolean hasPasswordPolicyUser(long passwordPolicyId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
hasRoleUser
public boolean hasRoleUser(long roleId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
hasUserGroupUser
public boolean hasUserGroupUser(long userGroupId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
isPasswordExpired
public boolean isPasswordExpired(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
isPasswordExpiringSoon
public boolean isPasswordExpiringSoon(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
search
public java.util.List search(long companyId,
java.lang.String keywords,
java.lang.Boolean active,
java.util.LinkedHashMap params,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public java.util.List 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 params,
boolean andSearch,
int begin,
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 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 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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
setGroupUsers
public void setGroupUsers(long groupId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
setRoleUsers
public void setRoleUsers(long roleId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
setUserGroupUsers
public void setUserGroupUsers(long userGroupId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsetGroupUsers
public void unsetGroupUsers(long groupId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsetPasswordPolicyUsers
public void unsetPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsetRoleUsers
public void unsetRoleUsers(long roleId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsetUserGroupUsers
public void unsetUserGroupUsers(long userGroupId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateActive
public User updateActive(long userId,
boolean active)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateAgreedToTermsOfUse
public User updateAgreedToTermsOfUse(long userId,
boolean agreedToTermsOfUse)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateCreateDate
public User updateCreateDate(long userId,
java.util.Date createDate)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLastLogin
public User updateLastLogin(long userId,
java.lang.String loginIP)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLockout
public User updateLockout(User user,
boolean lockout)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLockoutByEmailAddress
public User updateLockoutByEmailAddress(long companyId,
java.lang.String emailAddress,
boolean lockout)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLockoutById
public User updateLockoutById(long userId,
boolean lockout)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLockoutByScreenName
public User updateLockoutByScreenName(long companyId,
java.lang.String screenName,
boolean lockout)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateModifiedDate
public User updateModifiedDate(long userId,
java.util.Date modifiedDate)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateOrganizations
public void updateOrganizations(long userId,
long organizationId,
long locationId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePassword
public User updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePassword
public User updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset,
boolean silentUpdate)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePasswordManually
public User updatePasswordManually(long userId,
java.lang.String password,
boolean passwordEncrypted,
boolean passwordReset,
java.util.Date passwordModifiedDate)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePasswordReset
public void updatePasswordReset(long userId,
boolean passwordReset)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePortrait
public void updatePortrait(long userId,
byte[] bytes)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateUser
public User updateUser(long userId,
java.lang.String password,
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 icqSn,
java.lang.String jabberSn,
java.lang.String msnSn,
java.lang.String skypeSn,
java.lang.String ymSn,
java.lang.String jobTitle,
long organizationId,
long locationId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException