public class GridServiceImpl extends Object implements GridService
| Constructor and Description |
|---|
GridServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(GridModel obj) |
void |
delete(GridModel condition) |
void |
edit(GridModel obj) |
GridModel |
get(String id) |
LangridList<GridModel> |
getAll() |
LangridList<GridModel> |
getList(int index,
int count,
MatchingCondition[] conditions,
Order[] orders,
Scope scope) |
int |
getPasswordExpiredDay() |
String |
getSelfGridId() |
int |
getTotalCount(MatchingCondition[] conditions,
Scope scope) |
boolean |
isAutoApproveEnabled() |
boolean |
isCommercialUse() |
boolean |
isExist(String dataId) |
void |
setAutoApproveEnabled(boolean autoApproveEnabled) |
void |
setCommercialUse(boolean isCommercialUse) |
void |
setPasswordExpiredDay(int day) |
void |
setScopeParametar(String serviceGridId,
String userGridId,
String userId) |
void |
setSelfGridId(String gridId) |
public GridServiceImpl()
throws ServiceManagerException
ServiceManagerExceptionpublic void add(GridModel obj) throws ServiceManagerException
add in interface DataService<GridModel>ServiceManagerExceptionpublic void delete(GridModel condition) throws ServiceManagerException
delete in interface DataService<GridModel>ServiceManagerExceptionpublic void edit(GridModel obj) throws ServiceManagerException
edit in interface DataService<GridModel>ServiceManagerExceptionpublic GridModel get(String id) throws ServiceManagerException
get in interface DataService<GridModel>ServiceManagerExceptionpublic LangridList<GridModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList in interface DataService<GridModel>ServiceManagerExceptionpublic int getPasswordExpiredDay()
throws ServiceManagerException
getPasswordExpiredDay in interface GridServiceServiceManagerExceptionGridLogic().SystemPropertyLogicpublic String getSelfGridId() throws ServiceManagerException
getSelfGridId in interface GridServiceServiceManagerExceptionpublic void setSelfGridId(String gridId)
setSelfGridId in interface GridServicepublic int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount in interface DataService<GridModel>ServiceManagerExceptionpublic boolean isAutoApproveEnabled()
throws ServiceManagerException
isAutoApproveEnabled in interface GridServiceServiceManagerExceptionpublic boolean isCommercialUse()
throws ServiceManagerException
isCommercialUse in interface GridServiceServiceManagerExceptionpublic void setAutoApproveEnabled(boolean autoApproveEnabled)
throws ServiceManagerException
setAutoApproveEnabled in interface GridServiceServiceManagerExceptionpublic void setCommercialUse(boolean isCommercialUse)
throws ServiceManagerException
setCommercialUse in interface GridServiceServiceManagerExceptionpublic void setPasswordExpiredDay(int day)
throws ServiceManagerException
setPasswordExpiredDay in interface GridServiceServiceManagerExceptionpublic LangridList<GridModel> getAll() throws ServiceManagerException
getAll in interface GridServiceServiceManagerExceptionpublic void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar in interface DataService<GridModel>public boolean isExist(String dataId) throws ServiceManagerException
isExist in interface DataService<GridModel>ServiceManagerException