001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.messageboards.model;
016    
017    import com.liferay.portal.kernel.exception.SystemException;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * The base model interface for the MBMessageFlag service. Represents a row in the "MBMessageFlag" database table, with each column mapped to a property of this class.
029     *
030     * <p>
031     * This interface and its corresponding implementation {@link com.liferay.portlet.messageboards.model.impl.MBMessageFlagModelImpl} 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.MBMessageFlagImpl}.
032     * </p>
033     *
034     * <p>
035     * Never modify or reference this interface directly. All methods that expect a message boards message flag model instance should use the {@link MBMessageFlag} interface instead.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see MBMessageFlag
040     * @see com.liferay.portlet.messageboards.model.impl.MBMessageFlagImpl
041     * @see com.liferay.portlet.messageboards.model.impl.MBMessageFlagModelImpl
042     * @generated
043     */
044    public interface MBMessageFlagModel extends BaseModel<MBMessageFlag> {
045            /**
046             * Gets the primary key of this message boards message flag.
047             *
048             * @return the primary key of this message boards message flag
049             */
050            public long getPrimaryKey();
051    
052            /**
053             * Sets the primary key of this message boards message flag
054             *
055             * @param pk the primary key of this message boards message flag
056             */
057            public void setPrimaryKey(long pk);
058    
059            /**
060             * Gets the message flag id of this message boards message flag.
061             *
062             * @return the message flag id of this message boards message flag
063             */
064            public long getMessageFlagId();
065    
066            /**
067             * Sets the message flag id of this message boards message flag.
068             *
069             * @param messageFlagId the message flag id of this message boards message flag
070             */
071            public void setMessageFlagId(long messageFlagId);
072    
073            /**
074             * Gets the user id of this message boards message flag.
075             *
076             * @return the user id of this message boards message flag
077             */
078            public long getUserId();
079    
080            /**
081             * Sets the user id of this message boards message flag.
082             *
083             * @param userId the user id of this message boards message flag
084             */
085            public void setUserId(long userId);
086    
087            /**
088             * Gets the user uuid of this message boards message flag.
089             *
090             * @return the user uuid of this message boards message flag
091             * @throws SystemException if a system exception occurred
092             */
093            public String getUserUuid() throws SystemException;
094    
095            /**
096             * Sets the user uuid of this message boards message flag.
097             *
098             * @param userUuid the user uuid of this message boards message flag
099             */
100            public void setUserUuid(String userUuid);
101    
102            /**
103             * Gets the modified date of this message boards message flag.
104             *
105             * @return the modified date of this message boards message flag
106             */
107            public Date getModifiedDate();
108    
109            /**
110             * Sets the modified date of this message boards message flag.
111             *
112             * @param modifiedDate the modified date of this message boards message flag
113             */
114            public void setModifiedDate(Date modifiedDate);
115    
116            /**
117             * Gets the thread id of this message boards message flag.
118             *
119             * @return the thread id of this message boards message flag
120             */
121            public long getThreadId();
122    
123            /**
124             * Sets the thread id of this message boards message flag.
125             *
126             * @param threadId the thread id of this message boards message flag
127             */
128            public void setThreadId(long threadId);
129    
130            /**
131             * Gets the message id of this message boards message flag.
132             *
133             * @return the message id of this message boards message flag
134             */
135            public long getMessageId();
136    
137            /**
138             * Sets the message id of this message boards message flag.
139             *
140             * @param messageId the message id of this message boards message flag
141             */
142            public void setMessageId(long messageId);
143    
144            /**
145             * Gets the flag of this message boards message flag.
146             *
147             * @return the flag of this message boards message flag
148             */
149            public int getFlag();
150    
151            /**
152             * Sets the flag of this message boards message flag.
153             *
154             * @param flag the flag of this message boards message flag
155             */
156            public void setFlag(int flag);
157    
158            public boolean isNew();
159    
160            public void setNew(boolean n);
161    
162            public boolean isCachedModel();
163    
164            public void setCachedModel(boolean cachedModel);
165    
166            public boolean isEscapedModel();
167    
168            public void setEscapedModel(boolean escapedModel);
169    
170            public Serializable getPrimaryKeyObj();
171    
172            public ExpandoBridge getExpandoBridge();
173    
174            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
175    
176            public Object clone();
177    
178            public int compareTo(MBMessageFlag mbMessageFlag);
179    
180            public int hashCode();
181    
182            public MBMessageFlag toEscapedModel();
183    
184            public String toString();
185    
186            public String toXmlString();
187    }