RE: JournalContentUtil class in Liferay 7

Lukas Grygar, modified 9 Years ago. New Member Posts: 4 Join Date: 4/17/16 Recent Posts
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, modified 9 Years ago. New Member Posts: 4 Join Date: 3/23/16 Recent Posts
Does anyone have updates on this?
Gabor J, modified 9 Years ago. New Member Posts: 2 Join Date: 9/16/16 Recent Posts
I found similar functionality in JournalArticleLocalServiceUtil
thumbnail
Kyle Joseph Stiemann, modified 7 Years ago. Liferay Master Posts: 760 Join Date: 1/14/13 Recent Posts
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, modified 7 Years ago. Regular Member Posts: 123 Join Date: 9/2/13 Recent Posts
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, modified 6 Years ago. Junior Member Posts: 79 Join Date: 12/9/11 Recent Posts
Hi,
it seems that the class JournalArticleLocalServiceUtil has the methods getArticleDisplay and getArticleContent that you are searching for.