@Controller @RequestMapping(value="/formtrigger/note/*") public class NoteFormTriggerController extends AbstractFormTriggerController<com.bullhornsdk.data.model.entity.core.standard.Note,NoteValidationTraverser>
bullhornData, log| Constructor and Description |
|---|
NoteFormTriggerController(Node<NoteValidationTraverser> noteValidationWorkflow,
com.bullhornsdk.data.api.BullhornData bullhornData) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
addEntity(FormNoteDto formNoteDto,
java.lang.Integer updatingUserID,
java.lang.Integer corporationID,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
Both note add and note edit call the form trigger url setup for "Add Note"
|
handleRequest, initBinder, prepareErrorReturnValue, prepareReturnValue@Autowired
public NoteFormTriggerController(@Qualifier(value="noteValidationWorkflow")
Node<NoteValidationTraverser> noteValidationWorkflow,
com.bullhornsdk.data.api.BullhornData bullhornData)
@RequestMapping(value="add",
method=POST,
produces="application/json;charset=UTF-8")
@ResponseBody
public java.lang.String addEntity(@ModelAttribute
FormNoteDto formNoteDto,
@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)
formNoteDto - contains all the relevant data from the formupdatingUserID - id of corporate user who saved the formcorporationID - response - request -