001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.journal.model.JournalFeed;
020    
021    /**
022     * @author    Brian Wing Shun Chan
023     * @see       JournalFeedPersistenceImpl
024     * @see       JournalFeedUtil
025     * @generated
026     */
027    public interface JournalFeedPersistence extends BasePersistence<JournalFeed> {
028            public void cacheResult(
029                    com.liferay.portlet.journal.model.JournalFeed journalFeed);
030    
031            public void cacheResult(
032                    java.util.List<com.liferay.portlet.journal.model.JournalFeed> journalFeeds);
033    
034            public com.liferay.portlet.journal.model.JournalFeed create(long id);
035    
036            public com.liferay.portlet.journal.model.JournalFeed remove(long id)
037                    throws com.liferay.portal.kernel.exception.SystemException,
038                            com.liferay.portlet.journal.NoSuchFeedException;
039    
040            public com.liferay.portlet.journal.model.JournalFeed updateImpl(
041                    com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
042                    throws com.liferay.portal.kernel.exception.SystemException;
043    
044            public com.liferay.portlet.journal.model.JournalFeed findByPrimaryKey(
045                    long id)
046                    throws com.liferay.portal.kernel.exception.SystemException,
047                            com.liferay.portlet.journal.NoSuchFeedException;
048    
049            public com.liferay.portlet.journal.model.JournalFeed fetchByPrimaryKey(
050                    long id) throws com.liferay.portal.kernel.exception.SystemException;
051    
052            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
053                    java.lang.String uuid)
054                    throws com.liferay.portal.kernel.exception.SystemException;
055    
056            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
057                    java.lang.String uuid, int start, int end)
058                    throws com.liferay.portal.kernel.exception.SystemException;
059    
060            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
061                    java.lang.String uuid, int start, int end,
062                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
063                    throws com.liferay.portal.kernel.exception.SystemException;
064    
065            public com.liferay.portlet.journal.model.JournalFeed findByUuid_First(
066                    java.lang.String uuid,
067                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
068                    throws com.liferay.portal.kernel.exception.SystemException,
069                            com.liferay.portlet.journal.NoSuchFeedException;
070    
071            public com.liferay.portlet.journal.model.JournalFeed findByUuid_Last(
072                    java.lang.String uuid,
073                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074                    throws com.liferay.portal.kernel.exception.SystemException,
075                            com.liferay.portlet.journal.NoSuchFeedException;
076    
077            public com.liferay.portlet.journal.model.JournalFeed[] findByUuid_PrevAndNext(
078                    long id, java.lang.String uuid,
079                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
080                    throws com.liferay.portal.kernel.exception.SystemException,
081                            com.liferay.portlet.journal.NoSuchFeedException;
082    
083            public com.liferay.portlet.journal.model.JournalFeed findByUUID_G(
084                    java.lang.String uuid, long groupId)
085                    throws com.liferay.portal.kernel.exception.SystemException,
086                            com.liferay.portlet.journal.NoSuchFeedException;
087    
088            public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
089                    java.lang.String uuid, long groupId)
090                    throws com.liferay.portal.kernel.exception.SystemException;
091    
092            public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
093                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
094                    throws com.liferay.portal.kernel.exception.SystemException;
095    
096            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
097                    long groupId)
098                    throws com.liferay.portal.kernel.exception.SystemException;
099    
100            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
101                    long groupId, int start, int end)
102                    throws com.liferay.portal.kernel.exception.SystemException;
103    
104            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
105                    long groupId, int start, int end,
106                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
107                    throws com.liferay.portal.kernel.exception.SystemException;
108    
109            public com.liferay.portlet.journal.model.JournalFeed findByGroupId_First(
110                    long groupId,
111                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
112                    throws com.liferay.portal.kernel.exception.SystemException,
113                            com.liferay.portlet.journal.NoSuchFeedException;
114    
115            public com.liferay.portlet.journal.model.JournalFeed findByGroupId_Last(
116                    long groupId,
117                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
118                    throws com.liferay.portal.kernel.exception.SystemException,
119                            com.liferay.portlet.journal.NoSuchFeedException;
120    
121            public com.liferay.portlet.journal.model.JournalFeed[] findByGroupId_PrevAndNext(
122                    long id, long groupId,
123                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
124                    throws com.liferay.portal.kernel.exception.SystemException,
125                            com.liferay.portlet.journal.NoSuchFeedException;
126    
127            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId(
128                    long groupId)
129                    throws com.liferay.portal.kernel.exception.SystemException;
130    
131            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId(
132                    long groupId, int start, int end)
133                    throws com.liferay.portal.kernel.exception.SystemException;
134    
135            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId(
136                    long groupId, int start, int end,
137                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138                    throws com.liferay.portal.kernel.exception.SystemException;
139    
140            public com.liferay.portlet.journal.model.JournalFeed findByG_F(
141                    long groupId, java.lang.String feedId)
142                    throws com.liferay.portal.kernel.exception.SystemException,
143                            com.liferay.portlet.journal.NoSuchFeedException;
144    
145            public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
146                    long groupId, java.lang.String feedId)
147                    throws com.liferay.portal.kernel.exception.SystemException;
148    
149            public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
150                    long groupId, java.lang.String feedId, boolean retrieveFromCache)
151                    throws com.liferay.portal.kernel.exception.SystemException;
152    
153            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll()
154                    throws com.liferay.portal.kernel.exception.SystemException;
155    
156            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
157                    int start, int end)
158                    throws com.liferay.portal.kernel.exception.SystemException;
159    
160            public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
161                    int start, int end,
162                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
163                    throws com.liferay.portal.kernel.exception.SystemException;
164    
165            public void removeByUuid(java.lang.String uuid)
166                    throws com.liferay.portal.kernel.exception.SystemException;
167    
168            public void removeByUUID_G(java.lang.String uuid, long groupId)
169                    throws com.liferay.portal.kernel.exception.SystemException,
170                            com.liferay.portlet.journal.NoSuchFeedException;
171    
172            public void removeByGroupId(long groupId)
173                    throws com.liferay.portal.kernel.exception.SystemException;
174    
175            public void removeByG_F(long groupId, java.lang.String feedId)
176                    throws com.liferay.portal.kernel.exception.SystemException,
177                            com.liferay.portlet.journal.NoSuchFeedException;
178    
179            public void removeAll()
180                    throws com.liferay.portal.kernel.exception.SystemException;
181    
182            public int countByUuid(java.lang.String uuid)
183                    throws com.liferay.portal.kernel.exception.SystemException;
184    
185            public int countByUUID_G(java.lang.String uuid, long groupId)
186                    throws com.liferay.portal.kernel.exception.SystemException;
187    
188            public int countByGroupId(long groupId)
189                    throws com.liferay.portal.kernel.exception.SystemException;
190    
191            public int filterCountByGroupId(long groupId)
192                    throws com.liferay.portal.kernel.exception.SystemException;
193    
194            public int countByG_F(long groupId, java.lang.String feedId)
195                    throws com.liferay.portal.kernel.exception.SystemException;
196    
197            public int filterCountByG_F(long groupId, java.lang.String feedId)
198                    throws com.liferay.portal.kernel.exception.SystemException;
199    
200            public int countAll()
201                    throws com.liferay.portal.kernel.exception.SystemException;
202    }