public class SmsSCAClient extends Object implements SmsService
ErrorCode_sendError, ErrorCode_SMS_InvalidType, ErrorCode_SMS_smsMoreThan5| 构造器和说明 |
|---|
SmsSCAClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
countSmsIds() |
boolean |
delete(Long id) |
void |
deleteList(Class clz,
List<Long> ids) |
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) |
Sms |
getObjectById(Long id) |
List<Sms> |
getObjectsByIds(List<Long> ids) |
Long |
getSmsIdByMobileAndType(String mobile,
String type) |
List<Long> |
getSmsIds(Integer start,
Integer limit) |
SmsService |
getSmsService() |
Long |
insert(Sms sms) |
List<Sms> |
insertList(List<Sms> smsList) |
String |
sendMsg(String phone,
String type)
send message
|
String |
sendVoice(String phone,
String type)
send voice
|
void |
setSmsService(SmsService smsService) |
boolean |
update(Sms sms) |
boolean |
updateList(List<Sms> smsList) |
public SmsService getSmsService()
public void setSmsService(SmsService smsService)
public Long insert(Sms sms) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Sms> insertList(List<Sms> smsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
delete 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(Sms sms) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
update 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<Sms> smsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Sms getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Sms> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getSmsIdByMobileAndType(String mobile, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getSmsIdByMobileAndType 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getSmsIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getSmsIds 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countSmsIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countSmsIds 在接口中 SmsServicecom.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.ServiceDaoExceptionpublic String sendMsg(String phone, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
SmsServicesendMsg 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic String sendVoice(String phone, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
SmsServicesendVoice 在接口中 SmsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.