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