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.social.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.expando.model.ExpandoBridge;
025    
026    import java.io.Serializable;
027    
028    /**
029     * The base model interface for the SocialActivityAchievement service. Represents a row in the "SocialActivityAchievement" 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.social.model.impl.SocialActivityAchievementModelImpl} 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.social.model.impl.SocialActivityAchievementImpl}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see SocialActivityAchievement
037     * @see com.liferay.portlet.social.model.impl.SocialActivityAchievementImpl
038     * @see com.liferay.portlet.social.model.impl.SocialActivityAchievementModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface SocialActivityAchievementModel extends BaseModel<SocialActivityAchievement> {
043            /*
044             * NOTE FOR DEVELOPERS:
045             *
046             * Never modify or reference this interface directly. All methods that expect a social activity achievement model instance should use the {@link SocialActivityAchievement} interface instead.
047             */
048    
049            /**
050             * Returns the primary key of this social activity achievement.
051             *
052             * @return the primary key of this social activity achievement
053             */
054            public long getPrimaryKey();
055    
056            /**
057             * Sets the primary key of this social activity achievement.
058             *
059             * @param primaryKey the primary key of this social activity achievement
060             */
061            public void setPrimaryKey(long primaryKey);
062    
063            /**
064             * Returns the activity achievement ID of this social activity achievement.
065             *
066             * @return the activity achievement ID of this social activity achievement
067             */
068            public long getActivityAchievementId();
069    
070            /**
071             * Sets the activity achievement ID of this social activity achievement.
072             *
073             * @param activityAchievementId the activity achievement ID of this social activity achievement
074             */
075            public void setActivityAchievementId(long activityAchievementId);
076    
077            /**
078             * Returns the group ID of this social activity achievement.
079             *
080             * @return the group ID of this social activity achievement
081             */
082            public long getGroupId();
083    
084            /**
085             * Sets the group ID of this social activity achievement.
086             *
087             * @param groupId the group ID of this social activity achievement
088             */
089            public void setGroupId(long groupId);
090    
091            /**
092             * Returns the company ID of this social activity achievement.
093             *
094             * @return the company ID of this social activity achievement
095             */
096            public long getCompanyId();
097    
098            /**
099             * Sets the company ID of this social activity achievement.
100             *
101             * @param companyId the company ID of this social activity achievement
102             */
103            public void setCompanyId(long companyId);
104    
105            /**
106             * Returns the user ID of this social activity achievement.
107             *
108             * @return the user ID of this social activity achievement
109             */
110            public long getUserId();
111    
112            /**
113             * Sets the user ID of this social activity achievement.
114             *
115             * @param userId the user ID of this social activity achievement
116             */
117            public void setUserId(long userId);
118    
119            /**
120             * Returns the user uuid of this social activity achievement.
121             *
122             * @return the user uuid of this social activity achievement
123             */
124            public String getUserUuid();
125    
126            /**
127             * Sets the user uuid of this social activity achievement.
128             *
129             * @param userUuid the user uuid of this social activity achievement
130             */
131            public void setUserUuid(String userUuid);
132    
133            /**
134             * Returns the create date of this social activity achievement.
135             *
136             * @return the create date of this social activity achievement
137             */
138            public long getCreateDate();
139    
140            /**
141             * Sets the create date of this social activity achievement.
142             *
143             * @param createDate the create date of this social activity achievement
144             */
145            public void setCreateDate(long createDate);
146    
147            /**
148             * Returns the name of this social activity achievement.
149             *
150             * @return the name of this social activity achievement
151             */
152            @AutoEscape
153            public String getName();
154    
155            /**
156             * Sets the name of this social activity achievement.
157             *
158             * @param name the name of this social activity achievement
159             */
160            public void setName(String name);
161    
162            /**
163             * Returns the first in group of this social activity achievement.
164             *
165             * @return the first in group of this social activity achievement
166             */
167            public boolean getFirstInGroup();
168    
169            /**
170             * Returns <code>true</code> if this social activity achievement is first in group.
171             *
172             * @return <code>true</code> if this social activity achievement is first in group; <code>false</code> otherwise
173             */
174            public boolean isFirstInGroup();
175    
176            /**
177             * Sets whether this social activity achievement is first in group.
178             *
179             * @param firstInGroup the first in group of this social activity achievement
180             */
181            public void setFirstInGroup(boolean firstInGroup);
182    
183            @Override
184            public boolean isNew();
185    
186            @Override
187            public void setNew(boolean n);
188    
189            @Override
190            public boolean isCachedModel();
191    
192            @Override
193            public void setCachedModel(boolean cachedModel);
194    
195            @Override
196            public boolean isEscapedModel();
197    
198            @Override
199            public Serializable getPrimaryKeyObj();
200    
201            @Override
202            public void setPrimaryKeyObj(Serializable primaryKeyObj);
203    
204            @Override
205            public ExpandoBridge getExpandoBridge();
206    
207            @Override
208            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
209    
210            @Override
211            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
212    
213            @Override
214            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
215    
216            @Override
217            public Object clone();
218    
219            @Override
220            public int compareTo(
221                    com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement);
222    
223            @Override
224            public int hashCode();
225    
226            @Override
227            public CacheModel<com.liferay.portlet.social.model.SocialActivityAchievement> toCacheModel();
228    
229            @Override
230            public com.liferay.portlet.social.model.SocialActivityAchievement toEscapedModel();
231    
232            @Override
233            public com.liferay.portlet.social.model.SocialActivityAchievement toUnescapedModel();
234    
235            @Override
236            public String toString();
237    
238            @Override
239            public String toXmlString();
240    }