public F0008 buscar(String value, long value2) {
   F0008PK clave = new F0008PK();
   clave.setCddtpn(value);
   clave.setCddfyj(value2);
   return f0008DAO.findOne(clave);
 }
 public List<F0008> buscarTodosOrdenados() {
   return f0008DAO.findAllOrderByIdCddtpn();
 }
 public List<F0008> buscarDTPN(String value) {
   return f0008DAO.findByIdCddtpn(value);
 }
 public void eliminarUno(F0008PK clave) {
   f0008DAO.delete(clave);
 }
 public void eliminarVarios(List<F0008> eliminar) {
   f0008DAO.delete(eliminar);
 }
 public void guardar(F0008 fooo8) {
   f0008DAO.save(fooo8);
 }