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.term.server.transfer; 018 019import com.echothree.util.server.transfer.BaseTransferCaches; 020import javax.enterprise.context.RequestScoped; 021import javax.inject.Inject; 022 023@RequestScoped 024public class TermTransferCaches 025 extends BaseTransferCaches { 026 027 @Inject 028 TermTypeTransferCache termTypeTransferCache; 029 030 @Inject 031 TermTransferCache termTransferCache; 032 033 @Inject 034 TermDescriptionTransferCache termDescriptionTransferCache; 035 036 @Inject 037 PartyTermTransferCache partyTermTransferCache; 038 039 @Inject 040 CustomerTypeCreditLimitTransferCache customerTypeCreditLimitTransferCache; 041 042 @Inject 043 PartyCreditLimitTransferCache partyCreditLimitTransferCache; 044 045 /** Creates a new instance of TermTransferCaches */ 046 protected TermTransferCaches() { 047 super(); 048 } 049 050 public TermTypeTransferCache getTermTypeTransferCache() { 051 return termTypeTransferCache; 052 } 053 054 public TermTransferCache getTermTransferCache() { 055 return termTransferCache; 056 } 057 058 public TermDescriptionTransferCache getTermDescriptionTransferCache() { 059 return termDescriptionTransferCache; 060 } 061 062 public PartyTermTransferCache getPartyTermTransferCache() { 063 return partyTermTransferCache; 064 } 065 066 public CustomerTypeCreditLimitTransferCache getCustomerTypeCreditLimitTransferCache() { 067 return customerTypeCreditLimitTransferCache; 068 } 069 070 public PartyCreditLimitTransferCache getPartyCreditLimitTransferCache() { 071 return partyCreditLimitTransferCache; 072 } 073 074}