enonic/cms-ce — pull request #466 by vfi (2012-03-19 08:47:36+00:00)
Title: B-02729 Create typed responses for REST controllers

Refactor REST controllers and create typed response objects.
Currently some of the methods in the REST controllers return Map . They should be refactored to use a concrete class for the response, e.g. RestResponse . This will make the controllers more testable.
Try to encapsulate the common properties expected by ExtJs ("success", "error", "results",etc.) in a generic way.