@ProviderType
public class CommerceUserServiceUtil
extends java.lang.Object
com.liferay.commerce.user.service.impl.CommerceUserServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.CommerceUserService,
com.liferay.commerce.user.service.base.CommerceUserServiceBaseImpl,
com.liferay.commerce.user.service.impl.CommerceUserServiceImpl| Constructor and Description |
|---|
CommerceUserServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceUserService |
getService() |
static com.liferay.portal.kernel.model.User |
getUser(long userId) |
static com.liferay.portal.kernel.model.User |
updateActive(long userId,
boolean active) |
static com.liferay.portal.kernel.model.User |
updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset) |
static com.liferay.portal.kernel.model.User |
updatePasswordReset(long userId,
boolean passwordReset) |
static com.liferay.portal.kernel.model.User |
updateReminderQuery(long userId,
java.lang.String question,
java.lang.String answer) |
static com.liferay.portal.kernel.model.User |
updateUser(long userId,
java.lang.String screenName,
java.lang.String emailAddress,
boolean portrait,
byte[] portraitBytes,
java.lang.String languageId,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
updateUserRoles(long userId,
long groupId,
long[] roleIds) |
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.model.User getUser(long userId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.model.User updateActive(long userId,
boolean active)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.model.User updatePassword(long userId,
java.lang.String password1,
java.lang.String password2,
boolean passwordReset)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.model.User updatePasswordReset(long userId,
boolean passwordReset)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.model.User updateReminderQuery(long userId,
java.lang.String question,
java.lang.String answer)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.model.User updateUser(long userId,
java.lang.String screenName,
java.lang.String emailAddress,
boolean portrait,
byte[] portraitBytes,
java.lang.String languageId,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void updateUserRoles(long userId,
long groupId,
long[] roleIds)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceUserService getService()