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.announcements.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 AnnouncementsFlag table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       AnnouncementsFlag
035     * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsFlagImpl
036     * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsFlagModelImpl
037     * @generated
038     */
039    public interface AnnouncementsFlagModel extends BaseModel<AnnouncementsFlag> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getFlagId();
045    
046            public void setFlagId(long flagId);
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 getCreateDate();
057    
058            public void setCreateDate(Date createDate);
059    
060            public long getEntryId();
061    
062            public void setEntryId(long entryId);
063    
064            public int getValue();
065    
066            public void setValue(int value);
067    
068            public AnnouncementsFlag toEscapedModel();
069    
070            public boolean isNew();
071    
072            public void setNew(boolean n);
073    
074            public boolean isCachedModel();
075    
076            public void setCachedModel(boolean cachedModel);
077    
078            public boolean isEscapedModel();
079    
080            public void setEscapedModel(boolean escapedModel);
081    
082            public Serializable getPrimaryKeyObj();
083    
084            public ExpandoBridge getExpandoBridge();
085    
086            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
087    
088            public Object clone();
089    
090            public int compareTo(AnnouncementsFlag announcementsFlag);
091    
092            public int hashCode();
093    
094            public String toString();
095    
096            public String toXmlString();
097    }