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.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.SystemException,
45              com.liferay.portlet.journal.NoSuchFeedException;
46  
47      /**
48       * @deprecated Use {@link BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)}.
49       */
50      public com.liferay.portlet.journal.model.JournalFeed update(
51          com.liferay.portlet.journal.model.JournalFeed journalFeed)
52          throws com.liferay.portal.SystemException;
53  
54      public com.liferay.portlet.journal.model.JournalFeed updateImpl(
55          com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
56          throws com.liferay.portal.SystemException;
57  
58      public com.liferay.portlet.journal.model.JournalFeed findByPrimaryKey(
59          long id)
60          throws com.liferay.portal.SystemException,
61              com.liferay.portlet.journal.NoSuchFeedException;
62  
63      public com.liferay.portlet.journal.model.JournalFeed fetchByPrimaryKey(
64          long id) throws com.liferay.portal.SystemException;
65  
66      public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
67          java.lang.String uuid) throws com.liferay.portal.SystemException;
68  
69      public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
70          java.lang.String uuid, int start, int end)
71          throws com.liferay.portal.SystemException;
72  
73      public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
74          java.lang.String uuid, int start, int end,
75          com.liferay.portal.kernel.util.OrderByComparator obc)
76          throws com.liferay.portal.SystemException;
77  
78      public com.liferay.portlet.journal.model.JournalFeed findByUuid_First(
79          java.lang.String uuid,
80          com.liferay.portal.kernel.util.OrderByComparator obc)
81          throws com.liferay.portal.SystemException,
82              com.liferay.portlet.journal.NoSuchFeedException;
83  
84      public com.liferay.portlet.journal.model.JournalFeed findByUuid_Last(
85          java.lang.String uuid,
86          com.liferay.portal.kernel.util.OrderByComparator obc)
87          throws com.liferay.portal.SystemException,
88              com.liferay.portlet.journal.NoSuchFeedException;
89  
90      public com.liferay.portlet.journal.model.JournalFeed[] findByUuid_PrevAndNext(
91          long id, java.lang.String uuid,
92          com.liferay.portal.kernel.util.OrderByComparator obc)
93          throws com.liferay.portal.SystemException,
94              com.liferay.portlet.journal.NoSuchFeedException;
95  
96      public com.liferay.portlet.journal.model.JournalFeed findByUUID_G(
97          java.lang.String uuid, long groupId)
98          throws com.liferay.portal.SystemException,
99              com.liferay.portlet.journal.NoSuchFeedException;
100 
101     public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
102         java.lang.String uuid, long groupId)
103         throws com.liferay.portal.SystemException;
104 
105     public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
106         java.lang.String uuid, long groupId, boolean retrieveFromCache)
107         throws com.liferay.portal.SystemException;
108 
109     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
110         long groupId) throws com.liferay.portal.SystemException;
111 
112     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
113         long groupId, int start, int end)
114         throws com.liferay.portal.SystemException;
115 
116     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
117         long groupId, int start, int end,
118         com.liferay.portal.kernel.util.OrderByComparator obc)
119         throws com.liferay.portal.SystemException;
120 
121     public com.liferay.portlet.journal.model.JournalFeed findByGroupId_First(
122         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
123         throws com.liferay.portal.SystemException,
124             com.liferay.portlet.journal.NoSuchFeedException;
125 
126     public com.liferay.portlet.journal.model.JournalFeed findByGroupId_Last(
127         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
128         throws com.liferay.portal.SystemException,
129             com.liferay.portlet.journal.NoSuchFeedException;
130 
131     public com.liferay.portlet.journal.model.JournalFeed[] findByGroupId_PrevAndNext(
132         long id, long groupId,
133         com.liferay.portal.kernel.util.OrderByComparator obc)
134         throws com.liferay.portal.SystemException,
135             com.liferay.portlet.journal.NoSuchFeedException;
136 
137     public com.liferay.portlet.journal.model.JournalFeed findByG_F(
138         long groupId, java.lang.String feedId)
139         throws com.liferay.portal.SystemException,
140             com.liferay.portlet.journal.NoSuchFeedException;
141 
142     public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
143         long groupId, java.lang.String feedId)
144         throws com.liferay.portal.SystemException;
145 
146     public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
147         long groupId, java.lang.String feedId, boolean retrieveFromCache)
148         throws com.liferay.portal.SystemException;
149 
150     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll()
151         throws com.liferay.portal.SystemException;
152 
153     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
154         int start, int end) throws com.liferay.portal.SystemException;
155 
156     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
157         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
158         throws com.liferay.portal.SystemException;
159 
160     public void removeByUuid(java.lang.String uuid)
161         throws com.liferay.portal.SystemException;
162 
163     public void removeByUUID_G(java.lang.String uuid, long groupId)
164         throws com.liferay.portal.SystemException,
165             com.liferay.portlet.journal.NoSuchFeedException;
166 
167     public void removeByGroupId(long groupId)
168         throws com.liferay.portal.SystemException;
169 
170     public void removeByG_F(long groupId, java.lang.String feedId)
171         throws com.liferay.portal.SystemException,
172             com.liferay.portlet.journal.NoSuchFeedException;
173 
174     public void removeAll() throws com.liferay.portal.SystemException;
175 
176     public int countByUuid(java.lang.String uuid)
177         throws com.liferay.portal.SystemException;
178 
179     public int countByUUID_G(java.lang.String uuid, long groupId)
180         throws com.liferay.portal.SystemException;
181 
182     public int countByGroupId(long groupId)
183         throws com.liferay.portal.SystemException;
184 
185     public int countByG_F(long groupId, java.lang.String feedId)
186         throws com.liferay.portal.SystemException;
187 
188     public int countAll() throws com.liferay.portal.SystemException;
189 }