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.index.server.transfer; 018 019import com.echothree.util.server.transfer.BaseTransferCaches; 020import javax.enterprise.context.RequestScoped; 021import javax.inject.Inject; 022 023@RequestScoped 024public class IndexTransferCaches 025 extends BaseTransferCaches { 026 027 @Inject 028 IndexTypeTransferCache indexTypeTransferCache; 029 030 @Inject 031 IndexTypeDescriptionTransferCache indexTypeDescriptionTransferCache; 032 033 @Inject 034 IndexFieldTransferCache indexFieldTransferCache; 035 036 @Inject 037 IndexFieldDescriptionTransferCache indexFieldDescriptionTransferCache; 038 039 @Inject 040 IndexTransferCache indexTransferCache; 041 042 @Inject 043 IndexDescriptionTransferCache indexDescriptionTransferCache; 044 045 /** Creates a new instance of IndexTransferCaches */ 046 protected IndexTransferCaches() { 047 super(); 048 } 049 050 public IndexTypeTransferCache getIndexTypeTransferCache() { 051 return indexTypeTransferCache; 052 } 053 054 public IndexTypeDescriptionTransferCache getIndexTypeDescriptionTransferCache() { 055 return indexTypeDescriptionTransferCache; 056 } 057 058 public IndexFieldTransferCache getIndexFieldTransferCache() { 059 return indexFieldTransferCache; 060 } 061 062 public IndexFieldDescriptionTransferCache getIndexFieldDescriptionTransferCache() { 063 return indexFieldDescriptionTransferCache; 064 } 065 066 public IndexTransferCache getIndexTransferCache() { 067 return indexTransferCache; 068 } 069 070 public IndexDescriptionTransferCache getIndexDescriptionTransferCache() { 071 return indexDescriptionTransferCache; 072 } 073 074}