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 Website}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Website
024     * @generated
025     */
026    public class WebsiteWrapper implements Website {
027            public WebsiteWrapper(Website website) {
028                    _website = website;
029            }
030    
031            /**
032            * Gets the primary key of this website.
033            *
034            * @return the primary key of this website
035            */
036            public long getPrimaryKey() {
037                    return _website.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this website
042            *
043            * @param pk the primary key of this website
044            */
045            public void setPrimaryKey(long pk) {
046                    _website.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the website id of this website.
051            *
052            * @return the website id of this website
053            */
054            public long getWebsiteId() {
055                    return _website.getWebsiteId();
056            }
057    
058            /**
059            * Sets the website id of this website.
060            *
061            * @param websiteId the website id of this website
062            */
063            public void setWebsiteId(long websiteId) {
064                    _website.setWebsiteId(websiteId);
065            }
066    
067            /**
068            * Gets the company id of this website.
069            *
070            * @return the company id of this website
071            */
072            public long getCompanyId() {
073                    return _website.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this website.
078            *
079            * @param companyId the company id of this website
080            */
081            public void setCompanyId(long companyId) {
082                    _website.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the user id of this website.
087            *
088            * @return the user id of this website
089            */
090            public long getUserId() {
091                    return _website.getUserId();
092            }
093    
094            /**
095            * Sets the user id of this website.
096            *
097            * @param userId the user id of this website
098            */
099            public void setUserId(long userId) {
100                    _website.setUserId(userId);
101            }
102    
103            /**
104            * Gets the user uuid of this website.
105            *
106            * @return the user uuid of this website
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 _website.getUserUuid();
112            }
113    
114            /**
115            * Sets the user uuid of this website.
116            *
117            * @param userUuid the user uuid of this website
118            */
119            public void setUserUuid(java.lang.String userUuid) {
120                    _website.setUserUuid(userUuid);
121            }
122    
123            /**
124            * Gets the user name of this website.
125            *
126            * @return the user name of this website
127            */
128            public java.lang.String getUserName() {
129                    return _website.getUserName();
130            }
131    
132            /**
133            * Sets the user name of this website.
134            *
135            * @param userName the user name of this website
136            */
137            public void setUserName(java.lang.String userName) {
138                    _website.setUserName(userName);
139            }
140    
141            /**
142            * Gets the create date of this website.
143            *
144            * @return the create date of this website
145            */
146            public java.util.Date getCreateDate() {
147                    return _website.getCreateDate();
148            }
149    
150            /**
151            * Sets the create date of this website.
152            *
153            * @param createDate the create date of this website
154            */
155            public void setCreateDate(java.util.Date createDate) {
156                    _website.setCreateDate(createDate);
157            }
158    
159            /**
160            * Gets the modified date of this website.
161            *
162            * @return the modified date of this website
163            */
164            public java.util.Date getModifiedDate() {
165                    return _website.getModifiedDate();
166            }
167    
168            /**
169            * Sets the modified date of this website.
170            *
171            * @param modifiedDate the modified date of this website
172            */
173            public void setModifiedDate(java.util.Date modifiedDate) {
174                    _website.setModifiedDate(modifiedDate);
175            }
176    
177            /**
178            * Gets the class name of the model instance this website is polymorphically associated with.
179            *
180            * @return the class name of the model instance this website is polymorphically associated with
181            */
182            public java.lang.String getClassName() {
183                    return _website.getClassName();
184            }
185    
186            /**
187            * Gets the class name id of this website.
188            *
189            * @return the class name id of this website
190            */
191            public long getClassNameId() {
192                    return _website.getClassNameId();
193            }
194    
195            /**
196            * Sets the class name id of this website.
197            *
198            * @param classNameId the class name id of this website
199            */
200            public void setClassNameId(long classNameId) {
201                    _website.setClassNameId(classNameId);
202            }
203    
204            /**
205            * Gets the class p k of this website.
206            *
207            * @return the class p k of this website
208            */
209            public long getClassPK() {
210                    return _website.getClassPK();
211            }
212    
213            /**
214            * Sets the class p k of this website.
215            *
216            * @param classPK the class p k of this website
217            */
218            public void setClassPK(long classPK) {
219                    _website.setClassPK(classPK);
220            }
221    
222            /**
223            * Gets the url of this website.
224            *
225            * @return the url of this website
226            */
227            public java.lang.String getUrl() {
228                    return _website.getUrl();
229            }
230    
231            /**
232            * Sets the url of this website.
233            *
234            * @param url the url of this website
235            */
236            public void setUrl(java.lang.String url) {
237                    _website.setUrl(url);
238            }
239    
240            /**
241            * Gets the type id of this website.
242            *
243            * @return the type id of this website
244            */
245            public int getTypeId() {
246                    return _website.getTypeId();
247            }
248    
249            /**
250            * Sets the type id of this website.
251            *
252            * @param typeId the type id of this website
253            */
254            public void setTypeId(int typeId) {
255                    _website.setTypeId(typeId);
256            }
257    
258            /**
259            * Gets the primary of this website.
260            *
261            * @return the primary of this website
262            */
263            public boolean getPrimary() {
264                    return _website.getPrimary();
265            }
266    
267            /**
268            * Determines whether this website is primary.
269            *
270            * @return whether this website is primary
271            */
272            public boolean isPrimary() {
273                    return _website.isPrimary();
274            }
275    
276            /**
277            * Sets whether this {$entity.humanName} is primary.
278            *
279            * @param primary the primary of this website
280            */
281            public void setPrimary(boolean primary) {
282                    _website.setPrimary(primary);
283            }
284    
285            public boolean isNew() {
286                    return _website.isNew();
287            }
288    
289            public void setNew(boolean n) {
290                    _website.setNew(n);
291            }
292    
293            public boolean isCachedModel() {
294                    return _website.isCachedModel();
295            }
296    
297            public void setCachedModel(boolean cachedModel) {
298                    _website.setCachedModel(cachedModel);
299            }
300    
301            public boolean isEscapedModel() {
302                    return _website.isEscapedModel();
303            }
304    
305            public void setEscapedModel(boolean escapedModel) {
306                    _website.setEscapedModel(escapedModel);
307            }
308    
309            public java.io.Serializable getPrimaryKeyObj() {
310                    return _website.getPrimaryKeyObj();
311            }
312    
313            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
314                    return _website.getExpandoBridge();
315            }
316    
317            public void setExpandoBridgeAttributes(
318                    com.liferay.portal.service.ServiceContext serviceContext) {
319                    _website.setExpandoBridgeAttributes(serviceContext);
320            }
321    
322            public java.lang.Object clone() {
323                    return _website.clone();
324            }
325    
326            public int compareTo(com.liferay.portal.model.Website website) {
327                    return _website.compareTo(website);
328            }
329    
330            public int hashCode() {
331                    return _website.hashCode();
332            }
333    
334            public com.liferay.portal.model.Website toEscapedModel() {
335                    return _website.toEscapedModel();
336            }
337    
338            public java.lang.String toString() {
339                    return _website.toString();
340            }
341    
342            public java.lang.String toXmlString() {
343                    return _website.toXmlString();
344            }
345    
346            public com.liferay.portal.model.ListType getType()
347                    throws com.liferay.portal.kernel.exception.PortalException,
348                            com.liferay.portal.kernel.exception.SystemException {
349                    return _website.getType();
350            }
351    
352            public Website getWrappedWebsite() {
353                    return _website;
354            }
355    
356            private Website _website;
357    }