1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
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,
82          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83          throws com.liferay.portal.SystemException;
84  
85      public void removeByUserId(long userId)
86          throws com.liferay.portal.NoSuchBrowserTrackerException,
87              com.liferay.portal.SystemException;
88  
89      public void removeAll() throws com.liferay.portal.SystemException;
90  
91      public int countByUserId(long userId)
92          throws com.liferay.portal.SystemException;
93  
94      public int countAll() throws com.liferay.portal.SystemException;
95  }