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