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.wiki.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.wiki.model.WikiNode;
020    
021    /**
022     * @author    Brian Wing Shun Chan
023     * @see       WikiNodePersistenceImpl
024     * @see       WikiNodeUtil
025     * @generated
026     */
027    public interface WikiNodePersistence extends BasePersistence<WikiNode> {
028            public void cacheResult(com.liferay.portlet.wiki.model.WikiNode wikiNode);
029    
030            public void cacheResult(
031                    java.util.List<com.liferay.portlet.wiki.model.WikiNode> wikiNodes);
032    
033            public com.liferay.portlet.wiki.model.WikiNode create(long nodeId);
034    
035            public com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
036                    throws com.liferay.portal.kernel.exception.SystemException,
037                            com.liferay.portlet.wiki.NoSuchNodeException;
038    
039            public com.liferay.portlet.wiki.model.WikiNode updateImpl(
040                    com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
041                    throws com.liferay.portal.kernel.exception.SystemException;
042    
043            public com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(long nodeId)
044                    throws com.liferay.portal.kernel.exception.SystemException,
045                            com.liferay.portlet.wiki.NoSuchNodeException;
046    
047            public com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(
048                    long nodeId) throws com.liferay.portal.kernel.exception.SystemException;
049    
050            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
051                    java.lang.String uuid)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
055                    java.lang.String uuid, int start, int end)
056                    throws com.liferay.portal.kernel.exception.SystemException;
057    
058            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
059                    java.lang.String uuid, int start, int end,
060                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
061                    throws com.liferay.portal.kernel.exception.SystemException;
062    
063            public com.liferay.portlet.wiki.model.WikiNode findByUuid_First(
064                    java.lang.String uuid,
065                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
066                    throws com.liferay.portal.kernel.exception.SystemException,
067                            com.liferay.portlet.wiki.NoSuchNodeException;
068    
069            public com.liferay.portlet.wiki.model.WikiNode findByUuid_Last(
070                    java.lang.String uuid,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException,
073                            com.liferay.portlet.wiki.NoSuchNodeException;
074    
075            public com.liferay.portlet.wiki.model.WikiNode[] findByUuid_PrevAndNext(
076                    long nodeId, java.lang.String uuid,
077                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078                    throws com.liferay.portal.kernel.exception.SystemException,
079                            com.liferay.portlet.wiki.NoSuchNodeException;
080    
081            public com.liferay.portlet.wiki.model.WikiNode findByUUID_G(
082                    java.lang.String uuid, long groupId)
083                    throws com.liferay.portal.kernel.exception.SystemException,
084                            com.liferay.portlet.wiki.NoSuchNodeException;
085    
086            public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
087                    java.lang.String uuid, long groupId)
088                    throws com.liferay.portal.kernel.exception.SystemException;
089    
090            public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
091                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
092                    throws com.liferay.portal.kernel.exception.SystemException;
093    
094            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
095                    long groupId)
096                    throws com.liferay.portal.kernel.exception.SystemException;
097    
098            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
099                    long groupId, int start, int end)
100                    throws com.liferay.portal.kernel.exception.SystemException;
101    
102            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
103                    long groupId, int start, int end,
104                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105                    throws com.liferay.portal.kernel.exception.SystemException;
106    
107            public com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(
108                    long groupId,
109                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
110                    throws com.liferay.portal.kernel.exception.SystemException,
111                            com.liferay.portlet.wiki.NoSuchNodeException;
112    
113            public com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(
114                    long groupId,
115                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116                    throws com.liferay.portal.kernel.exception.SystemException,
117                            com.liferay.portlet.wiki.NoSuchNodeException;
118    
119            public com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(
120                    long nodeId, long groupId,
121                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122                    throws com.liferay.portal.kernel.exception.SystemException,
123                            com.liferay.portlet.wiki.NoSuchNodeException;
124    
125            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
126                    long groupId)
127                    throws com.liferay.portal.kernel.exception.SystemException;
128    
129            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
130                    long groupId, int start, int end)
131                    throws com.liferay.portal.kernel.exception.SystemException;
132    
133            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
134                    long groupId, int start, int end,
135                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136                    throws com.liferay.portal.kernel.exception.SystemException;
137    
138            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
139                    long companyId)
140                    throws com.liferay.portal.kernel.exception.SystemException;
141    
142            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
143                    long companyId, int start, int end)
144                    throws com.liferay.portal.kernel.exception.SystemException;
145    
146            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
147                    long companyId, int start, int end,
148                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149                    throws com.liferay.portal.kernel.exception.SystemException;
150    
151            public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(
152                    long companyId,
153                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154                    throws com.liferay.portal.kernel.exception.SystemException,
155                            com.liferay.portlet.wiki.NoSuchNodeException;
156    
157            public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(
158                    long companyId,
159                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160                    throws com.liferay.portal.kernel.exception.SystemException,
161                            com.liferay.portlet.wiki.NoSuchNodeException;
162    
163            public com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(
164                    long nodeId, long companyId,
165                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166                    throws com.liferay.portal.kernel.exception.SystemException,
167                            com.liferay.portlet.wiki.NoSuchNodeException;
168    
169            public com.liferay.portlet.wiki.model.WikiNode findByG_N(long groupId,
170                    java.lang.String name)
171                    throws com.liferay.portal.kernel.exception.SystemException,
172                            com.liferay.portlet.wiki.NoSuchNodeException;
173    
174            public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
175                    java.lang.String name)
176                    throws com.liferay.portal.kernel.exception.SystemException;
177    
178            public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
179                    java.lang.String name, boolean retrieveFromCache)
180                    throws com.liferay.portal.kernel.exception.SystemException;
181    
182            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll()
183                    throws com.liferay.portal.kernel.exception.SystemException;
184    
185            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
186                    int start, int end)
187                    throws com.liferay.portal.kernel.exception.SystemException;
188    
189            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
190                    int start, int end,
191                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
192                    throws com.liferay.portal.kernel.exception.SystemException;
193    
194            public void removeByUuid(java.lang.String uuid)
195                    throws com.liferay.portal.kernel.exception.SystemException;
196    
197            public void removeByUUID_G(java.lang.String uuid, long groupId)
198                    throws com.liferay.portal.kernel.exception.SystemException,
199                            com.liferay.portlet.wiki.NoSuchNodeException;
200    
201            public void removeByGroupId(long groupId)
202                    throws com.liferay.portal.kernel.exception.SystemException;
203    
204            public void removeByCompanyId(long companyId)
205                    throws com.liferay.portal.kernel.exception.SystemException;
206    
207            public void removeByG_N(long groupId, java.lang.String name)
208                    throws com.liferay.portal.kernel.exception.SystemException,
209                            com.liferay.portlet.wiki.NoSuchNodeException;
210    
211            public void removeAll()
212                    throws com.liferay.portal.kernel.exception.SystemException;
213    
214            public int countByUuid(java.lang.String uuid)
215                    throws com.liferay.portal.kernel.exception.SystemException;
216    
217            public int countByUUID_G(java.lang.String uuid, long groupId)
218                    throws com.liferay.portal.kernel.exception.SystemException;
219    
220            public int countByGroupId(long groupId)
221                    throws com.liferay.portal.kernel.exception.SystemException;
222    
223            public int filterCountByGroupId(long groupId)
224                    throws com.liferay.portal.kernel.exception.SystemException;
225    
226            public int countByCompanyId(long companyId)
227                    throws com.liferay.portal.kernel.exception.SystemException;
228    
229            public int countByG_N(long groupId, java.lang.String name)
230                    throws com.liferay.portal.kernel.exception.SystemException;
231    
232            public int filterCountByG_N(long groupId, java.lang.String name)
233                    throws com.liferay.portal.kernel.exception.SystemException;
234    
235            public int countAll()
236                    throws com.liferay.portal.kernel.exception.SystemException;
237    }