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