Class OutboundSmsConfigurationDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.system.configurations.CustomScriptConfigurationDTO
-
- org.cyclos.model.system.configurations.OutboundSmsConfigurationDTO
-
- All Implemented Interfaces:
Serializable
public class OutboundSmsConfigurationDTO extends CustomScriptConfigurationDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,OutboundSmsConfigurationDTO>ASCII_ONLYstatic StringCLASS_NAMEstatic BasicProperty<Boolean,OutboundSmsConfigurationDTO>ENABLEDstatic BasicProperty<String,OutboundSmsConfigurationDTO>ENCODINGstatic BasicProperty<String,OutboundSmsConfigurationDTO>GATEWAY_URLstatic BasicProperty<String,OutboundSmsConfigurationDTO>HEADERSstatic BasicProperty<Integer,OutboundSmsConfigurationDTO>MAX_MESSAGES_PER_MONTHstatic BasicProperty<Integer,OutboundSmsConfigurationDTO>MAX_MESSAGES_TO_UNREGISTEREDstatic BasicProperty<String,OutboundSmsConfigurationDTO>PASSWORDstatic BasicProperty<Boolean,OutboundSmsConfigurationDTO>PASSWORD_SETstatic BasicProperty<String,OutboundSmsConfigurationDTO>POST_BODYstatic BasicProperty<SmsRequestType,OutboundSmsConfigurationDTO>REQUEST_TYPEstatic BasicProperty<String,OutboundSmsConfigurationDTO>USERNAME-
Fields inherited from class org.cyclos.model.system.configurations.CustomScriptConfigurationDTO
SCRIPT, SCRIPT_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description OutboundSmsConfigurationDTO()OutboundSmsConfigurationDTO(Property<T,? super OutboundSmsConfigurationDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetEncoding()StringgetGatewayUrl()StringgetHeaders()IntegergetMaxMessagesPerMonth()IntegergetMaxMessagesToUnregistered()StringgetPassword()StringgetPostBody()SmsRequestTypegetRequestType()StringgetUsername()booleanisAsciiOnly()booleanisEnabled()booleanisPasswordSet()voidsetAsciiOnly(boolean asciiOnly)voidsetEnabled(boolean enabled)voidsetEncoding(String encoding)voidsetGatewayUrl(String gatewayUrl)voidsetHeaders(String headers)voidsetMaxMessagesPerMonth(Integer maxMessagesPerMonth)voidsetMaxMessagesToUnregistered(Integer maxMessagesToUnregistered)voidsetPassword(String password)voidsetPasswordSet(boolean passwordSet)voidsetPostBody(String postBody)voidsetRequestType(SmsRequestType requestType)voidsetUsername(String username)-
Methods inherited from class org.cyclos.model.system.configurations.CustomScriptConfigurationDTO
getScript, getScriptParameters, setScript, setScriptParameters
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ASCII_ONLY
public static final BasicProperty<Boolean,OutboundSmsConfigurationDTO> ASCII_ONLY
-
ENABLED
public static final BasicProperty<Boolean,OutboundSmsConfigurationDTO> ENABLED
-
ENCODING
public static final BasicProperty<String,OutboundSmsConfigurationDTO> ENCODING
-
GATEWAY_URL
public static final BasicProperty<String,OutboundSmsConfigurationDTO> GATEWAY_URL
-
HEADERS
public static final BasicProperty<String,OutboundSmsConfigurationDTO> HEADERS
-
MAX_MESSAGES_PER_MONTH
public static final BasicProperty<Integer,OutboundSmsConfigurationDTO> MAX_MESSAGES_PER_MONTH
-
MAX_MESSAGES_TO_UNREGISTERED
public static final BasicProperty<Integer,OutboundSmsConfigurationDTO> MAX_MESSAGES_TO_UNREGISTERED
-
PASSWORD
public static final BasicProperty<String,OutboundSmsConfigurationDTO> PASSWORD
-
PASSWORD_SET
public static final BasicProperty<Boolean,OutboundSmsConfigurationDTO> PASSWORD_SET
-
POST_BODY
public static final BasicProperty<String,OutboundSmsConfigurationDTO> POST_BODY
-
REQUEST_TYPE
public static final BasicProperty<SmsRequestType,OutboundSmsConfigurationDTO> REQUEST_TYPE
-
USERNAME
public static final BasicProperty<String,OutboundSmsConfigurationDTO> USERNAME
-
-
Constructor Detail
-
OutboundSmsConfigurationDTO
public OutboundSmsConfigurationDTO()
-
OutboundSmsConfigurationDTO
public OutboundSmsConfigurationDTO(Property<T,? super OutboundSmsConfigurationDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classCustomScriptConfigurationDTO
-
isAsciiOnly
public boolean isAsciiOnly()
-
setAsciiOnly
public void setAsciiOnly(boolean asciiOnly)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getEncoding
public String getEncoding()
-
setEncoding
public void setEncoding(String encoding)
-
getGatewayUrl
public String getGatewayUrl()
-
setGatewayUrl
public void setGatewayUrl(String gatewayUrl)
-
getHeaders
public String getHeaders()
-
setHeaders
public void setHeaders(String headers)
-
getMaxMessagesPerMonth
public Integer getMaxMessagesPerMonth()
-
setMaxMessagesPerMonth
public void setMaxMessagesPerMonth(Integer maxMessagesPerMonth)
-
getMaxMessagesToUnregistered
public Integer getMaxMessagesToUnregistered()
-
setMaxMessagesToUnregistered
public void setMaxMessagesToUnregistered(Integer maxMessagesToUnregistered)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
isPasswordSet
public boolean isPasswordSet()
-
setPasswordSet
public void setPasswordSet(boolean passwordSet)
-
getPostBody
public String getPostBody()
-
setPostBody
public void setPostBody(String postBody)
-
getRequestType
public SmsRequestType getRequestType()
-
setRequestType
public void setRequestType(SmsRequestType requestType)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
className
public String className()
- Overrides:
classNamein classCustomScriptConfigurationDTO
-
-