001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.model.CacheModel;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.expando.model.ExpandoBridge;
024    
025    import java.io.Serializable;
026    
027    import java.util.Date;
028    
029    /**
030     * The base model interface for the AnnouncementsFlag service. Represents a row in the "AnnouncementsFlag" database table, with each column mapped to a property of this class.
031     *
032     * <p>
033     * This interface and its corresponding implementation {@link com.liferay.portlet.announcements.model.impl.AnnouncementsFlagModelImpl} 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.announcements.model.impl.AnnouncementsFlagImpl}.
034     * </p>
035     *
036     * @author Brian Wing Shun Chan
037     * @see AnnouncementsFlag
038     * @see com.liferay.portlet.announcements.model.impl.AnnouncementsFlagImpl
039     * @see com.liferay.portlet.announcements.model.impl.AnnouncementsFlagModelImpl
040     * @generated
041     */
042    @ProviderType
043    public interface AnnouncementsFlagModel extends BaseModel<AnnouncementsFlag> {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a announcements flag model instance should use the {@link AnnouncementsFlag} interface instead.
048             */
049    
050            /**
051             * Returns the primary key of this announcements flag.
052             *
053             * @return the primary key of this announcements flag
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this announcements flag.
059             *
060             * @param primaryKey the primary key of this announcements flag
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Returns the flag ID of this announcements flag.
066             *
067             * @return the flag ID of this announcements flag
068             */
069            public long getFlagId();
070    
071            /**
072             * Sets the flag ID of this announcements flag.
073             *
074             * @param flagId the flag ID of this announcements flag
075             */
076            public void setFlagId(long flagId);
077    
078            /**
079             * Returns the user ID of this announcements flag.
080             *
081             * @return the user ID of this announcements flag
082             */
083            public long getUserId();
084    
085            /**
086             * Sets the user ID of this announcements flag.
087             *
088             * @param userId the user ID of this announcements flag
089             */
090            public void setUserId(long userId);
091    
092            /**
093             * Returns the user uuid of this announcements flag.
094             *
095             * @return the user uuid of this announcements flag
096             */
097            public String getUserUuid();
098    
099            /**
100             * Sets the user uuid of this announcements flag.
101             *
102             * @param userUuid the user uuid of this announcements flag
103             */
104            public void setUserUuid(String userUuid);
105    
106            /**
107             * Returns the create date of this announcements flag.
108             *
109             * @return the create date of this announcements flag
110             */
111            public Date getCreateDate();
112    
113            /**
114             * Sets the create date of this announcements flag.
115             *
116             * @param createDate the create date of this announcements flag
117             */
118            public void setCreateDate(Date createDate);
119    
120            /**
121             * Returns the entry ID of this announcements flag.
122             *
123             * @return the entry ID of this announcements flag
124             */
125            public long getEntryId();
126    
127            /**
128             * Sets the entry ID of this announcements flag.
129             *
130             * @param entryId the entry ID of this announcements flag
131             */
132            public void setEntryId(long entryId);
133    
134            /**
135             * Returns the value of this announcements flag.
136             *
137             * @return the value of this announcements flag
138             */
139            public int getValue();
140    
141            /**
142             * Sets the value of this announcements flag.
143             *
144             * @param value the value of this announcements flag
145             */
146            public void setValue(int value);
147    
148            @Override
149            public boolean isNew();
150    
151            @Override
152            public void setNew(boolean n);
153    
154            @Override
155            public boolean isCachedModel();
156    
157            @Override
158            public void setCachedModel(boolean cachedModel);
159    
160            @Override
161            public boolean isEscapedModel();
162    
163            @Override
164            public Serializable getPrimaryKeyObj();
165    
166            @Override
167            public void setPrimaryKeyObj(Serializable primaryKeyObj);
168    
169            @Override
170            public ExpandoBridge getExpandoBridge();
171    
172            @Override
173            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
174    
175            @Override
176            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
177    
178            @Override
179            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
180    
181            @Override
182            public Object clone();
183    
184            @Override
185            public int compareTo(
186                    com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag);
187    
188            @Override
189            public int hashCode();
190    
191            @Override
192            public CacheModel<com.liferay.portlet.announcements.model.AnnouncementsFlag> toCacheModel();
193    
194            @Override
195            public com.liferay.portlet.announcements.model.AnnouncementsFlag toEscapedModel();
196    
197            @Override
198            public com.liferay.portlet.announcements.model.AnnouncementsFlag toUnescapedModel();
199    
200            @Override
201            public String toString();
202    
203            @Override
204            public String toXmlString();
205    }