com.liferay.portal.service
Class UserLocalServiceWrapper
java.lang.Object
com.liferay.portal.service.UserLocalServiceWrapper
- All Implemented Interfaces:
- UserLocalService
public class UserLocalServiceWrapper
- extends java.lang.Object
- implements UserLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for UserLocalService
.
- Author:
- Brian Wing Shun Chan
- See Also:
UserLocalService
- Generated:
Method Summary |
void |
addDefaultGroups(long userId)
|
void |
addDefaultRoles(long userId)
|
void |
addDefaultUserGroups(long userId)
|
void |
addGroupUsers(long groupId,
long[] userIds)
|
void |
addOrganizationUsers(long organizationId,
long[] userIds)
|
void |
addPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
|
void |
addRoleUsers(long roleId,
long[] userIds)
|
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.lang.String openId,
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[] groupIds,
long[] organizationIds,
long[] roleIds,
long[] userGroupIds,
boolean sendEmail,
ServiceContext serviceContext)
|
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)
|
User |
createUser(long userId)
|
com.liferay.portal.kernel.util.KeyValuePair |
decryptUserId(long companyId,
java.lang.String name,
java.lang.String password)
|
void |
deletePasswordPolicyUser(long passwordPolicyId,
long userId)
|
void |
deletePortrait(long userId)
|
void |
deleteRoleUser(long roleId,
long userId)
|
void |
deleteUser(long userId)
|
void |
deleteUser(User user)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.lang.String |
encryptUserId(java.lang.String name)
|
java.util.List<User> |
getCompanyUsers(long companyId,
int start,
int end)
|
int |
getCompanyUsersCount(long companyId)
|
User |
getDefaultUser(long companyId)
|
long |
getDefaultUserId(long companyId)
|
long[] |
getGroupUserIds(long groupId)
|
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> |
getNoContacts()
|
java.util.List<User> |
getNoGroups()
|
long[] |
getOrganizationUserIds(long organizationId)
|
java.util.List<User> |
getOrganizationUsers(long organizationId)
|
int |
getOrganizationUsersCount(long organizationId)
|
int |
getOrganizationUsersCount(long organizationId,
boolean active)
|
long[] |
getRoleUserIds(long roleId)
|
java.util.List<User> |
getRoleUsers(long roleId)
|
java.util.List<User> |
getRoleUsers(long roleId,
int start,
int end)
|
int |
getRoleUsersCount(long roleId)
|
int |
getRoleUsersCount(long roleId,
boolean active)
|
java.util.List<User> |
getSocialUsers(long userId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<User> |
getSocialUsers(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<User> |
getSocialUsers(long userId1,
long userId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<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)
|
User |
getUser(long userId)
|
User |
getUserByContactId(long contactId)
|
User |
getUserByEmailAddress(long companyId,
java.lang.String emailAddress)
|
User |
getUserById(long userId)
|
User |
getUserById(long companyId,
long userId)
|
User |
getUserByOpenId(java.lang.String openId)
|
User |
getUserByPortraitId(long portraitId)
|
User |
getUserByScreenName(long companyId,
java.lang.String screenName)
|
User |
getUserByUuid(java.lang.String uuid)
|
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)
|
java.util.List<User> |
getUsers(int start,
int end)
|
int |
getUsersCount()
|
UserLocalService |
getWrappedUserLocalService()
|
boolean |
hasGroupUser(long groupId,
long userId)
|
boolean |
hasOrganizationUser(long organizationId,
long userId)
|
boolean |
hasPasswordPolicyUser(long passwordPolicyId,
long userId)
|
boolean |
hasRoleUser(long roleId,
long userId)
|
boolean |
hasRoleUser(long companyId,
java.lang.String name,
long userId,
boolean inherited)
Returns true if the user has the role. |
boolean |
hasUserGroupUser(long userGroupId,
long userId)
|
boolean |
isPasswordExpired(User user)
|
boolean |
isPasswordExpiringSoon(User user)
|
void |
reIndex(long userId)
|
void |
reIndex(java.lang.String[] ids)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long userId,
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.search.Sort sort)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long userId,
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.search.Sort sort)
|
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 start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.kernel.search.Hits |
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.search.Sort sort)
|
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 start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.kernel.search.Hits |
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.search.Sort sort)
|
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,
java.lang.String fromName,
java.lang.String fromAddress,
java.lang.String subject,
java.lang.String body)
|
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<User> users)
|
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 |
updateEmailAddress(long userId,
java.lang.String password,
java.lang.String emailAddress1,
java.lang.String emailAddress2)
|
void |
updateGroups(long userId,
long[] newGroupIds)
|
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 |
updateOpenId(long userId,
java.lang.String openId)
|
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 |
updateReminderQuery(long userId,
java.lang.String question,
java.lang.String answer)
|
void |
updateScreenName(long userId,
java.lang.String screenName)
|
void |
updateTagsAsset(long userId,
User user,
java.lang.String[] tagsEntries)
|
User |
updateUser(long userId,
java.lang.String oldPassword,
java.lang.String newPassword1,
java.lang.String newPassword2,
boolean passwordReset,
java.lang.String reminderQueryQuestion,
java.lang.String reminderQueryAnswer,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.String openId,
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[] groupIds,
long[] organizationIds,
long[] roleIds,
java.util.List<UserGroupRole> userGroupRoles,
long[] userGroupIds,
ServiceContext serviceContext)
|
User |
updateUser(User user)
|
User |
updateUser(User user,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserLocalServiceWrapper
public UserLocalServiceWrapper(UserLocalService userLocalService)
addUser
public User addUser(User user)
throws com.liferay.portal.SystemException
- Specified by:
addUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
createUser
public User createUser(long userId)
- Specified by:
createUser
in interface UserLocalService
deleteUser
public void deleteUser(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteUser
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteUser
public void deleteUser(User user)
throws com.liferay.portal.SystemException
- Specified by:
deleteUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQueryCount
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getUser
public User getUser(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUser
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUsers
public java.util.List<User> getUsers(int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
getUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getUsersCount
public int getUsersCount()
throws com.liferay.portal.SystemException
- Specified by:
getUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
updateUser
public User updateUser(User user)
throws com.liferay.portal.SystemException
- Specified by:
updateUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
updateUser
public User updateUser(User user,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
updateUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
addDefaultGroups
public void addDefaultGroups(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addDefaultGroups
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefaultRoles
public void addDefaultRoles(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addDefaultRoles
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefaultUserGroups
public void addDefaultUserGroups(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addDefaultUserGroups
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addGroupUsers
public void addGroupUsers(long groupId,
long[] userIds)
throws com.liferay.portal.SystemException
- Specified by:
addGroupUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
addOrganizationUsers
public void addOrganizationUsers(long organizationId,
long[] userIds)
throws com.liferay.portal.SystemException
- Specified by:
addOrganizationUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
addPasswordPolicyUsers
public void addPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws com.liferay.portal.SystemException
- Specified by:
addPasswordPolicyUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
addRoleUsers
public void addRoleUsers(long roleId,
long[] userIds)
throws com.liferay.portal.SystemException
- Specified by:
addRoleUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
addUserGroupUsers
public void addUserGroupUsers(long userGroupId,
long[] userIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addUserGroupUsers
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
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.lang.String openId,
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[] groupIds,
long[] organizationIds,
long[] roleIds,
long[] userGroupIds,
boolean sendEmail,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addUser
in interface UserLocalService
- 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
- Specified by:
authenticateByEmailAddress
in interface UserLocalService
- 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
- Specified by:
authenticateByScreenName
in interface UserLocalService
- 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
- Specified by:
authenticateByUserId
in interface UserLocalService
- 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
- Specified by:
authenticateForBasic
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
authenticateForJAAS
public boolean authenticateForJAAS(long userId,
java.lang.String encPassword)
- Specified by:
authenticateForJAAS
in interface UserLocalService
checkLockout
public void checkLockout(User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
checkLockout
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkLoginFailure
public void checkLoginFailure(User user)
throws com.liferay.portal.SystemException
- Specified by:
checkLoginFailure
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
checkLoginFailureByEmailAddress
public void checkLoginFailureByEmailAddress(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
checkLoginFailureByEmailAddress
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkLoginFailureById
public void checkLoginFailureById(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
checkLoginFailureById
in interface UserLocalService
- 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
- Specified by:
checkLoginFailureByScreenName
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkPasswordExpired
public void checkPasswordExpired(User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
checkPasswordExpired
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
clearOrganizationUsers
public void clearOrganizationUsers(long organizationId)
throws com.liferay.portal.SystemException
- Specified by:
clearOrganizationUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
clearUserGroupUsers
public void clearUserGroupUsers(long userGroupId)
throws com.liferay.portal.SystemException
- Specified by:
clearUserGroupUsers
in interface UserLocalService
- 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
- Specified by:
decryptUserId
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePasswordPolicyUser
public void deletePasswordPolicyUser(long passwordPolicyId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
deletePasswordPolicyUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
deletePortrait
public void deletePortrait(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deletePortrait
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteRoleUser
public void deleteRoleUser(long roleId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
deleteRoleUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getCompanyUsers
public java.util.List<User> getCompanyUsers(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
getCompanyUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getCompanyUsersCount
public int getCompanyUsersCount(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
getCompanyUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
encryptUserId
public java.lang.String encryptUserId(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
encryptUserId
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDefaultUser
public User getDefaultUser(long companyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getDefaultUser
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDefaultUserId
public long getDefaultUserId(long companyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getDefaultUserId
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupUserIds
public long[] getGroupUserIds(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
getGroupUserIds
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getGroupUsers
public java.util.List<User> getGroupUsers(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
getGroupUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getGroupUsersCount
public int getGroupUsersCount(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
getGroupUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getGroupUsersCount
public int getGroupUsersCount(long groupId,
boolean active)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getGroupUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNoAnnouncementsDeliveries
public java.util.List<User> getNoAnnouncementsDeliveries(java.lang.String type)
throws com.liferay.portal.SystemException
- Specified by:
getNoAnnouncementsDeliveries
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getNoContacts
public java.util.List<User> getNoContacts()
throws com.liferay.portal.SystemException
- Specified by:
getNoContacts
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getNoGroups
public java.util.List<User> getNoGroups()
throws com.liferay.portal.SystemException
- Specified by:
getNoGroups
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getOrganizationUserIds
public long[] getOrganizationUserIds(long organizationId)
throws com.liferay.portal.SystemException
- Specified by:
getOrganizationUserIds
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getOrganizationUsers
public java.util.List<User> getOrganizationUsers(long organizationId)
throws com.liferay.portal.SystemException
- Specified by:
getOrganizationUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getOrganizationUsersCount
public int getOrganizationUsersCount(long organizationId)
throws com.liferay.portal.SystemException
- Specified by:
getOrganizationUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getOrganizationUsersCount
public int getOrganizationUsersCount(long organizationId,
boolean active)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getOrganizationUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getRoleUserIds
public long[] getRoleUserIds(long roleId)
throws com.liferay.portal.SystemException
- Specified by:
getRoleUserIds
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getRoleUsers
public java.util.List<User> getRoleUsers(long roleId)
throws com.liferay.portal.SystemException
- Specified by:
getRoleUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getRoleUsers
public java.util.List<User> getRoleUsers(long roleId,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
getRoleUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getRoleUsersCount
public int getRoleUsersCount(long roleId)
throws com.liferay.portal.SystemException
- Specified by:
getRoleUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getRoleUsersCount
public int getRoleUsersCount(long roleId,
boolean active)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getRoleUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsers
public java.util.List<User> getSocialUsers(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getSocialUsers
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsers
public java.util.List<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
- Specified by:
getSocialUsers
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsers
public java.util.List<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
- Specified by:
getSocialUsers
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsers
public java.util.List<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
- Specified by:
getSocialUsers
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialUsersCount
public int getSocialUsersCount(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getSocialUsersCount
in interface UserLocalService
- 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
- Specified by:
getSocialUsersCount
in interface UserLocalService
- 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
- Specified by:
getSocialUsersCount
in interface UserLocalService
- 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
- Specified by:
getSocialUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroupUsers
public java.util.List<User> getUserGroupUsers(long userGroupId)
throws com.liferay.portal.SystemException
- Specified by:
getUserGroupUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getUserGroupUsersCount
public int getUserGroupUsersCount(long userGroupId)
throws com.liferay.portal.SystemException
- Specified by:
getUserGroupUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
getUserGroupUsersCount
public int getUserGroupUsersCount(long userGroupId,
boolean active)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserGroupUsersCount
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserByContactId
public User getUserByContactId(long contactId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserByContactId
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserByEmailAddress
public User getUserByEmailAddress(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserByEmailAddress
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserById
public User getUserById(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserById
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserById
public User getUserById(long companyId,
long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserById
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserByOpenId
public User getUserByOpenId(java.lang.String openId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserByOpenId
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserByPortraitId
public User getUserByPortraitId(long portraitId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserByPortraitId
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserByScreenName
public User getUserByScreenName(long companyId,
java.lang.String screenName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserByScreenName
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserByUuid
public User getUserByUuid(java.lang.String uuid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserByUuid
in interface UserLocalService
- 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
- Specified by:
getUserIdByEmailAddress
in interface UserLocalService
- 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
- Specified by:
getUserIdByScreenName
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasGroupUser
public boolean hasGroupUser(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
hasGroupUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
hasOrganizationUser
public boolean hasOrganizationUser(long organizationId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
hasOrganizationUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
hasPasswordPolicyUser
public boolean hasPasswordPolicyUser(long passwordPolicyId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
hasPasswordPolicyUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
hasRoleUser
public boolean hasRoleUser(long roleId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
hasRoleUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
hasRoleUser
public boolean hasRoleUser(long companyId,
java.lang.String name,
long userId,
boolean inherited)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Returns true if the user has the role.
- Specified by:
hasRoleUser
in interface UserLocalService
- Returns:
- true if the user has the role
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasUserGroupUser
public boolean hasUserGroupUser(long userGroupId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
hasUserGroupUser
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
isPasswordExpired
public boolean isPasswordExpired(User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
isPasswordExpired
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
isPasswordExpiringSoon
public boolean isPasswordExpiringSoon(User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
isPasswordExpiringSoon
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
reIndex
public void reIndex(long userId)
throws com.liferay.portal.SystemException
- Specified by:
reIndex
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
reIndex
public void reIndex(java.lang.String[] ids)
throws com.liferay.portal.SystemException
- Specified by:
reIndex
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
search
public com.liferay.portal.kernel.search.Hits 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.search.Sort sort)
throws com.liferay.portal.SystemException
- Specified by:
search
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long userId,
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.search.Sort sort)
throws com.liferay.portal.SystemException
- Specified by:
search
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
search
public com.liferay.portal.kernel.search.Hits 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.search.Sort sort)
throws com.liferay.portal.SystemException
- Specified by:
search
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long userId,
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.search.Sort sort)
throws com.liferay.portal.SystemException
- Specified by:
search
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
search
public 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 start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
search
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
search
public 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 start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
search
in interface UserLocalService
- 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
- Specified by:
searchCount
in interface UserLocalService
- 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
- Specified by:
searchCount
in interface UserLocalService
- 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,
java.lang.String fromName,
java.lang.String fromAddress,
java.lang.String subject,
java.lang.String body)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
sendPassword
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
setRoleUsers
public void setRoleUsers(long roleId,
long[] userIds)
throws com.liferay.portal.SystemException
- Specified by:
setRoleUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
setUserGroupUsers
public void setUserGroupUsers(long userGroupId,
long[] userIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
setUserGroupUsers
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsetGroupUsers
public void unsetGroupUsers(long groupId,
long[] userIds)
throws com.liferay.portal.SystemException
- Specified by:
unsetGroupUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
unsetOrganizationUsers
public void unsetOrganizationUsers(long organizationId,
long[] userIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
unsetOrganizationUsers
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsetPasswordPolicyUsers
public void unsetPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws com.liferay.portal.SystemException
- Specified by:
unsetPasswordPolicyUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
unsetRoleUsers
public void unsetRoleUsers(long roleId,
long[] userIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
unsetRoleUsers
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsetRoleUsers
public void unsetRoleUsers(long roleId,
java.util.List<User> users)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
unsetRoleUsers
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsetUserGroupUsers
public void unsetUserGroupUsers(long userGroupId,
long[] userIds)
throws com.liferay.portal.SystemException
- Specified by:
unsetUserGroupUsers
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
updateActive
public User updateActive(long userId,
boolean active)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateActive
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateAgreedToTermsOfUse
public User updateAgreedToTermsOfUse(long userId,
boolean agreedToTermsOfUse)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateAgreedToTermsOfUse
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateCreateDate
public User updateCreateDate(long userId,
java.util.Date createDate)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateCreateDate
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateEmailAddress
public User updateEmailAddress(long userId,
java.lang.String password,
java.lang.String emailAddress1,
java.lang.String emailAddress2)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateEmailAddress
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateGroups
public void updateGroups(long userId,
long[] newGroupIds)
throws com.liferay.portal.SystemException
- Specified by:
updateGroups
in interface UserLocalService
- Throws:
com.liferay.portal.SystemException
updateLastLogin
public User updateLastLogin(long userId,
java.lang.String loginIP)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateLastLogin
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLockout
public User updateLockout(User user,
boolean lockout)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateLockout
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLockoutByEmailAddress
public User updateLockoutByEmailAddress(long companyId,
java.lang.String emailAddress,
boolean lockout)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateLockoutByEmailAddress
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLockoutById
public User updateLockoutById(long userId,
boolean lockout)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateLockoutById
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLockoutByScreenName
public User updateLockoutByScreenName(long companyId,
java.lang.String screenName,
boolean lockout)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateLockoutByScreenName
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateModifiedDate
public User updateModifiedDate(long userId,
java.util.Date modifiedDate)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateModifiedDate
in interface UserLocalService
- 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
- Specified by:
updateOpenId
in interface UserLocalService
- 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
- Specified by:
updateOrganizations
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePassword
public User updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updatePassword
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePassword
public 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
- Specified by:
updatePassword
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePasswordManually
public 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
- Specified by:
updatePasswordManually
in interface UserLocalService
- 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
- Specified by:
updatePasswordReset
in interface UserLocalService
- 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
- Specified by:
updatePortrait
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateReminderQuery
public void updateReminderQuery(long userId,
java.lang.String question,
java.lang.String answer)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateReminderQuery
in interface UserLocalService
- 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
- Specified by:
updateScreenName
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateUser
public User updateUser(long userId,
java.lang.String oldPassword,
java.lang.String newPassword1,
java.lang.String newPassword2,
boolean passwordReset,
java.lang.String reminderQueryQuestion,
java.lang.String reminderQueryAnswer,
java.lang.String screenName,
java.lang.String emailAddress,
java.lang.String openId,
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[] groupIds,
long[] organizationIds,
long[] roleIds,
java.util.List<UserGroupRole> userGroupRoles,
long[] userGroupIds,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateUser
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateTagsAsset
public void updateTagsAsset(long userId,
User user,
java.lang.String[] tagsEntries)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateTagsAsset
in interface UserLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWrappedUserLocalService
public UserLocalService getWrappedUserLocalService()