Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by asdf ( 12 years ago )
private Set<String> findPlanOnQouteProductLineNames() {
        Set<String> selectedProductLines = new HashSet<String>();
        for (PlanOfferings planOfferings : renewalSession.getPlanOfferingsDetails(renewalProcess.findByQuoteId(quoteId).getId(), quoteId)) {
            if (planOfferings.getPlanOfferingId() == planOfferingId) {
                for (PlanOfferingPackage planOfferingPackage : planOfferings.getPlanPackages()) {
                    for (PlanTypeCategory planTypeCategory : planOfferingPackage.getBean().getPlanTypeCategory()) {
                        selectedProductLines.add(planTypeCategory.getPlanType());
                    }
                }
            }
        }

        return selectedProductLines;
    }

 

Revise this Paste

Your Name: Code Language: