Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@asicfr
Created October 15, 2012 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asicfr/3891572 to your computer and use it in GitHub Desktop.
Save asicfr/3891572 to your computer and use it in GitHub Desktop.
struts2RestJpaBootstrap - interface service
package org.demo.business.service;
import java.util.List;
public interface IServices<T, PK> {
public T load(PK id) ;
public void save(T entity);
public void delete(PK id);
public List<T> search(T book);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment