留言板

Blog update time

Alagammai Kasi,修改在11 年前。

Blog update time

Regular Member 帖子: 149 加入日期: 12-8-1 最近的帖子
Dear BUddies,

I need to check when a blog is updated ... the message posted on it has been changed and I need to extract the date and time that has been done.

How could I do it?

Please advice

Thanks in advance

Alagu
thumbnail
Gnaniyar Zubair,修改在11 年前。

RE: Blog update time (答复)

Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
Each blog entry has modifiedDate field :

Blog blog = BlogsEntryLocalServiceUtil.getBlogsEntry(entryId)
blog.getModifiedDate()
Alagammai Kasi,修改在11 年前。

RE: Blog update time

Regular Member 帖子: 149 加入日期: 12-8-1 最近的帖子
Thank you Gnaniyar, got that.

Is there a way to find what is the change?

Thanks,
Alagu
thumbnail
Gnaniyar Zubair,修改在11 年前。

RE: Blog update time (答复)

Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
I dont think so. changes will be stored in content field but you cannot take specific changes made in that entry.

Let us know if you achieve this. emoticon
Alagammai Kasi,修改在11 年前。

RE: Blog update time

Regular Member 帖子: 149 加入日期: 12-8-1 最近的帖子
I got into the table and noticed only the latest updates are there

So, planning to get another space where I could use my backups to recreate the liferay with the backups

with that, i might be able to get the previous messages in the blog

thank you so much for ur input