001    /**
002     * Copyright (c) 2000-2010 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.service.ServiceContext;
019    
020    import com.liferay.portlet.expando.model.ExpandoBridge;
021    
022    import java.io.Serializable;
023    
024    /**
025     * 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.
026     *
027     * <p>
028     * 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}.
029     * </p>
030     *
031     * <p>
032     * 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.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see SocialEquityGroupSetting
037     * @see com.liferay.portlet.social.model.impl.SocialEquityGroupSettingImpl
038     * @see com.liferay.portlet.social.model.impl.SocialEquityGroupSettingModelImpl
039     * @generated
040     */
041    public interface SocialEquityGroupSettingModel extends BaseModel<SocialEquityGroupSetting> {
042            /**
043             * Gets the primary key of this social equity group setting.
044             *
045             * @return the primary key of this social equity group setting
046             */
047            public long getPrimaryKey();
048    
049            /**
050             * Sets the primary key of this social equity group setting
051             *
052             * @param pk the primary key of this social equity group setting
053             */
054            public void setPrimaryKey(long pk);
055    
056            /**
057             * Gets the equity group setting id of this social equity group setting.
058             *
059             * @return the equity group setting id of this social equity group setting
060             */
061            public long getEquityGroupSettingId();
062    
063            /**
064             * Sets the equity group setting id of this social equity group setting.
065             *
066             * @param equityGroupSettingId the equity group setting id of this social equity group setting
067             */
068            public void setEquityGroupSettingId(long equityGroupSettingId);
069    
070            /**
071             * Gets the group id of this social equity group setting.
072             *
073             * @return the group id of this social equity group setting
074             */
075            public long getGroupId();
076    
077            /**
078             * Sets the group id of this social equity group setting.
079             *
080             * @param groupId the group id of this social equity group setting
081             */
082            public void setGroupId(long groupId);
083    
084            /**
085             * Gets the company id of this social equity group setting.
086             *
087             * @return the company id of this social equity group setting
088             */
089            public long getCompanyId();
090    
091            /**
092             * Sets the company id of this social equity group setting.
093             *
094             * @param companyId the company id of this social equity group setting
095             */
096            public void setCompanyId(long companyId);
097    
098            /**
099             * Gets the class name of the model instance this social equity group setting is polymorphically associated with.
100             *
101             * @return the class name of the model instance this social equity group setting is polymorphically associated with
102             */
103            public String getClassName();
104    
105            /**
106             * Gets the class name id of this social equity group setting.
107             *
108             * @return the class name id of this social equity group setting
109             */
110            public long getClassNameId();
111    
112            /**
113             * Sets the class name id of this social equity group setting.
114             *
115             * @param classNameId the class name id of this social equity group setting
116             */
117            public void setClassNameId(long classNameId);
118    
119            /**
120             * Gets the type of this social equity group setting.
121             *
122             * @return the type of this social equity group setting
123             */
124            public int getType();
125    
126            /**
127             * Sets the type of this social equity group setting.
128             *
129             * @param type the type of this social equity group setting
130             */
131            public void setType(int type);
132    
133            /**
134             * Gets the enabled of this social equity group setting.
135             *
136             * @return the enabled of this social equity group setting
137             */
138            public boolean getEnabled();
139    
140            /**
141             * Determines whether this social equity group setting is enabled.
142             *
143             * @return whether this social equity group setting is enabled
144             */
145            public boolean isEnabled();
146    
147            /**
148             * Sets whether this {$entity.humanName} is enabled.
149             *
150             * @param enabled the enabled of this social equity group setting
151             */
152            public void setEnabled(boolean enabled);
153    
154            public boolean isNew();
155    
156            public void setNew(boolean n);
157    
158            public boolean isCachedModel();
159    
160            public void setCachedModel(boolean cachedModel);
161    
162            public boolean isEscapedModel();
163    
164            public void setEscapedModel(boolean escapedModel);
165    
166            public Serializable getPrimaryKeyObj();
167    
168            public ExpandoBridge getExpandoBridge();
169    
170            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
171    
172            public Object clone();
173    
174            public int compareTo(SocialEquityGroupSetting socialEquityGroupSetting);
175    
176            public int hashCode();
177    
178            public SocialEquityGroupSetting toEscapedModel();
179    
180            public String toString();
181    
182            public String toXmlString();
183    }