Package org.cyclos.entities.system
Class ChannelConfiguration
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.system.ChannelConfiguration
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForDataTranslation,ChannelAccessAccessor,ChannelSettingsAccessor,IEntity
- Direct Known Subclasses:
SmsChannelConfiguration
@Entity public class ChannelConfiguration extends BaseEntity implements ChannelSettingsAccessor, ChannelAccessAccessor
Contains definitions for a given pair of configuration and channel
-
-
Constructor Summary
Constructors Constructor Description ChannelConfiguration()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, toShortString, toString, uniqueIds, uniqueIds
-
-
-
-
Method Detail
-
getAccessPassword
public PasswordType getAccessPassword()
- Specified by:
getAccessPasswordin interfaceChannelAccessAccessor
-
getChannel
public Channel getChannel()
- Specified by:
getChannelin interfaceChannelAccessAccessor- Specified by:
getChannelin interfaceChannelSettingsAccessor
-
getConfiguration
public Configuration getConfiguration()
-
getConfirmationDeviceAvailability
public Availability getConfirmationDeviceAvailability()
- Specified by:
getConfirmationDeviceAvailabilityin interfaceChannelAccessAccessor
-
getConfirmationPassword
public PasswordType getConfirmationPassword()
- Specified by:
getConfirmationPasswordin interfaceChannelAccessAccessor
-
getDefaultPaymentIdMethod
public IdentificationMethod getDefaultPaymentIdMethod()
- Specified by:
getDefaultPaymentIdMethodin interfaceChannelSettingsAccessor
-
getDefaultPaymentPrincipalType
public PrincipalType getDefaultPaymentPrincipalType()
- Specified by:
getDefaultPaymentPrincipalTypein interfaceChannelSettingsAccessor
-
getDefaultPrincipalType
public PrincipalType getDefaultPrincipalType()
- Specified by:
getDefaultPrincipalTypein interfaceChannelAccessAccessor
-
getDefaultReceivePaymentIdMethod
public IdentificationMethod getDefaultReceivePaymentIdMethod()
- Specified by:
getDefaultReceivePaymentIdMethodin interfaceChannelSettingsAccessor
-
getDefaultReceivePaymentPrincipalType
public PrincipalType getDefaultReceivePaymentPrincipalType()
- Specified by:
getDefaultReceivePaymentPrincipalTypein interfaceChannelSettingsAccessor
-
getIdentityProviders
public Set<IdentityProvider> getIdentityProviders()
- Specified by:
getIdentityProvidersin interfaceChannelAccessAccessor
-
getIpWhitelist
public String getIpWhitelist()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPaymentPrincipalTypes
public Set<PrincipalType> getPaymentPrincipalTypes()
- Specified by:
getPaymentPrincipalTypesin interfaceChannelSettingsAccessor
-
getPinConfiguration
public PinChannelConfiguration getPinConfiguration()
- Specified by:
getPinConfigurationin interfaceChannelAccessAccessor
-
getPrincipalTypes
public Set<PrincipalType> getPrincipalTypes()
- Specified by:
getPrincipalTypesin interfaceChannelAccessAccessor
-
getPrincipalTypesAllowingQrCode
public Set<PrincipalType> getPrincipalTypesAllowingQrCode()
- Specified by:
getPrincipalTypesAllowingQrCodein interfaceChannelSettingsAccessor
-
getReceivePaymentPrincipalTypes
public Set<PrincipalType> getReceivePaymentPrincipalTypes()
- Specified by:
getReceivePaymentPrincipalTypesin interfaceChannelSettingsAccessor
-
getRegistrationWithIdentityProviders
public RegistrationWithIdentityProviders getRegistrationWithIdentityProviders()
- Specified by:
getRegistrationWithIdentityProvidersin interfaceChannelAccessAccessor
-
getSecondaryDeviceAvailability
public Availability getSecondaryDeviceAvailability()
- Specified by:
getSecondaryDeviceAvailabilityin interfaceChannelAccessAccessor
-
getSecondaryPassword
public PasswordType getSecondaryPassword()
- Specified by:
getSecondaryPasswordin interfaceChannelAccessAccessor
-
getSessionTimeout
public TimeInterval getSessionTimeout()
- Specified by:
getSessionTimeoutin interfaceChannelAccessAccessor
-
getUserAccess
public UserChannelAccess getUserAccess()
- Specified by:
getUserAccessin interfaceChannelAccessAccessor
-
getWhitelist
public InternetAddressList getWhitelist()
- Specified by:
getWhitelistin interfaceChannelAccessAccessor
-
isAllowLogin
public boolean isAllowLogin()
-
isAllowScanQrCodeOnPayment
public boolean isAllowScanQrCodeOnPayment()
- Specified by:
isAllowScanQrCodeOnPaymentin interfaceChannelSettingsAccessor
-
isAllowScanQrCodeOnReceivePayment
public boolean isAllowScanQrCodeOnReceivePayment()
- Specified by:
isAllowScanQrCodeOnReceivePaymentin interfaceChannelSettingsAccessor
-
isAutocompleteOnPayment
public boolean isAutocompleteOnPayment()
- Specified by:
isAutocompleteOnPaymentin interfaceChannelSettingsAccessor
-
isAutocompleteOnReceivePayment
public boolean isAutocompleteOnReceivePayment()
- Specified by:
isAutocompleteOnReceivePaymentin interfaceChannelSettingsAccessor
-
isConfirmationOncePerSession
public boolean isConfirmationOncePerSession()
- Specified by:
isConfirmationOncePerSessionin interfaceChannelAccessAccessor
-
isContactsOnPayment
public boolean isContactsOnPayment()
- Specified by:
isContactsOnPaymentin interfaceChannelSettingsAccessor
-
isContactsOnReceivePayment
public boolean isContactsOnReceivePayment()
- Specified by:
isContactsOnReceivePaymentin interfaceChannelSettingsAccessor
-
isDefined
public boolean isDefined()
-
isEnabled
public boolean isEnabled()
-
isLocked
public boolean isLocked()
-
isRequireAuthenticationForDeviceConfirmation
public boolean isRequireAuthenticationForDeviceConfirmation()
- Specified by:
isRequireAuthenticationForDeviceConfirmationin interfaceChannelAccessAccessor
-
isRequireTrustedDeviceForLogin
public boolean isRequireTrustedDeviceForLogin()
- Specified by:
isRequireTrustedDeviceForLoginin interfaceChannelAccessAccessor
-
isSkipConfirmationForTrustedDevices
public boolean isSkipConfirmationForTrustedDevices()
- Specified by:
isSkipConfirmationForTrustedDevicesin interfaceChannelAccessAccessor
-
isUseIpWhitelist
public boolean isUseIpWhitelist()
- Specified by:
isUseIpWhitelistin interfaceChannelAccessAccessor
-
setAccessPassword
public void setAccessPassword(PasswordType accessPassword)
-
setAllowLogin
public void setAllowLogin(boolean allowLogin)
-
setAllowScanQrCodeOnPayment
public void setAllowScanQrCodeOnPayment(boolean allowScanQrCodeOnPayment)
-
setAllowScanQrCodeOnReceivePayment
public void setAllowScanQrCodeOnReceivePayment(boolean allowScanQrCodeOnReceivePayment)
-
setAutocompleteOnPayment
public void setAutocompleteOnPayment(boolean autocompleteOnPayment)
-
setAutocompleteOnReceivePayment
public void setAutocompleteOnReceivePayment(boolean autocompleteOnReceivePayment)
-
setChannel
public void setChannel(Channel channel)
-
setConfiguration
public void setConfiguration(Configuration configuration)
-
setConfirmationDeviceAvailability
public void setConfirmationDeviceAvailability(Availability confirmationDeviceAvailability)
-
setConfirmationOncePerSession
public void setConfirmationOncePerSession(boolean confirmationOncePerSession)
-
setConfirmationPassword
public void setConfirmationPassword(PasswordType confirmationPassword)
-
setContactsOnPayment
public void setContactsOnPayment(boolean contactsOnPayment)
-
setContactsOnReceivePayment
public void setContactsOnReceivePayment(boolean contactsOnReceivePayment)
-
setDefaultPaymentIdMethod
public void setDefaultPaymentIdMethod(IdentificationMethod defaultPaymentIdMethod)
-
setDefaultPaymentPrincipalType
public void setDefaultPaymentPrincipalType(PrincipalType defaultPaymentPrincipalType)
-
setDefaultPrincipalType
public void setDefaultPrincipalType(PrincipalType defaultPrincipalType)
-
setDefaultReceivePaymentIdMethod
public void setDefaultReceivePaymentIdMethod(IdentificationMethod defaultReceivePaymentIdMethod)
-
setDefaultReceivePaymentPrincipalType
public void setDefaultReceivePaymentPrincipalType(PrincipalType defaultReceivePaymentPrincipalType)
-
setDefined
public void setDefined(boolean defined)
-
setEnabled
public void setEnabled(boolean enabled)
-
setIdentityProviders
public void setIdentityProviders(Set<IdentityProvider> identityProviders)
-
setLocked
public void setLocked(boolean locked)
-
setPaymentPrincipalTypes
public void setPaymentPrincipalTypes(Set<PrincipalType> paymentPrincipalTypes)
-
setPinConfiguration
public void setPinConfiguration(PinChannelConfiguration pinConfiguration)
-
setPrincipalTypes
public void setPrincipalTypes(Set<PrincipalType> principalTypes)
-
setPrincipalTypesAllowingQrCode
public void setPrincipalTypesAllowingQrCode(Set<PrincipalType> principalTypesAllowingQrCode)
-
setReceivePaymentPrincipalTypes
public void setReceivePaymentPrincipalTypes(Set<PrincipalType> receivePaymentPrincipalTypes)
-
setRegistrationWithIdentityProviders
public void setRegistrationWithIdentityProviders(RegistrationWithIdentityProviders registrationWithIdentityProviders)
-
setRequireAuthenticationForDeviceConfirmation
public void setRequireAuthenticationForDeviceConfirmation(boolean requireAuthenticationForDeviceConfirmation)
-
setRequireTrustedDeviceForLogin
public void setRequireTrustedDeviceForLogin(boolean requireTrustedDeviceForLogin)
-
setSecondaryDeviceAvailability
public void setSecondaryDeviceAvailability(Availability secondaryDeviceAvailability)
-
setSecondaryPassword
public void setSecondaryPassword(PasswordType secondaryPassword)
-
setSessionTimeout
public void setSessionTimeout(TimeInterval sessionTimeout)
-
setSkipConfirmationForTrustedDevices
public void setSkipConfirmationForTrustedDevices(boolean skipConfirmationForTrustedDevices)
-
setUserAccess
public void setUserAccess(UserChannelAccess userAccess)
-
setWhitelist
public void setWhitelist(InternetAddressList whitelist)
-
-