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 UserTracker}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       UserTracker
024     * @generated
025     */
026    public class UserTrackerWrapper implements UserTracker,
027            ModelWrapper<UserTracker> {
028            public UserTrackerWrapper(UserTracker userTracker) {
029                    _userTracker = userTracker;
030            }
031    
032            public Class<?> getModelClass() {
033                    return UserTracker.class;
034            }
035    
036            public String getModelClassName() {
037                    return UserTracker.class.getName();
038            }
039    
040            /**
041            * Returns the primary key of this user tracker.
042            *
043            * @return the primary key of this user tracker
044            */
045            public long getPrimaryKey() {
046                    return _userTracker.getPrimaryKey();
047            }
048    
049            /**
050            * Sets the primary key of this user tracker.
051            *
052            * @param primaryKey the primary key of this user tracker
053            */
054            public void setPrimaryKey(long primaryKey) {
055                    _userTracker.setPrimaryKey(primaryKey);
056            }
057    
058            /**
059            * Returns the user tracker ID of this user tracker.
060            *
061            * @return the user tracker ID of this user tracker
062            */
063            public long getUserTrackerId() {
064                    return _userTracker.getUserTrackerId();
065            }
066    
067            /**
068            * Sets the user tracker ID of this user tracker.
069            *
070            * @param userTrackerId the user tracker ID of this user tracker
071            */
072            public void setUserTrackerId(long userTrackerId) {
073                    _userTracker.setUserTrackerId(userTrackerId);
074            }
075    
076            /**
077            * Returns the company ID of this user tracker.
078            *
079            * @return the company ID of this user tracker
080            */
081            public long getCompanyId() {
082                    return _userTracker.getCompanyId();
083            }
084    
085            /**
086            * Sets the company ID of this user tracker.
087            *
088            * @param companyId the company ID of this user tracker
089            */
090            public void setCompanyId(long companyId) {
091                    _userTracker.setCompanyId(companyId);
092            }
093    
094            /**
095            * Returns the user ID of this user tracker.
096            *
097            * @return the user ID of this user tracker
098            */
099            public long getUserId() {
100                    return _userTracker.getUserId();
101            }
102    
103            /**
104            * Sets the user ID of this user tracker.
105            *
106            * @param userId the user ID of this user tracker
107            */
108            public void setUserId(long userId) {
109                    _userTracker.setUserId(userId);
110            }
111    
112            /**
113            * Returns the user uuid of this user tracker.
114            *
115            * @return the user uuid of this user tracker
116            * @throws SystemException if a system exception occurred
117            */
118            public java.lang.String getUserUuid()
119                    throws com.liferay.portal.kernel.exception.SystemException {
120                    return _userTracker.getUserUuid();
121            }
122    
123            /**
124            * Sets the user uuid of this user tracker.
125            *
126            * @param userUuid the user uuid of this user tracker
127            */
128            public void setUserUuid(java.lang.String userUuid) {
129                    _userTracker.setUserUuid(userUuid);
130            }
131    
132            /**
133            * Returns the modified date of this user tracker.
134            *
135            * @return the modified date of this user tracker
136            */
137            public java.util.Date getModifiedDate() {
138                    return _userTracker.getModifiedDate();
139            }
140    
141            /**
142            * Sets the modified date of this user tracker.
143            *
144            * @param modifiedDate the modified date of this user tracker
145            */
146            public void setModifiedDate(java.util.Date modifiedDate) {
147                    _userTracker.setModifiedDate(modifiedDate);
148            }
149    
150            /**
151            * Returns the session ID of this user tracker.
152            *
153            * @return the session ID of this user tracker
154            */
155            public java.lang.String getSessionId() {
156                    return _userTracker.getSessionId();
157            }
158    
159            /**
160            * Sets the session ID of this user tracker.
161            *
162            * @param sessionId the session ID of this user tracker
163            */
164            public void setSessionId(java.lang.String sessionId) {
165                    _userTracker.setSessionId(sessionId);
166            }
167    
168            /**
169            * Returns the remote addr of this user tracker.
170            *
171            * @return the remote addr of this user tracker
172            */
173            public java.lang.String getRemoteAddr() {
174                    return _userTracker.getRemoteAddr();
175            }
176    
177            /**
178            * Sets the remote addr of this user tracker.
179            *
180            * @param remoteAddr the remote addr of this user tracker
181            */
182            public void setRemoteAddr(java.lang.String remoteAddr) {
183                    _userTracker.setRemoteAddr(remoteAddr);
184            }
185    
186            /**
187            * Returns the remote host of this user tracker.
188            *
189            * @return the remote host of this user tracker
190            */
191            public java.lang.String getRemoteHost() {
192                    return _userTracker.getRemoteHost();
193            }
194    
195            /**
196            * Sets the remote host of this user tracker.
197            *
198            * @param remoteHost the remote host of this user tracker
199            */
200            public void setRemoteHost(java.lang.String remoteHost) {
201                    _userTracker.setRemoteHost(remoteHost);
202            }
203    
204            /**
205            * Returns the user agent of this user tracker.
206            *
207            * @return the user agent of this user tracker
208            */
209            public java.lang.String getUserAgent() {
210                    return _userTracker.getUserAgent();
211            }
212    
213            /**
214            * Sets the user agent of this user tracker.
215            *
216            * @param userAgent the user agent of this user tracker
217            */
218            public void setUserAgent(java.lang.String userAgent) {
219                    _userTracker.setUserAgent(userAgent);
220            }
221    
222            public boolean isNew() {
223                    return _userTracker.isNew();
224            }
225    
226            public void setNew(boolean n) {
227                    _userTracker.setNew(n);
228            }
229    
230            public boolean isCachedModel() {
231                    return _userTracker.isCachedModel();
232            }
233    
234            public void setCachedModel(boolean cachedModel) {
235                    _userTracker.setCachedModel(cachedModel);
236            }
237    
238            public boolean isEscapedModel() {
239                    return _userTracker.isEscapedModel();
240            }
241    
242            public java.io.Serializable getPrimaryKeyObj() {
243                    return _userTracker.getPrimaryKeyObj();
244            }
245    
246            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
247                    _userTracker.setPrimaryKeyObj(primaryKeyObj);
248            }
249    
250            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
251                    return _userTracker.getExpandoBridge();
252            }
253    
254            public void setExpandoBridgeAttributes(
255                    com.liferay.portal.service.ServiceContext serviceContext) {
256                    _userTracker.setExpandoBridgeAttributes(serviceContext);
257            }
258    
259            @Override
260            public java.lang.Object clone() {
261                    return new UserTrackerWrapper((UserTracker)_userTracker.clone());
262            }
263    
264            public int compareTo(com.liferay.portal.model.UserTracker userTracker) {
265                    return _userTracker.compareTo(userTracker);
266            }
267    
268            @Override
269            public int hashCode() {
270                    return _userTracker.hashCode();
271            }
272    
273            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.UserTracker> toCacheModel() {
274                    return _userTracker.toCacheModel();
275            }
276    
277            public com.liferay.portal.model.UserTracker toEscapedModel() {
278                    return new UserTrackerWrapper(_userTracker.toEscapedModel());
279            }
280    
281            @Override
282            public java.lang.String toString() {
283                    return _userTracker.toString();
284            }
285    
286            public java.lang.String toXmlString() {
287                    return _userTracker.toXmlString();
288            }
289    
290            public void persist()
291                    throws com.liferay.portal.kernel.exception.SystemException {
292                    _userTracker.persist();
293            }
294    
295            public void addPath(com.liferay.portal.model.UserTrackerPath path) {
296                    _userTracker.addPath(path);
297            }
298    
299            public java.lang.String getEmailAddress() {
300                    return _userTracker.getEmailAddress();
301            }
302    
303            public java.lang.String getFullName() {
304                    return _userTracker.getFullName();
305            }
306    
307            public int getHits() {
308                    return _userTracker.getHits();
309            }
310    
311            public java.util.List<com.liferay.portal.model.UserTrackerPath> getPaths() {
312                    return _userTracker.getPaths();
313            }
314    
315            /**
316             * @deprecated Renamed to {@link #getWrappedModel}
317             */
318            public UserTracker getWrappedUserTracker() {
319                    return _userTracker;
320            }
321    
322            public UserTracker getWrappedModel() {
323                    return _userTracker;
324            }
325    
326            public void resetOriginalValues() {
327                    _userTracker.resetOriginalValues();
328            }
329    
330            private UserTracker _userTracker;
331    }