|
Liferay 6.0.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.UserLocalServiceWrapper
public class UserLocalServiceWrapper
This class is a wrapper for UserLocalService.
UserLocalService| Constructor Summary | |
|---|---|
UserLocalServiceWrapper(UserLocalService userLocalService)
|
|
| 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,
String password1,
String password2,
boolean autoScreenName,
String screenName,
String emailAddress,
long facebookId,
String openId,
Locale locale,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
long[] userGroupIds,
boolean sendEmail,
ServiceContext serviceContext)
|
User |
addUser(User user)
Adds the user to the database. |
void |
addUserGroupUsers(long userGroupId,
long[] userIds)
|
int |
authenticateByEmailAddress(long companyId,
String emailAddress,
String password,
Map<String,String[]> headerMap,
Map<String,String[]> parameterMap)
|
int |
authenticateByScreenName(long companyId,
String screenName,
String password,
Map<String,String[]> headerMap,
Map<String,String[]> parameterMap)
|
int |
authenticateByUserId(long companyId,
long userId,
String password,
Map<String,String[]> headerMap,
Map<String,String[]> parameterMap)
|
long |
authenticateForBasic(long companyId,
String authType,
String login,
String password)
|
long |
authenticateForDigest(long companyId,
String username,
String realm,
String nonce,
String method,
String uri,
String response)
|
boolean |
authenticateForJAAS(long userId,
String encPassword)
|
void |
checkLockout(User user)
|
void |
checkLoginFailure(User user)
|
void |
checkLoginFailureByEmailAddress(long companyId,
String emailAddress)
|
void |
checkLoginFailureById(long userId)
|
void |
checkLoginFailureByScreenName(long companyId,
String screenName)
|
void |
checkPasswordExpired(User user)
|
User |
createUser(long userId)
Creates a new user with the primary key. |
KeyValuePair |
decryptUserId(long companyId,
String name,
String password)
|
void |
deletePortrait(long userId)
|
void |
deleteRoleUser(long roleId,
long userId)
|
void |
deleteUser(long userId)
Deletes the user with the primary key from the database. |
void |
deleteUser(User user)
Deletes the user from the database. |
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
String |
encryptUserId(String name)
|
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)
|
List<User> |
getGroupUsers(long groupId)
|
int |
getGroupUsersCount(long groupId)
|
int |
getGroupUsersCount(long groupId,
boolean active)
|
List<User> |
getNoAnnouncementsDeliveries(String type)
|
List<User> |
getNoContacts()
|
List<User> |
getNoGroups()
|
long[] |
getOrganizationUserIds(long organizationId)
|
List<User> |
getOrganizationUsers(long organizationId)
|
int |
getOrganizationUsersCount(long organizationId)
|
int |
getOrganizationUsersCount(long organizationId,
boolean active)
|
long[] |
getRoleUserIds(long roleId)
|
List<User> |
getRoleUsers(long roleId)
|
List<User> |
getRoleUsers(long roleId,
int start,
int end)
|
int |
getRoleUsersCount(long roleId)
|
int |
getRoleUsersCount(long roleId,
boolean active)
|
List<User> |
getSocialUsers(long userId,
int type,
int start,
int end,
OrderByComparator obc)
|
List<User> |
getSocialUsers(long userId,
int start,
int end,
OrderByComparator obc)
|
List<User> |
getSocialUsers(long userId1,
long userId2,
int type,
int start,
int end,
OrderByComparator obc)
|
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)
Gets the user with the primary key. |
User |
getUserByContactId(long contactId)
|
User |
getUserByEmailAddress(long companyId,
String emailAddress)
|
User |
getUserByFacebookId(long companyId,
long facebookId)
|
User |
getUserById(long userId)
|
User |
getUserById(long companyId,
long userId)
|
User |
getUserByOpenId(long companyId,
String openId)
|
User |
getUserByPortraitId(long portraitId)
|
User |
getUserByScreenName(long companyId,
String screenName)
|
User |
getUserByUuid(String uuid)
|
List<User> |
getUserGroupUsers(long userGroupId)
|
int |
getUserGroupUsersCount(long userGroupId)
|
int |
getUserGroupUsersCount(long userGroupId,
boolean active)
|
long |
getUserIdByEmailAddress(long companyId,
String emailAddress)
|
long |
getUserIdByScreenName(long companyId,
String screenName)
|
List<User> |
getUsers(int start,
int end)
Gets a range of all the users. |
int |
getUsersCount()
Gets the number of users. |
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,
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)
|
List<User> |
search(long companyId,
String keywords,
Boolean active,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator obc)
|
Hits |
search(long companyId,
String keywords,
Boolean active,
LinkedHashMap<String,Object> params,
int start,
int end,
Sort sort)
|
List<User> |
search(long companyId,
String firstName,
String middleName,
String lastName,
String screenName,
String emailAddress,
Boolean active,
LinkedHashMap<String,Object> params,
boolean andSearch,
int start,
int end,
OrderByComparator obc)
|
Hits |
search(long companyId,
String firstName,
String middleName,
String lastName,
String screenName,
String emailAddress,
Boolean active,
LinkedHashMap<String,Object> params,
boolean andSearch,
int start,
int end,
Sort sort)
|
int |
searchCount(long companyId,
String keywords,
Boolean active,
LinkedHashMap<String,Object> params)
|
int |
searchCount(long companyId,
String firstName,
String middleName,
String lastName,
String screenName,
String emailAddress,
Boolean active,
LinkedHashMap<String,Object> params,
boolean andSearch)
|
void |
sendPassword(long companyId,
String emailAddress,
String remoteAddr,
String remoteHost,
String userAgent,
String fromName,
String fromAddress,
String subject,
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,
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,
String[] assetTagNames)
|
User |
updateCreateDate(long userId,
Date createDate)
|
User |
updateEmailAddress(long userId,
String password,
String emailAddress1,
String emailAddress2)
|
void |
updateGroups(long userId,
long[] newGroupIds)
|
User |
updateLastLogin(long userId,
String loginIP)
|
User |
updateLockout(User user,
boolean lockout)
|
User |
updateLockoutByEmailAddress(long companyId,
String emailAddress,
boolean lockout)
|
User |
updateLockoutById(long userId,
boolean lockout)
|
User |
updateLockoutByScreenName(long companyId,
String screenName,
boolean lockout)
|
User |
updateModifiedDate(long userId,
Date modifiedDate)
|
void |
updateOpenId(long userId,
String openId)
|
void |
updateOrganizations(long userId,
long[] newOrganizationIds)
|
User |
updatePassword(long userId,
String password1,
String password2,
boolean passwordReset)
|
User |
updatePassword(long userId,
String password1,
String password2,
boolean passwordReset,
boolean silentUpdate)
|
User |
updatePasswordManually(long userId,
String password,
boolean passwordEncrypted,
boolean passwordReset,
Date passwordModifiedDate)
|
void |
updatePasswordReset(long userId,
boolean passwordReset)
|
void |
updatePortrait(long userId,
byte[] bytes)
|
void |
updateReminderQuery(long userId,
String question,
String answer)
|
void |
updateScreenName(long userId,
String screenName)
|
User |
updateUser(long userId,
String oldPassword,
String newPassword1,
String newPassword2,
boolean passwordReset,
String reminderQueryQuestion,
String reminderQueryAnswer,
String screenName,
String emailAddress,
long facebookId,
String openId,
String languageId,
String timeZoneId,
String greeting,
String comments,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String aimSn,
String facebookSn,
String icqSn,
String jabberSn,
String msnSn,
String mySpaceSn,
String skypeSn,
String twitterSn,
String ymSn,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
List<UserGroupRole> userGroupRoles,
long[] userGroupIds,
ServiceContext serviceContext)
|
User |
updateUser(User user)
Updates the user in the database. |
User |
updateUser(User user,
boolean merge)
Updates the user in the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserLocalServiceWrapper(UserLocalService userLocalService)
| Method Detail |
|---|
public User addUser(User user)
throws SystemException
addUser in interface UserLocalServiceuser - the user to add
SystemException - if a system exception occurredpublic User createUser(long userId)
createUser in interface UserLocalServiceuserId - the primary key for the new user
public void deleteUser(long userId)
throws PortalException,
SystemException
deleteUser in interface UserLocalServiceuserId - the primary key of the user to delete
PortalException - if a user with the primary key could not be found
SystemException - if a system exception occurred
public void deleteUser(User user)
throws SystemException
deleteUser in interface UserLocalServiceuser - the user to delete
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface UserLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface UserLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface UserLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface UserLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public User getUser(long userId)
throws PortalException,
SystemException
getUser in interface UserLocalServiceuserId - the primary key of the user to get
PortalException - if a user with the primary key could not be found
SystemException - if a system exception occurred
public List<User> getUsers(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getUsers in interface UserLocalServicestart - the lower bound of the range of users to returnend - the upper bound of the range of users to return (not inclusive)
SystemException - if a system exception occurred
public int getUsersCount()
throws SystemException
getUsersCount in interface UserLocalServiceSystemException - if a system exception occurred
public User updateUser(User user)
throws SystemException
updateUser in interface UserLocalServiceuser - the user to update
SystemException - if a system exception occurred
public User updateUser(User user,
boolean merge)
throws SystemException
updateUser in interface UserLocalServiceuser - the user to updatemerge - whether to merge the user with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurred
public void addDefaultGroups(long userId)
throws PortalException,
SystemException
addDefaultGroups in interface UserLocalServicePortalException
SystemException
public void addDefaultRoles(long userId)
throws PortalException,
SystemException
addDefaultRoles in interface UserLocalServicePortalException
SystemException
public void addDefaultUserGroups(long userId)
throws PortalException,
SystemException
addDefaultUserGroups in interface UserLocalServicePortalException
SystemException
public void addGroupUsers(long groupId,
long[] userIds)
throws PortalException,
SystemException
addGroupUsers in interface UserLocalServicePortalException
SystemException
public void addOrganizationUsers(long organizationId,
long[] userIds)
throws PortalException,
SystemException
addOrganizationUsers in interface UserLocalServicePortalException
SystemException
public void addPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws SystemException
addPasswordPolicyUsers in interface UserLocalServiceSystemException
public void addRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
addRoleUsers in interface UserLocalServicePortalException
SystemException
public void addTeamUsers(long teamId,
long[] userIds)
throws PortalException,
SystemException
addTeamUsers in interface UserLocalServicePortalException
SystemException
public User addUser(long creatorUserId,
long companyId,
boolean autoPassword,
String password1,
String password2,
boolean autoScreenName,
String screenName,
String emailAddress,
long facebookId,
String openId,
Locale locale,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
long[] userGroupIds,
boolean sendEmail,
ServiceContext serviceContext)
throws PortalException,
SystemException
addUser in interface UserLocalServicePortalException
SystemException
public void addUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
addUserGroupUsers in interface UserLocalServicePortalException
SystemException
public int authenticateByEmailAddress(long companyId,
String emailAddress,
String password,
Map<String,String[]> headerMap,
Map<String,String[]> parameterMap)
throws PortalException,
SystemException
authenticateByEmailAddress in interface UserLocalServicePortalException
SystemException
public int authenticateByScreenName(long companyId,
String screenName,
String password,
Map<String,String[]> headerMap,
Map<String,String[]> parameterMap)
throws PortalException,
SystemException
authenticateByScreenName in interface UserLocalServicePortalException
SystemException
public int authenticateByUserId(long companyId,
long userId,
String password,
Map<String,String[]> headerMap,
Map<String,String[]> parameterMap)
throws PortalException,
SystemException
authenticateByUserId in interface UserLocalServicePortalException
SystemException
public long authenticateForBasic(long companyId,
String authType,
String login,
String password)
throws PortalException,
SystemException
authenticateForBasic in interface UserLocalServicePortalException
SystemException
public long authenticateForDigest(long companyId,
String username,
String realm,
String nonce,
String method,
String uri,
String response)
throws PortalException,
SystemException
authenticateForDigest in interface UserLocalServicePortalException
SystemException
public boolean authenticateForJAAS(long userId,
String encPassword)
authenticateForJAAS in interface UserLocalService
public void checkLockout(User user)
throws PortalException,
SystemException
checkLockout in interface UserLocalServicePortalException
SystemException
public void checkLoginFailure(User user)
throws SystemException
checkLoginFailure in interface UserLocalServiceSystemException
public void checkLoginFailureByEmailAddress(long companyId,
String emailAddress)
throws PortalException,
SystemException
checkLoginFailureByEmailAddress in interface UserLocalServicePortalException
SystemException
public void checkLoginFailureById(long userId)
throws PortalException,
SystemException
checkLoginFailureById in interface UserLocalServicePortalException
SystemException
public void checkLoginFailureByScreenName(long companyId,
String screenName)
throws PortalException,
SystemException
checkLoginFailureByScreenName in interface UserLocalServicePortalException
SystemException
public void checkPasswordExpired(User user)
throws PortalException,
SystemException
checkPasswordExpired in interface UserLocalServicePortalException
SystemException
public KeyValuePair decryptUserId(long companyId,
String name,
String password)
throws PortalException,
SystemException
decryptUserId in interface UserLocalServicePortalException
SystemException
public void deletePortrait(long userId)
throws PortalException,
SystemException
deletePortrait in interface UserLocalServicePortalException
SystemException
public void deleteRoleUser(long roleId,
long userId)
throws PortalException,
SystemException
deleteRoleUser in interface UserLocalServicePortalException
SystemException
public String encryptUserId(String name)
throws PortalException,
SystemException
encryptUserId in interface UserLocalServicePortalException
SystemException
public List<User> getCompanyUsers(long companyId,
int start,
int end)
throws SystemException
getCompanyUsers in interface UserLocalServiceSystemException
public int getCompanyUsersCount(long companyId)
throws SystemException
getCompanyUsersCount in interface UserLocalServiceSystemException
public User getDefaultUser(long companyId)
throws PortalException,
SystemException
getDefaultUser in interface UserLocalServicePortalException
SystemException
public long getDefaultUserId(long companyId)
throws PortalException,
SystemException
getDefaultUserId in interface UserLocalServicePortalException
SystemException
public long[] getGroupUserIds(long groupId)
throws SystemException
getGroupUserIds in interface UserLocalServiceSystemException
public List<User> getGroupUsers(long groupId)
throws SystemException
getGroupUsers in interface UserLocalServiceSystemException
public int getGroupUsersCount(long groupId)
throws SystemException
getGroupUsersCount in interface UserLocalServiceSystemException
public int getGroupUsersCount(long groupId,
boolean active)
throws PortalException,
SystemException
getGroupUsersCount in interface UserLocalServicePortalException
SystemException
public List<User> getNoAnnouncementsDeliveries(String type)
throws SystemException
getNoAnnouncementsDeliveries in interface UserLocalServiceSystemException
public List<User> getNoContacts()
throws SystemException
getNoContacts in interface UserLocalServiceSystemException
public List<User> getNoGroups()
throws SystemException
getNoGroups in interface UserLocalServiceSystemException
public long[] getOrganizationUserIds(long organizationId)
throws SystemException
getOrganizationUserIds in interface UserLocalServiceSystemException
public List<User> getOrganizationUsers(long organizationId)
throws SystemException
getOrganizationUsers in interface UserLocalServiceSystemException
public int getOrganizationUsersCount(long organizationId)
throws SystemException
getOrganizationUsersCount in interface UserLocalServiceSystemException
public int getOrganizationUsersCount(long organizationId,
boolean active)
throws PortalException,
SystemException
getOrganizationUsersCount in interface UserLocalServicePortalException
SystemException
public long[] getRoleUserIds(long roleId)
throws SystemException
getRoleUserIds in interface UserLocalServiceSystemException
public List<User> getRoleUsers(long roleId)
throws SystemException
getRoleUsers in interface UserLocalServiceSystemException
public List<User> getRoleUsers(long roleId,
int start,
int end)
throws SystemException
getRoleUsers in interface UserLocalServiceSystemException
public int getRoleUsersCount(long roleId)
throws SystemException
getRoleUsersCount in interface UserLocalServiceSystemException
public int getRoleUsersCount(long roleId,
boolean active)
throws PortalException,
SystemException
getRoleUsersCount in interface UserLocalServicePortalException
SystemException
public List<User> getSocialUsers(long userId,
int type,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
getSocialUsers in interface UserLocalServicePortalException
SystemException
public List<User> getSocialUsers(long userId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
getSocialUsers in interface UserLocalServicePortalException
SystemException
public List<User> getSocialUsers(long userId1,
long userId2,
int type,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
getSocialUsers in interface UserLocalServicePortalException
SystemException
public List<User> getSocialUsers(long userId1,
long userId2,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
getSocialUsers in interface UserLocalServicePortalException
SystemException
public int getSocialUsersCount(long userId)
throws PortalException,
SystemException
getSocialUsersCount in interface UserLocalServicePortalException
SystemException
public int getSocialUsersCount(long userId,
int type)
throws PortalException,
SystemException
getSocialUsersCount in interface UserLocalServicePortalException
SystemException
public int getSocialUsersCount(long userId1,
long userId2)
throws PortalException,
SystemException
getSocialUsersCount in interface UserLocalServicePortalException
SystemException
public int getSocialUsersCount(long userId1,
long userId2,
int type)
throws PortalException,
SystemException
getSocialUsersCount in interface UserLocalServicePortalException
SystemException
public User getUserByContactId(long contactId)
throws PortalException,
SystemException
getUserByContactId in interface UserLocalServicePortalException
SystemException
public User getUserByEmailAddress(long companyId,
String emailAddress)
throws PortalException,
SystemException
getUserByEmailAddress in interface UserLocalServicePortalException
SystemException
public User getUserByFacebookId(long companyId,
long facebookId)
throws PortalException,
SystemException
getUserByFacebookId in interface UserLocalServicePortalException
SystemException
public User getUserById(long userId)
throws PortalException,
SystemException
getUserById in interface UserLocalServicePortalException
SystemException
public User getUserById(long companyId,
long userId)
throws PortalException,
SystemException
getUserById in interface UserLocalServicePortalException
SystemException
public User getUserByOpenId(long companyId,
String openId)
throws PortalException,
SystemException
getUserByOpenId in interface UserLocalServicePortalException
SystemException
public User getUserByPortraitId(long portraitId)
throws PortalException,
SystemException
getUserByPortraitId in interface UserLocalServicePortalException
SystemException
public User getUserByScreenName(long companyId,
String screenName)
throws PortalException,
SystemException
getUserByScreenName in interface UserLocalServicePortalException
SystemException
public User getUserByUuid(String uuid)
throws PortalException,
SystemException
getUserByUuid in interface UserLocalServicePortalException
SystemException
public List<User> getUserGroupUsers(long userGroupId)
throws SystemException
getUserGroupUsers in interface UserLocalServiceSystemException
public int getUserGroupUsersCount(long userGroupId)
throws SystemException
getUserGroupUsersCount in interface UserLocalServiceSystemException
public int getUserGroupUsersCount(long userGroupId,
boolean active)
throws PortalException,
SystemException
getUserGroupUsersCount in interface UserLocalServicePortalException
SystemException
public long getUserIdByEmailAddress(long companyId,
String emailAddress)
throws PortalException,
SystemException
getUserIdByEmailAddress in interface UserLocalServicePortalException
SystemException
public long getUserIdByScreenName(long companyId,
String screenName)
throws PortalException,
SystemException
getUserIdByScreenName in interface UserLocalServicePortalException
SystemException
public boolean hasGroupUser(long groupId,
long userId)
throws SystemException
hasGroupUser in interface UserLocalServiceSystemException
public boolean hasOrganizationUser(long organizationId,
long userId)
throws SystemException
hasOrganizationUser in interface UserLocalServiceSystemException
public boolean hasPasswordPolicyUser(long passwordPolicyId,
long userId)
throws SystemException
hasPasswordPolicyUser in interface UserLocalServiceSystemException
public boolean hasRoleUser(long roleId,
long userId)
throws SystemException
hasRoleUser in interface UserLocalServiceSystemException
public boolean hasRoleUser(long companyId,
String name,
long userId,
boolean inherited)
throws PortalException,
SystemException
true if the user has the role.
hasRoleUser in interface UserLocalServicetrue if the user has the role
PortalException
SystemException
public boolean hasTeamUser(long teamId,
long userId)
throws SystemException
hasTeamUser in interface UserLocalServiceSystemException
public boolean hasUserGroupUser(long userGroupId,
long userId)
throws SystemException
hasUserGroupUser in interface UserLocalServiceSystemException
public boolean isPasswordExpired(User user)
throws PortalException,
SystemException
isPasswordExpired in interface UserLocalServicePortalException
SystemException
public boolean isPasswordExpiringSoon(User user)
throws PortalException,
SystemException
isPasswordExpiringSoon in interface UserLocalServicePortalException
SystemException
public List<User> search(long companyId,
String keywords,
Boolean active,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator obc)
throws SystemException
search in interface UserLocalServiceSystemException
public Hits search(long companyId,
String keywords,
Boolean active,
LinkedHashMap<String,Object> params,
int start,
int end,
Sort sort)
throws SystemException
search in interface UserLocalServiceSystemException
public List<User> search(long companyId,
String firstName,
String middleName,
String lastName,
String screenName,
String emailAddress,
Boolean active,
LinkedHashMap<String,Object> params,
boolean andSearch,
int start,
int end,
OrderByComparator obc)
throws SystemException
search in interface UserLocalServiceSystemException
public Hits search(long companyId,
String firstName,
String middleName,
String lastName,
String screenName,
String emailAddress,
Boolean active,
LinkedHashMap<String,Object> params,
boolean andSearch,
int start,
int end,
Sort sort)
throws SystemException
search in interface UserLocalServiceSystemException
public int searchCount(long companyId,
String keywords,
Boolean active,
LinkedHashMap<String,Object> params)
throws SystemException
searchCount in interface UserLocalServiceSystemException
public int searchCount(long companyId,
String firstName,
String middleName,
String lastName,
String screenName,
String emailAddress,
Boolean active,
LinkedHashMap<String,Object> params,
boolean andSearch)
throws SystemException
searchCount in interface UserLocalServiceSystemException
public void sendPassword(long companyId,
String emailAddress,
String remoteAddr,
String remoteHost,
String userAgent,
String fromName,
String fromAddress,
String subject,
String body,
ServiceContext serviceContext)
throws PortalException,
SystemException
sendPassword in interface UserLocalServicePortalException
SystemException
public void setRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
setRoleUsers in interface UserLocalServicePortalException
SystemException
public void setUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
setUserGroupUsers in interface UserLocalServicePortalException
SystemException
public void unsetGroupUsers(long groupId,
long[] userIds)
throws PortalException,
SystemException
unsetGroupUsers in interface UserLocalServicePortalException
SystemException
public void unsetOrganizationUsers(long organizationId,
long[] userIds)
throws PortalException,
SystemException
unsetOrganizationUsers in interface UserLocalServicePortalException
SystemException
public void unsetPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws SystemException
unsetPasswordPolicyUsers in interface UserLocalServiceSystemException
public void unsetRoleUsers(long roleId,
List<User> users)
throws PortalException,
SystemException
unsetRoleUsers in interface UserLocalServicePortalException
SystemException
public void unsetRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
unsetRoleUsers in interface UserLocalServicePortalException
SystemException
public void unsetTeamUsers(long teamId,
long[] userIds)
throws PortalException,
SystemException
unsetTeamUsers in interface UserLocalServicePortalException
SystemException
public void unsetUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
unsetUserGroupUsers in interface UserLocalServicePortalException
SystemException
public User updateActive(long userId,
boolean active)
throws PortalException,
SystemException
updateActive in interface UserLocalServicePortalException
SystemException
public User updateAgreedToTermsOfUse(long userId,
boolean agreedToTermsOfUse)
throws PortalException,
SystemException
updateAgreedToTermsOfUse in interface UserLocalServicePortalException
SystemException
public void updateAsset(long userId,
User user,
long[] assetCategoryIds,
String[] assetTagNames)
throws PortalException,
SystemException
updateAsset in interface UserLocalServicePortalException
SystemException
public User updateCreateDate(long userId,
Date createDate)
throws PortalException,
SystemException
updateCreateDate in interface UserLocalServicePortalException
SystemException
public User updateEmailAddress(long userId,
String password,
String emailAddress1,
String emailAddress2)
throws PortalException,
SystemException
updateEmailAddress in interface UserLocalServicePortalException
SystemException
public void updateGroups(long userId,
long[] newGroupIds)
throws PortalException,
SystemException
updateGroups in interface UserLocalServicePortalException
SystemException
public User updateLastLogin(long userId,
String loginIP)
throws PortalException,
SystemException
updateLastLogin in interface UserLocalServicePortalException
SystemException
public User updateLockout(User user,
boolean lockout)
throws PortalException,
SystemException
updateLockout in interface UserLocalServicePortalException
SystemException
public User updateLockoutByEmailAddress(long companyId,
String emailAddress,
boolean lockout)
throws PortalException,
SystemException
updateLockoutByEmailAddress in interface UserLocalServicePortalException
SystemException
public User updateLockoutById(long userId,
boolean lockout)
throws PortalException,
SystemException
updateLockoutById in interface UserLocalServicePortalException
SystemException
public User updateLockoutByScreenName(long companyId,
String screenName,
boolean lockout)
throws PortalException,
SystemException
updateLockoutByScreenName in interface UserLocalServicePortalException
SystemException
public User updateModifiedDate(long userId,
Date modifiedDate)
throws PortalException,
SystemException
updateModifiedDate in interface UserLocalServicePortalException
SystemException
public void updateOpenId(long userId,
String openId)
throws PortalException,
SystemException
updateOpenId in interface UserLocalServicePortalException
SystemException
public void updateOrganizations(long userId,
long[] newOrganizationIds)
throws PortalException,
SystemException
updateOrganizations in interface UserLocalServicePortalException
SystemException
public User updatePassword(long userId,
String password1,
String password2,
boolean passwordReset)
throws PortalException,
SystemException
updatePassword in interface UserLocalServicePortalException
SystemException
public User updatePassword(long userId,
String password1,
String password2,
boolean passwordReset,
boolean silentUpdate)
throws PortalException,
SystemException
updatePassword in interface UserLocalServicePortalException
SystemException
public User updatePasswordManually(long userId,
String password,
boolean passwordEncrypted,
boolean passwordReset,
Date passwordModifiedDate)
throws PortalException,
SystemException
updatePasswordManually in interface UserLocalServicePortalException
SystemException
public void updatePasswordReset(long userId,
boolean passwordReset)
throws PortalException,
SystemException
updatePasswordReset in interface UserLocalServicePortalException
SystemException
public void updatePortrait(long userId,
byte[] bytes)
throws PortalException,
SystemException
updatePortrait in interface UserLocalServicePortalException
SystemException
public void updateReminderQuery(long userId,
String question,
String answer)
throws PortalException,
SystemException
updateReminderQuery in interface UserLocalServicePortalException
SystemException
public void updateScreenName(long userId,
String screenName)
throws PortalException,
SystemException
updateScreenName in interface UserLocalServicePortalException
SystemException
public User updateUser(long userId,
String oldPassword,
String newPassword1,
String newPassword2,
boolean passwordReset,
String reminderQueryQuestion,
String reminderQueryAnswer,
String screenName,
String emailAddress,
long facebookId,
String openId,
String languageId,
String timeZoneId,
String greeting,
String comments,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String aimSn,
String facebookSn,
String icqSn,
String jabberSn,
String msnSn,
String mySpaceSn,
String skypeSn,
String twitterSn,
String ymSn,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
List<UserGroupRole> userGroupRoles,
long[] userGroupIds,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateUser in interface UserLocalServicePortalException
SystemExceptionpublic UserLocalService getWrappedUserLocalService()
|
Liferay 6.0.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||