Exemplo n.º 1
0
 @Override
 public boolean delete(AnnounceEntity announce) {
   // TODO Auto-generated method stub
   return DAOFactory.getInstance().getAnnounceDAO().delete(announce);
 }
Exemplo n.º 2
0
  public AnnounceEntity get(String id) {

    return DAOFactory.getInstance().getAnnounceDAO().get(id);
  }
Exemplo n.º 3
0
 public boolean save(AnnounceEntity announce) {
   return DAOFactory.getInstance().getAnnounceDAO().save(announce);
 }
Exemplo n.º 4
0
  public List<AnnounceEntity> getAll() {

    return DAOFactory.getInstance().getAnnounceDAO().getAll();
  }