JPM
JPM
Reputation Top 5%
JPM
2 Snippets  (293rd place)
Published
2 Channels
Created
2 Channels
Following
Nov 14, 2017
Last Visit
Nov 7, 2017
Registered
67 points  (404th place)
Reputation
Junior Code Generator
Junior Publisher
Junior Topic Creator
Junior Trend Maker
Junior Popular Coder
Junior Autobiographer
Serious Autobiographer
Junior Snip2Coder
Junior Famous Coder

Recent Snippets See all snippets by JPM

public by JPM created Nov 14, 2017  1442  0  6  0

draw Node Attachments

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);
	}
;

public by JPM created Nov 14, 2017  1441  0  7  0

initialize the beneficiaries

public void initBeneficiary() {
		selectedBeneficiary = new Beneficiary2SarfDTO();
		beneficiarySummaryDTO = new BeneficiarySummaryDTO();
		selectedBank = new Bank();
		selectedBank = null;
		selectedPersonType = null;
		editDeleteButtons=true;
	}
;