Class CommerceUsersImporter
java.lang.Object
com.liferay.commerce.initializer.util.CommerceUsersImporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.liferay.portal.kernel.model.User
addOrUpdateUser
(String password, String userReminderQueryQuestion, String userReminderQueryAnswer, String screenName, String emailAddress, long facebookId, String openId, boolean portrait, byte[] portraitBytes, Locale locale, 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, long[] userGroupIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected com.liferay.portal.kernel.service.ServiceContext
getServiceContext
(long scopeGroupId, long userId) void
importCommerceUsers
(com.liferay.portal.kernel.json.JSONArray jsonArray, ClassLoader classLoader, String dependenciesPath, long scopeGroupId, long userId) void
importCommerceUsers
(File commerceUsersFile, ClassLoader classLoader, String imageDependenciesPath, long scopeGroupId, long userId)
-
Constructor Details
-
CommerceUsersImporter
public CommerceUsersImporter()
-
-
Method Details
-
importCommerceUsers
public void importCommerceUsers(File commerceUsersFile, ClassLoader classLoader, String imageDependenciesPath, long scopeGroupId, long userId) throws Exception - Throws:
Exception
-
importCommerceUsers
public void importCommerceUsers(com.liferay.portal.kernel.json.JSONArray jsonArray, ClassLoader classLoader, String dependenciesPath, long scopeGroupId, long userId) throws IOException, com.liferay.portal.kernel.exception.PortalException - Throws:
IOException
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateUser
protected com.liferay.portal.kernel.model.User addOrUpdateUser(String password, String userReminderQueryQuestion, String userReminderQueryAnswer, String screenName, String emailAddress, long facebookId, String openId, boolean portrait, byte[] portraitBytes, Locale locale, 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, long[] userGroupIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getServiceContext
protected com.liferay.portal.kernel.service.ServiceContext getServiceContext(long scopeGroupId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-