Feature/rest delete replace collection #3482

Merged
merged 8 commits into from Jan 18, 2013
Commits on Jan 18, 2013
  1. @weierophinney

    Allow deletion of collections via AbstractRestfulController

    weierophinney committed Jan 18, 2013
    - Implemented deleteList() method, and updated switch for DELETE method
      to delegateto this method when no identifier is present.
  2. @weierophinney

    Added ability to replace a collection

    weierophinney committed Jan 18, 2013
    - PUT on a collection (i.e., without an identifier) now invokes
      replaceList()
    - Rewrote logic in DELETE case to mirror logic in PUT, GET, and DELETE
      cases.
  3. @weierophinney

    Removed no longer used method

    weierophinney committed Jan 18, 2013
    - Removed processPutData() as it is no longer necessary, nor used. Since
      this was only introduced for 2.1, it's safe to remove at this time.
  4. @weierophinney
  5. @weierophinney

    Remove double negations

    weierophinney committed Jan 18, 2013
  6. @weierophinney

    Added unit test for patch

    weierophinney committed Jan 18, 2013
    - PATCH without an identifier should raise an exception
  7. @weierophinney
  8. @weierophinney