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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.kernel.exception.SystemException; 021 import com.liferay.portal.service.ServiceContext; 022 023 import com.liferay.portlet.expando.model.ExpandoBridge; 024 025 import java.io.Serializable; 026 027 import java.util.Date; 028 029 /** 030 * 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. 031 * 032 * <p> 033 * 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}. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see PasswordTracker 038 * @see com.liferay.portal.model.impl.PasswordTrackerImpl 039 * @see com.liferay.portal.model.impl.PasswordTrackerModelImpl 040 * @generated 041 */ 042 @ProviderType 043 public interface PasswordTrackerModel extends BaseModel<PasswordTracker> { 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 password tracker ID of this password tracker. 066 * 067 * @return the password tracker ID of this password tracker 068 */ 069 public long getPasswordTrackerId(); 070 071 /** 072 * Sets the password tracker ID of this password tracker. 073 * 074 * @param passwordTrackerId the password tracker ID of this password tracker 075 */ 076 public void setPasswordTrackerId(long passwordTrackerId); 077 078 /** 079 * Returns the user ID of this password tracker. 080 * 081 * @return the user ID of this password tracker 082 */ 083 public long getUserId(); 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 092 /** 093 * Returns the user uuid of this password tracker. 094 * 095 * @return the user uuid of this password tracker 096 * @throws SystemException if a system exception occurred 097 */ 098 public String getUserUuid() throws SystemException; 099 100 /** 101 * Sets the user uuid of this password tracker. 102 * 103 * @param userUuid the user uuid of this password tracker 104 */ 105 public void setUserUuid(String userUuid); 106 107 /** 108 * Returns the create date of this password tracker. 109 * 110 * @return the create date of this password tracker 111 */ 112 public Date getCreateDate(); 113 114 /** 115 * Sets the create date of this password tracker. 116 * 117 * @param createDate the create date of this password tracker 118 */ 119 public void setCreateDate(Date createDate); 120 121 /** 122 * Returns the password of this password tracker. 123 * 124 * @return the password of this password tracker 125 */ 126 @AutoEscape 127 public String getPassword(); 128 129 /** 130 * Sets the password of this password tracker. 131 * 132 * @param password the password of this password tracker 133 */ 134 public void setPassword(String password); 135 136 @Override 137 public boolean isNew(); 138 139 @Override 140 public void setNew(boolean n); 141 142 @Override 143 public boolean isCachedModel(); 144 145 @Override 146 public void setCachedModel(boolean cachedModel); 147 148 @Override 149 public boolean isEscapedModel(); 150 151 @Override 152 public Serializable getPrimaryKeyObj(); 153 154 @Override 155 public void setPrimaryKeyObj(Serializable primaryKeyObj); 156 157 @Override 158 public ExpandoBridge getExpandoBridge(); 159 160 @Override 161 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 162 163 @Override 164 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 165 166 @Override 167 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 168 169 @Override 170 public Object clone(); 171 172 @Override 173 public int compareTo(PasswordTracker passwordTracker); 174 175 @Override 176 public int hashCode(); 177 178 @Override 179 public CacheModel<PasswordTracker> toCacheModel(); 180 181 @Override 182 public PasswordTracker toEscapedModel(); 183 184 @Override 185 public PasswordTracker toUnescapedModel(); 186 187 @Override 188 public String toString(); 189 190 @Override 191 public String toXmlString(); 192 }