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.model.ModelWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link SocialActivitySetting}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       SocialActivitySetting
026     * @generated
027     */
028    public class SocialActivitySettingWrapper implements SocialActivitySetting,
029            ModelWrapper<SocialActivitySetting> {
030            public SocialActivitySettingWrapper(
031                    SocialActivitySetting socialActivitySetting) {
032                    _socialActivitySetting = socialActivitySetting;
033            }
034    
035            public Class<?> getModelClass() {
036                    return SocialActivitySetting.class;
037            }
038    
039            public String getModelClassName() {
040                    return SocialActivitySetting.class.getName();
041            }
042    
043            /**
044            * Returns the primary key of this social activity setting.
045            *
046            * @return the primary key of this social activity setting
047            */
048            public long getPrimaryKey() {
049                    return _socialActivitySetting.getPrimaryKey();
050            }
051    
052            /**
053            * Sets the primary key of this social activity setting.
054            *
055            * @param primaryKey the primary key of this social activity setting
056            */
057            public void setPrimaryKey(long primaryKey) {
058                    _socialActivitySetting.setPrimaryKey(primaryKey);
059            }
060    
061            /**
062            * Returns the activity setting ID of this social activity setting.
063            *
064            * @return the activity setting ID of this social activity setting
065            */
066            public long getActivitySettingId() {
067                    return _socialActivitySetting.getActivitySettingId();
068            }
069    
070            /**
071            * Sets the activity setting ID of this social activity setting.
072            *
073            * @param activitySettingId the activity setting ID of this social activity setting
074            */
075            public void setActivitySettingId(long activitySettingId) {
076                    _socialActivitySetting.setActivitySettingId(activitySettingId);
077            }
078    
079            /**
080            * Returns the group ID of this social activity setting.
081            *
082            * @return the group ID of this social activity setting
083            */
084            public long getGroupId() {
085                    return _socialActivitySetting.getGroupId();
086            }
087    
088            /**
089            * Sets the group ID of this social activity setting.
090            *
091            * @param groupId the group ID of this social activity setting
092            */
093            public void setGroupId(long groupId) {
094                    _socialActivitySetting.setGroupId(groupId);
095            }
096    
097            /**
098            * Returns the company ID of this social activity setting.
099            *
100            * @return the company ID of this social activity setting
101            */
102            public long getCompanyId() {
103                    return _socialActivitySetting.getCompanyId();
104            }
105    
106            /**
107            * Sets the company ID of this social activity setting.
108            *
109            * @param companyId the company ID of this social activity setting
110            */
111            public void setCompanyId(long companyId) {
112                    _socialActivitySetting.setCompanyId(companyId);
113            }
114    
115            /**
116            * Returns the fully qualified class name of this social activity setting.
117            *
118            * @return the fully qualified class name of this social activity setting
119            */
120            public java.lang.String getClassName() {
121                    return _socialActivitySetting.getClassName();
122            }
123    
124            /**
125            * Returns the class name ID of this social activity setting.
126            *
127            * @return the class name ID of this social activity setting
128            */
129            public long getClassNameId() {
130                    return _socialActivitySetting.getClassNameId();
131            }
132    
133            /**
134            * Sets the class name ID of this social activity setting.
135            *
136            * @param classNameId the class name ID of this social activity setting
137            */
138            public void setClassNameId(long classNameId) {
139                    _socialActivitySetting.setClassNameId(classNameId);
140            }
141    
142            /**
143            * Returns the activity type of this social activity setting.
144            *
145            * @return the activity type of this social activity setting
146            */
147            public int getActivityType() {
148                    return _socialActivitySetting.getActivityType();
149            }
150    
151            /**
152            * Sets the activity type of this social activity setting.
153            *
154            * @param activityType the activity type of this social activity setting
155            */
156            public void setActivityType(int activityType) {
157                    _socialActivitySetting.setActivityType(activityType);
158            }
159    
160            /**
161            * Returns the name of this social activity setting.
162            *
163            * @return the name of this social activity setting
164            */
165            public java.lang.String getName() {
166                    return _socialActivitySetting.getName();
167            }
168    
169            /**
170            * Sets the name of this social activity setting.
171            *
172            * @param name the name of this social activity setting
173            */
174            public void setName(java.lang.String name) {
175                    _socialActivitySetting.setName(name);
176            }
177    
178            /**
179            * Returns the value of this social activity setting.
180            *
181            * @return the value of this social activity setting
182            */
183            public java.lang.String getValue() {
184                    return _socialActivitySetting.getValue();
185            }
186    
187            /**
188            * Sets the value of this social activity setting.
189            *
190            * @param value the value of this social activity setting
191            */
192            public void setValue(java.lang.String value) {
193                    _socialActivitySetting.setValue(value);
194            }
195    
196            public boolean isNew() {
197                    return _socialActivitySetting.isNew();
198            }
199    
200            public void setNew(boolean n) {
201                    _socialActivitySetting.setNew(n);
202            }
203    
204            public boolean isCachedModel() {
205                    return _socialActivitySetting.isCachedModel();
206            }
207    
208            public void setCachedModel(boolean cachedModel) {
209                    _socialActivitySetting.setCachedModel(cachedModel);
210            }
211    
212            public boolean isEscapedModel() {
213                    return _socialActivitySetting.isEscapedModel();
214            }
215    
216            public java.io.Serializable getPrimaryKeyObj() {
217                    return _socialActivitySetting.getPrimaryKeyObj();
218            }
219    
220            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
221                    _socialActivitySetting.setPrimaryKeyObj(primaryKeyObj);
222            }
223    
224            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
225                    return _socialActivitySetting.getExpandoBridge();
226            }
227    
228            public void setExpandoBridgeAttributes(
229                    com.liferay.portal.service.ServiceContext serviceContext) {
230                    _socialActivitySetting.setExpandoBridgeAttributes(serviceContext);
231            }
232    
233            @Override
234            public java.lang.Object clone() {
235                    return new SocialActivitySettingWrapper((SocialActivitySetting)_socialActivitySetting.clone());
236            }
237    
238            public int compareTo(
239                    com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting) {
240                    return _socialActivitySetting.compareTo(socialActivitySetting);
241            }
242    
243            @Override
244            public int hashCode() {
245                    return _socialActivitySetting.hashCode();
246            }
247    
248            public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialActivitySetting> toCacheModel() {
249                    return _socialActivitySetting.toCacheModel();
250            }
251    
252            public com.liferay.portlet.social.model.SocialActivitySetting toEscapedModel() {
253                    return new SocialActivitySettingWrapper(_socialActivitySetting.toEscapedModel());
254            }
255    
256            @Override
257            public java.lang.String toString() {
258                    return _socialActivitySetting.toString();
259            }
260    
261            public java.lang.String toXmlString() {
262                    return _socialActivitySetting.toXmlString();
263            }
264    
265            public void persist()
266                    throws com.liferay.portal.kernel.exception.SystemException {
267                    _socialActivitySetting.persist();
268            }
269    
270            /**
271             * @deprecated Renamed to {@link #getWrappedModel}
272             */
273            public SocialActivitySetting getWrappedSocialActivitySetting() {
274                    return _socialActivitySetting;
275            }
276    
277            public SocialActivitySetting getWrappedModel() {
278                    return _socialActivitySetting;
279            }
280    
281            public void resetOriginalValues() {
282                    _socialActivitySetting.resetOriginalValues();
283            }
284    
285            private SocialActivitySetting _socialActivitySetting;
286    }