public class ScheduleServiceImpl extends Object implements ScheduleService
| Constructor and Description |
|---|
ScheduleServiceImpl() |
public ScheduleModel get(String id) throws ServiceManagerException
get in interface DataService<ScheduleModel>ServiceManagerExceptionpublic ScheduleModel getByConditions(String targetGridId, String targetId, ScheduleActionType actionType, ScheduleTargetType targetType, boolean isRelated) throws ServiceManagerException
getByConditions in interface ScheduleServiceServiceManagerExceptionpublic LangridList<ScheduleModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList in interface DataService<ScheduleModel>ServiceManagerExceptionpublic List<ScheduleModel> getListByConditions(int index, int count, String targetGridId, String targetId, ScheduleActionType actionType, ScheduleTargetType targetType) throws ServiceManagerException
getListByConditions in interface ScheduleServiceServiceManagerExceptionpublic LangridList<ScheduleModel> getListPassedBookingTime(ScheduleTargetType type, Calendar fiducialTime) throws ServiceManagerException
getListPassedBookingTime in interface ScheduleServiceServiceManagerExceptionpublic ScheduleModel getNearestStatus(String targetId, ScheduleTargetType targetType) throws ServiceManagerException
getNearestStatus in interface ScheduleServiceServiceManagerExceptionpublic int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount in interface DataService<ScheduleModel>ServiceManagerExceptionpublic void add(ScheduleModel obj) throws ServiceManagerException
add in interface DataService<ScheduleModel>ServiceManagerExceptionpublic void edit(ScheduleModel obj) throws ServiceManagerException
edit in interface DataService<ScheduleModel>ServiceManagerExceptionpublic void delete(ScheduleModel condition) throws ServiceManagerException
delete in interface DataService<ScheduleModel>ServiceManagerExceptionpublic boolean canSchedule(String id, ScheduleTargetType targetType, ScheduleActionType actionType) throws ServiceManagerException
canSchedule in interface ScheduleServiceServiceManagerExceptionpublic void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar in interface DataService<ScheduleModel>public boolean isExist(String dataId) throws ServiceManagerException
isExist in interface DataService<ScheduleModel>ServiceManagerException