Issue
- API for the document deletion
Environment
- Liferay portal 6.2
Resolution
Please Note: The following procedures and unofficial links involve customizations that are beyond the scope of Liferay Support. Please exercise appropriate discretion in the use of this information.
- By default, Liferay has enabled the recycle option. The deleted files will be available in the recycle bin.
-
The API
DLAppServicehelps to delete the files permanently based on the criteria or needs with custom development. - Best practice: Before testing it, please keep a backup of your data
Additional Information
- Please go through the java docs for the API reference.
- Liferay help center article for your reference.
- The additional unofficial reference provides the sample JAVA code implementation using this API.
- To clean the previous version of documents, refer to the blogs