1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service.persistence;
16  
17  import com.liferay.portal.model.BrowserTracker;
18  
19  /**
20   * <a href="BrowserTrackerPersistence.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * @author    Brian Wing Shun Chan
28   * @see       BrowserTrackerPersistenceImpl
29   * @see       BrowserTrackerUtil
30   * @generated
31   */
32  public interface BrowserTrackerPersistence extends BasePersistence<BrowserTracker> {
33      public void cacheResult(
34          com.liferay.portal.model.BrowserTracker browserTracker);
35  
36      public void cacheResult(
37          java.util.List<com.liferay.portal.model.BrowserTracker> browserTrackers);
38  
39      public com.liferay.portal.model.BrowserTracker create(long browserTrackerId);
40  
41      public com.liferay.portal.model.BrowserTracker remove(long browserTrackerId)
42          throws com.liferay.portal.NoSuchBrowserTrackerException,
43              com.liferay.portal.SystemException;
44  
45      /**
46       * @deprecated Use {@link BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)}.
47       */
48      public com.liferay.portal.model.BrowserTracker update(
49          com.liferay.portal.model.BrowserTracker browserTracker)
50          throws com.liferay.portal.SystemException;
51  
52      public com.liferay.portal.model.BrowserTracker updateImpl(
53          com.liferay.portal.model.BrowserTracker browserTracker, boolean merge)
54          throws com.liferay.portal.SystemException;
55  
56      public com.liferay.portal.model.BrowserTracker findByPrimaryKey(
57          long browserTrackerId)
58          throws com.liferay.portal.NoSuchBrowserTrackerException,
59              com.liferay.portal.SystemException;
60  
61      public com.liferay.portal.model.BrowserTracker fetchByPrimaryKey(
62          long browserTrackerId) throws com.liferay.portal.SystemException;
63  
64      public com.liferay.portal.model.BrowserTracker findByUserId(long userId)
65          throws com.liferay.portal.NoSuchBrowserTrackerException,
66              com.liferay.portal.SystemException;
67  
68      public com.liferay.portal.model.BrowserTracker fetchByUserId(long userId)
69          throws com.liferay.portal.SystemException;
70  
71      public com.liferay.portal.model.BrowserTracker fetchByUserId(long userId,
72          boolean retrieveFromCache) throws com.liferay.portal.SystemException;
73  
74      public java.util.List<com.liferay.portal.model.BrowserTracker> findAll()
75          throws com.liferay.portal.SystemException;
76  
77      public java.util.List<com.liferay.portal.model.BrowserTracker> findAll(
78          int start, int end) throws com.liferay.portal.SystemException;
79  
80      public java.util.List<com.liferay.portal.model.BrowserTracker> findAll(
81          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
82          throws com.liferay.portal.SystemException;
83  
84      public void removeByUserId(long userId)
85          throws com.liferay.portal.NoSuchBrowserTrackerException,
86              com.liferay.portal.SystemException;
87  
88      public void removeAll() throws com.liferay.portal.SystemException;
89  
90      public int countByUserId(long userId)
91          throws com.liferay.portal.SystemException;
92  
93      public int countAll() throws com.liferay.portal.SystemException;
94  }