Class CustomerServiceFactory
Class CustomerServiceFactory
Factory class for all needed customer data.
- AbstractCustomerServiceFactory
- ┗ CustomerServiceFactory
Category: System
Extends: AbstractCustomerServiceFactory
Located at Services/Core/Customer/CustomerServiceFactory.inc.php
Methods summary
public
__construct( CI_DB_query_builder $ciDatabaseQueryBuilder )
CustomerServiceFactory constructor.
public
createCustomerReadService( void )
: CustomerReadService
Creates a customer read service object.
public
getCustomerRegistrationInputValidatorService( void )
: CustomerRegistrationInputValidatorService
Returns the customer registration input validator service.
public
getCustomerAccountInputValidator( void )
: CustomerAccountInputValidator
Returns the customer account input validator.
public
getCustomerAddressInputValidatorService( void )
: CustomerAddressInputValidator
Returns the customer input validator.
protected
_getCustomerCountryRepository( void )
: CustomerCountryRepository
Creates a customer country repository object.
protected
_getCustomerCountryZoneRepository( void )
: CustomerCountryZoneRepository
Creates a customer country zone repository object.
protected
_getCustomerAddressRepository( void )
: CustomerAddressRepository
Creates a customer address repository object.
protected
_getCustomerInputValidatorServiceByValidatorName( string $inputValidatorName )
: object
Returns customer input validator service by validator name.
protected
_getInputValidatorSettings( void )
: CustomerInputValidatorSettings
Creates the input validator settings.
protected
_getValidatorConfigSettings( CustomerConfigurationProvider $configProvider )
: CustomerConfigurationSettings
Creates the configuration settings of the input validator.
protected
_getValidatorDisplaySettings( CustomerConfigurationProvider $configProvider )
: CustomerDisplaySettings
Creates the display settings of the input validator.
protected
_getValidatorMinLengthSettings( CustomerConfigurationProvider $configProvider )
: CustomerMinLengthSettings
Creates the min length settings of the input validator.
protected
_getValidatorMaxLengthSettings( void )
: CustomerMaxLengthSettings
Creates the max length settings of the input validator. The max length represent the database field max length.
protected
_getValidatorErrorMessageSettings( CustomerConfigurationProvider $configProvider )
: CustomerErrorMessageSettings
Creates the customer validator error messages.
protected
_getCustomerAddressDeleter( void )
: CustomerAddressDeleter
Creates a customer address deleter object.
protected
_getCustomerAddressReader( void )
: CustomerAddressReader
Creates a customer address reader object.
protected
_getCustomerCountryZoneReader( void )
: CustomerCountryZoneReader
Creates a customer country zone reader object.
protected
_getCustomerCountryReader( void )
: CustomerCountryReader
Creates a customer country reader object
protected
_getCustomerServiceSettings( void )
: CustomerServiceSettings
Creates a customer service settings object.
protected
_getCustomerAddressWriter( void )
: CustomerAddressWriter
Creates a customer address writer object.