001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.messageboards.messaging;
016    
017    import java.io.Serializable;
018    
019    /**
020     * @author Thiago Moreira
021     */
022    public class MailingListRequest implements Serializable {
023    
024            public long getCategoryId() {
025                    return _categoryId;
026            }
027    
028            public long getCompanyId() {
029                    return _companyId;
030            }
031    
032            public long getGroupId() {
033                    return _groupId;
034            }
035    
036            public String getInPassword() {
037                    return _inPassword;
038            }
039    
040            public String getInProtocol() {
041                    return _inProtocol;
042            }
043    
044            public String getInServerName() {
045                    return _inServerName;
046            }
047    
048            public int getInServerPort() {
049                    return _inServerPort;
050            }
051    
052            public String getInUserName() {
053                    return _inUserName;
054            }
055    
056            public boolean isInUseSSL() {
057                    return _inUseSSL;
058            }
059    
060            public long getUserId() {
061                    return _userId;
062            }
063    
064            public void setCategoryId(long id) {
065                    _categoryId = id;
066            }
067    
068            public void setCompanyId(long id) {
069                    _companyId = id;
070            }
071    
072            public void setGroupId(long id) {
073                    _groupId = id;
074            }
075    
076            public void setInPassword(String inPassword) {
077                    _inPassword = inPassword;
078            }
079    
080            public void setInProtocol(String inProtocol) {
081                    _inProtocol = inProtocol;
082            }
083    
084            public void setInServerName(String inServerName) {
085                    _inServerName = inServerName;
086            }
087    
088            public void setInServerPort(int inServerPort) {
089                    _inServerPort = inServerPort;
090            }
091    
092            public void setInUserName(String inUserName) {
093                    _inUserName = inUserName;
094            }
095    
096            public void setInUseSSL(boolean inUseSSL) {
097                    _inUseSSL = inUseSSL;
098            }
099    
100            public void setUserId(long id) {
101                    _userId = id;
102            }
103    
104            private long _categoryId;
105            private long _companyId;
106            private long _groupId;
107            private String _inPassword;
108            private String _inProtocol;
109            private String _inServerName;
110            private int _inServerPort;
111            private String _inUserName;
112            private boolean _inUseSSL;
113            private long _userId;
114    
115    }