25 lines
432 B
Java
25 lines
432 B
Java
/*
|
|
* To change this template, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
package com.rjconsultores.ventaboletos.service;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
*
|
|
* @author Administrador
|
|
*/
|
|
public interface GenericService<T, ID> {
|
|
|
|
public List<T> obtenerTodos();
|
|
|
|
public T obtenerID(ID id);
|
|
|
|
public T suscribir(T entidad);
|
|
|
|
public T actualizacion(T entidad);
|
|
|
|
public void borrar(T entidad);
|
|
}
|