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.workflow.modules.eudonetrestdirectory.business;
35  
36  import fr.paris.lutece.plugins.workflowcore.business.config.TaskConfig;
37  
38  import java.util.List;
39  
40  import javax.validation.constraints.NotNull;
41  
42  /**
43   * TaskCreatePDFConfig
44   *
45   */
46  public class TaskEudonetRestConfig extends TaskConfig
47  {
48      @NotNull
49      private int _nIdDirectory;
50      @NotNull
51      private String _strIdTableEudonet;
52      @NotNull
53      private String _strBaseUrl;
54      @NotNull
55      private String _strSubscriberLogin;
56      @NotNull
57      private String _strSubscriberPassword;
58      @NotNull
59      private String _strBaseName;
60      @NotNull
61      private String _strUserLogin;
62      @NotNull
63      private String _strUserPassword;
64      @NotNull
65      private String _strUserLang;
66      @NotNull
67      private String _strProductName;
68  
69      private List<EudonetRestData> _entry;
70  
71      /**
72       * @return the IdDirectory
73       */
74      public int getIdDirectory( )
75      {
76          return _nIdDirectory;
77      }
78  
79      /**
80       * @param nIdDirectory
81       *            the IdDirectory to set
82       */
83      public void setIdDirectory( int nIdDirectory )
84      {
85          _nIdDirectory = nIdDirectory;
86      }
87  
88      /**
89       * @return the IdTableEudonet
90       */
91      public String getIdTableEudonet( )
92      {
93          return _strIdTableEudonet;
94      }
95  
96      /**
97       * @param nIdTableEudonet
98       *            the IdTableEudonet to set
99       */
100     public void setIdTableEudonet( String strIdTableEudonet )
101     {
102         _strIdTableEudonet = strIdTableEudonet;
103     }
104 
105     /**
106      *
107      * @return the UserLang
108      */
109     public String getUserLang( )
110     {
111         return _strUserLang;
112     }
113 
114     /**
115      * @param strUserLang
116      */
117     public void setUserLang( String strUserLang )
118     {
119         _strUserLang = strUserLang;
120     }
121 
122     /**
123      * @return the _SubscriberLogin
124      */
125     public String getSubscriberLogin( )
126     {
127         return _strSubscriberLogin;
128     }
129 
130     /**
131      * @param subscriberLogin
132      */
133     public void setSubscriberLogin( String subscriberLogin )
134     {
135         _strSubscriberLogin = subscriberLogin;
136     }
137 
138     /**
139      * @return SubscriberPassword
140      */
141     public String getSubscriberPassword( )
142     {
143         return _strSubscriberPassword;
144     }
145 
146     /**
147      * @param subscriberPassword
148      */
149     public void setSubscriberPassword( String subscriberPassword )
150     {
151         _strSubscriberPassword = subscriberPassword;
152     }
153 
154     /**
155      * @return UserLogin
156      */
157     public String getUserLogin( )
158     {
159         return _strUserLogin;
160     }
161 
162     /**
163      * @param userLogin
164      */
165     public void setUserLogin( String userLogin )
166     {
167         _strUserLogin = userLogin;
168     }
169 
170     /**
171      * @return UserPassword
172      */
173     public String getUserPassword( )
174     {
175         return _strUserPassword;
176     }
177 
178     /**
179      * @param userPassword
180      */
181     public void setUserPassword( String userPassword )
182     {
183         _strUserPassword = userPassword;
184     }
185 
186     /**
187      * @return BaseName
188      */
189     public String getBaseName( )
190     {
191         return _strBaseName;
192     }
193 
194     /**
195      * @param baseName
196      */
197     public void setBaseName( String baseName )
198     {
199         _strBaseName = baseName;
200     }
201 
202     /**
203      * @return BaseUrl
204      */
205     public String getBaseUrl( )
206     {
207         return _strBaseUrl;
208     }
209 
210     /**
211      * @param baseUrl
212      */
213     public void setBaseUrl( String baseUrl )
214     {
215         _strBaseUrl = baseUrl;
216     }
217 
218     /**
219      * @return the _strProductName
220      */
221     public String getProductName( )
222     {
223         return _strProductName;
224     }
225 
226     /**
227      * @param _strProductName
228      *            the _strProductName to set
229      */
230     public void setProductName( String strProductName )
231     {
232         this._strProductName = strProductName;
233     }
234 
235     /**
236      * @return entry list
237      */
238     public List<EudonetRestData> getEntry( )
239     {
240         return _entry;
241     }
242 
243     /**
244      * @param entry
245      */
246     public void setEntry( List<EudonetRestData> entry )
247     {
248         _entry = entry;
249     }
250 }