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