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.UserTrackerPath;
18  
19  /**
20   * <a href="UserTrackerPathPersistence.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       UserTrackerPathPersistenceImpl
29   * @see       UserTrackerPathUtil
30   * @generated
31   */
32  public interface UserTrackerPathPersistence extends BasePersistence<UserTrackerPath> {
33      public void cacheResult(
34          com.liferay.portal.model.UserTrackerPath userTrackerPath);
35  
36      public void cacheResult(
37          java.util.List<com.liferay.portal.model.UserTrackerPath> userTrackerPaths);
38  
39      public com.liferay.portal.model.UserTrackerPath create(
40          long userTrackerPathId);
41  
42      public com.liferay.portal.model.UserTrackerPath remove(
43          long userTrackerPathId)
44          throws com.liferay.portal.NoSuchUserTrackerPathException,
45              com.liferay.portal.kernel.exception.SystemException;
46  
47      public com.liferay.portal.model.UserTrackerPath updateImpl(
48          com.liferay.portal.model.UserTrackerPath userTrackerPath, boolean merge)
49          throws com.liferay.portal.kernel.exception.SystemException;
50  
51      public com.liferay.portal.model.UserTrackerPath findByPrimaryKey(
52          long userTrackerPathId)
53          throws com.liferay.portal.NoSuchUserTrackerPathException,
54              com.liferay.portal.kernel.exception.SystemException;
55  
56      public com.liferay.portal.model.UserTrackerPath fetchByPrimaryKey(
57          long userTrackerPathId)
58          throws com.liferay.portal.kernel.exception.SystemException;
59  
60      public java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
61          long userTrackerId)
62          throws com.liferay.portal.kernel.exception.SystemException;
63  
64      public java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
65          long userTrackerId, int start, int end)
66          throws com.liferay.portal.kernel.exception.SystemException;
67  
68      public java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
69          long userTrackerId, int start, int end,
70          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
71          throws com.liferay.portal.kernel.exception.SystemException;
72  
73      public com.liferay.portal.model.UserTrackerPath findByUserTrackerId_First(
74          long userTrackerId,
75          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76          throws com.liferay.portal.NoSuchUserTrackerPathException,
77              com.liferay.portal.kernel.exception.SystemException;
78  
79      public com.liferay.portal.model.UserTrackerPath findByUserTrackerId_Last(
80          long userTrackerId,
81          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82          throws com.liferay.portal.NoSuchUserTrackerPathException,
83              com.liferay.portal.kernel.exception.SystemException;
84  
85      public com.liferay.portal.model.UserTrackerPath[] findByUserTrackerId_PrevAndNext(
86          long userTrackerPathId, long userTrackerId,
87          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
88          throws com.liferay.portal.NoSuchUserTrackerPathException,
89              com.liferay.portal.kernel.exception.SystemException;
90  
91      public java.util.List<com.liferay.portal.model.UserTrackerPath> findAll()
92          throws com.liferay.portal.kernel.exception.SystemException;
93  
94      public java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
95          int start, int end)
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
99          int start, int end,
100         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
101         throws com.liferay.portal.kernel.exception.SystemException;
102 
103     public void removeByUserTrackerId(long userTrackerId)
104         throws com.liferay.portal.kernel.exception.SystemException;
105 
106     public void removeAll()
107         throws com.liferay.portal.kernel.exception.SystemException;
108 
109     public int countByUserTrackerId(long userTrackerId)
110         throws com.liferay.portal.kernel.exception.SystemException;
111 
112     public int countAll()
113         throws com.liferay.portal.kernel.exception.SystemException;
114 }