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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
114         throws com.liferay.portal.kernel.exception.SystemException;
115 
116     public com.liferay.portlet.journal.model.JournalFeed findByGroupId_First(
117         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
118         throws com.liferay.portal.kernel.exception.SystemException,
119             com.liferay.portlet.journal.NoSuchFeedException;
120 
121     public com.liferay.portlet.journal.model.JournalFeed findByGroupId_Last(
122         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
123         throws com.liferay.portal.kernel.exception.SystemException,
124             com.liferay.portlet.journal.NoSuchFeedException;
125 
126     public com.liferay.portlet.journal.model.JournalFeed[] findByGroupId_PrevAndNext(
127         long id, long groupId,
128         com.liferay.portal.kernel.util.OrderByComparator obc)
129         throws com.liferay.portal.kernel.exception.SystemException,
130             com.liferay.portlet.journal.NoSuchFeedException;
131 
132     public com.liferay.portlet.journal.model.JournalFeed findByG_F(
133         long groupId, java.lang.String feedId)
134         throws com.liferay.portal.kernel.exception.SystemException,
135             com.liferay.portlet.journal.NoSuchFeedException;
136 
137     public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
138         long groupId, java.lang.String feedId)
139         throws com.liferay.portal.kernel.exception.SystemException;
140 
141     public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
142         long groupId, java.lang.String feedId, boolean retrieveFromCache)
143         throws com.liferay.portal.kernel.exception.SystemException;
144 
145     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll()
146         throws com.liferay.portal.kernel.exception.SystemException;
147 
148     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
149         int start, int end)
150         throws com.liferay.portal.kernel.exception.SystemException;
151 
152     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
153         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
154         throws com.liferay.portal.kernel.exception.SystemException;
155 
156     public void removeByUuid(java.lang.String uuid)
157         throws com.liferay.portal.kernel.exception.SystemException;
158 
159     public void removeByUUID_G(java.lang.String uuid, long groupId)
160         throws com.liferay.portal.kernel.exception.SystemException,
161             com.liferay.portlet.journal.NoSuchFeedException;
162 
163     public void removeByGroupId(long groupId)
164         throws com.liferay.portal.kernel.exception.SystemException;
165 
166     public void removeByG_F(long groupId, java.lang.String feedId)
167         throws com.liferay.portal.kernel.exception.SystemException,
168             com.liferay.portlet.journal.NoSuchFeedException;
169 
170     public void removeAll()
171         throws com.liferay.portal.kernel.exception.SystemException;
172 
173     public int countByUuid(java.lang.String uuid)
174         throws com.liferay.portal.kernel.exception.SystemException;
175 
176     public int countByUUID_G(java.lang.String uuid, long groupId)
177         throws com.liferay.portal.kernel.exception.SystemException;
178 
179     public int countByGroupId(long groupId)
180         throws com.liferay.portal.kernel.exception.SystemException;
181 
182     public int countByG_F(long groupId, java.lang.String feedId)
183         throws com.liferay.portal.kernel.exception.SystemException;
184 
185     public int countAll()
186         throws com.liferay.portal.kernel.exception.SystemException;
187 }