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     * The base model interface for the MBMailingList service. Represents a row in the "MBMailingList" database table, with each column mapped to a property of this class.
030     *
031     * <p>
032     * This interface and its corresponding implementation {@link com.liferay.portlet.messageboards.model.impl.MBMailingListModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.messageboards.model.impl.MBMailingListImpl}.
033     * </p>
034     *
035     * <p>
036     * Never modify or reference this interface directly. All methods that expect a message boards mailing list model instance should use the {@link MBMailingList} interface instead.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see MBMailingList
041     * @see com.liferay.portlet.messageboards.model.impl.MBMailingListImpl
042     * @see com.liferay.portlet.messageboards.model.impl.MBMailingListModelImpl
043     * @generated
044     */
045    public interface MBMailingListModel extends BaseModel<MBMailingList> {
046            /**
047             * Gets the primary key of this message boards mailing list.
048             *
049             * @return the primary key of this message boards mailing list
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this message boards mailing list
055             *
056             * @param pk the primary key of this message boards mailing list
057             */
058            public void setPrimaryKey(long pk);
059    
060            /**
061             * Gets the uuid of this message boards mailing list.
062             *
063             * @return the uuid of this message boards mailing list
064             */
065            @AutoEscape
066            public String getUuid();
067    
068            /**
069             * Sets the uuid of this message boards mailing list.
070             *
071             * @param uuid the uuid of this message boards mailing list
072             */
073            public void setUuid(String uuid);
074    
075            /**
076             * Gets the mailing list id of this message boards mailing list.
077             *
078             * @return the mailing list id of this message boards mailing list
079             */
080            public long getMailingListId();
081    
082            /**
083             * Sets the mailing list id of this message boards mailing list.
084             *
085             * @param mailingListId the mailing list id of this message boards mailing list
086             */
087            public void setMailingListId(long mailingListId);
088    
089            /**
090             * Gets the group id of this message boards mailing list.
091             *
092             * @return the group id of this message boards mailing list
093             */
094            public long getGroupId();
095    
096            /**
097             * Sets the group id of this message boards mailing list.
098             *
099             * @param groupId the group id of this message boards mailing list
100             */
101            public void setGroupId(long groupId);
102    
103            /**
104             * Gets the company id of this message boards mailing list.
105             *
106             * @return the company id of this message boards mailing list
107             */
108            public long getCompanyId();
109    
110            /**
111             * Sets the company id of this message boards mailing list.
112             *
113             * @param companyId the company id of this message boards mailing list
114             */
115            public void setCompanyId(long companyId);
116    
117            /**
118             * Gets the user id of this message boards mailing list.
119             *
120             * @return the user id of this message boards mailing list
121             */
122            public long getUserId();
123    
124            /**
125             * Sets the user id of this message boards mailing list.
126             *
127             * @param userId the user id of this message boards mailing list
128             */
129            public void setUserId(long userId);
130    
131            /**
132             * Gets the user uuid of this message boards mailing list.
133             *
134             * @return the user uuid of this message boards mailing list
135             * @throws SystemException if a system exception occurred
136             */
137            public String getUserUuid() throws SystemException;
138    
139            /**
140             * Sets the user uuid of this message boards mailing list.
141             *
142             * @param userUuid the user uuid of this message boards mailing list
143             */
144            public void setUserUuid(String userUuid);
145    
146            /**
147             * Gets the user name of this message boards mailing list.
148             *
149             * @return the user name of this message boards mailing list
150             */
151            @AutoEscape
152            public String getUserName();
153    
154            /**
155             * Sets the user name of this message boards mailing list.
156             *
157             * @param userName the user name of this message boards mailing list
158             */
159            public void setUserName(String userName);
160    
161            /**
162             * Gets the create date of this message boards mailing list.
163             *
164             * @return the create date of this message boards mailing list
165             */
166            public Date getCreateDate();
167    
168            /**
169             * Sets the create date of this message boards mailing list.
170             *
171             * @param createDate the create date of this message boards mailing list
172             */
173            public void setCreateDate(Date createDate);
174    
175            /**
176             * Gets the modified date of this message boards mailing list.
177             *
178             * @return the modified date of this message boards mailing list
179             */
180            public Date getModifiedDate();
181    
182            /**
183             * Sets the modified date of this message boards mailing list.
184             *
185             * @param modifiedDate the modified date of this message boards mailing list
186             */
187            public void setModifiedDate(Date modifiedDate);
188    
189            /**
190             * Gets the category id of this message boards mailing list.
191             *
192             * @return the category id of this message boards mailing list
193             */
194            public long getCategoryId();
195    
196            /**
197             * Sets the category id of this message boards mailing list.
198             *
199             * @param categoryId the category id of this message boards mailing list
200             */
201            public void setCategoryId(long categoryId);
202    
203            /**
204             * Gets the email address of this message boards mailing list.
205             *
206             * @return the email address of this message boards mailing list
207             */
208            @AutoEscape
209            public String getEmailAddress();
210    
211            /**
212             * Sets the email address of this message boards mailing list.
213             *
214             * @param emailAddress the email address of this message boards mailing list
215             */
216            public void setEmailAddress(String emailAddress);
217    
218            /**
219             * Gets the in protocol of this message boards mailing list.
220             *
221             * @return the in protocol of this message boards mailing list
222             */
223            @AutoEscape
224            public String getInProtocol();
225    
226            /**
227             * Sets the in protocol of this message boards mailing list.
228             *
229             * @param inProtocol the in protocol of this message boards mailing list
230             */
231            public void setInProtocol(String inProtocol);
232    
233            /**
234             * Gets the in server name of this message boards mailing list.
235             *
236             * @return the in server name of this message boards mailing list
237             */
238            @AutoEscape
239            public String getInServerName();
240    
241            /**
242             * Sets the in server name of this message boards mailing list.
243             *
244             * @param inServerName the in server name of this message boards mailing list
245             */
246            public void setInServerName(String inServerName);
247    
248            /**
249             * Gets the in server port of this message boards mailing list.
250             *
251             * @return the in server port of this message boards mailing list
252             */
253            public int getInServerPort();
254    
255            /**
256             * Sets the in server port of this message boards mailing list.
257             *
258             * @param inServerPort the in server port of this message boards mailing list
259             */
260            public void setInServerPort(int inServerPort);
261    
262            /**
263             * Gets the in use s s l of this message boards mailing list.
264             *
265             * @return the in use s s l of this message boards mailing list
266             */
267            public boolean getInUseSSL();
268    
269            /**
270             * Determines whether this message boards mailing list is in use s s l.
271             *
272             * @return whether this message boards mailing list is in use s s l
273             */
274            public boolean isInUseSSL();
275    
276            /**
277             * Sets whether this {$entity.humanName} is in use s s l.
278             *
279             * @param inUseSSL the in use s s l of this message boards mailing list
280             */
281            public void setInUseSSL(boolean inUseSSL);
282    
283            /**
284             * Gets the in user name of this message boards mailing list.
285             *
286             * @return the in user name of this message boards mailing list
287             */
288            @AutoEscape
289            public String getInUserName();
290    
291            /**
292             * Sets the in user name of this message boards mailing list.
293             *
294             * @param inUserName the in user name of this message boards mailing list
295             */
296            public void setInUserName(String inUserName);
297    
298            /**
299             * Gets the in password of this message boards mailing list.
300             *
301             * @return the in password of this message boards mailing list
302             */
303            @AutoEscape
304            public String getInPassword();
305    
306            /**
307             * Sets the in password of this message boards mailing list.
308             *
309             * @param inPassword the in password of this message boards mailing list
310             */
311            public void setInPassword(String inPassword);
312    
313            /**
314             * Gets the in read interval of this message boards mailing list.
315             *
316             * @return the in read interval of this message boards mailing list
317             */
318            public int getInReadInterval();
319    
320            /**
321             * Sets the in read interval of this message boards mailing list.
322             *
323             * @param inReadInterval the in read interval of this message boards mailing list
324             */
325            public void setInReadInterval(int inReadInterval);
326    
327            /**
328             * Gets the out email address of this message boards mailing list.
329             *
330             * @return the out email address of this message boards mailing list
331             */
332            @AutoEscape
333            public String getOutEmailAddress();
334    
335            /**
336             * Sets the out email address of this message boards mailing list.
337             *
338             * @param outEmailAddress the out email address of this message boards mailing list
339             */
340            public void setOutEmailAddress(String outEmailAddress);
341    
342            /**
343             * Gets the out custom of this message boards mailing list.
344             *
345             * @return the out custom of this message boards mailing list
346             */
347            public boolean getOutCustom();
348    
349            /**
350             * Determines whether this message boards mailing list is out custom.
351             *
352             * @return whether this message boards mailing list is out custom
353             */
354            public boolean isOutCustom();
355    
356            /**
357             * Sets whether this {$entity.humanName} is out custom.
358             *
359             * @param outCustom the out custom of this message boards mailing list
360             */
361            public void setOutCustom(boolean outCustom);
362    
363            /**
364             * Gets the out server name of this message boards mailing list.
365             *
366             * @return the out server name of this message boards mailing list
367             */
368            @AutoEscape
369            public String getOutServerName();
370    
371            /**
372             * Sets the out server name of this message boards mailing list.
373             *
374             * @param outServerName the out server name of this message boards mailing list
375             */
376            public void setOutServerName(String outServerName);
377    
378            /**
379             * Gets the out server port of this message boards mailing list.
380             *
381             * @return the out server port of this message boards mailing list
382             */
383            public int getOutServerPort();
384    
385            /**
386             * Sets the out server port of this message boards mailing list.
387             *
388             * @param outServerPort the out server port of this message boards mailing list
389             */
390            public void setOutServerPort(int outServerPort);
391    
392            /**
393             * Gets the out use s s l of this message boards mailing list.
394             *
395             * @return the out use s s l of this message boards mailing list
396             */
397            public boolean getOutUseSSL();
398    
399            /**
400             * Determines whether this message boards mailing list is out use s s l.
401             *
402             * @return whether this message boards mailing list is out use s s l
403             */
404            public boolean isOutUseSSL();
405    
406            /**
407             * Sets whether this {$entity.humanName} is out use s s l.
408             *
409             * @param outUseSSL the out use s s l of this message boards mailing list
410             */
411            public void setOutUseSSL(boolean outUseSSL);
412    
413            /**
414             * Gets the out user name of this message boards mailing list.
415             *
416             * @return the out user name of this message boards mailing list
417             */
418            @AutoEscape
419            public String getOutUserName();
420    
421            /**
422             * Sets the out user name of this message boards mailing list.
423             *
424             * @param outUserName the out user name of this message boards mailing list
425             */
426            public void setOutUserName(String outUserName);
427    
428            /**
429             * Gets the out password of this message boards mailing list.
430             *
431             * @return the out password of this message boards mailing list
432             */
433            @AutoEscape
434            public String getOutPassword();
435    
436            /**
437             * Sets the out password of this message boards mailing list.
438             *
439             * @param outPassword the out password of this message boards mailing list
440             */
441            public void setOutPassword(String outPassword);
442    
443            /**
444             * Gets the active of this message boards mailing list.
445             *
446             * @return the active of this message boards mailing list
447             */
448            public boolean getActive();
449    
450            /**
451             * Determines whether this message boards mailing list is active.
452             *
453             * @return whether this message boards mailing list is active
454             */
455            public boolean isActive();
456    
457            /**
458             * Sets whether this {$entity.humanName} is active.
459             *
460             * @param active the active of this message boards mailing list
461             */
462            public void setActive(boolean active);
463    
464            /**
465             * Gets a copy of this message boards mailing list as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
466             *
467             * @return the escaped model instance
468             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
469             */
470            public MBMailingList toEscapedModel();
471    
472            public boolean isNew();
473    
474            public void setNew(boolean n);
475    
476            public boolean isCachedModel();
477    
478            public void setCachedModel(boolean cachedModel);
479    
480            public boolean isEscapedModel();
481    
482            public void setEscapedModel(boolean escapedModel);
483    
484            public Serializable getPrimaryKeyObj();
485    
486            public ExpandoBridge getExpandoBridge();
487    
488            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
489    
490            public Object clone();
491    
492            public int compareTo(MBMailingList mbMailingList);
493    
494            public int hashCode();
495    
496            public String toString();
497    
498            public String toXmlString();
499    }