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