1 /* 2 * joey and its relative products are published under the terms 3 * of the Apache Software License. 4 * 5 * Created on 2004/06/05 1:54:02 6 */ 7 package org.asyrinx.joey.om; 8 9 import java.io.Serializable; 10 import java.util.List; 11 12 /*** 13 * @author akima 14 */ 15 public interface EntityService { 16 17 public Entity newEntity(); 18 19 public void restoreBeforeSave(Entity entity); 20 21 public Entity loadEntity(Serializable key); 22 23 public List select(SearchCondition condition); 24 25 public void saveEntity(Object entity); 26 27 public void deleteEntity(Serializable key); 28 }