public class OveruseLimitControlServiceImpl extends Object implements OveruseLimitControlService
| Constructor and Description |
|---|
OveruseLimitControlServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AccessLimitControlModel obj) |
void |
clearAll() |
void |
delete(AccessLimitControlModel condition) |
void |
edit(AccessLimitControlModel obj) |
AccessLimitControlModel |
get(String id) |
LangridList<AccessLimitControlModel> |
getAll() |
LangridList<OverUseStateModel> |
getAllStatList(Calendar cal,
Calendar cal2,
Order[] orders,
Period period) |
LangridList<AccessLimitControlModel> |
getList(int index,
int count,
MatchingCondition[] conditions,
Order[] orders,
Scope scope) |
LangridList<OverUseStateModel> |
getStatList(int first,
int count,
Calendar cal,
Calendar cal2,
Order[] orders,
Period period) |
int |
getStatTotalCount(Calendar cal,
Calendar cal2,
Order[] orders,
Period period) |
int |
getTotalCount(MatchingCondition[] conditions,
Scope scope) |
boolean |
isExist(String dataId) |
void |
setScopeParametar(String serviceGridId,
String userGridId,
String userId) |
public void add(AccessLimitControlModel obj) throws ServiceManagerException
add in interface DataService<AccessLimitControlModel>ServiceManagerExceptionpublic void clearAll()
throws ServiceManagerException
clearAll in interface OveruseLimitControlServiceServiceManagerExceptionpublic void delete(AccessLimitControlModel condition) throws ServiceManagerException
delete in interface DataService<AccessLimitControlModel>ServiceManagerExceptionpublic void edit(AccessLimitControlModel obj) throws ServiceManagerException
edit in interface DataService<AccessLimitControlModel>ServiceManagerExceptionpublic AccessLimitControlModel get(String id) throws ServiceManagerException
get in interface DataService<AccessLimitControlModel>ServiceManagerExceptionpublic LangridList<AccessLimitControlModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList in interface DataService<AccessLimitControlModel>ServiceManagerExceptionpublic int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount in interface DataService<AccessLimitControlModel>ServiceManagerExceptionpublic void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar in interface DataService<AccessLimitControlModel>public LangridList<AccessLimitControlModel> getAll() throws ServiceManagerException
getAll in interface OveruseLimitControlServiceServiceManagerExceptionpublic LangridList<OverUseStateModel> getAllStatList(Calendar cal, Calendar cal2, Order[] orders, Period period) throws ServiceManagerException
getAllStatList in interface OveruseLimitControlServiceServiceManagerExceptionpublic LangridList<OverUseStateModel> getStatList(int first, int count, Calendar cal, Calendar cal2, Order[] orders, Period period) throws ServiceManagerException
getStatList in interface OveruseLimitControlServiceServiceManagerExceptionpublic int getStatTotalCount(Calendar cal, Calendar cal2, Order[] orders, Period period) throws ServiceManagerException
getStatTotalCount in interface OveruseLimitControlServiceServiceManagerExceptionpublic boolean isExist(String dataId) throws ServiceManagerException
isExist in interface DataService<AccessLimitControlModel>ServiceManagerException