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