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, ShardedModel { 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 company ID of this password tracker. 096 * 097 * @return the company ID of this password tracker 098 */ 099 @Override 100 public long getCompanyId(); 101 102 /** 103 * Sets the company ID of this password tracker. 104 * 105 * @param companyId the company ID of this password tracker 106 */ 107 @Override 108 public void setCompanyId(long companyId); 109 110 /** 111 * Returns the user ID of this password tracker. 112 * 113 * @return the user ID of this password tracker 114 */ 115 public long getUserId(); 116 117 /** 118 * Sets the user ID of this password tracker. 119 * 120 * @param userId the user ID of this password tracker 121 */ 122 public void setUserId(long userId); 123 124 /** 125 * Returns the user uuid of this password tracker. 126 * 127 * @return the user uuid of this password tracker 128 */ 129 public String getUserUuid(); 130 131 /** 132 * Sets the user uuid of this password tracker. 133 * 134 * @param userUuid the user uuid of this password tracker 135 */ 136 public void setUserUuid(String userUuid); 137 138 /** 139 * Returns the create date of this password tracker. 140 * 141 * @return the create date of this password tracker 142 */ 143 public Date getCreateDate(); 144 145 /** 146 * Sets the create date of this password tracker. 147 * 148 * @param createDate the create date of this password tracker 149 */ 150 public void setCreateDate(Date createDate); 151 152 /** 153 * Returns the password of this password tracker. 154 * 155 * @return the password of this password tracker 156 */ 157 @AutoEscape 158 public String getPassword(); 159 160 /** 161 * Sets the password of this password tracker. 162 * 163 * @param password the password of this password tracker 164 */ 165 public void setPassword(String password); 166 167 @Override 168 public boolean isNew(); 169 170 @Override 171 public void setNew(boolean n); 172 173 @Override 174 public boolean isCachedModel(); 175 176 @Override 177 public void setCachedModel(boolean cachedModel); 178 179 @Override 180 public boolean isEscapedModel(); 181 182 @Override 183 public Serializable getPrimaryKeyObj(); 184 185 @Override 186 public void setPrimaryKeyObj(Serializable primaryKeyObj); 187 188 @Override 189 public ExpandoBridge getExpandoBridge(); 190 191 @Override 192 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 193 194 @Override 195 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 196 197 @Override 198 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 199 200 @Override 201 public Object clone(); 202 203 @Override 204 public int compareTo( 205 com.liferay.portal.model.PasswordTracker passwordTracker); 206 207 @Override 208 public int hashCode(); 209 210 @Override 211 public CacheModel<com.liferay.portal.model.PasswordTracker> toCacheModel(); 212 213 @Override 214 public com.liferay.portal.model.PasswordTracker toEscapedModel(); 215 216 @Override 217 public com.liferay.portal.model.PasswordTracker toUnescapedModel(); 218 219 @Override 220 public String toString(); 221 222 @Override 223 public String toXmlString(); 224 }