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