/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.service.http;
import aQute.bnd.annotation.ProviderType;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.security.auth.HttpPrincipal;
import com.liferay.portal.kernel.service.UserServiceUtil;
import com.liferay.portal.kernel.service.http.TunnelUtil;
import com.liferay.portal.kernel.util.MethodHandler;
import com.liferay.portal.kernel.util.MethodKey;
/**
* Provides the HTTP utility for the
* {@link 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
* {@link HttpPrincipal} parameter.
*
* <p>
* 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.
* </p>
*
* <p>
* Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to
* configure security.
* </p>
*
* <p>
* The HTTP utility is only generated for remote services.
* </p>
*
* @author Brian Wing Shun Chan
* @see UserServiceSoap
* @see HttpPrincipal
* @see UserServiceUtil
* @generated
*/
@ProviderType
public class UserServiceHttp {
public static void addGroupUsers(HttpPrincipal httpPrincipal, long groupId,
long[] userIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addGroupUsers", _addGroupUsersParameterTypes0);
MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
userIds, serviceContext);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void addOrganizationUsers(HttpPrincipal httpPrincipal,
long organizationId, long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addOrganizationUsers", _addOrganizationUsersParameterTypes1);
MethodHandler methodHandler = new MethodHandler(methodKey,
organizationId, userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void addPasswordPolicyUsers(HttpPrincipal httpPrincipal,
long passwordPolicyId, long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addPasswordPolicyUsers",
_addPasswordPolicyUsersParameterTypes2);
MethodHandler methodHandler = new MethodHandler(methodKey,
passwordPolicyId, userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void addRoleUsers(HttpPrincipal httpPrincipal, long roleId,
long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addRoleUsers", _addRoleUsersParameterTypes3);
MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void addTeamUsers(HttpPrincipal httpPrincipal, long teamId,
long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addTeamUsers", _addTeamUsersParameterTypes4);
MethodHandler methodHandler = new MethodHandler(methodKey, teamId,
userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User addUser(
HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
java.lang.String password1, java.lang.String password2,
boolean autoScreenName, java.lang.String screenName,
java.lang.String emailAddress, long facebookId,
java.lang.String openId, java.util.Locale locale,
java.lang.String firstName, java.lang.String middleName,
java.lang.String lastName, long prefixId, long suffixId, boolean male,
int birthdayMonth, int birthdayDay, int birthdayYear,
java.lang.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 {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addUser", _addUserParameterTypes5);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, autoPassword, password1, password2,
autoScreenName, screenName, emailAddress, facebookId,
openId, locale, firstName, middleName, lastName, prefixId,
suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
sendEmail, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User addUser(
HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
java.lang.String password1, java.lang.String password2,
boolean autoScreenName, java.lang.String screenName,
java.lang.String emailAddress, long facebookId,
java.lang.String openId, java.util.Locale locale,
java.lang.String firstName, java.lang.String middleName,
java.lang.String lastName, long prefixId, long suffixId, boolean male,
int birthdayMonth, int birthdayDay, int birthdayYear,
java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
long[] roleIds, long[] userGroupIds,
java.util.List<com.liferay.portal.kernel.model.Address> addresses,
java.util.List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses,
java.util.List<com.liferay.portal.kernel.model.Phone> phones,
java.util.List<com.liferay.portal.kernel.model.Website> websites,
java.util.List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers,
boolean sendEmail,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addUser", _addUserParameterTypes6);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, autoPassword, password1, password2,
autoScreenName, screenName, emailAddress, facebookId,
openId, locale, firstName, middleName, lastName, prefixId,
suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
addresses, emailAddresses, phones, websites,
announcementsDelivers, sendEmail, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void addUserGroupUsers(HttpPrincipal httpPrincipal,
long userGroupId, long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addUserGroupUsers", _addUserGroupUsersParameterTypes7);
MethodHandler methodHandler = new MethodHandler(methodKey,
userGroupId, userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User addUserWithWorkflow(
HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
java.lang.String password1, java.lang.String password2,
boolean autoScreenName, java.lang.String screenName,
java.lang.String emailAddress, long facebookId,
java.lang.String openId, java.util.Locale locale,
java.lang.String firstName, java.lang.String middleName,
java.lang.String lastName, long prefixId, long suffixId, boolean male,
int birthdayMonth, int birthdayDay, int birthdayYear,
java.lang.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 {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addUserWithWorkflow", _addUserWithWorkflowParameterTypes8);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, autoPassword, password1, password2,
autoScreenName, screenName, emailAddress, facebookId,
openId, locale, firstName, middleName, lastName, prefixId,
suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
sendEmail, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User addUserWithWorkflow(
HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
java.lang.String password1, java.lang.String password2,
boolean autoScreenName, java.lang.String screenName,
java.lang.String emailAddress, long facebookId,
java.lang.String openId, java.util.Locale locale,
java.lang.String firstName, java.lang.String middleName,
java.lang.String lastName, long prefixId, long suffixId, boolean male,
int birthdayMonth, int birthdayDay, int birthdayYear,
java.lang.String jobTitle, long[] groupIds, long[] organizationIds,
long[] roleIds, long[] userGroupIds,
java.util.List<com.liferay.portal.kernel.model.Address> addresses,
java.util.List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses,
java.util.List<com.liferay.portal.kernel.model.Phone> phones,
java.util.List<com.liferay.portal.kernel.model.Website> websites,
java.util.List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers,
boolean sendEmail,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"addUserWithWorkflow", _addUserWithWorkflowParameterTypes9);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, autoPassword, password1, password2,
autoScreenName, screenName, emailAddress, facebookId,
openId, locale, firstName, middleName, lastName, prefixId,
suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
jobTitle, groupIds, organizationIds, roleIds, userGroupIds,
addresses, emailAddresses, phones, websites,
announcementsDelivers, sendEmail, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void deletePortrait(HttpPrincipal httpPrincipal, long userId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"deletePortrait", _deletePortraitParameterTypes10);
MethodHandler methodHandler = new MethodHandler(methodKey, userId);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void deleteRoleUser(HttpPrincipal httpPrincipal, long roleId,
long userId) throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"deleteRoleUser", _deleteRoleUserParameterTypes11);
MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
userId);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void deleteUser(HttpPrincipal httpPrincipal, long userId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"deleteUser", _deleteUserParameterTypes12);
MethodHandler methodHandler = new MethodHandler(methodKey, userId);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static java.util.List<com.liferay.portal.kernel.model.User> getCompanyUsers(
HttpPrincipal httpPrincipal, long companyId, int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getCompanyUsers", _getCompanyUsersParameterTypes13);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, start, end);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (java.util.List<com.liferay.portal.kernel.model.User>)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static int getCompanyUsersCount(HttpPrincipal httpPrincipal,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getCompanyUsersCount",
_getCompanyUsersCountParameterTypes14);
MethodHandler methodHandler = new MethodHandler(methodKey, companyId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return ((Integer)returnObj).intValue();
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User getCurrentUser(
HttpPrincipal httpPrincipal)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getCurrentUser", _getCurrentUserParameterTypes15);
MethodHandler methodHandler = new MethodHandler(methodKey);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static long[] getGroupUserIds(HttpPrincipal httpPrincipal,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getGroupUserIds", _getGroupUserIdsParameterTypes16);
MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (long[])returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static java.util.List<com.liferay.portal.kernel.model.User> getGroupUsers(
HttpPrincipal httpPrincipal, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getGroupUsers", _getGroupUsersParameterTypes17);
MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (java.util.List<com.liferay.portal.kernel.model.User>)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static long[] getOrganizationUserIds(HttpPrincipal httpPrincipal,
long organizationId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getOrganizationUserIds",
_getOrganizationUserIdsParameterTypes18);
MethodHandler methodHandler = new MethodHandler(methodKey,
organizationId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (long[])returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static java.util.List<com.liferay.portal.kernel.model.User> getOrganizationUsers(
HttpPrincipal httpPrincipal, long organizationId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getOrganizationUsers",
_getOrganizationUsersParameterTypes19);
MethodHandler methodHandler = new MethodHandler(methodKey,
organizationId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (java.util.List<com.liferay.portal.kernel.model.User>)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static long[] getRoleUserIds(HttpPrincipal httpPrincipal, long roleId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getRoleUserIds", _getRoleUserIdsParameterTypes20);
MethodHandler methodHandler = new MethodHandler(methodKey, roleId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (long[])returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User getUserByEmailAddress(
HttpPrincipal httpPrincipal, long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getUserByEmailAddress",
_getUserByEmailAddressParameterTypes21);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, emailAddress);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User getUserById(
HttpPrincipal httpPrincipal, long userId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getUserById", _getUserByIdParameterTypes22);
MethodHandler methodHandler = new MethodHandler(methodKey, userId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User getUserByScreenName(
HttpPrincipal httpPrincipal, long companyId, java.lang.String screenName)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getUserByScreenName", _getUserByScreenNameParameterTypes23);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, screenName);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static java.util.List<com.liferay.portal.kernel.model.User> getUserGroupUsers(
HttpPrincipal httpPrincipal, long userGroupId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getUserGroupUsers", _getUserGroupUsersParameterTypes24);
MethodHandler methodHandler = new MethodHandler(methodKey,
userGroupId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (java.util.List<com.liferay.portal.kernel.model.User>)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static long getUserIdByEmailAddress(HttpPrincipal httpPrincipal,
long companyId, java.lang.String emailAddress)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getUserIdByEmailAddress",
_getUserIdByEmailAddressParameterTypes25);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, emailAddress);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return ((Long)returnObj).longValue();
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static long getUserIdByScreenName(HttpPrincipal httpPrincipal,
long companyId, java.lang.String screenName)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"getUserIdByScreenName",
_getUserIdByScreenNameParameterTypes26);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, screenName);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return ((Long)returnObj).longValue();
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static boolean hasGroupUser(HttpPrincipal httpPrincipal,
long groupId, long userId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"hasGroupUser", _hasGroupUserParameterTypes27);
MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
userId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return ((Boolean)returnObj).booleanValue();
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static boolean hasRoleUser(HttpPrincipal httpPrincipal, long roleId,
long userId) throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"hasRoleUser", _hasRoleUserParameterTypes28);
MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
userId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return ((Boolean)returnObj).booleanValue();
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static boolean hasRoleUser(HttpPrincipal httpPrincipal,
long companyId, java.lang.String name, long userId, boolean inherited)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"hasRoleUser", _hasRoleUserParameterTypes29);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, name, userId, inherited);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return ((Boolean)returnObj).booleanValue();
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static boolean sendPasswordByEmailAddress(
HttpPrincipal httpPrincipal, long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"sendPasswordByEmailAddress",
_sendPasswordByEmailAddressParameterTypes30);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, emailAddress);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return ((Boolean)returnObj).booleanValue();
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static boolean sendPasswordByScreenName(
HttpPrincipal httpPrincipal, long companyId, java.lang.String screenName)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"sendPasswordByScreenName",
_sendPasswordByScreenNameParameterTypes31);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, screenName);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return ((Boolean)returnObj).booleanValue();
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static boolean sendPasswordByUserId(HttpPrincipal httpPrincipal,
long userId) throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"sendPasswordByUserId",
_sendPasswordByUserIdParameterTypes32);
MethodHandler methodHandler = new MethodHandler(methodKey, userId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return ((Boolean)returnObj).booleanValue();
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void setRoleUsers(HttpPrincipal httpPrincipal, long roleId,
long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"setRoleUsers", _setRoleUsersParameterTypes33);
MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void setUserGroupUsers(HttpPrincipal httpPrincipal,
long userGroupId, long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"setUserGroupUsers", _setUserGroupUsersParameterTypes34);
MethodHandler methodHandler = new MethodHandler(methodKey,
userGroupId, userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void unsetGroupTeamsUsers(HttpPrincipal httpPrincipal,
long groupId, long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"unsetGroupTeamsUsers",
_unsetGroupTeamsUsersParameterTypes35);
MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void unsetGroupUsers(HttpPrincipal httpPrincipal,
long groupId, long[] userIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"unsetGroupUsers", _unsetGroupUsersParameterTypes36);
MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
userIds, serviceContext);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void unsetOrganizationUsers(HttpPrincipal httpPrincipal,
long organizationId, long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"unsetOrganizationUsers",
_unsetOrganizationUsersParameterTypes37);
MethodHandler methodHandler = new MethodHandler(methodKey,
organizationId, userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void unsetPasswordPolicyUsers(HttpPrincipal httpPrincipal,
long passwordPolicyId, long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"unsetPasswordPolicyUsers",
_unsetPasswordPolicyUsersParameterTypes38);
MethodHandler methodHandler = new MethodHandler(methodKey,
passwordPolicyId, userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void unsetRoleUsers(HttpPrincipal httpPrincipal, long roleId,
long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"unsetRoleUsers", _unsetRoleUsersParameterTypes39);
MethodHandler methodHandler = new MethodHandler(methodKey, roleId,
userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void unsetTeamUsers(HttpPrincipal httpPrincipal, long teamId,
long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"unsetTeamUsers", _unsetTeamUsersParameterTypes40);
MethodHandler methodHandler = new MethodHandler(methodKey, teamId,
userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void unsetUserGroupUsers(HttpPrincipal httpPrincipal,
long userGroupId, long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"unsetUserGroupUsers", _unsetUserGroupUsersParameterTypes41);
MethodHandler methodHandler = new MethodHandler(methodKey,
userGroupId, userIds);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateAgreedToTermsOfUse(
HttpPrincipal httpPrincipal, long userId, boolean agreedToTermsOfUse)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateAgreedToTermsOfUse",
_updateAgreedToTermsOfUseParameterTypes42);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
agreedToTermsOfUse);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateEmailAddress(
HttpPrincipal httpPrincipal, long userId, java.lang.String password,
java.lang.String emailAddress1, java.lang.String emailAddress2,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateEmailAddress", _updateEmailAddressParameterTypes43);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
password, emailAddress1, emailAddress2, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateIncompleteUser(
HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
java.lang.String password1, java.lang.String password2,
boolean autoScreenName, java.lang.String screenName,
java.lang.String emailAddress, long facebookId,
java.lang.String openId, java.util.Locale locale,
java.lang.String firstName, java.lang.String middleName,
java.lang.String lastName, long prefixId, long suffixId, boolean male,
int birthdayMonth, int birthdayDay, int birthdayYear,
java.lang.String jobTitle, boolean updateUserInformation,
boolean sendEmail,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateIncompleteUser",
_updateIncompleteUserParameterTypes44);
MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, autoPassword, password1, password2,
autoScreenName, screenName, emailAddress, facebookId,
openId, locale, firstName, middleName, lastName, prefixId,
suffixId, male, birthdayMonth, birthdayDay, birthdayYear,
jobTitle, updateUserInformation, sendEmail, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateLockoutById(
HttpPrincipal httpPrincipal, long userId, boolean lockout)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateLockoutById", _updateLockoutByIdParameterTypes45);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
lockout);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateOpenId(
HttpPrincipal httpPrincipal, long userId, java.lang.String openId)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateOpenId", _updateOpenIdParameterTypes46);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
openId);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static void updateOrganizations(HttpPrincipal httpPrincipal,
long userId, long[] organizationIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateOrganizations", _updateOrganizationsParameterTypes47);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
organizationIds, serviceContext);
try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updatePassword(
HttpPrincipal httpPrincipal, long userId, java.lang.String password1,
java.lang.String password2, boolean passwordReset)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updatePassword", _updatePasswordParameterTypes48);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
password1, password2, passwordReset);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updatePortrait(
HttpPrincipal httpPrincipal, long userId, byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updatePortrait", _updatePortraitParameterTypes49);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
bytes);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateReminderQuery(
HttpPrincipal httpPrincipal, long userId, java.lang.String question,
java.lang.String answer)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateReminderQuery", _updateReminderQueryParameterTypes50);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
question, answer);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateScreenName(
HttpPrincipal httpPrincipal, long userId, java.lang.String screenName)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateScreenName", _updateScreenNameParameterTypes51);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
screenName);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateStatus(
HttpPrincipal httpPrincipal, long userId, int status)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateStatus", _updateStatusParameterTypes52);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
status);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateStatus(
HttpPrincipal httpPrincipal, long userId, int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateStatus", _updateStatusParameterTypes53);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
status, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateUser(
HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
java.lang.String newPassword1, java.lang.String newPassword2,
boolean passwordReset, java.lang.String reminderQueryQuestion,
java.lang.String reminderQueryAnswer, java.lang.String screenName,
java.lang.String emailAddress, long facebookId,
java.lang.String openId, boolean portrait, byte[] portraitBytes,
java.lang.String languageId, java.lang.String timeZoneId,
java.lang.String greeting, java.lang.String comments,
java.lang.String firstName, java.lang.String middleName,
java.lang.String lastName, long prefixId, long suffixId, boolean male,
int birthdayMonth, int birthdayDay, int birthdayYear,
java.lang.String smsSn, java.lang.String facebookSn,
java.lang.String jabberSn, java.lang.String skypeSn,
java.lang.String twitterSn, java.lang.String jobTitle, long[] groupIds,
long[] organizationIds, long[] roleIds,
java.util.List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles,
long[] userGroupIds,
java.util.List<com.liferay.portal.kernel.model.Address> addresses,
java.util.List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses,
java.util.List<com.liferay.portal.kernel.model.Phone> phones,
java.util.List<com.liferay.portal.kernel.model.Website> websites,
java.util.List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateUser", _updateUserParameterTypes54);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
oldPassword, newPassword1, newPassword2, passwordReset,
reminderQueryQuestion, reminderQueryAnswer, screenName,
emailAddress, facebookId, openId, portrait, portraitBytes,
languageId, timeZoneId, greeting, comments, firstName,
middleName, lastName, prefixId, suffixId, male,
birthdayMonth, birthdayDay, birthdayYear, smsSn,
facebookSn, jabberSn, skypeSn, twitterSn, jobTitle,
groupIds, organizationIds, roleIds, userGroupRoles,
userGroupIds, addresses, emailAddresses, phones, websites,
announcementsDelivers, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateUser(
HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
java.lang.String newPassword1, java.lang.String newPassword2,
boolean passwordReset, java.lang.String reminderQueryQuestion,
java.lang.String reminderQueryAnswer, java.lang.String screenName,
java.lang.String emailAddress, long facebookId,
java.lang.String openId, java.lang.String languageId,
java.lang.String timeZoneId, java.lang.String greeting,
java.lang.String comments, java.lang.String firstName,
java.lang.String middleName, java.lang.String lastName, long prefixId,
long suffixId, boolean male, int birthdayMonth, int birthdayDay,
int birthdayYear, java.lang.String smsSn, java.lang.String facebookSn,
java.lang.String jabberSn, java.lang.String skypeSn,
java.lang.String twitterSn, java.lang.String jobTitle, long[] groupIds,
long[] organizationIds, long[] roleIds,
java.util.List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles,
long[] userGroupIds,
java.util.List<com.liferay.portal.kernel.model.Address> addresses,
java.util.List<com.liferay.portal.kernel.model.EmailAddress> emailAddresses,
java.util.List<com.liferay.portal.kernel.model.Phone> phones,
java.util.List<com.liferay.portal.kernel.model.Website> websites,
java.util.List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> announcementsDelivers,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateUser", _updateUserParameterTypes55);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
oldPassword, newPassword1, newPassword2, passwordReset,
reminderQueryQuestion, reminderQueryAnswer, screenName,
emailAddress, facebookId, openId, languageId, timeZoneId,
greeting, comments, firstName, middleName, lastName,
prefixId, suffixId, male, birthdayMonth, birthdayDay,
birthdayYear, smsSn, facebookSn, jabberSn, skypeSn,
twitterSn, jobTitle, groupIds, organizationIds, roleIds,
userGroupRoles, userGroupIds, addresses, emailAddresses,
phones, websites, announcementsDelivers, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
public static com.liferay.portal.kernel.model.User updateUser(
HttpPrincipal httpPrincipal, long userId, java.lang.String oldPassword,
java.lang.String newPassword1, java.lang.String newPassword2,
boolean passwordReset, java.lang.String reminderQueryQuestion,
java.lang.String reminderQueryAnswer, java.lang.String screenName,
java.lang.String emailAddress, long facebookId,
java.lang.String openId, java.lang.String languageId,
java.lang.String timeZoneId, java.lang.String greeting,
java.lang.String comments, java.lang.String firstName,
java.lang.String middleName, java.lang.String lastName, long prefixId,
long suffixId, boolean male, int birthdayMonth, int birthdayDay,
int birthdayYear, java.lang.String smsSn, java.lang.String facebookSn,
java.lang.String jabberSn, java.lang.String skypeSn,
java.lang.String twitterSn, java.lang.String jobTitle, long[] groupIds,
long[] organizationIds, long[] roleIds,
java.util.List<com.liferay.portal.kernel.model.UserGroupRole> userGroupRoles,
long[] userGroupIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(UserServiceUtil.class,
"updateUser", _updateUserParameterTypes56);
MethodHandler methodHandler = new MethodHandler(methodKey, userId,
oldPassword, newPassword1, newPassword2, passwordReset,
reminderQueryQuestion, reminderQueryAnswer, screenName,
emailAddress, facebookId, openId, languageId, timeZoneId,
greeting, comments, firstName, middleName, lastName,
prefixId, suffixId, male, birthdayMonth, birthdayDay,
birthdayYear, smsSn, facebookSn, jabberSn, skypeSn,
twitterSn, jobTitle, groupIds, organizationIds, roleIds,
userGroupRoles, userGroupIds, serviceContext);
Object returnObj = null;
try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}
throw new com.liferay.portal.kernel.exception.SystemException(e);
}
return (com.liferay.portal.kernel.model.User)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);
throw se;
}
}
private static Log _log = LogFactoryUtil.getLog(UserServiceHttp.class);
private static final Class<?>[] _addGroupUsersParameterTypes0 = new Class[] {
long.class, long[].class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _addOrganizationUsersParameterTypes1 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _addPasswordPolicyUsersParameterTypes2 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _addRoleUsersParameterTypes3 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _addTeamUsersParameterTypes4 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _addUserParameterTypes5 = new Class[] {
long.class, boolean.class, java.lang.String.class,
java.lang.String.class, boolean.class, java.lang.String.class,
java.lang.String.class, long.class, java.lang.String.class,
java.util.Locale.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class, long.class,
long.class, boolean.class, int.class, int.class, int.class,
java.lang.String.class, long[].class, long[].class, long[].class,
long[].class, boolean.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _addUserParameterTypes6 = new Class[] {
long.class, boolean.class, java.lang.String.class,
java.lang.String.class, boolean.class, java.lang.String.class,
java.lang.String.class, long.class, java.lang.String.class,
java.util.Locale.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class, long.class,
long.class, boolean.class, int.class, int.class, int.class,
java.lang.String.class, long[].class, long[].class, long[].class,
long[].class, java.util.List.class, java.util.List.class,
java.util.List.class, java.util.List.class, java.util.List.class,
boolean.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _addUserGroupUsersParameterTypes7 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _addUserWithWorkflowParameterTypes8 = new Class[] {
long.class, boolean.class, java.lang.String.class,
java.lang.String.class, boolean.class, java.lang.String.class,
java.lang.String.class, long.class, java.lang.String.class,
java.util.Locale.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class, long.class,
long.class, boolean.class, int.class, int.class, int.class,
java.lang.String.class, long[].class, long[].class, long[].class,
long[].class, boolean.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _addUserWithWorkflowParameterTypes9 = new Class[] {
long.class, boolean.class, java.lang.String.class,
java.lang.String.class, boolean.class, java.lang.String.class,
java.lang.String.class, long.class, java.lang.String.class,
java.util.Locale.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class, long.class,
long.class, boolean.class, int.class, int.class, int.class,
java.lang.String.class, long[].class, long[].class, long[].class,
long[].class, java.util.List.class, java.util.List.class,
java.util.List.class, java.util.List.class, java.util.List.class,
boolean.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _deletePortraitParameterTypes10 = new Class[] {
long.class
};
private static final Class<?>[] _deleteRoleUserParameterTypes11 = new Class[] {
long.class, long.class
};
private static final Class<?>[] _deleteUserParameterTypes12 = new Class[] {
long.class
};
private static final Class<?>[] _getCompanyUsersParameterTypes13 = new Class[] {
long.class, int.class, int.class
};
private static final Class<?>[] _getCompanyUsersCountParameterTypes14 = new Class[] {
long.class
};
private static final Class<?>[] _getCurrentUserParameterTypes15 = new Class[] {
};
private static final Class<?>[] _getGroupUserIdsParameterTypes16 = new Class[] {
long.class
};
private static final Class<?>[] _getGroupUsersParameterTypes17 = new Class[] {
long.class
};
private static final Class<?>[] _getOrganizationUserIdsParameterTypes18 = new Class[] {
long.class
};
private static final Class<?>[] _getOrganizationUsersParameterTypes19 = new Class[] {
long.class
};
private static final Class<?>[] _getRoleUserIdsParameterTypes20 = new Class[] {
long.class
};
private static final Class<?>[] _getUserByEmailAddressParameterTypes21 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _getUserByIdParameterTypes22 = new Class[] {
long.class
};
private static final Class<?>[] _getUserByScreenNameParameterTypes23 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _getUserGroupUsersParameterTypes24 = new Class[] {
long.class
};
private static final Class<?>[] _getUserIdByEmailAddressParameterTypes25 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _getUserIdByScreenNameParameterTypes26 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _hasGroupUserParameterTypes27 = new Class[] {
long.class, long.class
};
private static final Class<?>[] _hasRoleUserParameterTypes28 = new Class[] {
long.class, long.class
};
private static final Class<?>[] _hasRoleUserParameterTypes29 = new Class[] {
long.class, java.lang.String.class, long.class, boolean.class
};
private static final Class<?>[] _sendPasswordByEmailAddressParameterTypes30 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _sendPasswordByScreenNameParameterTypes31 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _sendPasswordByUserIdParameterTypes32 = new Class[] {
long.class
};
private static final Class<?>[] _setRoleUsersParameterTypes33 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _setUserGroupUsersParameterTypes34 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _unsetGroupTeamsUsersParameterTypes35 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _unsetGroupUsersParameterTypes36 = new Class[] {
long.class, long[].class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _unsetOrganizationUsersParameterTypes37 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _unsetPasswordPolicyUsersParameterTypes38 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _unsetRoleUsersParameterTypes39 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _unsetTeamUsersParameterTypes40 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _unsetUserGroupUsersParameterTypes41 = new Class[] {
long.class, long[].class
};
private static final Class<?>[] _updateAgreedToTermsOfUseParameterTypes42 = new Class[] {
long.class, boolean.class
};
private static final Class<?>[] _updateEmailAddressParameterTypes43 = new Class[] {
long.class, java.lang.String.class, java.lang.String.class,
java.lang.String.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _updateIncompleteUserParameterTypes44 = new Class[] {
long.class, boolean.class, java.lang.String.class,
java.lang.String.class, boolean.class, java.lang.String.class,
java.lang.String.class, long.class, java.lang.String.class,
java.util.Locale.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class, long.class,
long.class, boolean.class, int.class, int.class, int.class,
java.lang.String.class, boolean.class, boolean.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _updateLockoutByIdParameterTypes45 = new Class[] {
long.class, boolean.class
};
private static final Class<?>[] _updateOpenIdParameterTypes46 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _updateOrganizationsParameterTypes47 = new Class[] {
long.class, long[].class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _updatePasswordParameterTypes48 = new Class[] {
long.class, java.lang.String.class, java.lang.String.class,
boolean.class
};
private static final Class<?>[] _updatePortraitParameterTypes49 = new Class[] {
long.class, byte[].class
};
private static final Class<?>[] _updateReminderQueryParameterTypes50 = new Class[] {
long.class, java.lang.String.class, java.lang.String.class
};
private static final Class<?>[] _updateScreenNameParameterTypes51 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _updateStatusParameterTypes52 = new Class[] {
long.class, int.class
};
private static final Class<?>[] _updateStatusParameterTypes53 = new Class[] {
long.class, int.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _updateUserParameterTypes54 = new Class[] {
long.class, java.lang.String.class, java.lang.String.class,
java.lang.String.class, boolean.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, long.class, java.lang.String.class,
boolean.class, byte[].class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class, long.class,
long.class, boolean.class, int.class, int.class, int.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class, long[].class,
long[].class, long[].class, java.util.List.class, long[].class,
java.util.List.class, java.util.List.class, java.util.List.class,
java.util.List.class, java.util.List.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _updateUserParameterTypes55 = new Class[] {
long.class, java.lang.String.class, java.lang.String.class,
java.lang.String.class, boolean.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, long.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, long.class, long.class, boolean.class,
int.class, int.class, int.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, long[].class, long[].class, long[].class,
java.util.List.class, long[].class, java.util.List.class,
java.util.List.class, java.util.List.class, java.util.List.class,
java.util.List.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _updateUserParameterTypes56 = new Class[] {
long.class, java.lang.String.class, java.lang.String.class,
java.lang.String.class, boolean.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, long.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, long.class, long.class, boolean.class,
int.class, int.class, int.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, long[].class, long[].class, long[].class,
java.util.List.class, long[].class,
com.liferay.portal.kernel.service.ServiceContext.class
};
}