Forums de discussion
JournalContentUtil class in Liferay 7
Lukas Grygar, modifié il y a 7 années.
JournalContentUtil class in Liferay 7
New Member Publications: 4 Date d'inscription: 17/04/16 Publications récentes
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.
teodor popescu, modifié il y a 7 années.
RE: JournalContentUtil class in Liferay 7
New Member Publications: 4 Date d'inscription: 23/03/16 Publications récentes
Does anyone have updates on this?
Jamie Sammons, modifié il y a 7 années.
RE: JournalContentUtil class in Liferay 7
Expert Publications: 297 Date d'inscription: 05/09/14 Publications récentes
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
Gabor J, modifié il y a 7 années.
RE: JournalContentUtil class in Liferay 7
New Member Publications: 2 Date d'inscription: 16/09/16 Publications récentes
I found similar functionality in JournalArticleLocalServiceUtil
Kyle Joseph Stiemann, modifié il y a 6 années.
RE: JournalContentUtil class in Liferay 7
Liferay Master Publications: 760 Date d'inscription: 14/01/13 Publications récentes
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!
asif aftab, modifié il y a 5 années.
RE: JournalContentUtil class in Liferay 7
Regular Member Publications: 123 Date d'inscription: 02/09/13 Publications récentes
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, modifié il y a 4 années.
RE: JournalContentUtil class in Liferay 7
Junior Member Publications: 79 Date d'inscription: 09/12/11 Publications récentes
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.