/* * (non-Javadoc) * * @see * net.blog.dev.gestion.stocks.back.daos.IMovementDao#saveMovement(net.blog * .dev.gestion.stocks.dto.DtoMovement) */ @Override public void saveMovement(DtoMovement movement) { manager.getPortfolio().getMovements().add(movement); manager.save(); }
/* * (non-Javadoc) * * @see * net.blog.dev.gestion.stocks.back.daos.IMovementDao#getListMovements() */ @Override public List<DtoMovement> getListMovements() { return manager.getPortfolio().getMovements(); }