| java.lang.Object com.liferay.portal.service.impl.PrincipalBean com.liferay.portal.service.base.UserServiceBaseImpl com.liferay.portal.service.impl.UserServiceImpl
UserServiceImpl | public class UserServiceImpl extends UserServiceBaseImpl (Code) | | View Source
author: Brian Wing Shun Chan author: Brian Myunghun Kim author: Scott Lee author: Jorge Ferrer |
Method Summary | |
public void | addGroupUsers(long groupId, long[] userIds) | public void | addOrganizationUsers(long organizationId, long[] userIds) | public void | addPasswordPolicyUsers(long passwordPolicyId, long[] userIds) | public void | addRoleUsers(long roleId, long[] userIds) | public User | addUser(long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] organizationIds, boolean sendEmail) | public void | addUserGroupUsers(long userGroupId, long[] userIds) | protected void | checkPermission(long userId, String actionId) | protected void | checkPermission(long userId, long[] organizationIds, String actionId) | public void | deleteRoleUser(long roleId, long userId) | public void | deleteUser(long userId) | public long | getDefaultUserId(long companyId) | public List | getGroupUsers(long groupId) | public List | getRoleUsers(long roleId) | public User | getUserByEmailAddress(long companyId, String emailAddress) | public User | getUserById(long userId) | public User | getUserByScreenName(long companyId, String screenName) | public long | getUserIdByEmailAddress(long companyId, String emailAddress) | public long | getUserIdByScreenName(long companyId, String screenName) | public boolean | hasGroupUser(long groupId, long userId) | public boolean | hasRoleUser(long roleId, long userId) | public void | setRoleUsers(long roleId, long[] userIds) | public void | setUserGroupUsers(long userGroupId, long[] userIds) | public void | unsetGroupUsers(long groupId, long[] userIds) | public void | unsetOrganizationUsers(long organizationId, long[] userIds) | public void | unsetPasswordPolicyUsers(long passwordPolicyId, long[] userIds) | public void | unsetRoleUsers(long roleId, long[] userIds) | public void | unsetUserGroupUsers(long userGroupId, long[] userIds) | public User | updateActive(long userId, boolean active) | public User | updateAgreedToTermsOfUse(long userId, boolean agreedToTermsOfUse) | public User | updateLockout(long userId, boolean lockout) | public void | updateOrganizations(long userId, long[] organizationIds) | public User | updatePassword(long userId, String password1, String password2, boolean passwordReset) | public void | updatePortrait(long userId, byte[] bytes) | public User | updateUser(long userId, String oldPassword, boolean passwordReset, String screenName, String emailAddress, 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 icqSn, String jabberSn, String msnSn, String skypeSn, String ymSn, String jobTitle, long[] organizationIds) | public User | updateUser(long userId, String oldPassword, String newPassword1, String newPassword2, boolean passwordReset, String screenName, String emailAddress, 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 icqSn, String jabberSn, String msnSn, String skypeSn, String ymSn, String jobTitle, long[] organizationIds) |
addUser | public User addUser(long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] organizationIds, boolean sendEmail) throws PortalException, SystemException(Code) | | |
updateUser | public User updateUser(long userId, String oldPassword, boolean passwordReset, String screenName, String emailAddress, 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 icqSn, String jabberSn, String msnSn, String skypeSn, String ymSn, String jobTitle, long[] organizationIds) throws PortalException, SystemException(Code) | | |
updateUser | public User updateUser(long userId, String oldPassword, String newPassword1, String newPassword2, boolean passwordReset, String screenName, String emailAddress, 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 icqSn, String jabberSn, String msnSn, String skypeSn, String ymSn, String jobTitle, long[] organizationIds) throws PortalException, SystemException(Code) | | |
|
|