@Controller @RequestMapping(value="/formtrigger/placementchangerequest/*") public class PlacementChangeRequestFormTriggerController extends AbstractFormTriggerController<com.bullhornsdk.data.model.entity.core.standard.PlacementChangeRequest,PlacementChangeRequestValidationTraverser>
bullhornData, log| Constructor and Description |
|---|
PlacementChangeRequestFormTriggerController(Node<PlacementChangeRequestValidationTraverser> placementChangeRequestValidationWorkflow,
com.bullhornsdk.data.api.BullhornData bullhornData) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
addEntity(FormPlacementChangeRequestDto formPlacementChangeRequestDto,
java.lang.Integer updatingUserID,
java.lang.Integer corporationID,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
Same entry point for both add and edit.
|
handleRequest, initBinder, prepareErrorReturnValue, prepareReturnValue@Autowired
public PlacementChangeRequestFormTriggerController(@Qualifier(value="placementChangeRequestValidationWorkFlow")
Node<PlacementChangeRequestValidationTraverser> placementChangeRequestValidationWorkflow,
com.bullhornsdk.data.api.BullhornData bullhornData)
@RequestMapping(value="add",
method=POST,
produces="application/json;charset=UTF-8")
@ResponseBody
public java.lang.String addEntity(@ModelAttribute
FormPlacementChangeRequestDto formPlacementChangeRequestDto,
@RequestParam(value="ft.userId")
java.lang.Integer updatingUserID,
@RequestParam(value="ft.corpId")
java.lang.Integer corporationID,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
formPlacementChangeRequestDto - contains all the relevant data from the formupdatingUserID - id of corporate user who saved the formcorporationID - response - request -