public class DefaultSendSMSService extends AbstractBusinessService implements SendSMSService
AbstractService.SerializableDTO| Modifier and Type | Field and Description |
|---|---|
static long |
SEND_TIMEOUT |
modelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultSendSMSService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
sendLink(String countryIsoCode,
String phoneNumber,
String subject,
String url)
Send link.
|
boolean |
sendSms(String countryIsoCode,
String phoneNumber,
String text)
Send sms.
|
void |
setMessageHelper(MessageHelper messageHelper) |
void |
setTextService(TextService textService) |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic static final long SEND_TIMEOUT
public boolean sendLink(String countryIsoCode, String phoneNumber, String subject, String url)
SendSMSServicesendLink in interface SendSMSServicecountryIsoCode - the country iso codephoneNumber - the phone numbersubject - the subjecturl - the urlSendSMSService.sendLink(java.lang.String, java.lang.String, java.lang.String,
java.lang.String)public boolean sendSms(String countryIsoCode, String phoneNumber, String text)
SendSMSServicesendSms in interface SendSMSServicecountryIsoCode - the country iso codephoneNumber - the phone numbertext - the textSendSMSService.sendSms(java.lang.String, java.lang.String, java.lang.String)public void setTextService(TextService textService)
public void setMessageHelper(MessageHelper messageHelper)
Copyright © 2017 SAP SE. All Rights Reserved.