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