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 com.liferay.portal.kernel.exception.SystemException;
018    import com.liferay.portal.model.AttachedModel;
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    /**
028     * The base model interface for the SocialActivitySet service. Represents a row in the "SocialActivitySet" database table, with each column mapped to a property of this class.
029     *
030     * <p>
031     * This interface and its corresponding implementation {@link com.liferay.portlet.social.model.impl.SocialActivitySetModelImpl} 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.SocialActivitySetImpl}.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see SocialActivitySet
036     * @see com.liferay.portlet.social.model.impl.SocialActivitySetImpl
037     * @see com.liferay.portlet.social.model.impl.SocialActivitySetModelImpl
038     * @generated
039     */
040    public interface SocialActivitySetModel extends AttachedModel,
041            BaseModel<SocialActivitySet> {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. All methods that expect a social activity set model instance should use the {@link SocialActivitySet} interface instead.
046             */
047    
048            /**
049             * Returns the primary key of this social activity set.
050             *
051             * @return the primary key of this social activity set
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this social activity set.
057             *
058             * @param primaryKey the primary key of this social activity set
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the activity set ID of this social activity set.
064             *
065             * @return the activity set ID of this social activity set
066             */
067            public long getActivitySetId();
068    
069            /**
070             * Sets the activity set ID of this social activity set.
071             *
072             * @param activitySetId the activity set ID of this social activity set
073             */
074            public void setActivitySetId(long activitySetId);
075    
076            /**
077             * Returns the group ID of this social activity set.
078             *
079             * @return the group ID of this social activity set
080             */
081            public long getGroupId();
082    
083            /**
084             * Sets the group ID of this social activity set.
085             *
086             * @param groupId the group ID of this social activity set
087             */
088            public void setGroupId(long groupId);
089    
090            /**
091             * Returns the company ID of this social activity set.
092             *
093             * @return the company ID of this social activity set
094             */
095            public long getCompanyId();
096    
097            /**
098             * Sets the company ID of this social activity set.
099             *
100             * @param companyId the company ID of this social activity set
101             */
102            public void setCompanyId(long companyId);
103    
104            /**
105             * Returns the user ID of this social activity set.
106             *
107             * @return the user ID of this social activity set
108             */
109            public long getUserId();
110    
111            /**
112             * Sets the user ID of this social activity set.
113             *
114             * @param userId the user ID of this social activity set
115             */
116            public void setUserId(long userId);
117    
118            /**
119             * Returns the user uuid of this social activity set.
120             *
121             * @return the user uuid of this social activity set
122             * @throws SystemException if a system exception occurred
123             */
124            public String getUserUuid() throws SystemException;
125    
126            /**
127             * Sets the user uuid of this social activity set.
128             *
129             * @param userUuid the user uuid of this social activity set
130             */
131            public void setUserUuid(String userUuid);
132    
133            /**
134             * Returns the create date of this social activity set.
135             *
136             * @return the create date of this social activity set
137             */
138            public long getCreateDate();
139    
140            /**
141             * Sets the create date of this social activity set.
142             *
143             * @param createDate the create date of this social activity set
144             */
145            public void setCreateDate(long createDate);
146    
147            /**
148             * Returns the modified date of this social activity set.
149             *
150             * @return the modified date of this social activity set
151             */
152            public long getModifiedDate();
153    
154            /**
155             * Sets the modified date of this social activity set.
156             *
157             * @param modifiedDate the modified date of this social activity set
158             */
159            public void setModifiedDate(long modifiedDate);
160    
161            /**
162             * Returns the fully qualified class name of this social activity set.
163             *
164             * @return the fully qualified class name of this social activity set
165             */
166            public String getClassName();
167    
168            public void setClassName(String className);
169    
170            /**
171             * Returns the class name ID of this social activity set.
172             *
173             * @return the class name ID of this social activity set
174             */
175            public long getClassNameId();
176    
177            /**
178             * Sets the class name ID of this social activity set.
179             *
180             * @param classNameId the class name ID of this social activity set
181             */
182            public void setClassNameId(long classNameId);
183    
184            /**
185             * Returns the class p k of this social activity set.
186             *
187             * @return the class p k of this social activity set
188             */
189            public long getClassPK();
190    
191            /**
192             * Sets the class p k of this social activity set.
193             *
194             * @param classPK the class p k of this social activity set
195             */
196            public void setClassPK(long classPK);
197    
198            /**
199             * Returns the type of this social activity set.
200             *
201             * @return the type of this social activity set
202             */
203            public int getType();
204    
205            /**
206             * Sets the type of this social activity set.
207             *
208             * @param type the type of this social activity set
209             */
210            public void setType(int type);
211    
212            /**
213             * Returns the activity count of this social activity set.
214             *
215             * @return the activity count of this social activity set
216             */
217            public int getActivityCount();
218    
219            /**
220             * Sets the activity count of this social activity set.
221             *
222             * @param activityCount the activity count of this social activity set
223             */
224            public void setActivityCount(int activityCount);
225    
226            public boolean isNew();
227    
228            public void setNew(boolean n);
229    
230            public boolean isCachedModel();
231    
232            public void setCachedModel(boolean cachedModel);
233    
234            public boolean isEscapedModel();
235    
236            public Serializable getPrimaryKeyObj();
237    
238            public void setPrimaryKeyObj(Serializable primaryKeyObj);
239    
240            public ExpandoBridge getExpandoBridge();
241    
242            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
243    
244            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
245    
246            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
247    
248            public Object clone();
249    
250            public int compareTo(SocialActivitySet socialActivitySet);
251    
252            public int hashCode();
253    
254            public CacheModel<SocialActivitySet> toCacheModel();
255    
256            public SocialActivitySet toEscapedModel();
257    
258            public SocialActivitySet toUnescapedModel();
259    
260            public String toString();
261    
262            public String toXmlString();
263    }