Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.service;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import java.util.Map;public interface AgendaConfigService {/*** Resolved rule params for a partner: the global default row (fofo_id 0)* overlaid key-by-key with the partner's override row, if any.* Throws if the default row is missing (mis-seeded DB must be loud).*/Map<String, Double> getParams(String agendaType, int fofoId) throws ProfitMandiBusinessException;/*** Upsert a config row. fofoId 0 targets the global default. Empty params* on a partner row (fofoId != 0) deletes the override.*/void saveParams(String agendaType, int fofoId, Map<String, Double> params, String updatedBy)throws ProfitMandiBusinessException;}