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 Java by asd ( 12 years ago )
private Set<String> findPlanOnQouteProductLineNames() {
Set<String> selectedProductLines = new HashSet<String>();
for (PlanOfferingPackage planOfferingPackage : findCurrentPlanOfferings().getPlanPackages()) {
for (PlanTypeCategory planTypeCategory : planOfferingPackage.getBean().getPlanTypeCategory()) {
selectedProductLines.add(planTypeCategory.getPlanType());
}
}
return selectedProductLines;
}
private PlanOfferings findCurrentPlanOfferings() {
for (PlanOfferings planOfferings : renewalSession.getPlanOfferingsDetails(renewalProcess.findByQuoteId(quoteId).getId(), quoteId)) {
if (planOfferings.getPlanOfferingId() == planOfferingId) {
return planOfferings;
}
}
return null;
}
Revise this Paste