public final class SetupArticles extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addDDMStructure(eu.lundegaard.liferay.db.setup.domain.Structure structure,
long groupId,
long classNameId,
long companyId) |
static void |
addDDMTemplate(eu.lundegaard.liferay.db.setup.domain.Adt template,
long groupId) |
static void |
addDDMTemplate(eu.lundegaard.liferay.db.setup.domain.ArticleTemplate template,
long groupId) |
static void |
addJournalArticle(eu.lundegaard.liferay.db.setup.domain.Article article,
long groupId,
long companyId) |
static void |
processRelatedAssets(eu.lundegaard.liferay.db.setup.domain.Article article,
com.liferay.journal.model.JournalArticle ja,
long runAsUserId,
long groupId,
long companyId) |
static void |
setupSiteArticles(eu.lundegaard.liferay.db.setup.domain.Site site,
long groupId,
long companyId) |
static void |
setupSiteStructuresAndTemplates(eu.lundegaard.liferay.db.setup.domain.Site site,
long groupId,
long companyId) |
public static void setupSiteStructuresAndTemplates(eu.lundegaard.liferay.db.setup.domain.Site site,
long groupId,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void setupSiteArticles(eu.lundegaard.liferay.db.setup.domain.Site site,
long groupId,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic static void addDDMStructure(eu.lundegaard.liferay.db.setup.domain.Structure structure,
long groupId,
long classNameId,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException,
com.liferay.portal.kernel.exception.PortalException,
IOException,
URISyntaxException
com.liferay.portal.kernel.exception.SystemExceptioncom.liferay.portal.kernel.exception.PortalExceptionIOExceptionURISyntaxExceptionpublic static void addDDMTemplate(eu.lundegaard.liferay.db.setup.domain.ArticleTemplate template,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException,
com.liferay.portal.kernel.exception.PortalException,
IOException,
URISyntaxException
com.liferay.portal.kernel.exception.SystemExceptioncom.liferay.portal.kernel.exception.PortalExceptionIOExceptionURISyntaxExceptionpublic static void addDDMTemplate(eu.lundegaard.liferay.db.setup.domain.Adt template,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException,
com.liferay.portal.kernel.exception.PortalException,
IOException,
URISyntaxException
com.liferay.portal.kernel.exception.SystemExceptioncom.liferay.portal.kernel.exception.PortalExceptionIOExceptionURISyntaxExceptionpublic static void addJournalArticle(eu.lundegaard.liferay.db.setup.domain.Article article,
long groupId,
long companyId)
public static void processRelatedAssets(eu.lundegaard.liferay.db.setup.domain.Article article,
com.liferay.journal.model.JournalArticle ja,
long runAsUserId,
long groupId,
long companyId)
Copyright © 2016–2020 Lundegaard a.s.. All rights reserved.