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