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