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 /* 041 * NOTE FOR DEVELOPERS: 042 * 043 * Never modify or reference this interface directly. All methods that expect a browser tracker model instance should use the {@link BrowserTracker} interface instead. 044 */ 045 046 /** 047 * Returns the primary key of this browser tracker. 048 * 049 * @return the primary key of this browser tracker 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this browser tracker. 055 * 056 * @param primaryKey the primary key of this browser tracker 057 */ 058 public void setPrimaryKey(long primaryKey); 059 060 /** 061 * Returns the mvcc version of this browser tracker. 062 * 063 * @return the mvcc version of this browser tracker 064 */ 065 @Override 066 public long getMvccVersion(); 067 068 /** 069 * Sets the mvcc version of this browser tracker. 070 * 071 * @param mvccVersion the mvcc version of this browser tracker 072 */ 073 @Override 074 public void setMvccVersion(long mvccVersion); 075 076 /** 077 * Returns the browser tracker ID of this browser tracker. 078 * 079 * @return the browser tracker ID of this browser tracker 080 */ 081 public long getBrowserTrackerId(); 082 083 /** 084 * Sets the browser tracker ID of this browser tracker. 085 * 086 * @param browserTrackerId the browser tracker ID of this browser tracker 087 */ 088 public void setBrowserTrackerId(long browserTrackerId); 089 090 /** 091 * Returns the user ID of this browser tracker. 092 * 093 * @return the user ID of this browser tracker 094 */ 095 public long getUserId(); 096 097 /** 098 * Sets the user ID of this browser tracker. 099 * 100 * @param userId the user ID of this browser tracker 101 */ 102 public void setUserId(long userId); 103 104 /** 105 * Returns the user uuid of this browser tracker. 106 * 107 * @return the user uuid of this browser tracker 108 */ 109 public String getUserUuid(); 110 111 /** 112 * Sets the user uuid of this browser tracker. 113 * 114 * @param userUuid the user uuid of this browser tracker 115 */ 116 public void setUserUuid(String userUuid); 117 118 /** 119 * Returns the browser key of this browser tracker. 120 * 121 * @return the browser key of this browser tracker 122 */ 123 public long getBrowserKey(); 124 125 /** 126 * Sets the browser key of this browser tracker. 127 * 128 * @param browserKey the browser key of this browser tracker 129 */ 130 public void setBrowserKey(long browserKey); 131 132 @Override 133 public boolean isNew(); 134 135 @Override 136 public void setNew(boolean n); 137 138 @Override 139 public boolean isCachedModel(); 140 141 @Override 142 public void setCachedModel(boolean cachedModel); 143 144 @Override 145 public boolean isEscapedModel(); 146 147 @Override 148 public Serializable getPrimaryKeyObj(); 149 150 @Override 151 public void setPrimaryKeyObj(Serializable primaryKeyObj); 152 153 @Override 154 public ExpandoBridge getExpandoBridge(); 155 156 @Override 157 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 158 159 @Override 160 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 161 162 @Override 163 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 164 165 @Override 166 public Object clone(); 167 168 @Override 169 public int compareTo(com.liferay.portal.model.BrowserTracker browserTracker); 170 171 @Override 172 public int hashCode(); 173 174 @Override 175 public CacheModel<com.liferay.portal.model.BrowserTracker> toCacheModel(); 176 177 @Override 178 public com.liferay.portal.model.BrowserTracker toEscapedModel(); 179 180 @Override 181 public com.liferay.portal.model.BrowserTracker toUnescapedModel(); 182 183 @Override 184 public String toString(); 185 186 @Override 187 public String toXmlString(); 188 }