001    /**
002     * Copyright (c) 2000-2013 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    import com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * The base model interface for the PasswordTracker service. Represents a row in the "PasswordTracker" database table, with each column mapped to a property of this class.
029     *
030     * <p>
031     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.PasswordTrackerModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.PasswordTrackerImpl}.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see PasswordTracker
036     * @see com.liferay.portal.model.impl.PasswordTrackerImpl
037     * @see com.liferay.portal.model.impl.PasswordTrackerModelImpl
038     * @generated
039     */
040    public interface PasswordTrackerModel extends BaseModel<PasswordTracker> {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify or reference this interface directly. All methods that expect a password tracker model instance should use the {@link PasswordTracker} interface instead.
045             */
046    
047            /**
048             * Returns the primary key of this password tracker.
049             *
050             * @return the primary key of this password tracker
051             */
052            public long getPrimaryKey();
053    
054            /**
055             * Sets the primary key of this password tracker.
056             *
057             * @param primaryKey the primary key of this password tracker
058             */
059            public void setPrimaryKey(long primaryKey);
060    
061            /**
062             * Returns the password tracker ID of this password tracker.
063             *
064             * @return the password tracker ID of this password tracker
065             */
066            public long getPasswordTrackerId();
067    
068            /**
069             * Sets the password tracker ID of this password tracker.
070             *
071             * @param passwordTrackerId the password tracker ID of this password tracker
072             */
073            public void setPasswordTrackerId(long passwordTrackerId);
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    
082            /**
083             * Sets the user ID of this password tracker.
084             *
085             * @param userId the user ID of this password tracker
086             */
087            public void setUserId(long userId);
088    
089            /**
090             * Returns the user uuid of this password tracker.
091             *
092             * @return the user uuid of this password tracker
093             * @throws SystemException if a system exception occurred
094             */
095            public String getUserUuid() throws SystemException;
096    
097            /**
098             * Sets the user uuid of this password tracker.
099             *
100             * @param userUuid the user uuid of this password tracker
101             */
102            public void setUserUuid(String userUuid);
103    
104            /**
105             * Returns the create date of this password tracker.
106             *
107             * @return the create date of this password tracker
108             */
109            public Date getCreateDate();
110    
111            /**
112             * Sets the create date of this password tracker.
113             *
114             * @param createDate the create date of this password tracker
115             */
116            public void setCreateDate(Date createDate);
117    
118            /**
119             * Returns the password of this password tracker.
120             *
121             * @return the password of this password tracker
122             */
123            @AutoEscape
124            public String getPassword();
125    
126            /**
127             * Sets the password of this password tracker.
128             *
129             * @param password the password of this password tracker
130             */
131            public void setPassword(String password);
132    
133            public boolean isNew();
134    
135            public void setNew(boolean n);
136    
137            public boolean isCachedModel();
138    
139            public void setCachedModel(boolean cachedModel);
140    
141            public boolean isEscapedModel();
142    
143            public Serializable getPrimaryKeyObj();
144    
145            public void setPrimaryKeyObj(Serializable primaryKeyObj);
146    
147            public ExpandoBridge getExpandoBridge();
148    
149            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
150    
151            public Object clone();
152    
153            public int compareTo(PasswordTracker passwordTracker);
154    
155            public int hashCode();
156    
157            public CacheModel<PasswordTracker> toCacheModel();
158    
159            public PasswordTracker toEscapedModel();
160    
161            public PasswordTracker toUnescapedModel();
162    
163            public String toString();
164    
165            public String toXmlString();
166    }