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.portlet.journal.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.journal.model.JournalFeed;
20  
21  /**
22   * <a href="JournalFeedPersistence.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       JournalFeedPersistenceImpl
31   * @see       JournalFeedUtil
32   * @generated
33   */
34  public interface JournalFeedPersistence extends BasePersistence<JournalFeed> {
35      public void cacheResult(
36          com.liferay.portlet.journal.model.JournalFeed journalFeed);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.journal.model.JournalFeed> journalFeeds);
40  
41      public com.liferay.portlet.journal.model.JournalFeed create(long id);
42  
43      public com.liferay.portlet.journal.model.JournalFeed remove(long id)
44          throws com.liferay.portal.kernel.exception.SystemException,
45              com.liferay.portlet.journal.NoSuchFeedException;
46  
47      public com.liferay.portlet.journal.model.JournalFeed updateImpl(
48          com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
49          throws com.liferay.portal.kernel.exception.SystemException;
50  
51      public com.liferay.portlet.journal.model.JournalFeed findByPrimaryKey(
52          long id)
53          throws com.liferay.portal.kernel.exception.SystemException,
54              com.liferay.portlet.journal.NoSuchFeedException;
55  
56      public com.liferay.portlet.journal.model.JournalFeed fetchByPrimaryKey(
57          long id) throws com.liferay.portal.kernel.exception.SystemException;
58  
59      public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
60          java.lang.String uuid)
61          throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
64          java.lang.String uuid, int start, int end)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
68          java.lang.String uuid, int start, int end,
69          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
70          throws com.liferay.portal.kernel.exception.SystemException;
71  
72      public com.liferay.portlet.journal.model.JournalFeed findByUuid_First(
73          java.lang.String uuid,
74          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
75          throws com.liferay.portal.kernel.exception.SystemException,
76              com.liferay.portlet.journal.NoSuchFeedException;
77  
78      public com.liferay.portlet.journal.model.JournalFeed findByUuid_Last(
79          java.lang.String uuid,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.kernel.exception.SystemException,
82              com.liferay.portlet.journal.NoSuchFeedException;
83  
84      public com.liferay.portlet.journal.model.JournalFeed[] findByUuid_PrevAndNext(
85          long id, java.lang.String uuid,
86          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
87          throws com.liferay.portal.kernel.exception.SystemException,
88              com.liferay.portlet.journal.NoSuchFeedException;
89  
90      public com.liferay.portlet.journal.model.JournalFeed findByUUID_G(
91          java.lang.String uuid, long groupId)
92          throws com.liferay.portal.kernel.exception.SystemException,
93              com.liferay.portlet.journal.NoSuchFeedException;
94  
95      public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
96          java.lang.String uuid, long groupId)
97          throws com.liferay.portal.kernel.exception.SystemException;
98  
99      public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
100         java.lang.String uuid, long groupId, boolean retrieveFromCache)
101         throws com.liferay.portal.kernel.exception.SystemException;
102 
103     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
104         long groupId)
105         throws com.liferay.portal.kernel.exception.SystemException;
106 
107     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
108         long groupId, int start, int end)
109         throws com.liferay.portal.kernel.exception.SystemException;
110 
111     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
112         long groupId, int start, int end,
113         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
114         throws com.liferay.portal.kernel.exception.SystemException;
115 
116     public com.liferay.portlet.journal.model.JournalFeed findByGroupId_First(
117         long groupId,
118         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119         throws com.liferay.portal.kernel.exception.SystemException,
120             com.liferay.portlet.journal.NoSuchFeedException;
121 
122     public com.liferay.portlet.journal.model.JournalFeed findByGroupId_Last(
123         long groupId,
124         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125         throws com.liferay.portal.kernel.exception.SystemException,
126             com.liferay.portlet.journal.NoSuchFeedException;
127 
128     public com.liferay.portlet.journal.model.JournalFeed[] findByGroupId_PrevAndNext(
129         long id, long groupId,
130         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
131         throws com.liferay.portal.kernel.exception.SystemException,
132             com.liferay.portlet.journal.NoSuchFeedException;
133 
134     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId(
135         long groupId)
136         throws com.liferay.portal.kernel.exception.SystemException;
137 
138     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId(
139         long groupId, int start, int end)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId(
143         long groupId, int start, int end,
144         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145         throws com.liferay.portal.kernel.exception.SystemException;
146 
147     public com.liferay.portlet.journal.model.JournalFeed findByG_F(
148         long groupId, java.lang.String feedId)
149         throws com.liferay.portal.kernel.exception.SystemException,
150             com.liferay.portlet.journal.NoSuchFeedException;
151 
152     public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
153         long groupId, java.lang.String feedId)
154         throws com.liferay.portal.kernel.exception.SystemException;
155 
156     public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
157         long groupId, java.lang.String feedId, boolean retrieveFromCache)
158         throws com.liferay.portal.kernel.exception.SystemException;
159 
160     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll()
161         throws com.liferay.portal.kernel.exception.SystemException;
162 
163     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
164         int start, int end)
165         throws com.liferay.portal.kernel.exception.SystemException;
166 
167     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
168         int start, int end,
169         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
170         throws com.liferay.portal.kernel.exception.SystemException;
171 
172     public void removeByUuid(java.lang.String uuid)
173         throws com.liferay.portal.kernel.exception.SystemException;
174 
175     public void removeByUUID_G(java.lang.String uuid, long groupId)
176         throws com.liferay.portal.kernel.exception.SystemException,
177             com.liferay.portlet.journal.NoSuchFeedException;
178 
179     public void removeByGroupId(long groupId)
180         throws com.liferay.portal.kernel.exception.SystemException;
181 
182     public void removeByG_F(long groupId, java.lang.String feedId)
183         throws com.liferay.portal.kernel.exception.SystemException,
184             com.liferay.portlet.journal.NoSuchFeedException;
185 
186     public void removeAll()
187         throws com.liferay.portal.kernel.exception.SystemException;
188 
189     public int countByUuid(java.lang.String uuid)
190         throws com.liferay.portal.kernel.exception.SystemException;
191 
192     public int countByUUID_G(java.lang.String uuid, long groupId)
193         throws com.liferay.portal.kernel.exception.SystemException;
194 
195     public int countByGroupId(long groupId)
196         throws com.liferay.portal.kernel.exception.SystemException;
197 
198     public int filterCountByGroupId(long groupId)
199         throws com.liferay.portal.kernel.exception.SystemException;
200 
201     public int countByG_F(long groupId, java.lang.String feedId)
202         throws com.liferay.portal.kernel.exception.SystemException;
203 
204     public int filterCountByG_F(long groupId, java.lang.String feedId)
205         throws com.liferay.portal.kernel.exception.SystemException;
206 
207     public int countAll()
208         throws com.liferay.portal.kernel.exception.SystemException;
209 }