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)
|
void |
addTeamUsers(long teamId,
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)
|
User |
createUser(long userId)
|
KeyValuePair |
decryptUserId(long companyId,
java.lang.String name,
java.lang.String password)
|
void |
deletePortrait(long userId)
|
void |
deleteRoleUser(long roleId,
long userId)
|
void |
deleteUser(long userId)
|
void |
deleteUser(User user)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(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,
OrderByComparator obc)
|
java.util.List<User> |
getSocialUsers(long userId,
int start,
int end,
OrderByComparator obc)
|
java.util.List<User> |
getSocialUsers(long userId1,
long userId2,
int type,
int start,
int end,
OrderByComparator obc)
|
java.util.List<User> |
getSocialUsers(long userId1,
long userId2,
int start,
int end,
OrderByComparator obc)
|
int |
getSocialUsersCount(long userId)
|
int |
getSocialUsersCount(long userId,
int type)
|
int |
getSocialUsersCount(long userId1,
long userId2)
|
int |
getSocialUsersCount(long userId1,
long userId2,
int type)
|
User |
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 |
hasTeamUser(long teamId,
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 start,
int end,
OrderByComparator obc)
|
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,
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,
OrderByComparator obc)
|
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,
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,
ServiceContext serviceContext)
|
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 |
unsetTeamUsers(long teamId,
long[] userIds)
|
void |
unsetUserGroupUsers(long userGroupId,
long[] userIds)
|
User |
updateActive(long userId,
boolean active)
|
User |
updateAgreedToTermsOfUse(long userId,
boolean agreedToTermsOfUse)
|
void |
updateAsset(long userId,
User user,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
|
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)
|
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 SystemException
- Specified by:
addUser
in interface UserLocalService
- Throws:
SystemException
createUser
public User createUser(long userId)
- Specified by:
createUser
in interface UserLocalService
deleteUser
public void deleteUser(long userId)
throws PortalException,
SystemException
- Specified by:
deleteUser
in interface UserLocalService
- Throws:
PortalException
SystemException
deleteUser
public void deleteUser(User user)
throws SystemException
- Specified by:
deleteUser
in interface UserLocalService
- Throws:
SystemException
dynamicQuery
public java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQuery
in interface UserLocalService
- Throws:
SystemException
dynamicQuery
public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Specified by:
dynamicQuery
in interface UserLocalService
- Throws:
SystemException
dynamicQuery
public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Specified by:
dynamicQuery
in interface UserLocalService
- Throws:
SystemException
dynamicQueryCount
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQueryCount
in interface UserLocalService
- Throws:
SystemException
getUser
public User getUser(long userId)
throws PortalException,
SystemException
- Specified by:
getUser
in interface UserLocalService
- Throws:
PortalException
SystemException
getUsers
public java.util.List<User> getUsers(int start,
int end)
throws SystemException
- Specified by:
getUsers
in interface UserLocalService
- Throws:
SystemException
getUsersCount
public int getUsersCount()
throws SystemException
- Specified by:
getUsersCount
in interface UserLocalService
- Throws:
SystemException
updateUser
public User updateUser(User user)
throws SystemException
- Specified by:
updateUser
in interface UserLocalService
- Throws:
SystemException
updateUser
public User updateUser(User user,
boolean merge)
throws SystemException
- Specified by:
updateUser
in interface UserLocalService
- Throws:
SystemException
addDefaultGroups
public void addDefaultGroups(long userId)
throws PortalException,
SystemException
- Specified by:
addDefaultGroups
in interface UserLocalService
- Throws:
PortalException
SystemException
addDefaultRoles
public void addDefaultRoles(long userId)
throws PortalException,
SystemException
- Specified by:
addDefaultRoles
in interface UserLocalService
- Throws:
PortalException
SystemException
addDefaultUserGroups
public void addDefaultUserGroups(long userId)
throws PortalException,
SystemException
- Specified by:
addDefaultUserGroups
in interface UserLocalService
- Throws:
PortalException
SystemException
addGroupUsers
public void addGroupUsers(long groupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addGroupUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
addOrganizationUsers
public void addOrganizationUsers(long organizationId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addOrganizationUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
addPasswordPolicyUsers
public void addPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws SystemException
- Specified by:
addPasswordPolicyUsers
in interface UserLocalService
- Throws:
SystemException
addRoleUsers
public void addRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addRoleUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
addTeamUsers
public void addTeamUsers(long teamId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addTeamUsers
in interface UserLocalService
- Throws:
PortalException
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 PortalException,
SystemException
- Specified by:
addUser
in interface UserLocalService
- Throws:
PortalException
SystemException
addUserGroupUsers
public void addUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addUserGroupUsers
in interface UserLocalService
- Throws:
PortalException
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 PortalException,
SystemException
- Specified by:
authenticateByEmailAddress
in interface UserLocalService
- Throws:
PortalException
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 PortalException,
SystemException
- Specified by:
authenticateByScreenName
in interface UserLocalService
- Throws:
PortalException
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 PortalException,
SystemException
- Specified by:
authenticateByUserId
in interface UserLocalService
- Throws:
PortalException
SystemException
authenticateForBasic
public long authenticateForBasic(long companyId,
java.lang.String authType,
java.lang.String login,
java.lang.String password)
throws PortalException,
SystemException
- Specified by:
authenticateForBasic
in interface UserLocalService
- Throws:
PortalException
SystemException
authenticateForJAAS
public boolean authenticateForJAAS(long userId,
java.lang.String encPassword)
- Specified by:
authenticateForJAAS
in interface UserLocalService
checkLockout
public void checkLockout(User user)
throws PortalException,
SystemException
- Specified by:
checkLockout
in interface UserLocalService
- Throws:
PortalException
SystemException
checkLoginFailure
public void checkLoginFailure(User user)
throws SystemException
- Specified by:
checkLoginFailure
in interface UserLocalService
- Throws:
SystemException
checkLoginFailureByEmailAddress
public void checkLoginFailureByEmailAddress(long companyId,
java.lang.String emailAddress)
throws PortalException,
SystemException
- Specified by:
checkLoginFailureByEmailAddress
in interface UserLocalService
- Throws:
PortalException
SystemException
checkLoginFailureById
public void checkLoginFailureById(long userId)
throws PortalException,
SystemException
- Specified by:
checkLoginFailureById
in interface UserLocalService
- Throws:
PortalException
SystemException
checkLoginFailureByScreenName
public void checkLoginFailureByScreenName(long companyId,
java.lang.String screenName)
throws PortalException,
SystemException
- Specified by:
checkLoginFailureByScreenName
in interface UserLocalService
- Throws:
PortalException
SystemException
checkPasswordExpired
public void checkPasswordExpired(User user)
throws PortalException,
SystemException
- Specified by:
checkPasswordExpired
in interface UserLocalService
- Throws:
PortalException
SystemException
decryptUserId
public KeyValuePair decryptUserId(long companyId,
java.lang.String name,
java.lang.String password)
throws PortalException,
SystemException
- Specified by:
decryptUserId
in interface UserLocalService
- Throws:
PortalException
SystemException
deletePortrait
public void deletePortrait(long userId)
throws PortalException,
SystemException
- Specified by:
deletePortrait
in interface UserLocalService
- Throws:
PortalException
SystemException
deleteRoleUser
public void deleteRoleUser(long roleId,
long userId)
throws PortalException,
SystemException
- Specified by:
deleteRoleUser
in interface UserLocalService
- Throws:
PortalException
SystemException
encryptUserId
public java.lang.String encryptUserId(java.lang.String name)
throws PortalException,
SystemException
- Specified by:
encryptUserId
in interface UserLocalService
- Throws:
PortalException
SystemException
getCompanyUsers
public java.util.List<User> getCompanyUsers(long companyId,
int start,
int end)
throws SystemException
- Specified by:
getCompanyUsers
in interface UserLocalService
- Throws:
SystemException
getCompanyUsersCount
public int getCompanyUsersCount(long companyId)
throws SystemException
- Specified by:
getCompanyUsersCount
in interface UserLocalService
- Throws:
SystemException
getDefaultUser
public User getDefaultUser(long companyId)
throws PortalException,
SystemException
- Specified by:
getDefaultUser
in interface UserLocalService
- Throws:
PortalException
SystemException
getDefaultUserId
public long getDefaultUserId(long companyId)
throws PortalException,
SystemException
- Specified by:
getDefaultUserId
in interface UserLocalService
- Throws:
PortalException
SystemException
getGroupUserIds
public long[] getGroupUserIds(long groupId)
throws SystemException
- Specified by:
getGroupUserIds
in interface UserLocalService
- Throws:
SystemException
getGroupUsers
public java.util.List<User> getGroupUsers(long groupId)
throws SystemException
- Specified by:
getGroupUsers
in interface UserLocalService
- Throws:
SystemException
getGroupUsersCount
public int getGroupUsersCount(long groupId)
throws SystemException
- Specified by:
getGroupUsersCount
in interface UserLocalService
- Throws:
SystemException
getGroupUsersCount
public int getGroupUsersCount(long groupId,
boolean active)
throws PortalException,
SystemException
- Specified by:
getGroupUsersCount
in interface UserLocalService
- Throws:
PortalException
SystemException
getNoAnnouncementsDeliveries
public java.util.List<User> getNoAnnouncementsDeliveries(java.lang.String type)
throws SystemException
- Specified by:
getNoAnnouncementsDeliveries
in interface UserLocalService
- Throws:
SystemException
getNoContacts
public java.util.List<User> getNoContacts()
throws SystemException
- Specified by:
getNoContacts
in interface UserLocalService
- Throws:
SystemException
getNoGroups
public java.util.List<User> getNoGroups()
throws SystemException
- Specified by:
getNoGroups
in interface UserLocalService
- Throws:
SystemException
getOrganizationUserIds
public long[] getOrganizationUserIds(long organizationId)
throws SystemException
- Specified by:
getOrganizationUserIds
in interface UserLocalService
- Throws:
SystemException
getOrganizationUsers
public java.util.List<User> getOrganizationUsers(long organizationId)
throws SystemException
- Specified by:
getOrganizationUsers
in interface UserLocalService
- Throws:
SystemException
getOrganizationUsersCount
public int getOrganizationUsersCount(long organizationId)
throws SystemException
- Specified by:
getOrganizationUsersCount
in interface UserLocalService
- Throws:
SystemException
getOrganizationUsersCount
public int getOrganizationUsersCount(long organizationId,
boolean active)
throws PortalException,
SystemException
- Specified by:
getOrganizationUsersCount
in interface UserLocalService
- Throws:
PortalException
SystemException
getRoleUserIds
public long[] getRoleUserIds(long roleId)
throws SystemException
- Specified by:
getRoleUserIds
in interface UserLocalService
- Throws:
SystemException
getRoleUsers
public java.util.List<User> getRoleUsers(long roleId)
throws SystemException
- Specified by:
getRoleUsers
in interface UserLocalService
- Throws:
SystemException
getRoleUsers
public java.util.List<User> getRoleUsers(long roleId,
int start,
int end)
throws SystemException
- Specified by:
getRoleUsers
in interface UserLocalService
- Throws:
SystemException
getRoleUsersCount
public int getRoleUsersCount(long roleId)
throws SystemException
- Specified by:
getRoleUsersCount
in interface UserLocalService
- Throws:
SystemException
getRoleUsersCount
public int getRoleUsersCount(long roleId,
boolean active)
throws PortalException,
SystemException
- Specified by:
getRoleUsersCount
in interface UserLocalService
- Throws:
PortalException
SystemException
getSocialUsers
public java.util.List<User> getSocialUsers(long userId,
int type,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
- Specified by:
getSocialUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
getSocialUsers
public java.util.List<User> getSocialUsers(long userId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
- Specified by:
getSocialUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
getSocialUsers
public java.util.List<User> getSocialUsers(long userId1,
long userId2,
int type,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
- Specified by:
getSocialUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
getSocialUsers
public java.util.List<User> getSocialUsers(long userId1,
long userId2,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
- Specified by:
getSocialUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
getSocialUsersCount
public int getSocialUsersCount(long userId)
throws PortalException,
SystemException
- Specified by:
getSocialUsersCount
in interface UserLocalService
- Throws:
PortalException
SystemException
getSocialUsersCount
public int getSocialUsersCount(long userId,
int type)
throws PortalException,
SystemException
- Specified by:
getSocialUsersCount
in interface UserLocalService
- Throws:
PortalException
SystemException
getSocialUsersCount
public int getSocialUsersCount(long userId1,
long userId2)
throws PortalException,
SystemException
- Specified by:
getSocialUsersCount
in interface UserLocalService
- Throws:
PortalException
SystemException
getSocialUsersCount
public int getSocialUsersCount(long userId1,
long userId2,
int type)
throws PortalException,
SystemException
- Specified by:
getSocialUsersCount
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserByContactId
public User getUserByContactId(long contactId)
throws PortalException,
SystemException
- Specified by:
getUserByContactId
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserByEmailAddress
public User getUserByEmailAddress(long companyId,
java.lang.String emailAddress)
throws PortalException,
SystemException
- Specified by:
getUserByEmailAddress
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserById
public User getUserById(long userId)
throws PortalException,
SystemException
- Specified by:
getUserById
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserById
public User getUserById(long companyId,
long userId)
throws PortalException,
SystemException
- Specified by:
getUserById
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserByOpenId
public User getUserByOpenId(java.lang.String openId)
throws PortalException,
SystemException
- Specified by:
getUserByOpenId
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserByPortraitId
public User getUserByPortraitId(long portraitId)
throws PortalException,
SystemException
- Specified by:
getUserByPortraitId
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserByScreenName
public User getUserByScreenName(long companyId,
java.lang.String screenName)
throws PortalException,
SystemException
- Specified by:
getUserByScreenName
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserByUuid
public User getUserByUuid(java.lang.String uuid)
throws PortalException,
SystemException
- Specified by:
getUserByUuid
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserGroupUsers
public java.util.List<User> getUserGroupUsers(long userGroupId)
throws SystemException
- Specified by:
getUserGroupUsers
in interface UserLocalService
- Throws:
SystemException
getUserGroupUsersCount
public int getUserGroupUsersCount(long userGroupId)
throws SystemException
- Specified by:
getUserGroupUsersCount
in interface UserLocalService
- Throws:
SystemException
getUserGroupUsersCount
public int getUserGroupUsersCount(long userGroupId,
boolean active)
throws PortalException,
SystemException
- Specified by:
getUserGroupUsersCount
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserIdByEmailAddress
public long getUserIdByEmailAddress(long companyId,
java.lang.String emailAddress)
throws PortalException,
SystemException
- Specified by:
getUserIdByEmailAddress
in interface UserLocalService
- Throws:
PortalException
SystemException
getUserIdByScreenName
public long getUserIdByScreenName(long companyId,
java.lang.String screenName)
throws PortalException,
SystemException
- Specified by:
getUserIdByScreenName
in interface UserLocalService
- Throws:
PortalException
SystemException
hasGroupUser
public boolean hasGroupUser(long groupId,
long userId)
throws SystemException
- Specified by:
hasGroupUser
in interface UserLocalService
- Throws:
SystemException
hasOrganizationUser
public boolean hasOrganizationUser(long organizationId,
long userId)
throws SystemException
- Specified by:
hasOrganizationUser
in interface UserLocalService
- Throws:
SystemException
hasPasswordPolicyUser
public boolean hasPasswordPolicyUser(long passwordPolicyId,
long userId)
throws SystemException
- Specified by:
hasPasswordPolicyUser
in interface UserLocalService
- Throws:
SystemException
hasRoleUser
public boolean hasRoleUser(long roleId,
long userId)
throws SystemException
- Specified by:
hasRoleUser
in interface UserLocalService
- Throws:
SystemException
hasRoleUser
public boolean hasRoleUser(long companyId,
java.lang.String name,
long userId,
boolean inherited)
throws PortalException,
SystemException
- Returns true if the user has the role.
- Specified by:
hasRoleUser
in interface UserLocalService
- Returns:
- true if the user has the role
- Throws:
PortalException
SystemException
hasTeamUser
public boolean hasTeamUser(long teamId,
long userId)
throws SystemException
- Specified by:
hasTeamUser
in interface UserLocalService
- Throws:
SystemException
hasUserGroupUser
public boolean hasUserGroupUser(long userGroupId,
long userId)
throws SystemException
- Specified by:
hasUserGroupUser
in interface UserLocalService
- Throws:
SystemException
isPasswordExpired
public boolean isPasswordExpired(User user)
throws PortalException,
SystemException
- Specified by:
isPasswordExpired
in interface UserLocalService
- Throws:
PortalException
SystemException
isPasswordExpiringSoon
public boolean isPasswordExpiringSoon(User user)
throws PortalException,
SystemException
- Specified by:
isPasswordExpiringSoon
in interface UserLocalService
- Throws:
PortalException
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,
OrderByComparator obc)
throws SystemException
- Specified by:
search
in interface UserLocalService
- Throws:
SystemException
search
public 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,
Sort sort)
throws SystemException
- Specified by:
search
in interface UserLocalService
- Throws:
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,
OrderByComparator obc)
throws SystemException
- Specified by:
search
in interface UserLocalService
- Throws:
SystemException
search
public 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,
Sort sort)
throws SystemException
- Specified by:
search
in interface UserLocalService
- Throws:
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 SystemException
- Specified by:
searchCount
in interface UserLocalService
- Throws:
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 SystemException
- Specified by:
searchCount
in interface UserLocalService
- Throws:
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
sendPassword
in interface UserLocalService
- Throws:
PortalException
SystemException
setRoleUsers
public void setRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
setRoleUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
setUserGroupUsers
public void setUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
setUserGroupUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
unsetGroupUsers
public void unsetGroupUsers(long groupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetGroupUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
unsetOrganizationUsers
public void unsetOrganizationUsers(long organizationId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetOrganizationUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
unsetPasswordPolicyUsers
public void unsetPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws SystemException
- Specified by:
unsetPasswordPolicyUsers
in interface UserLocalService
- Throws:
SystemException
unsetRoleUsers
public void unsetRoleUsers(long roleId,
java.util.List<User> users)
throws PortalException,
SystemException
- Specified by:
unsetRoleUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
unsetRoleUsers
public void unsetRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetRoleUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
unsetTeamUsers
public void unsetTeamUsers(long teamId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetTeamUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
unsetUserGroupUsers
public void unsetUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetUserGroupUsers
in interface UserLocalService
- Throws:
PortalException
SystemException
updateActive
public User updateActive(long userId,
boolean active)
throws PortalException,
SystemException
- Specified by:
updateActive
in interface UserLocalService
- Throws:
PortalException
SystemException
updateAgreedToTermsOfUse
public User updateAgreedToTermsOfUse(long userId,
boolean agreedToTermsOfUse)
throws PortalException,
SystemException
- Specified by:
updateAgreedToTermsOfUse
in interface UserLocalService
- Throws:
PortalException
SystemException
updateAsset
public void updateAsset(long userId,
User user,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
throws PortalException,
SystemException
- Specified by:
updateAsset
in interface UserLocalService
- Throws:
PortalException
SystemException
updateCreateDate
public User updateCreateDate(long userId,
java.util.Date createDate)
throws PortalException,
SystemException
- Specified by:
updateCreateDate
in interface UserLocalService
- Throws:
PortalException
SystemException
updateEmailAddress
public User updateEmailAddress(long userId,
java.lang.String password,
java.lang.String emailAddress1,
java.lang.String emailAddress2)
throws PortalException,
SystemException
- Specified by:
updateEmailAddress
in interface UserLocalService
- Throws:
PortalException
SystemException
updateGroups
public void updateGroups(long userId,
long[] newGroupIds)
throws PortalException,
SystemException
- Specified by:
updateGroups
in interface UserLocalService
- Throws:
PortalException
SystemException
updateLastLogin
public User updateLastLogin(long userId,
java.lang.String loginIP)
throws PortalException,
SystemException
- Specified by:
updateLastLogin
in interface UserLocalService
- Throws:
PortalException
SystemException
updateLockout
public User updateLockout(User user,
boolean lockout)
throws PortalException,
SystemException
- Specified by:
updateLockout
in interface UserLocalService
- Throws:
PortalException
SystemException
updateLockoutByEmailAddress
public User updateLockoutByEmailAddress(long companyId,
java.lang.String emailAddress,
boolean lockout)
throws PortalException,
SystemException
- Specified by:
updateLockoutByEmailAddress
in interface UserLocalService
- Throws:
PortalException
SystemException
updateLockoutById
public User updateLockoutById(long userId,
boolean lockout)
throws PortalException,
SystemException
- Specified by:
updateLockoutById
in interface UserLocalService
- Throws:
PortalException
SystemException
updateLockoutByScreenName
public User updateLockoutByScreenName(long companyId,
java.lang.String screenName,
boolean lockout)
throws PortalException,
SystemException
- Specified by:
updateLockoutByScreenName
in interface UserLocalService
- Throws:
PortalException
SystemException
updateModifiedDate
public User updateModifiedDate(long userId,
java.util.Date modifiedDate)
throws PortalException,
SystemException
- Specified by:
updateModifiedDate
in interface UserLocalService
- Throws:
PortalException
SystemException
updateOpenId
public void updateOpenId(long userId,
java.lang.String openId)
throws PortalException,
SystemException
- Specified by:
updateOpenId
in interface UserLocalService
- Throws:
PortalException
SystemException
updateOrganizations
public void updateOrganizations(long userId,
long[] newOrganizationIds)
throws PortalException,
SystemException
- Specified by:
updateOrganizations
in interface UserLocalService
- Throws:
PortalException
SystemException
updatePassword
public User updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset)
throws PortalException,
SystemException
- Specified by:
updatePassword
in interface UserLocalService
- Throws:
PortalException
SystemException
updatePassword
public User updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset,
boolean silentUpdate)
throws PortalException,
SystemException
- Specified by:
updatePassword
in interface UserLocalService
- Throws:
PortalException
SystemException
updatePasswordManually
public User updatePasswordManually(long userId,
java.lang.String password,
boolean passwordEncrypted,
boolean passwordReset,
java.util.Date passwordModifiedDate)
throws PortalException,
SystemException
- Specified by:
updatePasswordManually
in interface UserLocalService
- Throws:
PortalException
SystemException
updatePasswordReset
public void updatePasswordReset(long userId,
boolean passwordReset)
throws PortalException,
SystemException
- Specified by:
updatePasswordReset
in interface UserLocalService
- Throws:
PortalException
SystemException
updatePortrait
public void updatePortrait(long userId,
byte[] bytes)
throws PortalException,
SystemException
- Specified by:
updatePortrait
in interface UserLocalService
- Throws:
PortalException
SystemException
updateReminderQuery
public void updateReminderQuery(long userId,
java.lang.String question,
java.lang.String answer)
throws PortalException,
SystemException
- Specified by:
updateReminderQuery
in interface UserLocalService
- Throws:
PortalException
SystemException
updateScreenName
public void updateScreenName(long userId,
java.lang.String screenName)
throws PortalException,
SystemException
- Specified by:
updateScreenName
in interface UserLocalService
- Throws:
PortalException
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 PortalException,
SystemException
- Specified by:
updateUser
in interface UserLocalService
- Throws:
PortalException
SystemException
getWrappedUserLocalService
public UserLocalService getWrappedUserLocalService()