001// -------------------------------------------------------------------------------- 002// Copyright 2002-2025 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.customer.server.transfer; 018 019import com.echothree.util.server.transfer.BaseTransferCaches; 020import javax.enterprise.context.RequestScoped; 021import javax.inject.Inject; 022 023@RequestScoped 024public class CustomerTransferCaches 025 extends BaseTransferCaches { 026 027 @Inject 028 CustomerTypeTransferCache customerTypeTransferCache; 029 030 @Inject 031 CustomerTypeDescriptionTransferCache customerTypeDescriptionTransferCache; 032 033 @Inject 034 CustomerTransferCache customerTransferCache; 035 036 @Inject 037 CustomerTypePaymentMethodTransferCache customerTypePaymentMethodTransferCache; 038 039 @Inject 040 CustomerTypeShippingMethodTransferCache customerTypeShippingMethodTransferCache; 041 042 /** Creates a new instance of CustomerTransferCaches */ 043 protected CustomerTransferCaches() { 044 super(); 045 } 046 047 public CustomerTypeTransferCache getCustomerTypeTransferCache() { 048 return customerTypeTransferCache; 049 } 050 051 public CustomerTypeDescriptionTransferCache getCustomerTypeDescriptionTransferCache() { 052 return customerTypeDescriptionTransferCache; 053 } 054 055 public CustomerTransferCache getCustomerTransferCache() { 056 return customerTransferCache; 057 } 058 059 public CustomerTypePaymentMethodTransferCache getCustomerTypePaymentMethodTransferCache() { 060 return customerTypePaymentMethodTransferCache; 061 } 062 063 public CustomerTypeShippingMethodTransferCache getCustomerTypeShippingMethodTransferCache() { 064 return customerTypeShippingMethodTransferCache; 065 } 066 067}