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.service.ServiceContext; 020 021 import com.liferay.portlet.expando.model.ExpandoBridge; 022 023 import java.io.Serializable; 024 025 /** 026 * The base model interface for the BrowserTracker service. Represents a row in the "BrowserTracker" database table, with each column mapped to a property of this class. 027 * 028 * <p> 029 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.BrowserTrackerModelImpl} 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.BrowserTrackerImpl}. 030 * </p> 031 * 032 * @author Brian Wing Shun Chan 033 * @see BrowserTracker 034 * @see com.liferay.portal.model.impl.BrowserTrackerImpl 035 * @see com.liferay.portal.model.impl.BrowserTrackerModelImpl 036 * @generated 037 */ 038 @ProviderType 039 public interface BrowserTrackerModel extends BaseModel<BrowserTracker>, MVCCModel, 040 ShardedModel { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify or reference this interface directly. All methods that expect a browser tracker model instance should use the {@link BrowserTracker} interface instead. 045 */ 046 047 /** 048 * Returns the primary key of this browser tracker. 049 * 050 * @return the primary key of this browser tracker 051 */ 052 public long getPrimaryKey(); 053 054 /** 055 * Sets the primary key of this browser tracker. 056 * 057 * @param primaryKey the primary key of this browser tracker 058 */ 059 public void setPrimaryKey(long primaryKey); 060 061 /** 062 * Returns the mvcc version of this browser tracker. 063 * 064 * @return the mvcc version of this browser tracker 065 */ 066 @Override 067 public long getMvccVersion(); 068 069 /** 070 * Sets the mvcc version of this browser tracker. 071 * 072 * @param mvccVersion the mvcc version of this browser tracker 073 */ 074 @Override 075 public void setMvccVersion(long mvccVersion); 076 077 /** 078 * Returns the browser tracker ID of this browser tracker. 079 * 080 * @return the browser tracker ID of this browser tracker 081 */ 082 public long getBrowserTrackerId(); 083 084 /** 085 * Sets the browser tracker ID of this browser tracker. 086 * 087 * @param browserTrackerId the browser tracker ID of this browser tracker 088 */ 089 public void setBrowserTrackerId(long browserTrackerId); 090 091 /** 092 * Returns the company ID of this browser tracker. 093 * 094 * @return the company ID of this browser tracker 095 */ 096 @Override 097 public long getCompanyId(); 098 099 /** 100 * Sets the company ID of this browser tracker. 101 * 102 * @param companyId the company ID of this browser tracker 103 */ 104 @Override 105 public void setCompanyId(long companyId); 106 107 /** 108 * Returns the user ID of this browser tracker. 109 * 110 * @return the user ID of this browser tracker 111 */ 112 public long getUserId(); 113 114 /** 115 * Sets the user ID of this browser tracker. 116 * 117 * @param userId the user ID of this browser tracker 118 */ 119 public void setUserId(long userId); 120 121 /** 122 * Returns the user uuid of this browser tracker. 123 * 124 * @return the user uuid of this browser tracker 125 */ 126 public String getUserUuid(); 127 128 /** 129 * Sets the user uuid of this browser tracker. 130 * 131 * @param userUuid the user uuid of this browser tracker 132 */ 133 public void setUserUuid(String userUuid); 134 135 /** 136 * Returns the browser key of this browser tracker. 137 * 138 * @return the browser key of this browser tracker 139 */ 140 public long getBrowserKey(); 141 142 /** 143 * Sets the browser key of this browser tracker. 144 * 145 * @param browserKey the browser key of this browser tracker 146 */ 147 public void setBrowserKey(long browserKey); 148 149 @Override 150 public boolean isNew(); 151 152 @Override 153 public void setNew(boolean n); 154 155 @Override 156 public boolean isCachedModel(); 157 158 @Override 159 public void setCachedModel(boolean cachedModel); 160 161 @Override 162 public boolean isEscapedModel(); 163 164 @Override 165 public Serializable getPrimaryKeyObj(); 166 167 @Override 168 public void setPrimaryKeyObj(Serializable primaryKeyObj); 169 170 @Override 171 public ExpandoBridge getExpandoBridge(); 172 173 @Override 174 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 175 176 @Override 177 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 178 179 @Override 180 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 181 182 @Override 183 public Object clone(); 184 185 @Override 186 public int compareTo(com.liferay.portal.model.BrowserTracker browserTracker); 187 188 @Override 189 public int hashCode(); 190 191 @Override 192 public CacheModel<com.liferay.portal.model.BrowserTracker> toCacheModel(); 193 194 @Override 195 public com.liferay.portal.model.BrowserTracker toEscapedModel(); 196 197 @Override 198 public com.liferay.portal.model.BrowserTracker toUnescapedModel(); 199 200 @Override 201 public String toString(); 202 203 @Override 204 public String toXmlString(); 205 }