@Controller @RequestMapping(value="/formtrigger/placement/*") public class PlacementFormTriggerController extends AbstractFormTriggerController<com.bullhornsdk.data.model.entity.core.standard.Placement,PlacementValidationTraverser>
bullhornData, log| Constructor and Description |
|---|
PlacementFormTriggerController(Node<PlacementValidationTraverser> placementValidationWorkflow,
com.bullhornsdk.data.api.BullhornData bullhornData) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
addEntity(FormPlacementDto formPlacementDto,
java.lang.Integer updatingUserID,
java.lang.Integer corporationID,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
Called when placement is added.
|
java.lang.String |
editEntity(FormPlacementDto formPlacementDto,
java.lang.Integer updatingUserID,
java.lang.Integer corporationID,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
Called when placement is edited
|
handleRequest, initBinder, prepareErrorReturnValue, prepareReturnValue@Autowired
public PlacementFormTriggerController(@Qualifier(value="placementValidationWorkFlow")
Node<PlacementValidationTraverser> placementValidationWorkflow,
com.bullhornsdk.data.api.BullhornData bullhornData)
@RequestMapping(value="add",
method=POST,
produces="application/json;charset=UTF-8")
@ResponseBody
public java.lang.String addEntity(@ModelAttribute
FormPlacementDto formPlacementDto,
@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)
formPlacementDto - contains all the relevant data from the formupdatingUserID - id of corporate user who saved the formcorporationID - response - request - @RequestMapping(value="edit",
method=POST,
produces="application/json;charset=UTF-8")
@ResponseBody
public java.lang.String editEntity(@ModelAttribute
FormPlacementDto formPlacementDto,
@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)
formPlacementDto - contains all the relevant data from the formupdatingUserID - id of corporate user who saved the formcorporationID - response - request -