public void updateProposal(Proposal proposal) { factory.getProposalDAO().update(proposal); }
public Proposal getProposalById(long proposalId) throws ServiceException { return factory.getProposalDAO().getById(proposalId); }
public List<Proposal> getAllProposals() throws ServiceException { return factory.getProposalDAO().getAll(); }
public List<Proposal> getProposalsForCustomerId(long customerId) throws ServiceException { return factory.getProposalDAO().getForCustomerId(customerId); }
public long createProposal(Proposal proposal) throws ServiceException { return factory.getProposalDAO().createProposal(proposal); }