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