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>
ServiceManagerException
public void clearAll() throws ServiceManagerException
clearAll
in interface OveruseLimitControlService
ServiceManagerException
public void delete(AccessLimitControlModel condition) throws ServiceManagerException
delete
in interface DataService<AccessLimitControlModel>
ServiceManagerException
public void edit(AccessLimitControlModel obj) throws ServiceManagerException
edit
in interface DataService<AccessLimitControlModel>
ServiceManagerException
public AccessLimitControlModel get(String id) throws ServiceManagerException
get
in interface DataService<AccessLimitControlModel>
ServiceManagerException
public LangridList<AccessLimitControlModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList
in interface DataService<AccessLimitControlModel>
ServiceManagerException
public int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount
in interface DataService<AccessLimitControlModel>
ServiceManagerException
public void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar
in interface DataService<AccessLimitControlModel>
public LangridList<AccessLimitControlModel> getAll() throws ServiceManagerException
getAll
in interface OveruseLimitControlService
ServiceManagerException
public LangridList<OverUseStateModel> getAllStatList(Calendar cal, Calendar cal2, Order[] orders, Period period) throws ServiceManagerException
getAllStatList
in interface OveruseLimitControlService
ServiceManagerException
public LangridList<OverUseStateModel> getStatList(int first, int count, Calendar cal, Calendar cal2, Order[] orders, Period period) throws ServiceManagerException
getStatList
in interface OveruseLimitControlService
ServiceManagerException
public int getStatTotalCount(Calendar cal, Calendar cal2, Order[] orders, Period period) throws ServiceManagerException
getStatTotalCount
in interface OveruseLimitControlService
ServiceManagerException
public boolean isExist(String dataId) throws ServiceManagerException
isExist
in interface DataService<AccessLimitControlModel>
ServiceManagerException