Package com.liferay.portal.service.http
Class UserServiceHttp
Object
com.liferay.portal.service.http.UserServiceHttp
Provides the HTTP utility for the
UserServiceUtil
service
utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.
The HTTP utility is only generated for remote services.
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long[] userIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
addOrganizationUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, long[] userIds) static com.liferay.portal.kernel.model.User
addOrUpdateUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long creatorUserId, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
addPasswordPolicyUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long passwordPolicyId, long[] userIds) static void
addRoleUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long[] userIds) static void
addTeamUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long teamId, long[] userIds) static com.liferay.portal.kernel.model.User
addUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
addUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
addUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
addUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
addUserGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, long[] userIds) static com.liferay.portal.kernel.model.User
addUserWithWorkflow
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
addUserWithWorkflow
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
addUserWithWorkflow
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
addUserWithWorkflow
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
deletePortrait
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) static void
deleteRoleUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long userId) static void
deleteUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) static com.liferay.portal.kernel.model.User
fetchUserByExternalReferenceCode
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long companyId) static List<com.liferay.portal.kernel.model.User>
getCompanyUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, int start, int end) static int
getCompanyUsersCount
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId) static com.liferay.portal.kernel.model.User
getCurrentUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal) static long[]
getGroupUserIds
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId) static List<com.liferay.portal.kernel.model.User>
getGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId) static List<com.liferay.portal.kernel.model.User>
getGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) static List<com.liferay.portal.kernel.model.User>
getGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) static int
getGroupUsersCount
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status) static List<com.liferay.portal.kernel.model.User>
getGtCompanyUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long gtUserId, long companyId, int size) static List<com.liferay.portal.kernel.model.User>
getGtOrganizationUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long gtUserId, long organizationId, int size) static List<com.liferay.portal.kernel.model.User>
getGtUserGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long gtUserId, long userGroupId, int size) static int
getOrganizationsAndUserGroupsUsersCount
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] organizationIds, long[] userGroupIds) static long[]
getOrganizationUserIds
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId) static List<com.liferay.portal.kernel.model.User>
getOrganizationUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId) static List<com.liferay.portal.kernel.model.User>
getOrganizationUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) static List<com.liferay.portal.kernel.model.User>
getOrganizationUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) static int
getOrganizationUsersCount
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, int status) static long[]
getRoleUserIds
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId) static com.liferay.portal.kernel.model.User
getUserByEmailAddress
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String emailAddress) static com.liferay.portal.kernel.model.User
getUserByExternalReferenceCode
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String externalReferenceCode) static com.liferay.portal.kernel.model.User
getUserByExternalReferenceCode
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long companyId) static com.liferay.portal.kernel.model.User
getUserById
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) static com.liferay.portal.kernel.model.User
getUserByScreenName
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String screenName) static List<com.liferay.portal.kernel.model.User>
getUserGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId) static List<com.liferay.portal.kernel.model.User>
getUserGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, int start, int end) static long
getUserIdByEmailAddress
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String emailAddress) static long
getUserIdByScreenName
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String screenName) static boolean
hasGroupUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId) static boolean
hasRoleUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long userId) static boolean
hasRoleUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String name, long userId, boolean inherited) static boolean
sendPasswordByEmailAddress
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String emailAddress) static boolean
sendPasswordByScreenName
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String screenName) static boolean
sendPasswordByUserId
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) static void
setRoleUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long[] userIds) static void
setUserGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, long[] userIds) static void
unsetGroupTeamsUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long[] userIds) static void
unsetGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long[] userIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
unsetOrganizationUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, long[] userIds) static void
unsetPasswordPolicyUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long passwordPolicyId, long[] userIds) static void
unsetRoleUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long[] userIds) static void
unsetTeamUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long teamId, long[] userIds) static void
unsetUserGroupUsers
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, long[] userIds) static com.liferay.portal.kernel.model.User
updateAgreedToTermsOfUse
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, boolean agreedToTermsOfUse) static com.liferay.portal.kernel.model.User
updateEmailAddress
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String password, String emailAddress1, String emailAddress2, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
updateExternalReferenceCode
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String externalReferenceCode) static com.liferay.portal.kernel.model.User
updateExternalReferenceCode
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.portal.kernel.model.User user, String externalReferenceCode) static com.liferay.portal.kernel.model.User
updateIncompleteUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, boolean updateUserInformation, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
updateIncompleteUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, boolean updateUserInformation, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
updateLanguageId
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String languageId) static com.liferay.portal.kernel.model.User
updateLockoutById
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, boolean lockout) static com.liferay.portal.kernel.model.User
updateOpenId
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String openId) static void
updateOrganizations
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, long[] organizationIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
updatePassword
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String password1, String password2, boolean passwordReset) static com.liferay.portal.kernel.model.User
updatePortrait
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, byte[] bytes) static com.liferay.portal.kernel.model.User
updateReminderQuery
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String question, String answer) static com.liferay.portal.kernel.model.User
updateScreenName
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String screenName) static com.liferay.portal.kernel.model.User
updateStatus
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
updateStatus
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.portal.kernel.model.User user, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
updateUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String oldPassword, String newPassword1, String newPassword2, boolean passwordReset, String reminderQueryQuestion, String reminderQueryAnswer, String screenName, String emailAddress, boolean hasPortrait, byte[] portraitBytes, String languageId, String timeZoneId, String greeting, String comments, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
updateUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String oldPassword, String newPassword1, String newPassword2, boolean passwordReset, String reminderQueryQuestion, String reminderQueryAnswer, String screenName, String emailAddress, long facebookId, String openId, boolean hasPortrait, byte[] portraitBytes, String languageId, String timeZoneId, String greeting, String comments, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
updateUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles, long[] userGroupIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.portal.kernel.model.User
updateUser
(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String oldPassword, String newPassword1, String newPassword2, boolean passwordReset, String reminderQueryQuestion, String reminderQueryAnswer, String screenName, String emailAddress, String languageId, String timeZoneId, String greeting, String comments, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles, long[] userGroupIds, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
UserServiceHttp
public UserServiceHttp()
-
-
Method Details
-
addGroupUsers
public static void addGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long[] userIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrganizationUsers
public static void addOrganizationUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateUser
public static com.liferay.portal.kernel.model.User addOrUpdateUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long creatorUserId, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addPasswordPolicyUsers
public static void addPasswordPolicyUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long passwordPolicyId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addRoleUsers
public static void addRoleUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addTeamUsers
public static void addTeamUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long teamId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUser
public static com.liferay.portal.kernel.model.User addUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUser
public static com.liferay.portal.kernel.model.User addUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUser
public static com.liferay.portal.kernel.model.User addUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUser
public static com.liferay.portal.kernel.model.User addUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUserGroupUsers
public static void addUserGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUserWithWorkflow
public static com.liferay.portal.kernel.model.User addUserWithWorkflow(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUserWithWorkflow
public static com.liferay.portal.kernel.model.User addUserWithWorkflow(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUserWithWorkflow
public static com.liferay.portal.kernel.model.User addUserWithWorkflow(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUserWithWorkflow
public static com.liferay.portal.kernel.model.User addUserWithWorkflow(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePortrait
public static void deletePortrait(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteRoleUser
public static void deleteRoleUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteUser
public static void deleteUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchUserByExternalReferenceCode
public static com.liferay.portal.kernel.model.User fetchUserByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyUsers
public static List<com.liferay.portal.kernel.model.User> getCompanyUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyUsersCount
public static int getCompanyUsersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCurrentUser
public static com.liferay.portal.kernel.model.User getCurrentUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupUserIds
public static long[] getGroupUserIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupUsers
public static List<com.liferay.portal.kernel.model.User> getGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupUsers
public static List<com.liferay.portal.kernel.model.User> getGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupUsers
public static List<com.liferay.portal.kernel.model.User> getGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupUsersCount
public static int getGroupUsersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGtCompanyUsers
public static List<com.liferay.portal.kernel.model.User> getGtCompanyUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long gtUserId, long companyId, int size) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGtOrganizationUsers
public static List<com.liferay.portal.kernel.model.User> getGtOrganizationUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long gtUserId, long organizationId, int size) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGtUserGroupUsers
public static List<com.liferay.portal.kernel.model.User> getGtUserGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long gtUserId, long userGroupId, int size) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationsAndUserGroupsUsersCount
public static int getOrganizationsAndUserGroupsUsersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] organizationIds, long[] userGroupIds) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getOrganizationUserIds
public static long[] getOrganizationUserIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationUsers
public static List<com.liferay.portal.kernel.model.User> getOrganizationUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationUsers
public static List<com.liferay.portal.kernel.model.User> getOrganizationUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationUsers
public static List<com.liferay.portal.kernel.model.User> getOrganizationUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationUsersCount
public static int getOrganizationUsersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRoleUserIds
public static long[] getRoleUserIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserByEmailAddress
public static com.liferay.portal.kernel.model.User getUserByEmailAddress(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String emailAddress) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserByExternalReferenceCode
public static com.liferay.portal.kernel.model.User getUserByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserByExternalReferenceCode
public static com.liferay.portal.kernel.model.User getUserByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserById
public static com.liferay.portal.kernel.model.User getUserById(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserByScreenName
public static com.liferay.portal.kernel.model.User getUserByScreenName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String screenName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserGroupUsers
public static List<com.liferay.portal.kernel.model.User> getUserGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserGroupUsers
public static List<com.liferay.portal.kernel.model.User> getUserGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserIdByEmailAddress
public static long getUserIdByEmailAddress(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String emailAddress) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserIdByScreenName
public static long getUserIdByScreenName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String screenName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasGroupUser
public static boolean hasGroupUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasRoleUser
public static boolean hasRoleUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasRoleUser
public static boolean hasRoleUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String name, long userId, boolean inherited) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
sendPasswordByEmailAddress
public static boolean sendPasswordByEmailAddress(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String emailAddress) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
sendPasswordByScreenName
public static boolean sendPasswordByScreenName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String screenName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
sendPasswordByUserId
public static boolean sendPasswordByUserId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
setRoleUsers
public static void setRoleUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
setUserGroupUsers
public static void setUserGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsetGroupTeamsUsers
public static void unsetGroupTeamsUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsetGroupUsers
public static void unsetGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long[] userIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsetOrganizationUsers
public static void unsetOrganizationUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsetPasswordPolicyUsers
public static void unsetPasswordPolicyUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long passwordPolicyId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsetRoleUsers
public static void unsetRoleUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsetTeamUsers
public static void unsetTeamUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long teamId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsetUserGroupUsers
public static void unsetUserGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAgreedToTermsOfUse
public static com.liferay.portal.kernel.model.User updateAgreedToTermsOfUse(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, boolean agreedToTermsOfUse) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateEmailAddress
public static com.liferay.portal.kernel.model.User updateEmailAddress(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String password, String emailAddress1, String emailAddress2, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public static com.liferay.portal.kernel.model.User updateExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public static com.liferay.portal.kernel.model.User updateExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.portal.kernel.model.User user, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateIncompleteUser
public static com.liferay.portal.kernel.model.User updateIncompleteUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, boolean autoPassword, String password1, String password2, boolean autoScreenName, String screenName, String emailAddress, Locale locale, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, boolean updateUserInformation, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateIncompleteUser
public static com.liferay.portal.kernel.model.User updateIncompleteUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String jobTitle, boolean updateUserInformation, boolean sendEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLanguageId
public static com.liferay.portal.kernel.model.User updateLanguageId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String languageId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLockoutById
public static com.liferay.portal.kernel.model.User updateLockoutById(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, boolean lockout) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateOpenId
public static com.liferay.portal.kernel.model.User updateOpenId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String openId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateOrganizations
public static void updateOrganizations(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, long[] organizationIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePassword
public static com.liferay.portal.kernel.model.User updatePassword(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String password1, String password2, boolean passwordReset) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePortrait
public static com.liferay.portal.kernel.model.User updatePortrait(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, byte[] bytes) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateReminderQuery
public static com.liferay.portal.kernel.model.User updateReminderQuery(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String question, String answer) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateScreenName
public static com.liferay.portal.kernel.model.User updateScreenName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String screenName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public static com.liferay.portal.kernel.model.User updateStatus(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public static com.liferay.portal.kernel.model.User updateStatus(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.portal.kernel.model.User user, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateUser
public static com.liferay.portal.kernel.model.User updateUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String oldPassword, String newPassword1, String newPassword2, boolean passwordReset, String reminderQueryQuestion, String reminderQueryAnswer, String screenName, String emailAddress, boolean hasPortrait, byte[] portraitBytes, String languageId, String timeZoneId, String greeting, String comments, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateUser
public static com.liferay.portal.kernel.model.User updateUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String oldPassword, String newPassword1, String newPassword2, boolean passwordReset, String reminderQueryQuestion, String reminderQueryAnswer, String screenName, String emailAddress, long facebookId, String openId, boolean hasPortrait, byte[] portraitBytes, String languageId, String timeZoneId, String greeting, String comments, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles, long[] userGroupIds, List<com.liferay.portal.kernel.model.Address> addresses, List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses, List<com.liferay.portal.kernel.model.Phone> phones, List<com.liferay.portal.kernel.model.Website> websites, List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateUser
public static com.liferay.portal.kernel.model.User updateUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, 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, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles, long[] userGroupIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateUser
public static com.liferay.portal.kernel.model.User updateUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, String oldPassword, String newPassword1, String newPassword2, boolean passwordReset, String reminderQueryQuestion, String reminderQueryAnswer, String screenName, String emailAddress, String languageId, String timeZoneId, String greeting, String comments, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle, long[] groupIds, long[] organizationIds, long[] roleIds, List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles, long[] userGroupIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-