Skip to content

Groovy script that makes possible to delete or only list old journal articles and its resources from Liferay database.

License

Notifications You must be signed in to change notification settings

atrujillofalcon/liferay-clean-journal-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

liferay-clean-journal-history

Groovy script that makes possible to delete or only list old journal articles and its resources from Liferay database. You can set the amount of versions by journal article to save modifying the variable leaveVersionCount.

The master branch is only compatible with Liferay DXP (7 onfoward), if you want to use this script on older versions you have to get the 6.2 branch.

If you only want to list the journal articles targeted to be deleted you have to set false the variable deleteArticles.

To process a specific sites, you can set explicitly the groupId's in the variable groupIds, separated by comma.

The steps to execute this script are:

Control_Panel -> Server_Administration -> Script -> Groovy Script

About

Groovy script that makes possible to delete or only list old journal articles and its resources from Liferay database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages