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