GitHub PushEvent at 2014-07-22 21:10:00
Repository: liferay-portal
Actor: drewbrokke
Payload: {"shas":[["15d3a07fa10270f45f1e9db79ea12b619b934afc","40b7e3c10d475e466e207441f939b6655811fece@liferay.com","LPS-48651 Changed column name on service.xml","Pablo Pinheiro",true],["d83841cb27c9921ae601b855d570556c1168bc1e","40b7e3c10d475e466e207441f939b6655811fece@liferay.com","LPS-48651 Service builder","Pablo Pinheiro",true],["5e3ec161e384ace844bf31d69cb0bda7252c83fe","40b7e3c10d475e466e207441f939b6655811fece@liferay.com","LPS-48651 Changed portal-model-hints.xml","Pablo Pinheiro",true],["f1917bfd52d400f2fefb1ce4b6014164558b5bc5","40b7e3c10d475e466e207441f939b6655811fece@liferay.com","LPS-48651 Fixed references","Pablo Pinheiro",true],["84a1858b33e289bba10b7b949f5a35d290ef20d0","40b7e3c10d475e466e207441f939b6655811fece@liferay.com","LPS-48651 Fixed macro.ftl","Pablo Pinheiro",true],["33acbabad942cfc8d6eee586cb0502402363561a","8c52ff62252ded3c212b44a5d693a56da3414ebd@liferay.com","LPS-48651 Sort","Marcellus Tavares",true],["1b34eefa151a2cfa13e65d859de70fb0d0723cb2","8c52ff62252ded3c212b44a5d693a56da3414ebd@liferay.com","LPS-48651 Upgrade process","Marcellus Tavares",true],["429b2fdaff88063c7c109fa47bb3c1823f3a1611","19d87895fd866a870172ad2efba03013e296358f@liferay.com","LPS-48651 Sort","Brian Chan",true],["6c3ca09407812c0c247a809ebe019f9180ef5a0c","f9d1e59dcbe6edf013f6b0291da8a0febde60e66@liferay.com","LPS-48739 Optimize PortletPreferencesLocalServiceTest to do annotation based auto cleanup in order to make the test run faster","shuyangzhou",true],["f159b99d5799e3ae2d8e96f44720b9274bf583ce","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 add a `TrashCapability` to move trash logic into repositories\n\nCurrently, only the LiferayRepository supports the trash bin, but it does make\nsense for other kind of repositories to support it. By representing the Trash\nfunctionality with a capability we avoid polluting the repository interfaces\nwith methods that only a small subset of repositories actually need, still\nallowing those that need it to implement the capability.","adolfo.perez",true],["f5dcdd0a9dbe4701b18706818f5669ecb9bbba62","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 initial implementation of LiferayTrashCapability\n\nMove trash related code from DLAppHelper into the new capability:\n\n  - DLAppHelper.deleteFolder -> TrashCapability.deleteFolder\n  - DLAppHelper.deleteFileEntry -> TrashCapability.deleteFileEntry\n\nFor the moment, the other methods simply delegate into\nDLAppHelper. Eventually, all callers of DLAppHelper trash methods will\nbe modified to use the capability, and those methods will be removed\nfrom DLAppHelper.","adolfo.perez",true],["d5c4283bceac8ebc64af61a24baa78cf3e1cd6c7","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 use the new capability based repository in the factories","adolfo.perez",true],["3d5ebfb3028c46bf1b150c3adbfb8ce7a3bdf4e8","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 refactor repository factories\n\nMove code shared by local and non-local factories into the base class.\n\nChange method names to use a more precise terminology:\n\n  - Internal repository (was Liferay repository): repository\n    implementation provided by Liferay.\n\n  - External repository: repository implementations backed by other\n    products (e.g. Alfresco, Documentum, etc.).","adolfo.perez",true],["df7f9b2e0c56dae783674a3e5703326f594a8f93","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 make default capabilities and exports a constant","adolfo.perez",true],["736de192fc4eda7e4040129c1c1cc79518abbaae","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 use capabilities and replace instanceof checks by capability tests\n\nUse the capabilities to execute trash logic. Also, instead of testing for\nconcrete classes to check if features are supported, use CapabilityProvider\n`isCapabilityProvided` method.","adolfo.perez",true],["f490a17f993a05863f130850a36d1631b5e5956d","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 use the capabilities in the TrashHandlers\n\nReplace direct calls to dlAppHelper with capability uses. Also, insert\na capability use after each call to dlAppHelper.delete(File/Folder) (we need to\ndo so as we removed trash handling code from dlAppHelper).\n\nInside the trash capability we have to invoke DLAppHelper to keep\neverything working. This ugliness is temporal: in the short term we'll\ndevelop a repository event system, and capabilities will be able to\nregister listeners to execute when particular operations are executed.\n\nAs we move more code into capabilities those calls will be removed from\nhere and invoked through repository events. In this case, the trash\ncapability will be able to trigger a \"file deleted\" (or \"folder\ndeleted\") event that will execute all the additional logic.","adolfo.perez",true],["8746ff1c8973267b3869ae699636fb49af0917f5","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 delegate into the trash capability to delete trash entries\n\nMove all the complexity into the trash capability.","adolfo.perez",true],["e44701812338e04bc820cda6e162718c32d5bf7e","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 invoke trash capability when deleting\n\nWhen deleting file entries or folders, invoke the trash capability\nexplicitly.\n\nNote that in the short term we will remove this hardcoded logic and\ncreate an event system around core repository operations (CRUD over file\nentries and folders basically). We'll move this hardcoded code into\nevent listeners and remove the `deleteTrashEntry` methods from the\ninterface.","adolfo.perez",true],["10c909639b36073f01842a0979106d11bca8fa2d","65bd3d53a3df115ce246ecaeb98cf1c15b9cd636@liferay.com","LPS-47508 document breaking changes","adolfo.perez",true],["d8cb2ec14dadca55be8d043c0815eaa8ebb10aed","19d87895fd866a870172ad2efba03013e296358f@liferay.com","LPS-47508 SF","Brian Chan",true]],"size":24,"ref":"refs/heads/master","head":"d5515ede1345c26691019f336dcd4230aedf3f4b"}