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