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