')},success:function(c){a.one("#verifyUserPopUp .aui-dialog-bd").set("innerHTML","谢谢!已发送验证电子邮件。");document.getElementById("sendButton").classList.add("aui-helper-hidden");document.getElementById("closeButton").textContent="Dismiss"}}})},id:"sendButton",label:"Send\x20Verification\x20Email"},{handler:function(){this.close()},id:"closeButton",label:"Not\x20right\x20now"}];if("5"=="5"){return}if("false"=="true"){return}new a.Dialog({bodyContent:"为了打击社区内的垃圾邮件,我们需要验证您的电子邮件地址, 以便您进行审查和发布,对Liferay社区做出贡献。",buttons:b,centered:false,draggable:false,id:"verifyUserPopUp",resizable:false,width:328}).render();positionOnPage();a.getWin().on("resize",function(){positionOnPage()})});/*]]>*/
Expire Documents in Document Library
Liferay provides one central place to aggregate and manage all your content. Each community within Liferay Portal gets its own separate Document Library, which is equipped with customizable folders and act as a web-based shared drive for all your team members, no matter where they are. Because content is accessible only by those authorized by the administrator, each individual file is as open or as secure as you need it to be.
Documents are often collaborated on, live for a while, then become deprecated, obsolete, or wrong over time.
A document that has become obsolete needs to be expired such that it can no longer be viewed or accessed, but is instead archived as a previous, no longer valid, document.
Currently, Documents in the document library have no expiration date, and live forever unless manually deleted by an administrator.
Modify the Document Library to give the ability to expire documents.
Now that Liferay has implemented the workflow infrastructure it's much easier to implement this project, since DLFiles has the hability to store the status. Custom fields like expiration date can be added to the form and then create the logic that changes the status when the user decides.
None.