public final class SetupPages extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
setLayoutTemplate(com.liferay.portal.kernel.model.Layout layout,
eu.lundegaard.liferay.db.setup.domain.Page page,
long userid) |
static void |
setupPageTemplates(eu.lundegaard.liferay.db.setup.domain.PageTemplates pageTemplates,
long groupId,
long company,
long userid)
Set the page templates up.
|
static void |
setupSitePages(eu.lundegaard.liferay.db.setup.domain.Site site,
long groupId,
long company,
long userid) |
public static void setupSitePages(eu.lundegaard.liferay.db.setup.domain.Site site,
long groupId,
long company,
long userid)
throws com.liferay.portal.kernel.exception.SystemException,
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemExceptioncom.liferay.portal.kernel.exception.PortalExceptionpublic static void setupPageTemplates(eu.lundegaard.liferay.db.setup.domain.PageTemplates pageTemplates,
long groupId,
long company,
long userid)
pageTemplates - The page template definitions that are imported.groupId - The group id of the site where to import thecompany - The id of the company to which the templates are imported.userid - The user id of the importing user.public static void setLayoutTemplate(com.liferay.portal.kernel.model.Layout layout,
eu.lundegaard.liferay.db.setup.domain.Page page,
long userid)
Copyright © 2016–2022 Lundegaard a.s.. All rights reserved.