| com.liferay.portal.service.UserService
All known Subclasses: com.liferay.portal.service.base.UserServiceBaseImpl,
UserService | public interface UserService (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.UserServiceImpl .
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
author: Brian Wing Shun Chan See Also: com.liferay.portal.service.UserServiceFactory See Also: com.liferay.portal.service.UserServiceUtil |
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 com.liferay.portal.model.User | addUser(long companyId, boolean autoPassword, java.lang.String password1, java.lang.String password2, boolean autoScreenName, java.lang.String screenName, java.lang.String emailAddress, java.util.Locale locale, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, java.lang.String jobTitle, long[] organizationIds, boolean sendEmail) | public void | addUserGroupUsers(long userGroupId, long[] userIds) | public void | deleteRoleUser(long roleId, long userId) | public void | deleteUser(long userId) | public long | getDefaultUserId(long companyId) | public java.util.List | getGroupUsers(long groupId) | public java.util.List | getRoleUsers(long roleId) | public com.liferay.portal.model.User | getUserByEmailAddress(long companyId, java.lang.String emailAddress) | public com.liferay.portal.model.User | getUserById(long userId) | public com.liferay.portal.model.User | getUserByScreenName(long companyId, java.lang.String screenName) | public long | getUserIdByEmailAddress(long companyId, java.lang.String emailAddress) | public long | getUserIdByScreenName(long companyId, java.lang.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 com.liferay.portal.model.User | updateActive(long userId, boolean active) | public com.liferay.portal.model.User | updateAgreedToTermsOfUse(long userId, boolean agreedToTermsOfUse) | public com.liferay.portal.model.User | updateLockout(long userId, boolean lockout) | public void | updateOrganizations(long userId, long[] organizationIds) | public com.liferay.portal.model.User | updatePassword(long userId, java.lang.String password1, java.lang.String password2, boolean passwordReset) | public void | updatePortrait(long userId, byte[] bytes) | public com.liferay.portal.model.User | updateUser(long userId, java.lang.String oldPassword, boolean passwordReset, java.lang.String screenName, java.lang.String emailAddress, java.lang.String languageId, java.lang.String timeZoneId, java.lang.String greeting, java.lang.String comments, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, java.lang.String smsSn, java.lang.String aimSn, java.lang.String icqSn, java.lang.String jabberSn, java.lang.String msnSn, java.lang.String skypeSn, java.lang.String ymSn, java.lang.String jobTitle, long[] organizationIds) | public com.liferay.portal.model.User | updateUser(long userId, java.lang.String oldPassword, java.lang.String newPassword1, java.lang.String newPassword2, boolean passwordReset, java.lang.String screenName, java.lang.String emailAddress, java.lang.String languageId, java.lang.String timeZoneId, java.lang.String greeting, java.lang.String comments, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, java.lang.String smsSn, java.lang.String aimSn, java.lang.String icqSn, java.lang.String jabberSn, java.lang.String msnSn, java.lang.String skypeSn, java.lang.String ymSn, java.lang.String jobTitle, long[] organizationIds) |
addUser | public com.liferay.portal.model.User addUser(long companyId, boolean autoPassword, java.lang.String password1, java.lang.String password2, boolean autoScreenName, java.lang.String screenName, java.lang.String emailAddress, java.util.Locale locale, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, java.lang.String jobTitle, long[] organizationIds, boolean sendEmail) throws java.rmi.RemoteException, com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
updateUser | public com.liferay.portal.model.User updateUser(long userId, java.lang.String oldPassword, boolean passwordReset, java.lang.String screenName, java.lang.String emailAddress, java.lang.String languageId, java.lang.String timeZoneId, java.lang.String greeting, java.lang.String comments, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, java.lang.String smsSn, java.lang.String aimSn, java.lang.String icqSn, java.lang.String jabberSn, java.lang.String msnSn, java.lang.String skypeSn, java.lang.String ymSn, java.lang.String jobTitle, long[] organizationIds) throws java.rmi.RemoteException, com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
updateUser | public com.liferay.portal.model.User updateUser(long userId, java.lang.String oldPassword, java.lang.String newPassword1, java.lang.String newPassword2, boolean passwordReset, java.lang.String screenName, java.lang.String emailAddress, java.lang.String languageId, java.lang.String timeZoneId, java.lang.String greeting, java.lang.String comments, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, int prefixId, int suffixId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, java.lang.String smsSn, java.lang.String aimSn, java.lang.String icqSn, java.lang.String jabberSn, java.lang.String msnSn, java.lang.String skypeSn, java.lang.String ymSn, java.lang.String jobTitle, long[] organizationIds) throws java.rmi.RemoteException, com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
|
|