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
ServiceManagerException
public AccessRightControlModel get(String id) throws ServiceManagerException
get
in interface DataService<AccessRightControlModel>
ServiceManagerException
public LangridList<AccessRightControlModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList
in interface DataService<AccessRightControlModel>
ServiceManagerException
public LangridList<AccessRightControlModel> getList(int index, int count, String serviceOwnerUserId, String serviceId, String userGridId, Order[] orders) throws ServiceManagerException
getList
in interface AccessRightControlService
ServiceManagerException
public void add(AccessRightControlModel obj) throws ServiceManagerException
add
in interface DataService<AccessRightControlModel>
ServiceManagerException
public void edit(AccessRightControlModel obj) throws ServiceManagerException
edit
in interface DataService<AccessRightControlModel>
ServiceManagerException
public void delete(AccessRightControlModel condition) throws ServiceManagerException
delete
in interface DataService<AccessRightControlModel>
ServiceManagerException
public int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount
in interface DataService<AccessRightControlModel>
ServiceManagerException
public void setDefault(String serviceId, String serviceOwnerUserId, boolean accessRight) throws ServiceManagerException
setDefault
in interface AccessRightControlService
ServiceManagerException
public 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 AccessRightControlService
ServiceManagerException
public boolean isExist(String dataId) throws ServiceManagerException
isExist
in interface DataService<AccessRightControlModel>
ServiceManagerException