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.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    import java.util.Date;
027    
028    /**
029     * <p>
030     * This interface is a model that represents the MBMailingList table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       MBMailingList
036     * @see       com.liferay.portlet.messageboards.model.impl.MBMailingListImpl
037     * @see       com.liferay.portlet.messageboards.model.impl.MBMailingListModelImpl
038     * @generated
039     */
040    public interface MBMailingListModel extends BaseModel<MBMailingList> {
041            public long getPrimaryKey();
042    
043            public void setPrimaryKey(long pk);
044    
045            @AutoEscape
046            public String getUuid();
047    
048            public void setUuid(String uuid);
049    
050            public long getMailingListId();
051    
052            public void setMailingListId(long mailingListId);
053    
054            public long getGroupId();
055    
056            public void setGroupId(long groupId);
057    
058            public long getCompanyId();
059    
060            public void setCompanyId(long companyId);
061    
062            public long getUserId();
063    
064            public void setUserId(long userId);
065    
066            public String getUserUuid() throws SystemException;
067    
068            public void setUserUuid(String userUuid);
069    
070            @AutoEscape
071            public String getUserName();
072    
073            public void setUserName(String userName);
074    
075            public Date getCreateDate();
076    
077            public void setCreateDate(Date createDate);
078    
079            public Date getModifiedDate();
080    
081            public void setModifiedDate(Date modifiedDate);
082    
083            public long getCategoryId();
084    
085            public void setCategoryId(long categoryId);
086    
087            @AutoEscape
088            public String getEmailAddress();
089    
090            public void setEmailAddress(String emailAddress);
091    
092            @AutoEscape
093            public String getInProtocol();
094    
095            public void setInProtocol(String inProtocol);
096    
097            @AutoEscape
098            public String getInServerName();
099    
100            public void setInServerName(String inServerName);
101    
102            public int getInServerPort();
103    
104            public void setInServerPort(int inServerPort);
105    
106            public boolean getInUseSSL();
107    
108            public boolean isInUseSSL();
109    
110            public void setInUseSSL(boolean inUseSSL);
111    
112            @AutoEscape
113            public String getInUserName();
114    
115            public void setInUserName(String inUserName);
116    
117            @AutoEscape
118            public String getInPassword();
119    
120            public void setInPassword(String inPassword);
121    
122            public int getInReadInterval();
123    
124            public void setInReadInterval(int inReadInterval);
125    
126            @AutoEscape
127            public String getOutEmailAddress();
128    
129            public void setOutEmailAddress(String outEmailAddress);
130    
131            public boolean getOutCustom();
132    
133            public boolean isOutCustom();
134    
135            public void setOutCustom(boolean outCustom);
136    
137            @AutoEscape
138            public String getOutServerName();
139    
140            public void setOutServerName(String outServerName);
141    
142            public int getOutServerPort();
143    
144            public void setOutServerPort(int outServerPort);
145    
146            public boolean getOutUseSSL();
147    
148            public boolean isOutUseSSL();
149    
150            public void setOutUseSSL(boolean outUseSSL);
151    
152            @AutoEscape
153            public String getOutUserName();
154    
155            public void setOutUserName(String outUserName);
156    
157            @AutoEscape
158            public String getOutPassword();
159    
160            public void setOutPassword(String outPassword);
161    
162            public boolean getActive();
163    
164            public boolean isActive();
165    
166            public void setActive(boolean active);
167    
168            public MBMailingList toEscapedModel();
169    
170            public boolean isNew();
171    
172            public void setNew(boolean n);
173    
174            public boolean isCachedModel();
175    
176            public void setCachedModel(boolean cachedModel);
177    
178            public boolean isEscapedModel();
179    
180            public void setEscapedModel(boolean escapedModel);
181    
182            public Serializable getPrimaryKeyObj();
183    
184            public ExpandoBridge getExpandoBridge();
185    
186            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
187    
188            public Object clone();
189    
190            public int compareTo(MBMailingList mbMailingList);
191    
192            public int hashCode();
193    
194            public String toString();
195    
196            public String toXmlString();
197    }