View Javadoc
1   /*
2    * Copyright (c) 2002-2020, City of 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.appcenter.modules.fastdeployapplication.business.fastaction;
35  
36  import java.sql.Timestamp;
37  import java.util.List;
38  
39  public class ActionHistory
40  {
41      private int _nId;
42      private String _strIdUserFront;
43      private String _strCode;
44      private String _strI18nKeyName;
45      private String _strServerType;
46      private String _strServerCode;
47      private String _strServerName;
48      private int _nIdApplication;
49      private String _strCodeEnvironment;
50      private String _strActionData;
51      private Timestamp _tCreationDate;
52      private boolean _bStatus;
53  
54      /**
55       * Returns the Id
56       * 
57       * @return The Id
58       */
59      public int getId( )
60      {
61          return _nId;
62      }
63  
64      /**
65       * Sets the Id
66       * 
67       * @param nId
68       *            The Id
69       */
70      public void setId( int nId )
71      {
72          _nId = nId;
73      }
74  
75      /**
76       * Get the id of the front user
77       * 
78       * @return the id of the user front
79       */
80      public String getIdUserFront( )
81      {
82          return _strIdUserFront;
83      }
84  
85      /**
86       * Set the user front id
87       * 
88       * @param strIdUserFront
89       *            the id of the front user
90       */
91      public void setIdUserFront( String strIdUserFront )
92      {
93          _strIdUserFront = strIdUserFront;
94      }
95  
96      /**
97       * Returns the Code
98       * 
99       * @return The Code
100      */
101     public String getCode( )
102     {
103         return _strCode;
104     }
105 
106     /**
107      * Sets the Code
108      * 
109      * @param strCode
110      *            The Code
111      */
112     public void setCode( String strCode )
113     {
114         this._strCode = strCode;
115     }
116 
117     /**
118      * Returns the I18nKeyName
119      * 
120      * @return The I18nKeyName
121      */
122     public String getI18nKeyName( )
123     {
124         return _strI18nKeyName;
125     }
126 
127     /**
128      * Sets the I18nKeyName
129      * 
130      * @param strI18nKeyName
131      *            The I18nKeyName
132      */
133     public void setI18nKeyName( String _strI18nKeyName )
134     {
135         this._strI18nKeyName = _strI18nKeyName;
136     }
137 
138     /**
139      * Returns the ServerType
140      * 
141      * @return The ServerType
142      */
143     public String getServerType( )
144     {
145         return _strServerType;
146     }
147 
148     /**
149      * Sets the ServerType
150      * 
151      * @param strServerType
152      *            The ServerType
153      */
154     public void setServerType( String _strServerType )
155     {
156         this._strServerType = _strServerType;
157     }
158 
159     /**
160      * Returns the ServerCode
161      * 
162      * @return The ServerCode
163      */
164     public String getServerCode( )
165     {
166         return _strServerCode;
167     }
168 
169     /**
170      * Sets the ServerCode
171      * 
172      * @param strServerCode
173      *            The ServerCode
174      */
175     public void setServerCode( String strServerCode )
176     {
177         this._strServerCode = strServerCode;
178     }
179 
180     /**
181      * Returns the ServerName
182      * 
183      * @return The ServerName
184      */
185     public String getServerName( )
186     {
187         return _strServerName;
188     }
189 
190     /**
191      * Sets the ServerName
192      * 
193      * @param strServerName
194      *            The ServerName
195      */
196     public void setServerName( String _strServerName )
197     {
198         this._strServerName = _strServerName;
199     }
200 
201     /**
202      * Returns the IdApplication
203      * 
204      * @return The IdApplication
205      */
206     public int getIdApplication( )
207     {
208         return _nIdApplication;
209     }
210 
211     /**
212      * Sets the IdApplication
213      * 
214      * @param nIdApplication
215      *            The IdApplication
216      */
217     public void setIdApplication( int nIdApplication )
218     {
219         _nIdApplication = nIdApplication;
220     }
221 
222     /**
223      * Returns the CodeEnvironment
224      * 
225      * @return The CodeEnvironment
226      */
227     public String getCodeEnvironment( )
228     {
229         return _strCodeEnvironment;
230     }
231 
232     /**
233      * Sets the CodeEnvironment
234      * 
235      * @param strCodeEnvironment
236      *            The CodeEnvironment
237      */
238     public void setCodeEnvironment( String strCodeEnvironment )
239     {
240         this._strCodeEnvironment = strCodeEnvironment;
241     }
242 
243     /**
244      * Returns the Data
245      * 
246      * @return The Data
247      */
248     public String getActionData( )
249     {
250         return _strActionData;
251     }
252 
253     /**
254      * Sets the Data
255      * 
256      * @param strActionData
257      *            The Data
258      */
259     public void setActionData( String _strActionData )
260     {
261         this._strActionData = _strActionData;
262     }
263 
264     /**
265      * Return the creation date
266      * 
267      * @return the creation date
268      */
269     public Timestamp getCreationDate( )
270     {
271         return _tCreationDate;
272     }
273 
274     /**
275      * Sets the creation date
276      * 
277      * @param dateCreation
278      *            The creation date
279      */
280     public void setCreationDate( Timestamp dateCreation )
281     {
282         _tCreationDate = dateCreation;
283     }
284 
285     /**
286      * Returns the Status
287      * 
288      * @return The Status
289      */
290     public boolean getStatus( )
291     {
292         return _bStatus;
293     }
294 
295     /**
296      * Sets the Status
297      * 
298      * @param strStatus
299      *            The Status
300      */
301     public void setStatus( boolean bStatus )
302     {
303         this._bStatus = bStatus;
304     }
305 }