]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org/argeo/server/dao/LightDaoSupport.java
1 package org
.argeo
.server
.dao
;
5 public interface LightDaoSupport
{
6 public <T
> T
getByKey(Class
<T
> clss
, Object key
);
8 public <T
> T
getByField(Class
<T
> clss
, String field
, Object value
);
10 public <T
> List
<T
> list(Class
<T
> clss
, Object filter
);
12 public List
<Class
<?
>> getSupportedClasses();
14 public void saveOrUpdate(Object key
, Object value
, Class
<?
> clss
);