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
ServiceManagerException
public TemporaryUserModel get(String id) throws ServiceManagerException
get
in interface DataService<TemporaryUserModel>
ServiceManagerException
public LangridList<TemporaryUserModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList
in interface DataService<TemporaryUserModel>
ServiceManagerException
public int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount
in interface DataService<TemporaryUserModel>
ServiceManagerException
public void add(TemporaryUserModel model) throws ServiceManagerException
add
in interface DataService<TemporaryUserModel>
ServiceManagerException
public void edit(TemporaryUserModel model) throws ServiceManagerException
edit
in interface DataService<TemporaryUserModel>
ServiceManagerException
public void delete(TemporaryUserModel model) throws ServiceManagerException
delete
in interface DataService<TemporaryUserModel>
ServiceManagerException
public void clearExpiredUsers() throws ServiceManagerException
clearExpiredUsers
in interface TemporaryUserService
ServiceManagerException
public 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