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