Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: JournalContentUtil class in Liferay 7
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
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.
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.
Does anyone have updates on this?
It looks like the closest class to the old JournalContentUtil is now JournalContentImpl: https://github.com/liferay/liferay-portal/blob/17a0b1ad79055194bcbfbb79e6694d208cd61e58/modules/apps/web-experience/journal/journal-service/src/main/java/com/liferay/journal/util/impl/JournalContentImpl.java
I found similar functionality in JournalArticleLocalServiceUtil
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!
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!
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
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
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.
it seems that the class JournalArticleLocalServiceUtil has the methods getArticleDisplay and getArticleContent that you are searching for.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™