public class UserServiceHttp
extends Object
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.
Constructor and Description |
---|
UserServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static 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,
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 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 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,
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 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 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,
long companyId,
String externalReferenceCode) |
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 |
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 |
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 |
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 |
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 |
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) |
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
com.liferay.portal.kernel.exception.PortalException
public static void addOrganizationUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static void addPasswordPolicyUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long passwordPolicyId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void addRoleUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void addTeamUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long teamId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static void addUserGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static void deletePortrait(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteRoleUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.User fetchUserByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static int getCompanyUsersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.User getCurrentUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long[] getGroupUserIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static int getGroupUsersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static int getOrganizationsAndUserGroupsUsersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] organizationIds, long[] userGroupIds) throws com.liferay.portal.kernel.security.auth.PrincipalException
com.liferay.portal.kernel.security.auth.PrincipalException
public static long[] getOrganizationUserIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static int getOrganizationUsersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long[] getRoleUserIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static long getUserIdByEmailAddress(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String emailAddress) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getUserIdByScreenName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String screenName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean hasGroupUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean hasRoleUser(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static boolean sendPasswordByEmailAddress(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String emailAddress) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean sendPasswordByScreenName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String screenName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean sendPasswordByUserId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void setRoleUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void setUserGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsetGroupTeamsUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public static void unsetOrganizationUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long organizationId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsetPasswordPolicyUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long passwordPolicyId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsetRoleUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long roleId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsetTeamUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long teamId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsetUserGroupUsers(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userGroupId, long[] userIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException