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 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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 void setEscapedModel(boolean escapedModel) {
170                    _passwordTracker.setEscapedModel(escapedModel);
171            }
172    
173            public java.io.Serializable getPrimaryKeyObj() {
174                    return _passwordTracker.getPrimaryKeyObj();
175            }
176    
177            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
178                    _passwordTracker.setPrimaryKeyObj(primaryKeyObj);
179            }
180    
181            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
182                    return _passwordTracker.getExpandoBridge();
183            }
184    
185            public void setExpandoBridgeAttributes(
186                    com.liferay.portal.service.ServiceContext serviceContext) {
187                    _passwordTracker.setExpandoBridgeAttributes(serviceContext);
188            }
189    
190            @Override
191            public java.lang.Object clone() {
192                    return new PasswordTrackerWrapper((PasswordTracker)_passwordTracker.clone());
193            }
194    
195            public int compareTo(
196                    com.liferay.portal.model.PasswordTracker passwordTracker) {
197                    return _passwordTracker.compareTo(passwordTracker);
198            }
199    
200            @Override
201            public int hashCode() {
202                    return _passwordTracker.hashCode();
203            }
204    
205            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.PasswordTracker> toCacheModel() {
206                    return _passwordTracker.toCacheModel();
207            }
208    
209            public com.liferay.portal.model.PasswordTracker toEscapedModel() {
210                    return new PasswordTrackerWrapper(_passwordTracker.toEscapedModel());
211            }
212    
213            @Override
214            public java.lang.String toString() {
215                    return _passwordTracker.toString();
216            }
217    
218            public java.lang.String toXmlString() {
219                    return _passwordTracker.toXmlString();
220            }
221    
222            public void persist()
223                    throws com.liferay.portal.kernel.exception.SystemException {
224                    _passwordTracker.persist();
225            }
226    
227            public PasswordTracker getWrappedPasswordTracker() {
228                    return _passwordTracker;
229            }
230    
231            public void resetOriginalValues() {
232                    _passwordTracker.resetOriginalValues();
233            }
234    
235            private PasswordTracker _passwordTracker;
236    }