001    /**
002     * Copyright (c) 2000-2013 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 long getUserId() {
057                    return _userId;
058            }
059    
060            public boolean isAllowAnonymous() {
061                    return _allowAnonymous;
062            }
063    
064            public boolean isInUseSSL() {
065                    return _inUseSSL;
066            }
067    
068            public void setAllowAnonymous(boolean allowAnonymous) {
069                    _allowAnonymous = allowAnonymous;
070            }
071    
072            public void setCategoryId(long id) {
073                    _categoryId = id;
074            }
075    
076            public void setCompanyId(long id) {
077                    _companyId = id;
078            }
079    
080            public void setGroupId(long id) {
081                    _groupId = id;
082            }
083    
084            public void setInPassword(String inPassword) {
085                    _inPassword = inPassword;
086            }
087    
088            public void setInProtocol(String inProtocol) {
089                    _inProtocol = inProtocol;
090            }
091    
092            public void setInServerName(String inServerName) {
093                    _inServerName = inServerName;
094            }
095    
096            public void setInServerPort(int inServerPort) {
097                    _inServerPort = inServerPort;
098            }
099    
100            public void setInUserName(String inUserName) {
101                    _inUserName = inUserName;
102            }
103    
104            public void setInUseSSL(boolean inUseSSL) {
105                    _inUseSSL = inUseSSL;
106            }
107    
108            public void setUserId(long id) {
109                    _userId = id;
110            }
111    
112            private static final long serialVersionUID = 8983934222717334170L;
113    
114            private boolean _allowAnonymous;
115            private long _categoryId;
116            private long _companyId;
117            private long _groupId;
118            private String _inPassword;
119            private String _inProtocol;
120            private String _inServerName;
121            private int _inServerPort;
122            private String _inUserName;
123            private boolean _inUseSSL;
124            private long _userId;
125    
126    }