001 /** 002 * Copyright (c) 2000-2010 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.annotation.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 * <p> 035 * Never modify or reference this interface directly. All methods that expect a password tracker model instance should use the {@link PasswordTracker} interface instead. 036 * </p> 037 * 038 * @author Brian Wing Shun Chan 039 * @see PasswordTracker 040 * @see com.liferay.portal.model.impl.PasswordTrackerImpl 041 * @see com.liferay.portal.model.impl.PasswordTrackerModelImpl 042 * @generated 043 */ 044 public interface PasswordTrackerModel extends BaseModel<PasswordTracker> { 045 /** 046 * Gets the primary key of this password tracker. 047 * 048 * @return the primary key of this password tracker 049 */ 050 public long getPrimaryKey(); 051 052 /** 053 * Sets the primary key of this password tracker 054 * 055 * @param pk the primary key of this password tracker 056 */ 057 public void setPrimaryKey(long pk); 058 059 /** 060 * Gets the password tracker id of this password tracker. 061 * 062 * @return the password tracker id of this password tracker 063 */ 064 public long getPasswordTrackerId(); 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 073 /** 074 * Gets the user id of this password tracker. 075 * 076 * @return the user id of this password tracker 077 */ 078 public long getUserId(); 079 080 /** 081 * Sets the user id of this password tracker. 082 * 083 * @param userId the user id of this password tracker 084 */ 085 public void setUserId(long userId); 086 087 /** 088 * Gets the user uuid of this password tracker. 089 * 090 * @return the user uuid of this password tracker 091 * @throws SystemException if a system exception occurred 092 */ 093 public String getUserUuid() throws SystemException; 094 095 /** 096 * Sets the user uuid of this password tracker. 097 * 098 * @param userUuid the user uuid of this password tracker 099 */ 100 public void setUserUuid(String userUuid); 101 102 /** 103 * Gets the create date of this password tracker. 104 * 105 * @return the create date of this password tracker 106 */ 107 public Date getCreateDate(); 108 109 /** 110 * Sets the create date of this password tracker. 111 * 112 * @param createDate the create date of this password tracker 113 */ 114 public void setCreateDate(Date createDate); 115 116 /** 117 * Gets the password of this password tracker. 118 * 119 * @return the password of this password tracker 120 */ 121 @AutoEscape 122 public String getPassword(); 123 124 /** 125 * Sets the password of this password tracker. 126 * 127 * @param password the password of this password tracker 128 */ 129 public void setPassword(String password); 130 131 /** 132 * Gets a copy of this password tracker as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 133 * 134 * @return the escaped model instance 135 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 136 */ 137 public PasswordTracker toEscapedModel(); 138 139 public boolean isNew(); 140 141 public void setNew(boolean n); 142 143 public boolean isCachedModel(); 144 145 public void setCachedModel(boolean cachedModel); 146 147 public boolean isEscapedModel(); 148 149 public void setEscapedModel(boolean escapedModel); 150 151 public Serializable getPrimaryKeyObj(); 152 153 public ExpandoBridge getExpandoBridge(); 154 155 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 156 157 public Object clone(); 158 159 public int compareTo(PasswordTracker passwordTracker); 160 161 public int hashCode(); 162 163 public String toString(); 164 165 public String toXmlString(); 166 }