by
67 9

draw Node Attachments

Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/3035353/draw-Node-Attachments?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
public void drawNodeAttachments(long tabNodeId) throws Exception { getDocumentBean().getRequestNodeAttachments().clear(); getDocumentBean().getRequestNodeAttachmentsRemove().clear(); sarf2DTO.setNotes(requestNotesCycleService.findLastNote(AccountingConstant.SARF2_TABLE_ID, sarf2DTO.getId(),tabNodeId)); List<RequestNodeAttachment> requestNodeAttachmentList = requestNodeAttachmentService.getNodeAttachments(AccountingConstant.SARF2_TABLE_ID ,tabNodeId,sarf2DTO.getId()); if(requestNodeAttachmentList != null && !requestNodeAttachmentList.isEmpty()) getDocumentBean().getRequestNodeAttachments().addAll(requestNodeAttachmentList); }
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus