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.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Subscription}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Subscription
024     * @generated
025     */
026    public class SubscriptionWrapper implements Subscription {
027            public SubscriptionWrapper(Subscription subscription) {
028                    _subscription = subscription;
029            }
030    
031            /**
032            * Gets the primary key of this subscription.
033            *
034            * @return the primary key of this subscription
035            */
036            public long getPrimaryKey() {
037                    return _subscription.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this subscription
042            *
043            * @param pk the primary key of this subscription
044            */
045            public void setPrimaryKey(long pk) {
046                    _subscription.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the subscription id of this subscription.
051            *
052            * @return the subscription id of this subscription
053            */
054            public long getSubscriptionId() {
055                    return _subscription.getSubscriptionId();
056            }
057    
058            /**
059            * Sets the subscription id of this subscription.
060            *
061            * @param subscriptionId the subscription id of this subscription
062            */
063            public void setSubscriptionId(long subscriptionId) {
064                    _subscription.setSubscriptionId(subscriptionId);
065            }
066    
067            /**
068            * Gets the company id of this subscription.
069            *
070            * @return the company id of this subscription
071            */
072            public long getCompanyId() {
073                    return _subscription.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this subscription.
078            *
079            * @param companyId the company id of this subscription
080            */
081            public void setCompanyId(long companyId) {
082                    _subscription.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the user id of this subscription.
087            *
088            * @return the user id of this subscription
089            */
090            public long getUserId() {
091                    return _subscription.getUserId();
092            }
093    
094            /**
095            * Sets the user id of this subscription.
096            *
097            * @param userId the user id of this subscription
098            */
099            public void setUserId(long userId) {
100                    _subscription.setUserId(userId);
101            }
102    
103            /**
104            * Gets the user uuid of this subscription.
105            *
106            * @return the user uuid of this subscription
107            * @throws SystemException if a system exception occurred
108            */
109            public java.lang.String getUserUuid()
110                    throws com.liferay.portal.kernel.exception.SystemException {
111                    return _subscription.getUserUuid();
112            }
113    
114            /**
115            * Sets the user uuid of this subscription.
116            *
117            * @param userUuid the user uuid of this subscription
118            */
119            public void setUserUuid(java.lang.String userUuid) {
120                    _subscription.setUserUuid(userUuid);
121            }
122    
123            /**
124            * Gets the user name of this subscription.
125            *
126            * @return the user name of this subscription
127            */
128            public java.lang.String getUserName() {
129                    return _subscription.getUserName();
130            }
131    
132            /**
133            * Sets the user name of this subscription.
134            *
135            * @param userName the user name of this subscription
136            */
137            public void setUserName(java.lang.String userName) {
138                    _subscription.setUserName(userName);
139            }
140    
141            /**
142            * Gets the create date of this subscription.
143            *
144            * @return the create date of this subscription
145            */
146            public java.util.Date getCreateDate() {
147                    return _subscription.getCreateDate();
148            }
149    
150            /**
151            * Sets the create date of this subscription.
152            *
153            * @param createDate the create date of this subscription
154            */
155            public void setCreateDate(java.util.Date createDate) {
156                    _subscription.setCreateDate(createDate);
157            }
158    
159            /**
160            * Gets the modified date of this subscription.
161            *
162            * @return the modified date of this subscription
163            */
164            public java.util.Date getModifiedDate() {
165                    return _subscription.getModifiedDate();
166            }
167    
168            /**
169            * Sets the modified date of this subscription.
170            *
171            * @param modifiedDate the modified date of this subscription
172            */
173            public void setModifiedDate(java.util.Date modifiedDate) {
174                    _subscription.setModifiedDate(modifiedDate);
175            }
176    
177            /**
178            * Gets the class name of the model instance this subscription is polymorphically associated with.
179            *
180            * @return the class name of the model instance this subscription is polymorphically associated with
181            */
182            public java.lang.String getClassName() {
183                    return _subscription.getClassName();
184            }
185    
186            /**
187            * Gets the class name id of this subscription.
188            *
189            * @return the class name id of this subscription
190            */
191            public long getClassNameId() {
192                    return _subscription.getClassNameId();
193            }
194    
195            /**
196            * Sets the class name id of this subscription.
197            *
198            * @param classNameId the class name id of this subscription
199            */
200            public void setClassNameId(long classNameId) {
201                    _subscription.setClassNameId(classNameId);
202            }
203    
204            /**
205            * Gets the class p k of this subscription.
206            *
207            * @return the class p k of this subscription
208            */
209            public long getClassPK() {
210                    return _subscription.getClassPK();
211            }
212    
213            /**
214            * Sets the class p k of this subscription.
215            *
216            * @param classPK the class p k of this subscription
217            */
218            public void setClassPK(long classPK) {
219                    _subscription.setClassPK(classPK);
220            }
221    
222            /**
223            * Gets the frequency of this subscription.
224            *
225            * @return the frequency of this subscription
226            */
227            public java.lang.String getFrequency() {
228                    return _subscription.getFrequency();
229            }
230    
231            /**
232            * Sets the frequency of this subscription.
233            *
234            * @param frequency the frequency of this subscription
235            */
236            public void setFrequency(java.lang.String frequency) {
237                    _subscription.setFrequency(frequency);
238            }
239    
240            public boolean isNew() {
241                    return _subscription.isNew();
242            }
243    
244            public void setNew(boolean n) {
245                    _subscription.setNew(n);
246            }
247    
248            public boolean isCachedModel() {
249                    return _subscription.isCachedModel();
250            }
251    
252            public void setCachedModel(boolean cachedModel) {
253                    _subscription.setCachedModel(cachedModel);
254            }
255    
256            public boolean isEscapedModel() {
257                    return _subscription.isEscapedModel();
258            }
259    
260            public void setEscapedModel(boolean escapedModel) {
261                    _subscription.setEscapedModel(escapedModel);
262            }
263    
264            public java.io.Serializable getPrimaryKeyObj() {
265                    return _subscription.getPrimaryKeyObj();
266            }
267    
268            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
269                    return _subscription.getExpandoBridge();
270            }
271    
272            public void setExpandoBridgeAttributes(
273                    com.liferay.portal.service.ServiceContext serviceContext) {
274                    _subscription.setExpandoBridgeAttributes(serviceContext);
275            }
276    
277            public java.lang.Object clone() {
278                    return _subscription.clone();
279            }
280    
281            public int compareTo(com.liferay.portal.model.Subscription subscription) {
282                    return _subscription.compareTo(subscription);
283            }
284    
285            public int hashCode() {
286                    return _subscription.hashCode();
287            }
288    
289            public com.liferay.portal.model.Subscription toEscapedModel() {
290                    return _subscription.toEscapedModel();
291            }
292    
293            public java.lang.String toString() {
294                    return _subscription.toString();
295            }
296    
297            public java.lang.String toXmlString() {
298                    return _subscription.toXmlString();
299            }
300    
301            public Subscription getWrappedSubscription() {
302                    return _subscription;
303            }
304    
305            private Subscription _subscription;
306    }