Class SmsParameterProviderImpl
java.lang.Object
ch.tocco.nice2.optional.sms.impl.services.SmsParameterProviderImpl
- All Implemented Interfaces:
SmsParameterProvider
-
Constructor Summary
ConstructorDescriptionSmsParameterProviderImpl
(BusinessUnitManager businessUnitManager, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
setBaseUrl
(String baseUrl) void
setPassword
(String password) void
setProvider
(String provider) void
setSimulateSms
(boolean simulateSms) void
setUsername
(String username) void
setWarningLimit
(int warningLimit)
-
Constructor Details
-
SmsParameterProviderImpl
public SmsParameterProviderImpl(BusinessUnitManager businessUnitManager, SecurityManager securityManager)
-
-
Method Details
-
getProvider
- Specified by:
getProvider
in interfaceSmsParameterProvider
-
getBaseUrl
- Specified by:
getBaseUrl
in interfaceSmsParameterProvider
-
getUsername
- Specified by:
getUsername
in interfaceSmsParameterProvider
-
getPassword
- Specified by:
getPassword
in interfaceSmsParameterProvider
-
getWarningLimit
public int getWarningLimit()- Specified by:
getWarningLimit
in interfaceSmsParameterProvider
-
isSimulateSms
public boolean isSimulateSms()- Specified by:
isSimulateSms
in interfaceSmsParameterProvider
-
setProvider
-
setBaseUrl
-
setUsername
-
setPassword
-
setWarningLimit
@Value("${sms.warning.limit}") public void setWarningLimit(int warningLimit) -
setSimulateSms
@Value("${sms.simulateSms}") public void setSimulateSms(boolean simulateSms)
-