1 /* 2 * Copyright (c) 2002-2017, Mairie de Paris 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 9 * 1. Redistributions of source code must retain the above copyright notice 10 * and the following disclaimer. 11 * 12 * 2. Redistributions in binary form must reproduce the above copyright notice 13 * and the following disclaimer in the documentation and/or other materials 14 * provided with the distribution. 15 * 16 * 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its 17 * contributors may be used to endorse or promote products derived from 18 * this software without specific prior written permission. 19 * 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 * POSSIBILITY OF SUCH DAMAGE. 31 * 32 * License 1.0 33 */ 34 package fr.paris.lutece.plugins.directory.business.rss; 35 36 /** 37 * 38 * DirectoryResourceRssConfig 39 * 40 */ 41 public class DirectoryResourceRssConfig 42 { 43 private int _nIdRss; 44 private int _nIdDirectory; 45 private int _nIdEntryTitle; 46 private int _nIdEntryDescription; 47 private int _nIdEntryImage; 48 private int _nIdEntryLink; 49 private int _nIdEntryFilter1; 50 private String _strValueFilter1; 51 private int _nIdEntryFilter2; 52 private String _strValueFilter2; 53 private int _nIdWorkflowState; 54 55 /** 56 * 57 * @return id Rss 58 */ 59 public int getIdRss( ) 60 { 61 return _nIdRss; 62 } 63 64 /** 65 * set id Rss 66 * 67 * @param idRss 68 * id Rss 69 */ 70 public void setIdRss( int idRss ) 71 { 72 _nIdRss = idRss; 73 } 74 75 /** 76 * 77 * @return id directory 78 */ 79 public int getIdDirectory( ) 80 { 81 return _nIdDirectory; 82 } 83 84 /** 85 * set id directory 86 * 87 * @param idDirectory 88 * id directory 89 */ 90 public void setIdDirectory( int idDirectory ) 91 { 92 _nIdDirectory = idDirectory; 93 } 94 95 /** 96 * Return id entry of directory used as title 97 * 98 * @return id entry of directory 99 */ 100 public int getIdEntryTitle( ) 101 { 102 return _nIdEntryTitle; 103 } 104 105 /** 106 * set id entry of directory used as title 107 * 108 * @param idEntryTitle 109 * id of Entry directory 110 */ 111 public void setIdEntryTitle( int idEntryTitle ) 112 { 113 _nIdEntryTitle = idEntryTitle; 114 } 115 116 /** 117 * Return id entry of directory used as description 118 * 119 * @return id entry of directory 120 */ 121 public int getIdEntryDescription( ) 122 { 123 return _nIdEntryDescription; 124 } 125 126 /** 127 * set id of Entry directory used as description 128 * 129 * @param idEntryDescription 130 * id of Entry directory 131 */ 132 public void setIdEntryDescription( int idEntryDescription ) 133 { 134 _nIdEntryDescription = idEntryDescription; 135 } 136 137 /** 138 * Return id entry of directory used as image 139 * 140 * @return id entry of directory 141 */ 142 public int getIdEntryImage( ) 143 { 144 return _nIdEntryImage; 145 } 146 147 /** 148 * set id of Entry directory used as image 149 * 150 * @param idEntryImage 151 * id of Entry directory 152 */ 153 public void setIdEntryImage( int idEntryImage ) 154 { 155 _nIdEntryImage = idEntryImage; 156 } 157 158 /** 159 * Return id entry of directory used as Link 160 * 161 * @return id entry of directory 162 */ 163 public int getIdEntryLink( ) 164 { 165 return _nIdEntryLink; 166 } 167 168 /** 169 * set id of Entry directory used as Link 170 * 171 * @param idEntryLink 172 * id of Entry directory 173 */ 174 public void setIdEntryLink( int idEntryLink ) 175 { 176 _nIdEntryLink = idEntryLink; 177 } 178 179 /** 180 * Return id entry of directory used as filter 1 181 * 182 * @return id entry of directory 183 */ 184 public int getIdEntryFilter1( ) 185 { 186 return _nIdEntryFilter1; 187 } 188 189 /** 190 * set id of Entry directory used as filter 1 191 * 192 * @param idEntryFilter1 193 * id of Entry directory 194 */ 195 public void setIdEntryFilter1( int idEntryFilter1 ) 196 { 197 _nIdEntryFilter1 = idEntryFilter1; 198 } 199 200 /** 201 * Return value of entry of directory used as filter 1 202 * 203 * @return id entry of directory 204 */ 205 public String getValueFilter1( ) 206 { 207 return _strValueFilter1; 208 } 209 210 /** 211 * set value of Entry directory used as filter 1 212 * 213 * @param strValueFilter1 214 * id of Entry directory 215 */ 216 public void setValueFilter1( String strValueFilter1 ) 217 { 218 _strValueFilter1 = strValueFilter1; 219 } 220 221 /** 222 * Return id entry of directory used as filter 1 223 * 224 * @return id entry of directory 225 */ 226 public int getIdEntryFilter2( ) 227 { 228 return _nIdEntryFilter2; 229 } 230 231 /** 232 * set id of Entry directory used as filter 1 233 * 234 * @param nIdEntryFilter2 235 * id of Entry directory 236 */ 237 public void setIdEntryFilter2( int nIdEntryFilter2 ) 238 { 239 _nIdEntryFilter2 = nIdEntryFilter2; 240 } 241 242 /** 243 * Return value of entry of directory used as filter 2 244 * 245 * @return id entry of directory 246 */ 247 public String getValueFilter2( ) 248 { 249 return _strValueFilter2; 250 } 251 252 /** 253 * set value of Entry directory used as filter 2 254 * 255 * @param strValueFilter2 256 * id of Entry directory 257 */ 258 public void setValueFilter2( String strValueFilter2 ) 259 { 260 _strValueFilter2 = strValueFilter2; 261 } 262 263 /** 264 * Return id state of workflow 265 * 266 * @return id state of workflow 267 */ 268 public int getIdWorkflowState( ) 269 { 270 return _nIdWorkflowState; 271 } 272 273 /** 274 * set id state of workflow 275 * 276 * @param idWorkflowState 277 * id state of workflow 278 */ 279 public void setIdWorkflowState( int idWorkflowState ) 280 { 281 _nIdWorkflowState = idWorkflowState; 282 } 283 }