001    /**
002     * Copyright (c) 2000-2011 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 SocialEquitySetting service. Represents a row in the "SocialEquitySetting" 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.SocialEquitySettingModelImpl} 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.SocialEquitySettingImpl}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see SocialEquitySetting
035     * @see com.liferay.portlet.social.model.impl.SocialEquitySettingImpl
036     * @see com.liferay.portlet.social.model.impl.SocialEquitySettingModelImpl
037     * @generated
038     */
039    public interface SocialEquitySettingModel extends BaseModel<SocialEquitySetting> {
040            /*
041             * NOTE FOR DEVELOPERS:
042             *
043             * Never modify or reference this interface directly. All methods that expect a social equity setting model instance should use the {@link SocialEquitySetting} interface instead.
044             */
045    
046            /**
047             * Returns the primary key of this social equity setting.
048             *
049             * @return the primary key of this social equity setting
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this social equity setting.
055             *
056             * @param primaryKey the primary key of this social equity setting
057             */
058            public void setPrimaryKey(long primaryKey);
059    
060            /**
061             * Returns the equity setting ID of this social equity setting.
062             *
063             * @return the equity setting ID of this social equity setting
064             */
065            public long getEquitySettingId();
066    
067            /**
068             * Sets the equity setting ID of this social equity setting.
069             *
070             * @param equitySettingId the equity setting ID of this social equity setting
071             */
072            public void setEquitySettingId(long equitySettingId);
073    
074            /**
075             * Returns the group ID of this social equity setting.
076             *
077             * @return the group ID of this social equity setting
078             */
079            public long getGroupId();
080    
081            /**
082             * Sets the group ID of this social equity setting.
083             *
084             * @param groupId the group ID of this social equity setting
085             */
086            public void setGroupId(long groupId);
087    
088            /**
089             * Returns the company ID of this social equity setting.
090             *
091             * @return the company ID of this social equity setting
092             */
093            public long getCompanyId();
094    
095            /**
096             * Sets the company ID of this social equity setting.
097             *
098             * @param companyId the company ID of this social equity setting
099             */
100            public void setCompanyId(long companyId);
101    
102            /**
103             * Returns the fully qualified class name of this social equity setting.
104             *
105             * @return the fully qualified class name of this social equity setting
106             */
107            public String getClassName();
108    
109            /**
110             * Returns the class name ID of this social equity setting.
111             *
112             * @return the class name ID of this social equity setting
113             */
114            public long getClassNameId();
115    
116            /**
117             * Sets the class name ID of this social equity setting.
118             *
119             * @param classNameId the class name ID of this social equity setting
120             */
121            public void setClassNameId(long classNameId);
122    
123            /**
124             * Returns the action ID of this social equity setting.
125             *
126             * @return the action ID of this social equity setting
127             */
128            @AutoEscape
129            public String getActionId();
130    
131            /**
132             * Sets the action ID of this social equity setting.
133             *
134             * @param actionId the action ID of this social equity setting
135             */
136            public void setActionId(String actionId);
137    
138            /**
139             * Returns the daily limit of this social equity setting.
140             *
141             * @return the daily limit of this social equity setting
142             */
143            public int getDailyLimit();
144    
145            /**
146             * Sets the daily limit of this social equity setting.
147             *
148             * @param dailyLimit the daily limit of this social equity setting
149             */
150            public void setDailyLimit(int dailyLimit);
151    
152            /**
153             * Returns the lifespan of this social equity setting.
154             *
155             * @return the lifespan of this social equity setting
156             */
157            public int getLifespan();
158    
159            /**
160             * Sets the lifespan of this social equity setting.
161             *
162             * @param lifespan the lifespan of this social equity setting
163             */
164            public void setLifespan(int lifespan);
165    
166            /**
167             * Returns the type of this social equity setting.
168             *
169             * @return the type of this social equity setting
170             */
171            public int getType();
172    
173            /**
174             * Sets the type of this social equity setting.
175             *
176             * @param type the type of this social equity setting
177             */
178            public void setType(int type);
179    
180            /**
181             * Returns the unique entry of this social equity setting.
182             *
183             * @return the unique entry of this social equity setting
184             */
185            public boolean getUniqueEntry();
186    
187            /**
188             * Returns <code>true</code> if this social equity setting is unique entry.
189             *
190             * @return <code>true</code> if this social equity setting is unique entry; <code>false</code> otherwise
191             */
192            public boolean isUniqueEntry();
193    
194            /**
195             * Sets whether this social equity setting is unique entry.
196             *
197             * @param uniqueEntry the unique entry of this social equity setting
198             */
199            public void setUniqueEntry(boolean uniqueEntry);
200    
201            /**
202             * Returns the value of this social equity setting.
203             *
204             * @return the value of this social equity setting
205             */
206            public int getValue();
207    
208            /**
209             * Sets the value of this social equity setting.
210             *
211             * @param value the value of this social equity setting
212             */
213            public void setValue(int value);
214    
215            public boolean isNew();
216    
217            public void setNew(boolean n);
218    
219            public boolean isCachedModel();
220    
221            public void setCachedModel(boolean cachedModel);
222    
223            public boolean isEscapedModel();
224    
225            public Serializable getPrimaryKeyObj();
226    
227            public void setPrimaryKeyObj(Serializable primaryKeyObj);
228    
229            public ExpandoBridge getExpandoBridge();
230    
231            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
232    
233            public Object clone();
234    
235            public int compareTo(SocialEquitySetting socialEquitySetting);
236    
237            public int hashCode();
238    
239            public CacheModel<SocialEquitySetting> toCacheModel();
240    
241            public SocialEquitySetting toEscapedModel();
242    
243            public String toString();
244    
245            public String toXmlString();
246    }