Exemple #1
0
 public void updateProposal(Proposal proposal) {
   factory.getProposalDAO().update(proposal);
 }
Exemple #2
0
 public Proposal getProposalById(long proposalId) throws ServiceException {
   return factory.getProposalDAO().getById(proposalId);
 }
Exemple #3
0
 public List<Proposal> getAllProposals() throws ServiceException {
   return factory.getProposalDAO().getAll();
 }
Exemple #4
0
  public List<Proposal> getProposalsForCustomerId(long customerId) throws ServiceException {

    return factory.getProposalDAO().getForCustomerId(customerId);
  }
Exemple #5
0
 public long createProposal(Proposal proposal) throws ServiceException {
   return factory.getProposalDAO().createProposal(proposal);
 }