Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3782

Divide generated controllers by data type management

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 2.0.0.M2
    • Fix Version/s: 2.0.0.M3
    • Component/s: None
    • Labels:
      None

      Description

      Now a days, Spring Roo generates one unique controller that contain all operations:

      EntityController.java

        • EntityController_Roo_Controller.java
        • EntityController_Roo_Thymeleaf.java
        • EntityController_Roo_JSON.java

      Divide controllers associated to an entity by the type of the data that they manage:
      +

      • EntityCollectionController: Manages collections. Operations GET, POST, Batch
        • EntityCollectionController_Roo_Controller.java
        • EntityCollectionController_Roo_Thymeleaf.java
        • EntityCollectionController_Roo_JSON.java
      • EntityItemController: Manages individual items. Operations GET, PUT, DELETE
        • EntityItemController_Roo_Controller.java
        • EntityItemController_Roo_Thymeleaf.java
        • EntityItemController_Roo_JSON.java
      • EntitySearchController: Manages all search operations.
        • EntitySearchController_Roo_Controller.java
        • EntitySearchController_Roo_Thymeleaf.java
        • EntitySearchController_Roo_JSON.java
      • EntityDetailItemController: Manages an specific relation of an entity.
        • EntityDetailItemController_Roo_Controller.java
        • EntityDetailItemController_Roo_Thymeleaf.java
        • EntityDetailItemController_Roo_JSON.java

        Attachments

          Activity

            People

            Assignee:
            miborra Manuel Iborra - gvNIX - DiSiD
            Reporter:
            jcgarcia Juan Carlos GarcĂ­a del Canto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: