View Javadoc

1   /*
2    * joey-rt and its relative products are published under the terms
3    * of the Apache Software License.
4    * 
5    * Created on 2004/12/12 0:56:21
6    */
7   package org.asyrinx.joey.entity.service;
8   
9   import java.io.Serializable;
10  import java.util.List;
11  
12  import org.asyrinx.brownie.core.query.exp.IExpression;
13  
14  /***
15   * @author takeshi
16   */
17  public interface EntityServiceDispatcher {
18  
19      Object load(Class entityClass, Serializable key);
20  
21      void delete(Object entity);
22  
23      void save(Object entity);
24  
25      List select(Class entityClass, IExpression condition);
26  }