JPM
JPM
Reputation Top 5%
JPM
2 Snippets  (304th place)
Published
2 Channels
Created
2 Channels
Following
67 points  (411st 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  1575  0  5  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  1594  0  6  0

initialize the beneficiaries

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