public class ProtocolServiceImpl extends Object implements ProtocolService
Constructor and Description |
---|
ProtocolServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
add(ProtocolModel obj) |
void |
delete(ProtocolModel condition) |
void |
deleteById(String id) |
void |
edit(ProtocolModel obj) |
ProtocolModel |
get(String id) |
LangridList<ProtocolModel> |
getAllList() |
LangridList<ProtocolModel> |
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) |
public int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount
in interface DataService<ProtocolModel>
ServiceManagerException
public void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar
in interface DataService<ProtocolModel>
public void add(ProtocolModel obj) throws ServiceManagerException
add
in interface DataService<ProtocolModel>
ServiceManagerException
public void delete(ProtocolModel condition) throws ServiceManagerException
delete
in interface DataService<ProtocolModel>
ServiceManagerException
public void deleteById(String id) throws ServiceManagerException
deleteById
in interface ProtocolService
ServiceManagerException
public void edit(ProtocolModel obj) throws ServiceManagerException
edit
in interface DataService<ProtocolModel>
ServiceManagerException
public ProtocolModel get(String id) throws ServiceManagerException
get
in interface DataService<ProtocolModel>
ServiceManagerException
public LangridList<ProtocolModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList
in interface DataService<ProtocolModel>
ServiceManagerException
public LangridList<ProtocolModel> getAllList() throws ServiceManagerException
getAllList
in interface ProtocolService
ServiceManagerException
public boolean isExist(String dataId) throws ServiceManagerException
isExist
in interface DataService<ProtocolModel>
ServiceManagerException