View Javadoc
1   /*
2    * Copyright (c) 2002-2014, 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.modules.pdfproducerarchive.business.zipbasket;
35  
36  import java.sql.Timestamp;
37  
38  import java.util.List;
39  
40  
41  /**
42   * Panier to stock url zip
43   */
44  public class ZipBasket
45  {
46      private int _nIdZip;
47      private String _strZipName;
48      private String _strZipUrl;
49      private String _strZipStatus;
50      private int _nIdAdminUser;
51      private int _nIdDirectory;
52      private int _nIdRecord;
53      private int _nArchiveItemKey;
54      private Timestamp _dateZipAdded;
55      private List<ZipBasketAction> _listZipBasketAction;
56  
57      /**
58       * @return id zip
59       */
60      public int getIdZip(  )
61      {
62          return _nIdZip;
63      }
64  
65      /**
66       * @param nIdZip id zip
67       */
68      public void setIdZip( int nIdZip )
69      {
70          _nIdZip = nIdZip;
71      }
72  
73      /**
74       * @return zip name
75       */
76      public String getZipName(  )
77      {
78          return _strZipName;
79      }
80  
81      /**
82       * @param strZipName zip name
83       */
84      public void setZipName( String strZipName )
85      {
86          _strZipName = strZipName;
87      }
88  
89      /**
90       * @return zip url
91       */
92      public String getZipUrl(  )
93      {
94          return _strZipUrl;
95      }
96  
97      /**
98       * @param strZipUrl zip url
99       */
100     public void setZipUrl( String strZipUrl )
101     {
102         _strZipUrl = strZipUrl;
103     }
104 
105     /**
106      * @return zip status
107      */
108     public String getZipStatus(  )
109     {
110         return _strZipStatus;
111     }
112 
113     /**
114      * @param strZipStatus zip status
115      */
116     public void setZipStatus( String strZipStatus )
117     {
118         _strZipStatus = strZipStatus;
119     }
120 
121     /**
122      * @return id admin user
123      */
124     public int getIdAdminUser(  )
125     {
126         return _nIdAdminUser;
127     }
128 
129     /**
130      * @param nIdAdminUser  id admin user
131      */
132     public void setIdAdminUser( int nIdAdminUser )
133     {
134         _nIdAdminUser = nIdAdminUser;
135     }
136 
137     /**
138      * @return id directory
139      */
140     public int getIdDirectory(  )
141     {
142         return _nIdDirectory;
143     }
144 
145     /**
146      * @param nIdDirectory id directory
147      */
148     public void setIdDirectory( int nIdDirectory )
149     {
150         _nIdDirectory = nIdDirectory;
151     }
152 
153     /**
154      * @return id record
155      */
156     public int getIdRecord(  )
157     {
158         return _nIdRecord;
159     }
160 
161     /**
162      * @param nIdRecord id record
163      */
164     public void setIdRecord( int nIdRecord )
165     {
166         _nIdRecord = nIdRecord;
167     }
168 
169     /**
170      * @return archive item key
171      */
172     public int getArchiveItemKey(  )
173     {
174         return _nArchiveItemKey;
175     }
176 
177     /**
178      * @param nArchiveItemKey archive item key
179      */
180     public void setArchiveItemKey( int nArchiveItemKey )
181     {
182         _nArchiveItemKey = nArchiveItemKey;
183     }
184 
185     /**
186      * @return date zip added
187      */
188     public Timestamp getDateZipAdded(  )
189     {
190         return _dateZipAdded;
191     }
192 
193     /**
194      * @param dateZipAdded  date zip added
195      */
196     public void setDateZipAdded( Timestamp dateZipAdded )
197     {
198         _dateZipAdded = dateZipAdded;
199     }
200 
201     /**
202      * @return list zip basket action
203      */
204     public List<ZipBasketAction> getListZipBasketAction(  )
205     {
206         return _listZipBasketAction;
207     }
208 
209     /**
210      * @param listZipBasketAction list zip basket action
211      */
212     public void setListZipBasketAction( List<ZipBasketAction> listZipBasketAction )
213     {
214         _listZipBasketAction = listZipBasketAction;
215     }
216 }