public class JournalTestUtil
extends java.lang.Object
Constructor and Description |
---|
JournalTestUtil() |
Modifier and Type | Method and Description |
---|---|
static JournalArticle |
addArticle(long groupId,
long folderId) |
static JournalArticle |
addArticle(long userId,
long groupId,
long folderId) |
static 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 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 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 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 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 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 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 JournalArticle |
addArticle(long groupId,
long folderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String articleId,
boolean autoArticleId) |
static JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String articleId,
boolean autoArticleId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String title,
java.lang.String content) |
static JournalArticle |
addArticle(long groupId,
long folderId,
java.lang.String title,
java.lang.String content,
java.util.Locale defaultLocale,
boolean workflowEnabled,
boolean approved) |
static 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 JournalArticle |
addArticle(long groupId,
java.lang.String title,
java.lang.String content) |
static JournalArticle |
addArticle(long groupId,
java.lang.String title,
java.lang.String content,
java.util.Date expirationDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static JournalArticle |
addArticle(long groupId,
java.lang.String title,
java.lang.String content,
java.util.Locale defaultLocale) |
static JournalArticle |
addArticle(long groupId,
java.lang.String title,
java.lang.String content,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static JournalArticle |
addArticleWithWorkflow(long groupId,
boolean approved) |
static JournalArticle |
addArticleWithWorkflow(long groupId,
long folderId,
boolean approved) |
static 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 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 JournalArticle |
addArticleWithWorkflow(long groupId,
long folderId,
java.lang.String title,
java.lang.String content,
boolean approved) |
static JournalArticle |
addArticleWithWorkflow(long groupId,
long folderId,
java.lang.String title,
java.lang.String content,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static 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 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 JournalArticle |
addArticleWithXMLContent(long groupId,
long folderId,
long classNameId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey) |
static 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 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 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 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 JournalArticle |
addArticleWithXMLContent(long groupId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey) |
static 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 JournalArticle |
addArticleWithXMLContent(long parentFolderId,
java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static JournalArticle |
addArticleWithXMLContent(java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey) |
static JournalArticle |
addArticleWithXMLContent(java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.util.Locale defaultLocale) |
static JournalArticle |
addArticleWithXMLContent(java.lang.String xml,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.xml.Element |
addDynamicElementElement(com.liferay.portal.kernel.xml.Element element,
java.lang.String type,
java.lang.String name) |
static JournalFeed |
addFeed(long groupId,
long plid,
java.lang.String name,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.lang.String rendererTemplateKey) |
static 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 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 JournalFolder |
addFolder(long groupId,
java.lang.String name)
Deprecated.
As of Athanasius (7.3.x), replaced by
JournalFolderFixture.addFolder(long, String) |
static 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 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.portal.kernel.xml.Element |
addMetadataElement(com.liferay.portal.kernel.xml.Element element,
java.lang.String locale,
java.lang.String label) |
static void |
expireArticle(long groupId,
JournalArticle article) |
static JournalArticle |
expireArticle(long groupId,
JournalArticle article,
double version) |
static java.lang.reflect.Method |
getJournalUtilGetTokensMethod() |
static java.lang.reflect.Method |
getJournalUtilTransformMethod() |
static java.lang.String |
getSampleTemplateXSL() |
static com.liferay.portal.kernel.search.Hits |
getSearchArticles(long companyId,
long groupId) |
static int |
getSearchArticlesCount(long companyId,
long groupId) |
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getXsdMap(java.lang.String xsd) |
static JournalArticle |
updateArticle(JournalArticle article) |
static JournalArticle |
updateArticle(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 JournalArticle |
updateArticle(JournalArticle article,
java.lang.String title) |
static JournalArticle |
updateArticle(JournalArticle article,
java.lang.String title,
java.lang.String content) |
static JournalArticle |
updateArticle(JournalArticle article,
java.lang.String title,
java.lang.String content,
boolean workflowEnabled,
boolean approved,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static JournalArticle |
updateArticle(long userId,
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 JournalArticle |
updateArticle(long userId,
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 JournalArticle |
updateArticleWithWorkflow(JournalArticle article,
boolean approved) |
static JournalArticle |
updateArticleWithWorkflow(long userId,
JournalArticle article,
boolean approved) |
public static JournalArticle addArticle(long groupId, long folderId) throws java.lang.Exception
java.lang.Exception
public static JournalArticle addArticle(long userId, long groupId, long folderId) throws java.lang.Exception
java.lang.Exception
public static 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 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 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 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 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 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 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 JournalArticle addArticle(long groupId, long folderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public static JournalArticle addArticle(long groupId, long folderId, java.lang.String articleId, boolean autoArticleId) throws java.lang.Exception
java.lang.Exception
public static 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 JournalArticle addArticle(long groupId, long folderId, java.lang.String title, java.lang.String content) throws java.lang.Exception
java.lang.Exception
public static 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 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 JournalArticle addArticle(long groupId, java.lang.String title, java.lang.String content) throws java.lang.Exception
java.lang.Exception
public static 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 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 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 JournalArticle addArticleWithWorkflow(long groupId, boolean approved) throws java.lang.Exception
java.lang.Exception
public static JournalArticle addArticleWithWorkflow(long groupId, long folderId, boolean approved) throws java.lang.Exception
java.lang.Exception
public static 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 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 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 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 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 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 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 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 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 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 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 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 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 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 JournalArticle addArticleWithXMLContent(java.lang.String xml, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey) throws java.lang.Exception
java.lang.Exception
public static 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 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.portal.kernel.xml.Element addDynamicElementElement(com.liferay.portal.kernel.xml.Element element, java.lang.String type, java.lang.String name)
public static JournalFeed addFeed(long groupId, long plid, java.lang.String name, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.lang.String rendererTemplateKey) throws java.lang.Exception
java.lang.Exception
@Deprecated public static 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 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 JournalFolder addFolder(long groupId, java.lang.String name) throws java.lang.Exception
JournalFolderFixture.addFolder(long, String)
java.lang.Exception
@Deprecated public static 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 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.portal.kernel.xml.Element addMetadataElement(com.liferay.portal.kernel.xml.Element element, java.lang.String locale, java.lang.String label)
public static void expireArticle(long groupId, JournalArticle article) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static JournalArticle expireArticle(long groupId, JournalArticle article, double version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.reflect.Method getJournalUtilGetTokensMethod()
public static java.lang.reflect.Method getJournalUtilTransformMethod()
public static java.lang.String getSampleTemplateXSL()
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 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getXsdMap(java.lang.String xsd) throws java.lang.Exception
java.lang.Exception
public static JournalArticle updateArticle(JournalArticle article) throws java.lang.Exception
java.lang.Exception
public static JournalArticle updateArticle(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 JournalArticle updateArticle(JournalArticle article, java.lang.String title) throws java.lang.Exception
java.lang.Exception
public static JournalArticle updateArticle(JournalArticle article, java.lang.String title, java.lang.String content) throws java.lang.Exception
java.lang.Exception
public static JournalArticle updateArticle(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 JournalArticle updateArticle(long userId, 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 JournalArticle updateArticle(long userId, 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 JournalArticle updateArticleWithWorkflow(JournalArticle article, boolean approved) throws java.lang.Exception
java.lang.Exception
public static JournalArticle updateArticleWithWorkflow(long userId, JournalArticle article, boolean approved) throws java.lang.Exception
java.lang.Exception