Saturday, 25 November 2017

Dynamic query for liferay expando table

Dynamic Query for Expando Value

DynamicQuery query = DynamicQueryFactoryUtil.forClass(ExpandoValue.class,PortalClassLoaderUtil.getClassLoader()).add(PropertyFactoryUtil.forName("classPK").eq(themeDisplay.getUserId()));
List<ExpandoValue> li= new LinkedList<ExpandoValue>(ExpandoValueLocalServiceUtil.dynamicQuery(query));

TEST

I am Java Developer. I have 6 year Experiance in this field and like to post in blogging. So keep sharing and like my post

0 comments:

Post a Comment

 

Copyright @ 2017 Liferay Article.