Package org.cyclos.impl.utils.sms
Class TextSmsOperation
- java.lang.Object
-
- org.cyclos.impl.utils.sms.BaseSmsOperation
-
- org.cyclos.impl.utils.sms.TextSmsOperation
-
- All Implemented Interfaces:
SmsOperation
public class TextSmsOperation extends BaseSmsOperation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.impl.utils.sms.BaseSmsOperation
BaseSmsOperation.BaseError
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.utils.sms.BaseSmsOperation
accountHandler, agreementLogService, configurationHandler, conversionHandler, dataTranslationHandler, entityManagerHandler, invokerHandler, outboundSmsHandler, passwordHandler, profileFieldHandler, translationHandler, userLocatorHandler
-
-
Constructor Summary
Constructors Constructor Description TextSmsOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckParametersCount(SmsOperationConfiguration operationConfiguration, List<String> parameters)This method must be implemented to check the minimum and maximum expected parametersprotected voiddoExecute(SmsOperationConfiguration operationConfiguration, MobilePhone phone, InboundSmsData sms, SmsParameterProcessor processor)protected List<String>getHelpComponents(SmsOperationConfiguration operationConfiguration)-
Methods inherited from class org.cyclos.impl.utils.sms.BaseSmsOperation
execute, formatShort, getFormatter, getHelp, getLongestAlias, getOperationExecution, getSessionData, handleError, message, sendEvenIfDisabled, sendResponse, sendToUnregistered
-
-
-
-
Method Detail
-
checkParametersCount
protected void checkParametersCount(SmsOperationConfiguration operationConfiguration, List<String> parameters) throws SmsOperationException
Description copied from class:BaseSmsOperationThis method must be implemented to check the minimum and maximum expected parameters- Specified by:
checkParametersCountin classBaseSmsOperation- Throws:
SmsOperationException
-
doExecute
protected void doExecute(SmsOperationConfiguration operationConfiguration, MobilePhone phone, InboundSmsData sms, SmsParameterProcessor processor) throws SmsOperationException
- Specified by:
doExecutein classBaseSmsOperation- Throws:
SmsOperationException
-
getHelpComponents
protected List<String> getHelpComponents(SmsOperationConfiguration operationConfiguration)
- Specified by:
getHelpComponentsin classBaseSmsOperation
-
-