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.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link BrowserTracker}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BrowserTracker
024     * @generated
025     */
026    public class BrowserTrackerWrapper implements BrowserTracker {
027            public BrowserTrackerWrapper(BrowserTracker browserTracker) {
028                    _browserTracker = browserTracker;
029            }
030    
031            public Class<?> getModelClass() {
032                    return BrowserTracker.class;
033            }
034    
035            public String getModelClassName() {
036                    return BrowserTracker.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this browser tracker.
041            *
042            * @return the primary key of this browser tracker
043            */
044            public long getPrimaryKey() {
045                    return _browserTracker.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this browser tracker.
050            *
051            * @param primaryKey the primary key of this browser tracker
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _browserTracker.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the browser tracker ID of this browser tracker.
059            *
060            * @return the browser tracker ID of this browser tracker
061            */
062            public long getBrowserTrackerId() {
063                    return _browserTracker.getBrowserTrackerId();
064            }
065    
066            /**
067            * Sets the browser tracker ID of this browser tracker.
068            *
069            * @param browserTrackerId the browser tracker ID of this browser tracker
070            */
071            public void setBrowserTrackerId(long browserTrackerId) {
072                    _browserTracker.setBrowserTrackerId(browserTrackerId);
073            }
074    
075            /**
076            * Returns the user ID of this browser tracker.
077            *
078            * @return the user ID of this browser tracker
079            */
080            public long getUserId() {
081                    return _browserTracker.getUserId();
082            }
083    
084            /**
085            * Sets the user ID of this browser tracker.
086            *
087            * @param userId the user ID of this browser tracker
088            */
089            public void setUserId(long userId) {
090                    _browserTracker.setUserId(userId);
091            }
092    
093            /**
094            * Returns the user uuid of this browser tracker.
095            *
096            * @return the user uuid of this browser tracker
097            * @throws SystemException if a system exception occurred
098            */
099            public java.lang.String getUserUuid()
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _browserTracker.getUserUuid();
102            }
103    
104            /**
105            * Sets the user uuid of this browser tracker.
106            *
107            * @param userUuid the user uuid of this browser tracker
108            */
109            public void setUserUuid(java.lang.String userUuid) {
110                    _browserTracker.setUserUuid(userUuid);
111            }
112    
113            /**
114            * Returns the browser key of this browser tracker.
115            *
116            * @return the browser key of this browser tracker
117            */
118            public long getBrowserKey() {
119                    return _browserTracker.getBrowserKey();
120            }
121    
122            /**
123            * Sets the browser key of this browser tracker.
124            *
125            * @param browserKey the browser key of this browser tracker
126            */
127            public void setBrowserKey(long browserKey) {
128                    _browserTracker.setBrowserKey(browserKey);
129            }
130    
131            public boolean isNew() {
132                    return _browserTracker.isNew();
133            }
134    
135            public void setNew(boolean n) {
136                    _browserTracker.setNew(n);
137            }
138    
139            public boolean isCachedModel() {
140                    return _browserTracker.isCachedModel();
141            }
142    
143            public void setCachedModel(boolean cachedModel) {
144                    _browserTracker.setCachedModel(cachedModel);
145            }
146    
147            public boolean isEscapedModel() {
148                    return _browserTracker.isEscapedModel();
149            }
150    
151            public java.io.Serializable getPrimaryKeyObj() {
152                    return _browserTracker.getPrimaryKeyObj();
153            }
154    
155            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
156                    _browserTracker.setPrimaryKeyObj(primaryKeyObj);
157            }
158    
159            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
160                    return _browserTracker.getExpandoBridge();
161            }
162    
163            public void setExpandoBridgeAttributes(
164                    com.liferay.portal.service.ServiceContext serviceContext) {
165                    _browserTracker.setExpandoBridgeAttributes(serviceContext);
166            }
167    
168            @Override
169            public java.lang.Object clone() {
170                    return new BrowserTrackerWrapper((BrowserTracker)_browserTracker.clone());
171            }
172    
173            public int compareTo(com.liferay.portal.model.BrowserTracker browserTracker) {
174                    return _browserTracker.compareTo(browserTracker);
175            }
176    
177            @Override
178            public int hashCode() {
179                    return _browserTracker.hashCode();
180            }
181    
182            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.BrowserTracker> toCacheModel() {
183                    return _browserTracker.toCacheModel();
184            }
185    
186            public com.liferay.portal.model.BrowserTracker toEscapedModel() {
187                    return new BrowserTrackerWrapper(_browserTracker.toEscapedModel());
188            }
189    
190            @Override
191            public java.lang.String toString() {
192                    return _browserTracker.toString();
193            }
194    
195            public java.lang.String toXmlString() {
196                    return _browserTracker.toXmlString();
197            }
198    
199            public void persist()
200                    throws com.liferay.portal.kernel.exception.SystemException {
201                    _browserTracker.persist();
202            }
203    
204            public BrowserTracker getWrappedBrowserTracker() {
205                    return _browserTracker;
206            }
207    
208            public void resetOriginalValues() {
209                    _browserTracker.resetOriginalValues();
210            }
211    
212            private BrowserTracker _browserTracker;
213    }