public class TemporaryUserServiceImpl extends Object implements TemporaryUserService
| Constructor and Description |
|---|
TemporaryUserServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(TemporaryUserModel model) |
void |
clearExpiredUsers() |
void |
delete(TemporaryUserModel model) |
void |
edit(TemporaryUserModel model) |
TemporaryUserModel |
get(String id) |
LangridList<TemporaryUserModel> |
getList(int index,
int count,
MatchingCondition[] conditions,
Order[] orders,
Scope scope) |
int |
getTotalCount(MatchingCondition[] conditions,
Scope scope) |
boolean |
isExist(String dataId) |
void |
setScopeParametar(String serviceGridId,
String userGridId,
String userId) |
public TemporaryUserServiceImpl()
throws ServiceManagerException
ServiceManagerExceptionpublic TemporaryUserModel get(String id) throws ServiceManagerException
get in interface DataService<TemporaryUserModel>ServiceManagerExceptionpublic LangridList<TemporaryUserModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList in interface DataService<TemporaryUserModel>ServiceManagerExceptionpublic int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount in interface DataService<TemporaryUserModel>ServiceManagerExceptionpublic void add(TemporaryUserModel model) throws ServiceManagerException
add in interface DataService<TemporaryUserModel>ServiceManagerExceptionpublic void edit(TemporaryUserModel model) throws ServiceManagerException
edit in interface DataService<TemporaryUserModel>ServiceManagerExceptionpublic void delete(TemporaryUserModel model) throws ServiceManagerException
delete in interface DataService<TemporaryUserModel>ServiceManagerExceptionpublic void clearExpiredUsers()
throws ServiceManagerException
clearExpiredUsers in interface TemporaryUserServiceServiceManagerExceptionpublic void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar in interface DataService<TemporaryUserModel>public boolean isExist(String dataId) throws ServiceManagerException
isExist in interface DataService<TemporaryUserModel>ServiceManagerException