留言板

JournalContentUtil class in Liferay 7

Lukas Grygar,修改在7 年前。

JournalContentUtil class in Liferay 7

New Member 帖子: 4 加入日期: 16-4-17 最近的帖子
Hi,

I wasn't able to generate PACL list on Liferay 7 https://issues.liferay.com/browse/LPS-65321

So I've generated that PACL list on Liferay 6.2 CE GA4 and then I've tried to replace packages (I've downloaded Lifray 7 source code and found every single class and replaced package).

But I can't find JournalContentUtil.java

On Liferay 6.2 it was
com.liferay.portlet.journalcontent.util.JournalContentUtil


But there's no JournalContentUtil class on Liferay 7 CE GA1 (7.0.0) and I didn't find any information if it was replaced or removed.
teodor popescu,修改在7 年前。

RE: JournalContentUtil class in Liferay 7

New Member 帖子: 4 加入日期: 16-3-23 最近的帖子
Does anyone have updates on this?
Gabor J,修改在7 年前。

RE: JournalContentUtil class in Liferay 7

New Member 帖子: 2 加入日期: 16-9-16 最近的帖子
I found similar functionality in JournalArticleLocalServiceUtil
thumbnail
Kyle Joseph Stiemann,修改在6 年前。

RE: JournalContentUtil class in Liferay 7

Liferay Master 帖子: 760 加入日期: 13-1-14 最近的帖子
Hi Lukas and Teodor,
Take a look at the new JournalArticle and JournalArticleLocalServiceUtil* methods that have been added in Liferay 7.0 and see if you can accomplish the same goals with them. If not, please provide more detail on what you are trying to do and we'll see if we can help.

- Kyle

* Thanks Gabor for mentioning this!
asif aftab,修改在5 年前。

RE: JournalContentUtil class in Liferay 7

Regular Member 帖子: 123 加入日期: 13-9-2 最近的帖子
Hi
Even I can't access JournalContentImpl
My requirement is to display web content in my custom portlet.
I created one document type and using that document type in document and media.
In document type I added one text field and in creation of document type I am uploading one image.
I want to display this web content in my custom portlet on the basis of tag.

https://www.linkedin.com/pulse/mpower-post-3-different-ways-getting-journal-article-content-syed

I am following this url but no journal article class. I can import any such classes and local service util classes too.
I m using liferay 7, windows, tomcat, eclipse.
Thanks
thumbnail
Charalampos Chrysikopoulos,修改在4 年前。

RE: JournalContentUtil class in Liferay 7

Junior Member 帖子: 79 加入日期: 11-12-9 最近的帖子
Hi,
it seems that the class JournalArticleLocalServiceUtil has the methods getArticleDisplay and getArticleContent that you are searching for.