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.util.common.transfer.BaseTransfer; 020import com.echothree.util.common.transfer.MapWrapper; 021 022public class ContentPageTransfer 023 extends BaseTransfer { 024 025 private ContentSectionTransfer contentSection; 026 private String contentPageName; 027 private ContentPageLayoutTransfer contentPageLayout; 028 private Boolean isDefault; 029 private Integer sortOrder; 030 private String description; 031 032 private MapWrapper<ContentPageAreaTransfer> contentPageAreas; 033 034 /** Creates a new instance of ContentPageTransfer */ 035 public ContentPageTransfer(ContentSectionTransfer contentSection, String contentPageName, ContentPageLayoutTransfer contentPageLayout, Boolean isDefault, 036 Integer sortOrder, String description) { 037 this.contentSection = contentSection; 038 this.contentPageName = contentPageName; 039 this.contentPageLayout = contentPageLayout; 040 this.isDefault = isDefault; 041 this.sortOrder = sortOrder; 042 this.description = description; 043 } 044 045 /** 046 * Returns the contentSection. 047 * @return the contentSection 048 */ 049 public ContentSectionTransfer getContentSection() { 050 return contentSection; 051 } 052 053 /** 054 * Sets the contentSection. 055 * @param contentSection the contentSection to set 056 */ 057 public void setContentSection(ContentSectionTransfer contentSection) { 058 this.contentSection = contentSection; 059 } 060 061 /** 062 * Returns the contentPageName. 063 * @return the contentPageName 064 */ 065 public String getContentPageName() { 066 return contentPageName; 067 } 068 069 /** 070 * Sets the contentPageName. 071 * @param contentPageName the contentPageName to set 072 */ 073 public void setContentPageName(String contentPageName) { 074 this.contentPageName = contentPageName; 075 } 076 077 /** 078 * Returns the contentPageLayout. 079 * @return the contentPageLayout 080 */ 081 public ContentPageLayoutTransfer getContentPageLayout() { 082 return contentPageLayout; 083 } 084 085 /** 086 * Sets the contentPageLayout. 087 * @param contentPageLayout the contentPageLayout to set 088 */ 089 public void setContentPageLayout(ContentPageLayoutTransfer contentPageLayout) { 090 this.contentPageLayout = contentPageLayout; 091 } 092 093 /** 094 * Returns the isDefault. 095 * @return the isDefault 096 */ 097 public Boolean getIsDefault() { 098 return isDefault; 099 } 100 101 /** 102 * Sets the isDefault. 103 * @param isDefault the isDefault to set 104 */ 105 public void setIsDefault(Boolean isDefault) { 106 this.isDefault = isDefault; 107 } 108 109 /** 110 * Returns the sortOrder. 111 * @return the sortOrder 112 */ 113 public Integer getSortOrder() { 114 return sortOrder; 115 } 116 117 /** 118 * Sets the sortOrder. 119 * @param sortOrder the sortOrder to set 120 */ 121 public void setSortOrder(Integer sortOrder) { 122 this.sortOrder = sortOrder; 123 } 124 125 /** 126 * Returns the description. 127 * @return the description 128 */ 129 public String getDescription() { 130 return description; 131 } 132 133 /** 134 * Sets the description. 135 * @param description the description to set 136 */ 137 public void setDescription(String description) { 138 this.description = description; 139 } 140 141 /** 142 * Returns the contentPageAreas. 143 * @return the contentPageAreas 144 */ 145 public MapWrapper<ContentPageAreaTransfer> getContentPageAreas() { 146 return contentPageAreas; 147 } 148 149 /** 150 * Sets the contentPageAreas. 151 * @param contentPageAreas the contentPageAreas to set 152 */ 153 public void setContentPageAreas(MapWrapper<ContentPageAreaTransfer> contentPageAreas) { 154 this.contentPageAreas = contentPageAreas; 155 } 156 157}