001    /**
002     * Copyright (c) 2000-2011 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 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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 void setEscapedModel(boolean escapedModel) {
152                    _browserTracker.setEscapedModel(escapedModel);
153            }
154    
155            public java.io.Serializable getPrimaryKeyObj() {
156                    return _browserTracker.getPrimaryKeyObj();
157            }
158    
159            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
160                    _browserTracker.setPrimaryKeyObj(primaryKeyObj);
161            }
162    
163            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
164                    return _browserTracker.getExpandoBridge();
165            }
166    
167            public void setExpandoBridgeAttributes(
168                    com.liferay.portal.service.ServiceContext serviceContext) {
169                    _browserTracker.setExpandoBridgeAttributes(serviceContext);
170            }
171    
172            @Override
173            public java.lang.Object clone() {
174                    return new BrowserTrackerWrapper((BrowserTracker)_browserTracker.clone());
175            }
176    
177            public int compareTo(com.liferay.portal.model.BrowserTracker browserTracker) {
178                    return _browserTracker.compareTo(browserTracker);
179            }
180    
181            @Override
182            public int hashCode() {
183                    return _browserTracker.hashCode();
184            }
185    
186            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.BrowserTracker> toCacheModel() {
187                    return _browserTracker.toCacheModel();
188            }
189    
190            public com.liferay.portal.model.BrowserTracker toEscapedModel() {
191                    return new BrowserTrackerWrapper(_browserTracker.toEscapedModel());
192            }
193    
194            @Override
195            public java.lang.String toString() {
196                    return _browserTracker.toString();
197            }
198    
199            public java.lang.String toXmlString() {
200                    return _browserTracker.toXmlString();
201            }
202    
203            public void persist()
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    _browserTracker.persist();
206            }
207    
208            public BrowserTracker getWrappedBrowserTracker() {
209                    return _browserTracker;
210            }
211    
212            public void resetOriginalValues() {
213                    _browserTracker.resetOriginalValues();
214            }
215    
216            private BrowserTracker _browserTracker;
217    }