public class TeacherSCAClient extends Object implements TeacherService
| 构造器和说明 |
|---|
TeacherSCAClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addTeacherRelationToStundent(User student,
Long teacherId) |
void |
addTeacherRelationToStundents(List<User> students,
Long teacherId) |
Integer |
countTeacherIds() |
boolean |
delete(Long id) |
void |
deleteList(Class clz,
List<Long> ids) |
void |
dropTeacherRelationToStundent(List<User> students,
Long teacherId) |
boolean |
fakeDelete(Class clz,
Long id) |
List<Long> |
getIdsByDynamicCondition(Class clz,
Map<String,Object> conditions,
Integer start,
Integer limit) |
Object |
getObjectByDynamicCondition(Class aClass,
Map<String,Object> map,
Integer integer,
Integer integer1) |
Teacher |
getObjectById(Long id) |
List<Teacher> |
getObjectsByIds(List<Long> ids) |
List<Long> |
getTeacherIds(Integer start,
Integer limit) |
TeacherService |
getTeacherService() |
Long |
insert(Teacher teacher) |
List<Teacher> |
insertList(List<Teacher> teacherList) |
void |
setTeacherService(TeacherService teacherService) |
boolean |
update(Teacher teacher) |
boolean |
updateList(List<Teacher> teacherList) |
public TeacherService getTeacherService()
public void setTeacherService(TeacherService teacherService)
public Long insert(Teacher teacher) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Teacher> insertList(List<Teacher> teacherList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
delete 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(Teacher teacher) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
update 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<Teacher> teacherList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Teacher getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Teacher> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getTeacherIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getTeacherIds 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countTeacherIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countTeacherIds 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void dropTeacherRelationToStundent(List<User> students, Long teacherId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
dropTeacherRelationToStundent 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void addTeacherRelationToStundent(User student, Long teacherId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
addTeacherRelationToStundent 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void addTeacherRelationToStundents(List<User> students, Long teacherId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
addTeacherRelationToStundents 在接口中 TeacherServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getIdsByDynamicCondition(Class clz, Map<String,Object> conditions, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getIdsByDynamicCondition 在接口中 com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Object getObjectByDynamicCondition(Class aClass, Map<String,Object> map, Integer integer, Integer integer1) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectByDynamicCondition 在接口中 com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean fakeDelete(Class clz, Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
fakeDelete 在接口中 com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void deleteList(Class clz, List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
deleteList 在接口中 com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2017. All rights reserved.