1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.messageboards.messaging;
24  
25  import java.io.Serializable;
26  
27  /**
28   * <a href="MailingListRequest.java.html"><b><i>View Source</i></b></a>
29   *
30   * @author Thiago Moreira
31   */
32  public class MailingListRequest implements Serializable {
33  
34      public long getCategoryId() {
35          return _categoryId;
36      }
37  
38      public long getCompanyId() {
39          return _companyId;
40      }
41  
42      public long getGroupId() {
43          return _groupId;
44      }
45  
46      public String getInPassword() {
47          return _inPassword;
48      }
49  
50      public String getInProtocol() {
51          return _inProtocol;
52      }
53  
54      public String getInServerName() {
55          return _inServerName;
56      }
57  
58      public int getInServerPort() {
59          return _inServerPort;
60      }
61  
62      public String getInUserName() {
63          return _inUserName;
64      }
65  
66      public boolean isInUseSSL() {
67          return _inUseSSL;
68      }
69  
70      public long getUserId() {
71          return _userId;
72      }
73  
74      public void setCategoryId(long id) {
75          _categoryId = id;
76      }
77  
78      public void setCompanyId(long id) {
79          _companyId = id;
80      }
81  
82      public void setGroupId(long id) {
83          _groupId = id;
84      }
85  
86      public void setInPassword(String inPassword) {
87          _inPassword = inPassword;
88      }
89  
90      public void setInProtocol(String inProtocol) {
91          _inProtocol = inProtocol;
92      }
93  
94      public void setInServerName(String inServerName) {
95          _inServerName = inServerName;
96      }
97  
98      public void setInServerPort(int inServerPort) {
99          _inServerPort = inServerPort;
100     }
101 
102     public void setInUserName(String inUserName) {
103         _inUserName = inUserName;
104     }
105 
106     public void setInUseSSL(boolean inUseSSL) {
107         _inUseSSL = inUseSSL;
108     }
109 
110     public void setUserId(long id) {
111         _userId = id;
112     }
113 
114     private long _categoryId;
115     private long _companyId;
116     private long _groupId;
117     private String _inPassword;
118     private String _inProtocol;
119     private String _inServerName;
120     private int _inServerPort;
121     private String _inUserName;
122     private boolean _inUseSSL;
123     private long _userId;
124 
125 }