public class JournalTestUtil
extends java.lang.Object
Constructor and Description |
---|
JournalTestUtil() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId) |
static com.liferay.journal.model.JournalArticle |
addArticle(long userId,
long groupId,
long folderId) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
long classNameId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
java.util.Locale defaultLocale,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
long classNameId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
java.util.Locale defaultLocale,
java.util.Date expirationDate,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
long classNameId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
java.lang.String layoutUuid,
java.util.Locale defaultLocale,
java.util.Date expirationDate,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
long classNameId,
java.lang.String articleId,
boolean autoArticleId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
java.lang.String layoutUuid,
java.util.Locale defaultLocale,
java.util.Date expirationDate,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
long classNameId,
java.lang.String articleId,
boolean autoArticleId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
java.lang.String layoutUuid,
java.util.Locale defaultLocale,
java.util.Date displayDate,
java.util.Date expirationDate,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
long classNameId,
java.lang.String title,
java.lang.String description,
java.lang.String content,
java.util.Locale defaultLocale,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
long classNameId,
java.lang.String title,
java.lang.String description,
java.lang.String content,
java.util.Locale defaultLocale,
java.util.Date expirationDate,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
java.util.Map<java.util.Locale,java.lang.String> friendlyUrlMap) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String articleId,
boolean autoArticleId) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String articleId,
boolean autoArticleId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String title,
java.lang.String content) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String title,
java.lang.String content,
java.util.Locale defaultLocale,
boolean workflowEnabled,
boolean approved) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String title,
java.lang.String description,
java.lang.String content,
java.util.Locale defaultLocale,
boolean workflowEnabled,
boolean approved) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String articleId,
java.lang.String title,
java.lang.String description,
java.lang.String content,
java.lang.Double priority) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
java.lang.String title,
java.lang.String content) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
java.lang.String title,
java.lang.String content,
java.util.Date expirationDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
java.lang.String title,
java.lang.String content,
java.util.Locale defaultLocale) |
static com.liferay.journal.model.JournalArticle |
addArticle(long groupId,
java.lang.String title,
java.lang.String content,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(java.lang.String externalReferenceCode,
long groupId,
long folderId,
long classNameId,
java.lang.String articleId,
boolean autoArticleId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> friendlyUrlMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
java.lang.String layoutUuid,
java.util.Locale defaultLocale,
java.util.Date displayDate,
java.util.Date expirationDate,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(java.lang.String externalReferenceCode,
long groupId,
long folderId,
long classNameId,
java.lang.String articleId,
boolean autoArticleId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
java.lang.String layoutUuid,
java.util.Locale defaultLocale,
java.util.Date displayDate,
java.util.Date expirationDate,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticle(java.lang.String externalReferenceCode,
long groupId,
long folderId,
java.lang.String articleId,
boolean autoArticleId) |
static com.liferay.journal.model.JournalArticle |
addArticleWithWorkflow(long groupId,
boolean approved) |
static com.liferay.journal.model.JournalArticle |
addArticleWithWorkflow(long groupId,
long folderId,
boolean approved) |
static com.liferay.journal.model.JournalArticle |
addArticleWithWorkflow(long groupId,
long folderId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
boolean workflowEnabled,
boolean approved) |
static com.liferay.journal.model.JournalArticle |
addArticleWithWorkflow(long groupId,
long folderId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticleWithWorkflow(long groupId,
long folderId,
java.lang.String title,
java.lang.String content,
boolean approved) |
static com.liferay.journal.model.JournalArticle |
addArticleWithWorkflow(long groupId,
long folderId,
java.lang.String title,
java.lang.String content,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticleWithWorkflow(long groupId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.util.Locale,java.lang.String> contentMap,
boolean approved) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(long groupId,
long folderId,
long classNameId,
long classPK,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.util.Locale defaultLocale) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(long groupId,
long folderId,
long classNameId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(long groupId,
long folderId,
long classNameId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.util.Locale defaultLocale) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(long folderId,
long classNameId,
long classPK,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.util.Locale defaultLocale,
java.util.Map<java.lang.String,byte[]> images,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(long folderId,
long classNameId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.util.Locale defaultLocale,
java.util.Map<java.lang.String,byte[]> images,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(long folderId,
long classNameId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.util.Locale defaultLocale,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(long groupId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(long parentFolderId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.util.Map<java.lang.String,byte[]> images,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(long parentFolderId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.util.Locale defaultLocale) |
static com.liferay.journal.model.JournalArticle |
addArticleWithXMLContent(java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalFeed |
addFeed(long groupId,
long plid,
java.lang.String name,
long ddmStructureId,
java.lang.String ddmTemplateKey,
java.lang.String rendererTemplateKey) |
static com.liferay.journal.model.JournalFolder |
addFolder(long userId,
long groupId,
long parentFolderId,
java.lang.String name)
Deprecated.
As of Athanasius (7.3.x), replaced by
JournalFolderFixture.addFolder(long, long, long, String) |
static com.liferay.journal.model.JournalFolder |
addFolder(long groupId,
long parentFolderId,
java.lang.String name)
Deprecated.
As of Athanasius (7.3.x), replaced by
JournalFolderFixture.addFolder(long, long, String) |
static com.liferay.journal.model.JournalFolder |
addFolder(long groupId,
java.lang.String name)
Deprecated.
As of Athanasius (7.3.x), replaced by
JournalFolderFixture.addFolder(long, String) |
static com.liferay.journal.model.JournalFolder |
addFolder(long parentFolderId,
java.lang.String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x), replaced by
JournalFolderFixture.addFolder(long, String, ServiceContext) |
static com.liferay.journal.model.JournalFolder |
addFolder(long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x), replaced by
JournalFolderFixture.addFolder(long, String, String,
ServiceContext) |
static com.liferay.journal.model.JournalArticle |
addJournalArticle(com.liferay.data.engine.rest.resource.v2_0.DataDefinitionResource.Factory dataDefinitionResourceFactory,
com.liferay.dynamic.data.mapping.model.DDMFormField ddmFormField,
com.liferay.dynamic.data.mapping.util.DDMFormValuesToFieldsConverter ddmFormValuesToFieldsConverter,
java.lang.String fieldValue,
long groupId,
com.liferay.journal.util.JournalConverter journalConverter) |
static void |
expireArticle(long groupId,
com.liferay.journal.model.JournalArticle article) |
static com.liferay.journal.model.JournalArticle |
expireArticle(long groupId,
com.liferay.journal.model.JournalArticle article,
double version) |
static java.lang.String |
getSampleTemplateFTL() |
static java.lang.String |
getSampleTemplateVM() |
static com.liferay.portal.kernel.search.Hits |
getSearchArticles(long companyId,
long groupId) |
static int |
getSearchArticlesCount(long companyId,
long groupId) |
static com.liferay.journal.model.JournalArticle |
updateArticle(com.liferay.journal.model.JournalArticle article) |
static com.liferay.journal.model.JournalArticle |
updateArticle(com.liferay.journal.model.JournalArticle article,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.lang.String content,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
updateArticle(com.liferay.journal.model.JournalArticle article,
java.lang.String title) |
static com.liferay.journal.model.JournalArticle |
updateArticle(com.liferay.journal.model.JournalArticle article,
java.lang.String title,
java.lang.String content) |
static com.liferay.journal.model.JournalArticle |
updateArticle(com.liferay.journal.model.JournalArticle article,
java.lang.String title,
java.lang.String content,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
updateArticle(long userId,
com.liferay.journal.model.JournalArticle article,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.lang.String content,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
updateArticle(long userId,
com.liferay.journal.model.JournalArticle article,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.lang.String content,
java.util.Date displayDate,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.journal.model.JournalArticle |
updateArticleWithWorkflow(com.liferay.journal.model.JournalArticle article,
boolean approved) |
static com.liferay.journal.model.JournalArticle |
updateArticleWithWorkflow(long userId,
com.liferay.journal.model.JournalArticle article,
boolean approved) |
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long userId, long groupId, long folderId) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, long classNameId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, java.util.Locale defaultLocale, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, long classNameId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, java.util.Locale defaultLocale, java.util.Date expirationDate, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, long classNameId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, java.lang.String layoutUuid, java.util.Locale defaultLocale, java.util.Date expirationDate, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, long classNameId, java.lang.String articleId, boolean autoArticleId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, java.lang.String layoutUuid, java.util.Locale defaultLocale, java.util.Date expirationDate, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, long classNameId, java.lang.String articleId, boolean autoArticleId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, java.lang.String layoutUuid, java.util.Locale defaultLocale, java.util.Date displayDate, java.util.Date expirationDate, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, long classNameId, java.lang.String title, java.lang.String description, java.lang.String content, java.util.Locale defaultLocale, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, long classNameId, java.lang.String title, java.lang.String description, java.lang.String content, java.util.Locale defaultLocale, java.util.Date expirationDate, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, java.util.Map<java.util.Locale,java.lang.String> friendlyUrlMap) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, java.lang.String articleId, boolean autoArticleId) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, java.lang.String articleId, boolean autoArticleId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, java.lang.String title, java.lang.String content) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, java.lang.String title, java.lang.String content, java.util.Locale defaultLocale, boolean workflowEnabled, boolean approved) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, java.lang.String title, java.lang.String description, java.lang.String content, java.util.Locale defaultLocale, boolean workflowEnabled, boolean approved) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, long folderId, java.lang.String articleId, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.Double priority) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, java.lang.String title, java.lang.String content) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, java.lang.String title, java.lang.String content, java.util.Date expirationDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, java.lang.String title, java.lang.String content, java.util.Locale defaultLocale) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(long groupId, java.lang.String title, java.lang.String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(java.lang.String externalReferenceCode, long groupId, long folderId, long classNameId, java.lang.String articleId, boolean autoArticleId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> friendlyUrlMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, java.lang.String layoutUuid, java.util.Locale defaultLocale, java.util.Date displayDate, java.util.Date expirationDate, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(java.lang.String externalReferenceCode, long groupId, long folderId, long classNameId, java.lang.String articleId, boolean autoArticleId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, java.lang.String layoutUuid, java.util.Locale defaultLocale, java.util.Date displayDate, java.util.Date expirationDate, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticle(java.lang.String externalReferenceCode, long groupId, long folderId, java.lang.String articleId, boolean autoArticleId) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithWorkflow(long groupId, boolean approved) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithWorkflow(long groupId, long folderId, boolean approved) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithWorkflow(long groupId, long folderId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, boolean workflowEnabled, boolean approved) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithWorkflow(long groupId, long folderId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithWorkflow(long groupId, long folderId, java.lang.String title, java.lang.String content, boolean approved) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithWorkflow(long groupId, long folderId, java.lang.String title, java.lang.String content, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithWorkflow(long groupId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.util.Locale,java.lang.String> contentMap, boolean approved) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(long groupId, long folderId, long classNameId, long classPK, java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.util.Locale defaultLocale) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(long groupId, long folderId, long classNameId, java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(long groupId, long folderId, long classNameId, java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.util.Locale defaultLocale) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(long folderId, long classNameId, long classPK, java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.util.Locale defaultLocale, java.util.Map<java.lang.String,byte[]> images, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(long folderId, long classNameId, java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.util.Locale defaultLocale, java.util.Map<java.lang.String,byte[]> images, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(long folderId, long classNameId, java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.util.Locale defaultLocale, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(long groupId, java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(long parentFolderId, java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.util.Map<java.lang.String,byte[]> images, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(long parentFolderId, java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.util.Locale defaultLocale) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addArticleWithXMLContent(java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalFeed addFeed(long groupId, long plid, java.lang.String name, long ddmStructureId, java.lang.String ddmTemplateKey, java.lang.String rendererTemplateKey) throws java.lang.Exception
java.lang.Exception
@Deprecated public static com.liferay.journal.model.JournalFolder addFolder(long userId, long groupId, long parentFolderId, java.lang.String name) throws java.lang.Exception
JournalFolderFixture.addFolder(long, long, long, String)
java.lang.Exception
@Deprecated public static com.liferay.journal.model.JournalFolder addFolder(long groupId, long parentFolderId, java.lang.String name) throws java.lang.Exception
JournalFolderFixture.addFolder(long, long, String)
java.lang.Exception
@Deprecated public static com.liferay.journal.model.JournalFolder addFolder(long groupId, java.lang.String name) throws java.lang.Exception
JournalFolderFixture.addFolder(long, String)
java.lang.Exception
@Deprecated public static com.liferay.journal.model.JournalFolder addFolder(long parentFolderId, java.lang.String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
JournalFolderFixture.addFolder(long, String, ServiceContext)
java.lang.Exception
@Deprecated public static com.liferay.journal.model.JournalFolder addFolder(long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
JournalFolderFixture.addFolder(long, String, String,
ServiceContext)
java.lang.Exception
public static com.liferay.journal.model.JournalArticle addJournalArticle(com.liferay.data.engine.rest.resource.v2_0.DataDefinitionResource.Factory dataDefinitionResourceFactory, com.liferay.dynamic.data.mapping.model.DDMFormField ddmFormField, com.liferay.dynamic.data.mapping.util.DDMFormValuesToFieldsConverter ddmFormValuesToFieldsConverter, java.lang.String fieldValue, long groupId, com.liferay.journal.util.JournalConverter journalConverter) throws java.lang.Exception
java.lang.Exception
public static void expireArticle(long groupId, com.liferay.journal.model.JournalArticle article) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.journal.model.JournalArticle expireArticle(long groupId, com.liferay.journal.model.JournalArticle article, double version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getSampleTemplateFTL()
public static java.lang.String getSampleTemplateVM()
public static com.liferay.portal.kernel.search.Hits getSearchArticles(long companyId, long groupId) throws java.lang.Exception
java.lang.Exception
public static int getSearchArticlesCount(long companyId, long groupId) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle updateArticle(com.liferay.journal.model.JournalArticle article) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle updateArticle(com.liferay.journal.model.JournalArticle article, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.lang.String content, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle updateArticle(com.liferay.journal.model.JournalArticle article, java.lang.String title) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle updateArticle(com.liferay.journal.model.JournalArticle article, java.lang.String title, java.lang.String content) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle updateArticle(com.liferay.journal.model.JournalArticle article, java.lang.String title, java.lang.String content, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle updateArticle(long userId, com.liferay.journal.model.JournalArticle article, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.lang.String content, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle updateArticle(long userId, com.liferay.journal.model.JournalArticle article, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.lang.String content, java.util.Date displayDate, boolean workflowEnabled, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle updateArticleWithWorkflow(com.liferay.journal.model.JournalArticle article, boolean approved) throws java.lang.Exception
java.lang.Exception
public static com.liferay.journal.model.JournalArticle updateArticleWithWorkflow(long userId, com.liferay.journal.model.JournalArticle article, boolean approved) throws java.lang.Exception
java.lang.Exception