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.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.model.TypedModel;
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 SocialActivitySetting service. Represents a row in the "SocialActivitySetting" 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.SocialActivitySettingModelImpl} 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.SocialActivitySettingImpl}.
034     * </p>
035     *
036     * @author Brian Wing Shun Chan
037     * @see SocialActivitySetting
038     * @see com.liferay.portlet.social.model.impl.SocialActivitySettingImpl
039     * @see com.liferay.portlet.social.model.impl.SocialActivitySettingModelImpl
040     * @generated
041     */
042    @ProviderType
043    public interface SocialActivitySettingModel extends BaseModel<SocialActivitySetting>,
044            TypedModel {
045            /*
046             * NOTE FOR DEVELOPERS:
047             *
048             * Never modify or reference this interface directly. All methods that expect a social activity setting model instance should use the {@link SocialActivitySetting} interface instead.
049             */
050    
051            /**
052             * Returns the primary key of this social activity setting.
053             *
054             * @return the primary key of this social activity setting
055             */
056            public long getPrimaryKey();
057    
058            /**
059             * Sets the primary key of this social activity setting.
060             *
061             * @param primaryKey the primary key of this social activity setting
062             */
063            public void setPrimaryKey(long primaryKey);
064    
065            /**
066             * Returns the activity setting ID of this social activity setting.
067             *
068             * @return the activity setting ID of this social activity setting
069             */
070            public long getActivitySettingId();
071    
072            /**
073             * Sets the activity setting ID of this social activity setting.
074             *
075             * @param activitySettingId the activity setting ID of this social activity setting
076             */
077            public void setActivitySettingId(long activitySettingId);
078    
079            /**
080             * Returns the group ID of this social activity setting.
081             *
082             * @return the group ID of this social activity setting
083             */
084            public long getGroupId();
085    
086            /**
087             * Sets the group ID of this social activity setting.
088             *
089             * @param groupId the group ID of this social activity setting
090             */
091            public void setGroupId(long groupId);
092    
093            /**
094             * Returns the company ID of this social activity setting.
095             *
096             * @return the company ID of this social activity setting
097             */
098            public long getCompanyId();
099    
100            /**
101             * Sets the company ID of this social activity setting.
102             *
103             * @param companyId the company ID of this social activity setting
104             */
105            public void setCompanyId(long companyId);
106    
107            /**
108             * Returns the fully qualified class name of this social activity setting.
109             *
110             * @return the fully qualified class name of this social activity setting
111             */
112            @Override
113            public String getClassName();
114    
115            public void setClassName(String className);
116    
117            /**
118             * Returns the class name ID of this social activity setting.
119             *
120             * @return the class name ID of this social activity setting
121             */
122            @Override
123            public long getClassNameId();
124    
125            /**
126             * Sets the class name ID of this social activity setting.
127             *
128             * @param classNameId the class name ID of this social activity setting
129             */
130            @Override
131            public void setClassNameId(long classNameId);
132    
133            /**
134             * Returns the activity type of this social activity setting.
135             *
136             * @return the activity type of this social activity setting
137             */
138            public int getActivityType();
139    
140            /**
141             * Sets the activity type of this social activity setting.
142             *
143             * @param activityType the activity type of this social activity setting
144             */
145            public void setActivityType(int activityType);
146    
147            /**
148             * Returns the name of this social activity setting.
149             *
150             * @return the name of this social activity setting
151             */
152            @AutoEscape
153            public String getName();
154    
155            /**
156             * Sets the name of this social activity setting.
157             *
158             * @param name the name of this social activity setting
159             */
160            public void setName(String name);
161    
162            /**
163             * Returns the value of this social activity setting.
164             *
165             * @return the value of this social activity setting
166             */
167            @AutoEscape
168            public String getValue();
169    
170            /**
171             * Sets the value of this social activity setting.
172             *
173             * @param value the value of this social activity setting
174             */
175            public void setValue(String value);
176    
177            @Override
178            public boolean isNew();
179    
180            @Override
181            public void setNew(boolean n);
182    
183            @Override
184            public boolean isCachedModel();
185    
186            @Override
187            public void setCachedModel(boolean cachedModel);
188    
189            @Override
190            public boolean isEscapedModel();
191    
192            @Override
193            public Serializable getPrimaryKeyObj();
194    
195            @Override
196            public void setPrimaryKeyObj(Serializable primaryKeyObj);
197    
198            @Override
199            public ExpandoBridge getExpandoBridge();
200    
201            @Override
202            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
203    
204            @Override
205            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
206    
207            @Override
208            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
209    
210            @Override
211            public Object clone();
212    
213            @Override
214            public int compareTo(SocialActivitySetting socialActivitySetting);
215    
216            @Override
217            public int hashCode();
218    
219            @Override
220            public CacheModel<SocialActivitySetting> toCacheModel();
221    
222            @Override
223            public SocialActivitySetting toEscapedModel();
224    
225            @Override
226            public SocialActivitySetting toUnescapedModel();
227    
228            @Override
229            public String toString();
230    
231            @Override
232            public String toXmlString();
233    }