001 /** 002 * Copyright (c) 2000-2011 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 UserTracker service. Represents a row in the "UserTracker" 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.UserTrackerModelImpl} 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.UserTrackerImpl}. 032 * </p> 033 * 034 * <p> 035 * Never modify or reference this interface directly. All methods that expect a user tracker model instance should use the {@link UserTracker} interface instead. 036 * </p> 037 * 038 * @author Brian Wing Shun Chan 039 * @see UserTracker 040 * @see com.liferay.portal.model.impl.UserTrackerImpl 041 * @see com.liferay.portal.model.impl.UserTrackerModelImpl 042 * @generated 043 */ 044 public interface UserTrackerModel extends BaseModel<UserTracker> { 045 /** 046 * Gets the primary key of this user tracker. 047 * 048 * @return the primary key of this user tracker 049 */ 050 public long getPrimaryKey(); 051 052 /** 053 * Sets the primary key of this user tracker 054 * 055 * @param pk the primary key of this user tracker 056 */ 057 public void setPrimaryKey(long pk); 058 059 /** 060 * Gets the user tracker id of this user tracker. 061 * 062 * @return the user tracker id of this user tracker 063 */ 064 public long getUserTrackerId(); 065 066 /** 067 * Sets the user tracker id of this user tracker. 068 * 069 * @param userTrackerId the user tracker id of this user tracker 070 */ 071 public void setUserTrackerId(long userTrackerId); 072 073 /** 074 * Gets the company id of this user tracker. 075 * 076 * @return the company id of this user tracker 077 */ 078 public long getCompanyId(); 079 080 /** 081 * Sets the company id of this user tracker. 082 * 083 * @param companyId the company id of this user tracker 084 */ 085 public void setCompanyId(long companyId); 086 087 /** 088 * Gets the user id of this user tracker. 089 * 090 * @return the user id of this user tracker 091 */ 092 public long getUserId(); 093 094 /** 095 * Sets the user id of this user tracker. 096 * 097 * @param userId the user id of this user tracker 098 */ 099 public void setUserId(long userId); 100 101 /** 102 * Gets the user uuid of this user tracker. 103 * 104 * @return the user uuid of this user tracker 105 * @throws SystemException if a system exception occurred 106 */ 107 public String getUserUuid() throws SystemException; 108 109 /** 110 * Sets the user uuid of this user tracker. 111 * 112 * @param userUuid the user uuid of this user tracker 113 */ 114 public void setUserUuid(String userUuid); 115 116 /** 117 * Gets the modified date of this user tracker. 118 * 119 * @return the modified date of this user tracker 120 */ 121 public Date getModifiedDate(); 122 123 /** 124 * Sets the modified date of this user tracker. 125 * 126 * @param modifiedDate the modified date of this user tracker 127 */ 128 public void setModifiedDate(Date modifiedDate); 129 130 /** 131 * Gets the session id of this user tracker. 132 * 133 * @return the session id of this user tracker 134 */ 135 @AutoEscape 136 public String getSessionId(); 137 138 /** 139 * Sets the session id of this user tracker. 140 * 141 * @param sessionId the session id of this user tracker 142 */ 143 public void setSessionId(String sessionId); 144 145 /** 146 * Gets the remote addr of this user tracker. 147 * 148 * @return the remote addr of this user tracker 149 */ 150 @AutoEscape 151 public String getRemoteAddr(); 152 153 /** 154 * Sets the remote addr of this user tracker. 155 * 156 * @param remoteAddr the remote addr of this user tracker 157 */ 158 public void setRemoteAddr(String remoteAddr); 159 160 /** 161 * Gets the remote host of this user tracker. 162 * 163 * @return the remote host of this user tracker 164 */ 165 @AutoEscape 166 public String getRemoteHost(); 167 168 /** 169 * Sets the remote host of this user tracker. 170 * 171 * @param remoteHost the remote host of this user tracker 172 */ 173 public void setRemoteHost(String remoteHost); 174 175 /** 176 * Gets the user agent of this user tracker. 177 * 178 * @return the user agent of this user tracker 179 */ 180 @AutoEscape 181 public String getUserAgent(); 182 183 /** 184 * Sets the user agent of this user tracker. 185 * 186 * @param userAgent the user agent of this user tracker 187 */ 188 public void setUserAgent(String userAgent); 189 190 /** 191 * Gets a copy of this user tracker as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 192 * 193 * @return the escaped model instance 194 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 195 */ 196 public UserTracker toEscapedModel(); 197 198 public boolean isNew(); 199 200 public void setNew(boolean n); 201 202 public boolean isCachedModel(); 203 204 public void setCachedModel(boolean cachedModel); 205 206 public boolean isEscapedModel(); 207 208 public void setEscapedModel(boolean escapedModel); 209 210 public Serializable getPrimaryKeyObj(); 211 212 public ExpandoBridge getExpandoBridge(); 213 214 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 215 216 public Object clone(); 217 218 public int compareTo(UserTracker userTracker); 219 220 public int hashCode(); 221 222 public String toString(); 223 224 public String toXmlString(); 225 }