public class SetupWizardSampleDataUtil
extends Object
Constructor and Description |
---|
SetupWizardSampleDataUtil() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addOrganizations(String companyName,
com.liferay.portal.kernel.model.User defaultUser,
com.liferay.portal.kernel.model.Organization parentOrganization) |
static void |
addSampleData(long companyId) |
static void |
addSampleData(long companyId,
String companyName,
String adminUserFirstName,
String adminUserLastName,
String adminUserEmailAddress,
boolean resetPassword) |
static com.liferay.portal.kernel.model.User |
updateAdminUser(com.liferay.portal.kernel.model.Company company,
Locale locale,
String languageId,
String emailAddress,
String firstName,
String lastName,
boolean resetPassword) |
static com.liferay.portal.kernel.model.Company |
updateCompany(com.liferay.portal.kernel.model.Company company,
String companyName,
String languageId) |
public static void addSampleData(long companyId) throws Exception
Exception
public static void addSampleData(long companyId, String companyName, String adminUserFirstName, String adminUserLastName, String adminUserEmailAddress, boolean resetPassword) throws Exception
Exception
public static com.liferay.portal.kernel.model.User updateAdminUser(com.liferay.portal.kernel.model.Company company, Locale locale, String languageId, String emailAddress, String firstName, String lastName, boolean resetPassword) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Company updateCompany(com.liferay.portal.kernel.model.Company company, String companyName, String languageId) throws Exception
Exception
protected static void addOrganizations(String companyName, com.liferay.portal.kernel.model.User defaultUser, com.liferay.portal.kernel.model.Organization parentOrganization) throws Exception
Exception