public interface DataService<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
add(T obj) |
void |
delete(T condition) |
void |
edit(T obj) |
T |
get(String id) |
LangridList<T> |
getList(int index,
int count,
MatchingCondition[] conditions,
Order[] orders,
Scope scope) |
int |
getTotalCount(MatchingCondition[] conditions,
Scope scope) |
boolean |
isExist(String dataId) |
void |
setScopeParametar(String serviceGridId,
String userGridId,
String userId) |
void add(T obj) throws ServiceManagerException
ServiceManagerException
T get(String id) throws ServiceManagerException
ServiceManagerException
LangridList<T> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
ServiceManagerException
int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
ServiceManagerException
void edit(T obj) throws ServiceManagerException
ServiceManagerException
void delete(T condition) throws ServiceManagerException
ServiceManagerException
boolean isExist(String dataId) throws ServiceManagerException
ServiceManagerException