001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 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.content.common.transfer; 018 019import com.echothree.model.control.offer.common.transfer.OfferUseTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021import com.echothree.util.common.transfer.ListWrapper; 022 023public class ContentCollectionTransfer 024 extends BaseTransfer { 025 026 private String contentCollectionName; 027 private OfferUseTransfer defaultOfferUse; 028 private String description; 029 030 private ListWrapper<ContentCatalogTransfer> contentCatalogs; 031 private ListWrapper<ContentForumTransfer> contentForums; 032 private ListWrapper<ContentSectionTransfer> contentSections; 033 034 /** Creates a new instance of ContentCollectionTransfer */ 035 public ContentCollectionTransfer(String contentCollectionName, OfferUseTransfer defaultOfferUse, String description) { 036 this.contentCollectionName = contentCollectionName; 037 this.defaultOfferUse = defaultOfferUse; 038 this.description = description; 039 } 040 041 /** 042 * Returns the contentCollectionName. 043 * @return the contentCollectionName 044 */ 045 public String getContentCollectionName() { 046 return contentCollectionName; 047 } 048 049 /** 050 * Sets the contentCollectionName. 051 * @param contentCollectionName the contentCollectionName to set 052 */ 053 public void setContentCollectionName(String contentCollectionName) { 054 this.contentCollectionName = contentCollectionName; 055 } 056 057 /** 058 * Returns the defaultOfferUse. 059 * @return the defaultOfferUse 060 */ 061 public OfferUseTransfer getDefaultOfferUse() { 062 return defaultOfferUse; 063 } 064 065 /** 066 * Sets the defaultOfferUse. 067 * @param defaultOfferUse the defaultOfferUse to set 068 */ 069 public void setDefaultOfferUse(OfferUseTransfer defaultOfferUse) { 070 this.defaultOfferUse = defaultOfferUse; 071 } 072 073 /** 074 * Returns the description. 075 * @return the description 076 */ 077 public String getDescription() { 078 return description; 079 } 080 081 /** 082 * Sets the description. 083 * @param description the description to set 084 */ 085 public void setDescription(String description) { 086 this.description = description; 087 } 088 089 /** 090 * Returns the contentCatalogs. 091 * @return the contentCatalogs 092 */ 093 public ListWrapper<ContentCatalogTransfer> getContentCatalogs() { 094 return contentCatalogs; 095 } 096 097 /** 098 * Sets the contentCatalogs. 099 * @param contentCatalogs the contentCatalogs to set 100 */ 101 public void setContentCatalogs(ListWrapper<ContentCatalogTransfer> contentCatalogs) { 102 this.contentCatalogs = contentCatalogs; 103 } 104 105 /** 106 * Returns the contentForums. 107 * @return the contentForums 108 */ 109 public ListWrapper<ContentForumTransfer> getContentForums() { 110 return contentForums; 111 } 112 113 /** 114 * Sets the contentForums. 115 * @param contentForums the contentForums to set 116 */ 117 public void setContentForums(ListWrapper<ContentForumTransfer> contentForums) { 118 this.contentForums = contentForums; 119 } 120 121 /** 122 * Returns the contentSections. 123 * @return the contentSections 124 */ 125 public ListWrapper<ContentSectionTransfer> getContentSections() { 126 return contentSections; 127 } 128 129 /** 130 * Sets the contentSections. 131 * @param contentSections the contentSections to set 132 */ 133 public void setContentSections(ListWrapper<ContentSectionTransfer> contentSections) { 134 this.contentSections = contentSections; 135 } 136 137}