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:
UserLocalServiceFactory
,
UserLocalServiceUtil
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)
|
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)
|
User |
addUser(User user)
|
void |
addUserGroupUsers(long userGroupId,
long[] userIds)
|
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(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 |
clearOrganizationUsers(long organizationId)
|
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)
|
void |
deleteUser(User user)
|
java.util.List<User> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<User> |
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<User> |
getGroupUsers(long groupId)
|
int |
getGroupUsersCount(long groupId)
|
int |
getGroupUsersCount(long groupId,
boolean active)
|
java.util.List<User> |
getNoAnnouncementsDeliveries(java.lang.String type)
|
java.util.List<User> |
getOrganizationUsers(long organizationId)
|
int |
getOrganizationUsersCount(long organizationId)
|
int |
getOrganizationUsersCount(long organizationId,
boolean active)
|
java.util.List<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 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<User> |
getRoleUsers(long roleId)
|
int |
getRoleUsersCount(long roleId)
|
int |
getRoleUsersCount(long roleId,
boolean active)
|
java.util.List<User> |
getSocialUsers(long userId,
int type,
int begin,
int end)
|
int |
getSocialUsersCount(long userId,
int type)
|
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<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(User user)
|
boolean |
isPasswordExpiringSoon(User user)
|
java.util.List<User> |
search(long companyId,
java.lang.String keywords,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<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 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<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)
|
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,
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[] newOrganizationIds)
|
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)
|
void |
updateScreenName(long userId,
java.lang.String screenName)
|
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 icqSn,
java.lang.String jabberSn,
java.lang.String msnSn,
java.lang.String skypeSn,
java.lang.String ymSn,
java.lang.String jobTitle,
long[] organizationIds)
|
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 icqSn,
java.lang.String jabberSn,
java.lang.String msnSn,
java.lang.String skypeSn,
java.lang.String ymSn,
java.lang.String jobTitle,
long[] organizationIds)
|
User |
updateUser(User user)
|
addUser
User addUser(User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUser
void deleteUser(long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteUser
void deleteUser(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
dynamicQuery
java.util.List<User> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<User> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateUser
User updateUser(User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addGroupUsers
void addGroupUsers(long groupId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addOrganizationUsers
void addOrganizationUsers(long organizationId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addPasswordPolicyUsers
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
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
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
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
authenticateByEmailAddress
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
authenticateByScreenName
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
authenticateByUserId
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
authenticateForBasic
long authenticateForBasic(long companyId,
java.lang.String authType,
java.lang.String login,
java.lang.String password)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
authenticateForJAAS
boolean authenticateForJAAS(long userId,
java.lang.String encPassword)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkLockout
void checkLockout(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkLoginFailure
void checkLoginFailure(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkLoginFailureByEmailAddress
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
void checkLoginFailureById(long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkLoginFailureByScreenName
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
void checkPasswordExpired(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
clearOrganizationUsers
void clearOrganizationUsers(long organizationId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
clearUserGroupUsers
void clearUserGroupUsers(long userGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
decryptUserId
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
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
void deleteRoleUser(long roleId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
encryptUserId
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
User getDefaultUser(long companyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getDefaultUserId
long getDefaultUserId(long companyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getGroupUsers
java.util.List<User> getGroupUsers(long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getGroupUsersCount
int getGroupUsersCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupUsersCount
int getGroupUsersCount(long groupId,
boolean active)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getNoAnnouncementsDeliveries
java.util.List<User> getNoAnnouncementsDeliveries(java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationUsers
java.util.List<User> getOrganizationUsers(long organizationId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getOrganizationUsersCount
int getOrganizationUsersCount(long organizationId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationUsersCount
int getOrganizationUsersCount(long organizationId,
boolean active)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPermissionUsers
java.util.List<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 begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPermissionUsersCount
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
java.util.List<User> getRoleUsers(long roleId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getRoleUsersCount
int getRoleUsersCount(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoleUsersCount
int getRoleUsersCount(long roleId,
boolean active)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getSocialUsers
java.util.List<User> getSocialUsers(long userId,
int type,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getSocialUsersCount
int getSocialUsersCount(long userId,
int type)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserGroupUsers
java.util.List<User> getUserGroupUsers(long userGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserGroupUsersCount
int getUserGroupUsersCount(long userGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupUsersCount
int getUserGroupUsersCount(long userGroupId,
boolean active)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserByContactId
User getUserByContactId(long contactId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserByEmailAddress
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
User getUserById(long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserById
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
User getUserByPortraitId(long portraitId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserByScreenName
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
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
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
boolean hasGroupUser(long groupId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
hasOrganizationUser
boolean hasOrganizationUser(long organizationId,
long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
hasPasswordPolicyUser
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
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
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
boolean isPasswordExpired(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
isPasswordExpiringSoon
boolean isPasswordExpiringSoon(User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
search
java.util.List<User> search(long companyId,
java.lang.String keywords,
java.lang.Boolean active,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
java.util.List<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 begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
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
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
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
setRoleUsers
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
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
void unsetGroupUsers(long groupId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsetOrganizationUsers
void unsetOrganizationUsers(long organizationId,
long[] userIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsetPasswordPolicyUsers
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
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
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
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
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
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
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
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
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
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
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
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
void updateOrganizations(long userId,
long[] newOrganizationIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePassword
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
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
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
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
void updatePortrait(long userId,
byte[] bytes)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateScreenName
void updateScreenName(long userId,
java.lang.String screenName)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateUser
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 icqSn,
java.lang.String jabberSn,
java.lang.String msnSn,
java.lang.String skypeSn,
java.lang.String ymSn,
java.lang.String jobTitle,
long[] organizationIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateUser
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 icqSn,
java.lang.String jabberSn,
java.lang.String msnSn,
java.lang.String skypeSn,
java.lang.String ymSn,
java.lang.String jobTitle,
long[] organizationIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException