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.kernel.exception.SystemException;
44  
45      public com.liferay.portal.model.BrowserTracker updateImpl(
46          com.liferay.portal.model.BrowserTracker browserTracker, boolean merge)
47          throws com.liferay.portal.kernel.exception.SystemException;
48  
49      public com.liferay.portal.model.BrowserTracker findByPrimaryKey(
50          long browserTrackerId)
51          throws com.liferay.portal.NoSuchBrowserTrackerException,
52              com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portal.model.BrowserTracker fetchByPrimaryKey(
55          long browserTrackerId)
56          throws com.liferay.portal.kernel.exception.SystemException;
57  
58      public com.liferay.portal.model.BrowserTracker findByUserId(long userId)
59          throws com.liferay.portal.NoSuchBrowserTrackerException,
60              com.liferay.portal.kernel.exception.SystemException;
61  
62      public com.liferay.portal.model.BrowserTracker fetchByUserId(long userId)
63          throws com.liferay.portal.kernel.exception.SystemException;
64  
65      public com.liferay.portal.model.BrowserTracker fetchByUserId(long userId,
66          boolean retrieveFromCache)
67          throws com.liferay.portal.kernel.exception.SystemException;
68  
69      public java.util.List<com.liferay.portal.model.BrowserTracker> findAll()
70          throws com.liferay.portal.kernel.exception.SystemException;
71  
72      public java.util.List<com.liferay.portal.model.BrowserTracker> findAll(
73          int start, int end)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public java.util.List<com.liferay.portal.model.BrowserTracker> findAll(
77          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
78          throws com.liferay.portal.kernel.exception.SystemException;
79  
80      public void removeByUserId(long userId)
81          throws com.liferay.portal.NoSuchBrowserTrackerException,
82              com.liferay.portal.kernel.exception.SystemException;
83  
84      public void removeAll()
85          throws com.liferay.portal.kernel.exception.SystemException;
86  
87      public int countByUserId(long userId)
88          throws com.liferay.portal.kernel.exception.SystemException;
89  
90      public int countAll()
91          throws com.liferay.portal.kernel.exception.SystemException;
92  }