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.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     * <p>
029     * This interface is a model that represents the MBMessageFlag table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       MBMessageFlag
035     * @see       com.liferay.portlet.messageboards.model.impl.MBMessageFlagImpl
036     * @see       com.liferay.portlet.messageboards.model.impl.MBMessageFlagModelImpl
037     * @generated
038     */
039    public interface MBMessageFlagModel extends BaseModel<MBMessageFlag> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getMessageFlagId();
045    
046            public void setMessageFlagId(long messageFlagId);
047    
048            public long getUserId();
049    
050            public void setUserId(long userId);
051    
052            public String getUserUuid() throws SystemException;
053    
054            public void setUserUuid(String userUuid);
055    
056            public Date getModifiedDate();
057    
058            public void setModifiedDate(Date modifiedDate);
059    
060            public long getThreadId();
061    
062            public void setThreadId(long threadId);
063    
064            public long getMessageId();
065    
066            public void setMessageId(long messageId);
067    
068            public int getFlag();
069    
070            public void setFlag(int flag);
071    
072            public MBMessageFlag toEscapedModel();
073    
074            public boolean isNew();
075    
076            public void setNew(boolean n);
077    
078            public boolean isCachedModel();
079    
080            public void setCachedModel(boolean cachedModel);
081    
082            public boolean isEscapedModel();
083    
084            public void setEscapedModel(boolean escapedModel);
085    
086            public Serializable getPrimaryKeyObj();
087    
088            public ExpandoBridge getExpandoBridge();
089    
090            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
091    
092            public Object clone();
093    
094            public int compareTo(MBMessageFlag mbMessageFlag);
095    
096            public int hashCode();
097    
098            public String toString();
099    
100            public String toXmlString();
101    }