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.model.BaseModel;
018    import com.liferay.portal.model.CacheModel;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    /**
026     * The base model interface for the SocialEquityGroupSetting service. Represents a row in the "SocialEquityGroupSetting" database table, with each column mapped to a property of this class.
027     *
028     * <p>
029     * This interface and its corresponding implementation {@link com.liferay.portlet.social.model.impl.SocialEquityGroupSettingModelImpl} 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.SocialEquityGroupSettingImpl}.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see SocialEquityGroupSetting
034     * @see com.liferay.portlet.social.model.impl.SocialEquityGroupSettingImpl
035     * @see com.liferay.portlet.social.model.impl.SocialEquityGroupSettingModelImpl
036     * @generated
037     */
038    public interface SocialEquityGroupSettingModel extends BaseModel<SocialEquityGroupSetting> {
039            /*
040             * NOTE FOR DEVELOPERS:
041             *
042             * Never modify or reference this interface directly. All methods that expect a social equity group setting model instance should use the {@link SocialEquityGroupSetting} interface instead.
043             */
044    
045            /**
046             * Returns the primary key of this social equity group setting.
047             *
048             * @return the primary key of this social equity group setting
049             */
050            public long getPrimaryKey();
051    
052            /**
053             * Sets the primary key of this social equity group setting.
054             *
055             * @param primaryKey the primary key of this social equity group setting
056             */
057            public void setPrimaryKey(long primaryKey);
058    
059            /**
060             * Returns the equity group setting ID of this social equity group setting.
061             *
062             * @return the equity group setting ID of this social equity group setting
063             */
064            public long getEquityGroupSettingId();
065    
066            /**
067             * Sets the equity group setting ID of this social equity group setting.
068             *
069             * @param equityGroupSettingId the equity group setting ID of this social equity group setting
070             */
071            public void setEquityGroupSettingId(long equityGroupSettingId);
072    
073            /**
074             * Returns the group ID of this social equity group setting.
075             *
076             * @return the group ID of this social equity group setting
077             */
078            public long getGroupId();
079    
080            /**
081             * Sets the group ID of this social equity group setting.
082             *
083             * @param groupId the group ID of this social equity group setting
084             */
085            public void setGroupId(long groupId);
086    
087            /**
088             * Returns the company ID of this social equity group setting.
089             *
090             * @return the company ID of this social equity group setting
091             */
092            public long getCompanyId();
093    
094            /**
095             * Sets the company ID of this social equity group setting.
096             *
097             * @param companyId the company ID of this social equity group setting
098             */
099            public void setCompanyId(long companyId);
100    
101            /**
102             * Returns the fully qualified class name of this social equity group setting.
103             *
104             * @return the fully qualified class name of this social equity group setting
105             */
106            public String getClassName();
107    
108            /**
109             * Returns the class name ID of this social equity group setting.
110             *
111             * @return the class name ID of this social equity group setting
112             */
113            public long getClassNameId();
114    
115            /**
116             * Sets the class name ID of this social equity group setting.
117             *
118             * @param classNameId the class name ID of this social equity group setting
119             */
120            public void setClassNameId(long classNameId);
121    
122            /**
123             * Returns the type of this social equity group setting.
124             *
125             * @return the type of this social equity group setting
126             */
127            public int getType();
128    
129            /**
130             * Sets the type of this social equity group setting.
131             *
132             * @param type the type of this social equity group setting
133             */
134            public void setType(int type);
135    
136            /**
137             * Returns the enabled of this social equity group setting.
138             *
139             * @return the enabled of this social equity group setting
140             */
141            public boolean getEnabled();
142    
143            /**
144             * Returns <code>true</code> if this social equity group setting is enabled.
145             *
146             * @return <code>true</code> if this social equity group setting is enabled; <code>false</code> otherwise
147             */
148            public boolean isEnabled();
149    
150            /**
151             * Sets whether this social equity group setting is enabled.
152             *
153             * @param enabled the enabled of this social equity group setting
154             */
155            public void setEnabled(boolean enabled);
156    
157            public boolean isNew();
158    
159            public void setNew(boolean n);
160    
161            public boolean isCachedModel();
162    
163            public void setCachedModel(boolean cachedModel);
164    
165            public boolean isEscapedModel();
166    
167            public Serializable getPrimaryKeyObj();
168    
169            public void setPrimaryKeyObj(Serializable primaryKeyObj);
170    
171            public ExpandoBridge getExpandoBridge();
172    
173            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
174    
175            public Object clone();
176    
177            public int compareTo(SocialEquityGroupSetting socialEquityGroupSetting);
178    
179            public int hashCode();
180    
181            public CacheModel<SocialEquityGroupSetting> toCacheModel();
182    
183            public SocialEquityGroupSetting toEscapedModel();
184    
185            public String toString();
186    
187            public String toXmlString();
188    }