001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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             * Gets 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             * Gets 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             * Gets 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             * Gets 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             * Gets the class name of the model instance this social equity group setting is polymorphically associated with.
103             *
104             * @return the class name of the model instance this social equity group setting is polymorphically associated with
105             */
106            public String getClassName();
107    
108            /**
109             * Gets 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             * Gets 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             * Gets 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             * Determines 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 void setEscapedModel(boolean escapedModel);
168    
169            public Serializable getPrimaryKeyObj();
170    
171            public void setPrimaryKeyObj(Serializable primaryKeyObj);
172    
173            public ExpandoBridge getExpandoBridge();
174    
175            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
176    
177            public Object clone();
178    
179            public int compareTo(SocialEquityGroupSetting socialEquityGroupSetting);
180    
181            public int hashCode();
182    
183            public CacheModel<SocialEquityGroupSetting> toCacheModel();
184    
185            public SocialEquityGroupSetting toEscapedModel();
186    
187            public String toString();
188    
189            public String toXmlString();
190    }