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
ServiceManagerException
public void add(OperationRequestModel obj) throws ServiceManagerException
add
in interface DataService<OperationRequestModel>
ServiceManagerException
public void delete(OperationRequestModel condition) throws ServiceManagerException
delete
in interface DataService<OperationRequestModel>
ServiceManagerException
public void deleteByTargetId(String targetId, OperationType type) throws ServiceManagerException
deleteByTargetId
in interface OperationRequestService
ServiceManagerException
public void deleteList(List<OperationRequestModel> list) throws ServiceManagerException
deleteList
in interface OperationRequestService
ServiceManagerException
public void edit(OperationRequestModel obj) throws ServiceManagerException
edit
in interface DataService<OperationRequestModel>
ServiceManagerException
public OperationRequestModel get(String id) throws ServiceManagerException
get
in interface DataService<OperationRequestModel>
ServiceManagerException
public OperationRequestModel getByTargetId(String targetId, OperationType type) throws ServiceManagerException
getByTargetId
in interface OperationRequestService
ServiceManagerException
public LangridList<OperationRequestModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList
in interface DataService<OperationRequestModel>
ServiceManagerException
public int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount
in interface DataService<OperationRequestModel>
ServiceManagerException
public 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