001 /** 002 * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 import java.util.Date; 027 028 /** 029 * 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. 030 * 031 * <p> 032 * 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}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see PasswordTracker 037 * @see com.liferay.portal.model.impl.PasswordTrackerImpl 038 * @see com.liferay.portal.model.impl.PasswordTrackerModelImpl 039 * @generated 040 */ 041 @ProviderType 042 public interface PasswordTrackerModel extends BaseModel<PasswordTracker>, 043 MVCCModel { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a password tracker model instance should use the {@link PasswordTracker} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this password tracker. 052 * 053 * @return the primary key of this password tracker 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this password tracker. 059 * 060 * @param primaryKey the primary key of this password tracker 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the mvcc version of this password tracker. 066 * 067 * @return the mvcc version of this password tracker 068 */ 069 @Override 070 public long getMvccVersion(); 071 072 /** 073 * Sets the mvcc version of this password tracker. 074 * 075 * @param mvccVersion the mvcc version of this password tracker 076 */ 077 @Override 078 public void setMvccVersion(long mvccVersion); 079 080 /** 081 * Returns the password tracker ID of this password tracker. 082 * 083 * @return the password tracker ID of this password tracker 084 */ 085 public long getPasswordTrackerId(); 086 087 /** 088 * Sets the password tracker ID of this password tracker. 089 * 090 * @param passwordTrackerId the password tracker ID of this password tracker 091 */ 092 public void setPasswordTrackerId(long passwordTrackerId); 093 094 /** 095 * Returns the user ID of this password tracker. 096 * 097 * @return the user ID of this password tracker 098 */ 099 public long getUserId(); 100 101 /** 102 * Sets the user ID of this password tracker. 103 * 104 * @param userId the user ID of this password tracker 105 */ 106 public void setUserId(long userId); 107 108 /** 109 * Returns the user uuid of this password tracker. 110 * 111 * @return the user uuid of this password tracker 112 */ 113 public String getUserUuid(); 114 115 /** 116 * Sets the user uuid of this password tracker. 117 * 118 * @param userUuid the user uuid of this password tracker 119 */ 120 public void setUserUuid(String userUuid); 121 122 /** 123 * Returns the create date of this password tracker. 124 * 125 * @return the create date of this password tracker 126 */ 127 public Date getCreateDate(); 128 129 /** 130 * Sets the create date of this password tracker. 131 * 132 * @param createDate the create date of this password tracker 133 */ 134 public void setCreateDate(Date createDate); 135 136 /** 137 * Returns the password of this password tracker. 138 * 139 * @return the password of this password tracker 140 */ 141 @AutoEscape 142 public String getPassword(); 143 144 /** 145 * Sets the password of this password tracker. 146 * 147 * @param password the password of this password tracker 148 */ 149 public void setPassword(String password); 150 151 @Override 152 public boolean isNew(); 153 154 @Override 155 public void setNew(boolean n); 156 157 @Override 158 public boolean isCachedModel(); 159 160 @Override 161 public void setCachedModel(boolean cachedModel); 162 163 @Override 164 public boolean isEscapedModel(); 165 166 @Override 167 public Serializable getPrimaryKeyObj(); 168 169 @Override 170 public void setPrimaryKeyObj(Serializable primaryKeyObj); 171 172 @Override 173 public ExpandoBridge getExpandoBridge(); 174 175 @Override 176 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 177 178 @Override 179 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 180 181 @Override 182 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 183 184 @Override 185 public Object clone(); 186 187 @Override 188 public int compareTo( 189 com.liferay.portal.model.PasswordTracker passwordTracker); 190 191 @Override 192 public int hashCode(); 193 194 @Override 195 public CacheModel<com.liferay.portal.model.PasswordTracker> toCacheModel(); 196 197 @Override 198 public com.liferay.portal.model.PasswordTracker toEscapedModel(); 199 200 @Override 201 public com.liferay.portal.model.PasswordTracker toUnescapedModel(); 202 203 @Override 204 public String toString(); 205 206 @Override 207 public String toXmlString(); 208 }