public class OperationRequestServiceImpl extends Object implements OperationRequestService
| Constructor and Description |
|---|
OperationRequestServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(OperationRequestModel obj) |
void |
delete(OperationRequestModel condition) |
void |
deleteByTargetId(String targetId,
OperationType type) |
void |
deleteList(List<OperationRequestModel> list) |
void |
edit(OperationRequestModel obj) |
OperationRequestModel |
get(String id) |
OperationRequestModel |
getByTargetId(String targetId,
OperationType type) |
LangridList<OperationRequestModel> |
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 OperationRequestServiceImpl()
throws ServiceManagerException
ServiceManagerExceptionpublic void add(OperationRequestModel obj) throws ServiceManagerException
add in interface DataService<OperationRequestModel>ServiceManagerExceptionpublic void delete(OperationRequestModel condition) throws ServiceManagerException
delete in interface DataService<OperationRequestModel>ServiceManagerExceptionpublic void deleteByTargetId(String targetId, OperationType type) throws ServiceManagerException
deleteByTargetId in interface OperationRequestServiceServiceManagerExceptionpublic void deleteList(List<OperationRequestModel> list) throws ServiceManagerException
deleteList in interface OperationRequestServiceServiceManagerExceptionpublic void edit(OperationRequestModel obj) throws ServiceManagerException
edit in interface DataService<OperationRequestModel>ServiceManagerExceptionpublic OperationRequestModel get(String id) throws ServiceManagerException
get in interface DataService<OperationRequestModel>ServiceManagerExceptionpublic OperationRequestModel getByTargetId(String targetId, OperationType type) throws ServiceManagerException
getByTargetId in interface OperationRequestServiceServiceManagerExceptionpublic LangridList<OperationRequestModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList in interface DataService<OperationRequestModel>ServiceManagerExceptionpublic int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount in interface DataService<OperationRequestModel>ServiceManagerExceptionpublic void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar in interface DataService<OperationRequestModel>public boolean isExist(String dataId) throws ServiceManagerException
isExist in interface DataService<OperationRequestModel>ServiceManagerException