Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Tim Cardwell
Fetching a custom made journal article.
August 1, 2012 11:59 AM

Tim Cardwell

Rank: Junior Member

Posts: 30

Join Date: July 19, 2012

Recent Posts

I'm trying to use the dynamic query method in JournalArticleLocalServiceUtil to locate a custom article that is posted in an Asset Publisher.

All I have to use as criteria for the search is a group ID and a UUID. Unfortunately, the UUID I have actually relates to the article resource id of the article i want, so I can't do a simple JournalArticleLocalServiceUtil.getByGroupandUUID(groupId, uuid) call.

I am currently getting a list of journal articles with groupid equals to the group id I want, and then iterating through each article by comparing that articles resource uuid with the uuid that I have.

So, my question is: Is there a query property I can add to my query that looks like this -

I've tried a couple of variations, but nothing works.


Participate in the State of Liferay Community 2017. Help the community and even win some prizes!