DoydoQuery v2
English
English
  • Introduction
  • Quickstart
  • API
    • CRUD
    • Association Service
  • Complex Query
  • Object Concepts
    • Query Object
      • PageQuery
      • Predicate-Suffix Field
      • Logic-Suffix Field
      • Subquery Field
      • E-R Query Field
      • Custom Condition Field
    • Entity Object
      • Enum Column
      • Foreign Key
    • Patch Object
    • View Object
      • Column Mapping
      • Natural Join
  • Having Object
  • Advanced
    • Dialect
    • Pessimistic lock
  • Optimistic Lock
  • Web
    • Configuration
    • Controller
    • Service
    • Cache
    • Sorting
    • Validation
    • User ID injection
Powered by GitBook
On this page
  • AbstractEIQController<E, I, Q>
  • AbstractRestController<E, I, Q, R, S>
  • AbstractDynamicController<E, I, Q, R, S, W>

Was this helpful?

  1. Web

Controller

AbstractEIQController<E, I, Q>

AbstractRestController<E, I, Q, R, S>

AbstractDynamicController<E, I, Q, R, S, W>

Example

@JsonBody
@RestController
@RequestMapping("{platform}/menu")
class MenuController extends AbstractDynamicController<MenuEntity, Integer, MenuQuery, MenuRequest, MenuResponse, MenuIdWrapper> {

    public MenuController(MenuService menuService) {
        super(menuService, new TypeReference<>() {});
    }

}

@Service
public class MenuService extends AbstractDynamicService<MenuEntity, Integer, MenuQuery> {

}
PreviousConfigurationNextService

Last updated 16 days ago

Was this helpful?