Class ServiceOrderController


  • @Controller
    @RequestMapping("/{baseSiteId}")
    public class ServiceOrderController
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String SERVICE_DATE_FIELD  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void saveServiceOrderScheduleDetails​(java.lang.String cartId, ServiceScheduleSlotWsDTO serviceScheduleSlot)  
      protected void validate​(java.lang.Object object, java.lang.String objectName, org.springframework.validation.Validator validator)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SERVICE_DATE_FIELD

        protected static final java.lang.String SERVICE_DATE_FIELD
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServiceOrderController

        public ServiceOrderController()
    • Method Detail

      • saveServiceOrderScheduleDetails

        @Secured({"ROLE_CUSTOMERGROUP","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT","ROLE_GUEST"})
        @RequestMapping(value="/users/{userId}/carts/{cartId}/serviceOrder/serviceScheduleSlot",
                        method=PATCH,
                        consumes="application/json")
        @ResponseBody
        @ResponseStatus(OK)
        public void saveServiceOrderScheduleDetails​(@PathVariable(required=true)
                                                    java.lang.String cartId,
                                                    @RequestBody
                                                    ServiceScheduleSlotWsDTO serviceScheduleSlot)
      • validate

        protected void validate​(java.lang.Object object,
                                java.lang.String objectName,
                                org.springframework.validation.Validator validator)