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
ServiceManagerException
public void add(GridModel obj) throws ServiceManagerException
add
in interface DataService<GridModel>
ServiceManagerException
public void delete(GridModel condition) throws ServiceManagerException
delete
in interface DataService<GridModel>
ServiceManagerException
public void edit(GridModel obj) throws ServiceManagerException
edit
in interface DataService<GridModel>
ServiceManagerException
public GridModel get(String id) throws ServiceManagerException
get
in interface DataService<GridModel>
ServiceManagerException
public LangridList<GridModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList
in interface DataService<GridModel>
ServiceManagerException
public int getPasswordExpiredDay() throws ServiceManagerException
getPasswordExpiredDay
in interface GridService
ServiceManagerException
GridLogic().SystemPropertyLogic
public String getSelfGridId() throws ServiceManagerException
getSelfGridId
in interface GridService
ServiceManagerException
public void setSelfGridId(String gridId)
setSelfGridId
in interface GridService
public int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount
in interface DataService<GridModel>
ServiceManagerException
public boolean isAutoApproveEnabled() throws ServiceManagerException
isAutoApproveEnabled
in interface GridService
ServiceManagerException
public boolean isCommercialUse() throws ServiceManagerException
isCommercialUse
in interface GridService
ServiceManagerException
public void setAutoApproveEnabled(boolean autoApproveEnabled) throws ServiceManagerException
setAutoApproveEnabled
in interface GridService
ServiceManagerException
public void setCommercialUse(boolean isCommercialUse) throws ServiceManagerException
setCommercialUse
in interface GridService
ServiceManagerException
public void setPasswordExpiredDay(int day) throws ServiceManagerException
setPasswordExpiredDay
in interface GridService
ServiceManagerException
public LangridList<GridModel> getAll() throws ServiceManagerException
getAll
in interface GridService
ServiceManagerException
public 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