public class AccessRightControlServiceImpl extends Object implements AccessRightControlService
| Constructor and Description |
|---|
AccessRightControlServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AccessRightControlModel obj) |
void |
delete(AccessRightControlModel condition) |
void |
edit(AccessRightControlModel obj) |
AccessRightControlModel |
get(String id) |
LangridList<AccessRightControlModel> |
getList(int index,
int count,
MatchingCondition[] conditions,
Order[] orders,
Scope scope) |
LangridList<AccessRightControlModel> |
getList(int index,
int count,
String serviceOwnerUserId,
String serviceId,
String userGridId,
Order[] orders) |
int |
getTotalCount(MatchingCondition[] conditions,
Scope scope) |
int |
getTotalCount(String serviceGridId,
String serviceOwnerUserId,
String serviceId,
String userGridId,
String userId) |
boolean |
isExist(String dataId) |
void |
setDefault(String serviceId,
String serviceOwnerUserId,
boolean accessRight) |
void |
setScopeParametar(String serviceGridId,
String userGridId,
String userId) |
public AccessRightControlServiceImpl()
throws ServiceManagerException
ServiceManagerExceptionpublic AccessRightControlModel get(String id) throws ServiceManagerException
get in interface DataService<AccessRightControlModel>ServiceManagerExceptionpublic LangridList<AccessRightControlModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList in interface DataService<AccessRightControlModel>ServiceManagerExceptionpublic LangridList<AccessRightControlModel> getList(int index, int count, String serviceOwnerUserId, String serviceId, String userGridId, Order[] orders) throws ServiceManagerException
getList in interface AccessRightControlServiceServiceManagerExceptionpublic void add(AccessRightControlModel obj) throws ServiceManagerException
add in interface DataService<AccessRightControlModel>ServiceManagerExceptionpublic void edit(AccessRightControlModel obj) throws ServiceManagerException
edit in interface DataService<AccessRightControlModel>ServiceManagerExceptionpublic void delete(AccessRightControlModel condition) throws ServiceManagerException
delete in interface DataService<AccessRightControlModel>ServiceManagerExceptionpublic int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount in interface DataService<AccessRightControlModel>ServiceManagerExceptionpublic void setDefault(String serviceId, String serviceOwnerUserId, boolean accessRight) throws ServiceManagerException
setDefault in interface AccessRightControlServiceServiceManagerExceptionpublic void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar in interface DataService<AccessRightControlModel>public int getTotalCount(String serviceGridId, String serviceOwnerUserId, String serviceId, String userGridId, String userId) throws ServiceManagerException
getTotalCount in interface AccessRightControlServiceServiceManagerExceptionpublic boolean isExist(String dataId) throws ServiceManagerException
isExist in interface DataService<AccessRightControlModel>ServiceManagerException