1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.service.persistence;
24  
25  import com.liferay.portal.model.UserTrackerPath;
26  
27  /**
28   * <a href="UserTrackerPathPersistence.java.html"><b><i>View Source</i></b></a>
29   *
30   * <p>
31   * ServiceBuilder generated this class. Modifications in this class will be
32   * overwritten the next time is generated.
33   * </p>
34   *
35   * @author    Brian Wing Shun Chan
36   * @see       UserTrackerPathPersistenceImpl
37   * @see       UserTrackerPathUtil
38   * @generated
39   */
40  public interface UserTrackerPathPersistence extends BasePersistence<UserTrackerPath> {
41      public void cacheResult(
42          com.liferay.portal.model.UserTrackerPath userTrackerPath);
43  
44      public void cacheResult(
45          java.util.List<com.liferay.portal.model.UserTrackerPath> userTrackerPaths);
46  
47      public com.liferay.portal.model.UserTrackerPath create(
48          long userTrackerPathId);
49  
50      public com.liferay.portal.model.UserTrackerPath remove(
51          long userTrackerPathId)
52          throws com.liferay.portal.NoSuchUserTrackerPathException,
53              com.liferay.portal.SystemException;
54  
55      /**
56       * @deprecated Use {@link BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)}.
57       */
58      public com.liferay.portal.model.UserTrackerPath update(
59          com.liferay.portal.model.UserTrackerPath userTrackerPath)
60          throws com.liferay.portal.SystemException;
61  
62      public com.liferay.portal.model.UserTrackerPath updateImpl(
63          com.liferay.portal.model.UserTrackerPath userTrackerPath, boolean merge)
64          throws com.liferay.portal.SystemException;
65  
66      public com.liferay.portal.model.UserTrackerPath findByPrimaryKey(
67          long userTrackerPathId)
68          throws com.liferay.portal.NoSuchUserTrackerPathException,
69              com.liferay.portal.SystemException;
70  
71      public com.liferay.portal.model.UserTrackerPath fetchByPrimaryKey(
72          long userTrackerPathId) throws com.liferay.portal.SystemException;
73  
74      public java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
75          long userTrackerId) throws com.liferay.portal.SystemException;
76  
77      public java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
78          long userTrackerId, int start, int end)
79          throws com.liferay.portal.SystemException;
80  
81      public java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
82          long userTrackerId, int start, int end,
83          com.liferay.portal.kernel.util.OrderByComparator obc)
84          throws com.liferay.portal.SystemException;
85  
86      public com.liferay.portal.model.UserTrackerPath findByUserTrackerId_First(
87          long userTrackerId, com.liferay.portal.kernel.util.OrderByComparator obc)
88          throws com.liferay.portal.NoSuchUserTrackerPathException,
89              com.liferay.portal.SystemException;
90  
91      public com.liferay.portal.model.UserTrackerPath findByUserTrackerId_Last(
92          long userTrackerId, com.liferay.portal.kernel.util.OrderByComparator obc)
93          throws com.liferay.portal.NoSuchUserTrackerPathException,
94              com.liferay.portal.SystemException;
95  
96      public com.liferay.portal.model.UserTrackerPath[] findByUserTrackerId_PrevAndNext(
97          long userTrackerPathId, long userTrackerId,
98          com.liferay.portal.kernel.util.OrderByComparator obc)
99          throws com.liferay.portal.NoSuchUserTrackerPathException,
100             com.liferay.portal.SystemException;
101 
102     public java.util.List<com.liferay.portal.model.UserTrackerPath> findAll()
103         throws com.liferay.portal.SystemException;
104 
105     public java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
106         int start, int end) throws com.liferay.portal.SystemException;
107 
108     public java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
109         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
110         throws com.liferay.portal.SystemException;
111 
112     public void removeByUserTrackerId(long userTrackerId)
113         throws com.liferay.portal.SystemException;
114 
115     public void removeAll() throws com.liferay.portal.SystemException;
116 
117     public int countByUserTrackerId(long userTrackerId)
118         throws com.liferay.portal.SystemException;
119 
120     public int countAll() throws com.liferay.portal.SystemException;
121 }