Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Chintan Akhani
How to get last 24 hours blogs record count?
5 de Maio de 2012 01:05
Resposta

Chintan Akhani

Ranking: Regular Member

Mensagens: 111

Data de entrada: 13 de Março de 2008

Mensagens recentes

Hi All,

How can we get the blog count of last 24 hours based on modified date?

We have tried with dynamic query, because using AssetQuery it is not possible as it does't have a field called "Modified Date". But if we use the dynamic query than in that case we have to make a check for permission as well, so it might create performance related issue.

Please provide your view on same.

Thanks,
Chintan
Hitoshi Ozawa
RE: How to get last 24 hours blogs record count?
5 de Maio de 2012 06:46
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7952

Data de entrada: 23 de Março de 2010

Mensagens recentes

Are you using BlogsEntryLocalServiceUtil.dynamicQuery(DynamicQuery dynamicQuery)
Chintan Akhani
RE: How to get last 24 hours blogs record count?
7 de Maio de 2012 00:06
Resposta

Chintan Akhani

Ranking: Regular Member

Mensagens: 111

Data de entrada: 13 de Março de 2008

Mensagens recentes

No, we are using AssetEntryServiceUtil.getEntries() method.