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.wiki.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.wiki.model.WikiNode;
20  
21  /**
22   * <a href="WikiNodePersistence.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       WikiNodePersistenceImpl
31   * @see       WikiNodeUtil
32   * @generated
33   */
34  public interface WikiNodePersistence extends BasePersistence<WikiNode> {
35      public void cacheResult(com.liferay.portlet.wiki.model.WikiNode wikiNode);
36  
37      public void cacheResult(
38          java.util.List<com.liferay.portlet.wiki.model.WikiNode> wikiNodes);
39  
40      public com.liferay.portlet.wiki.model.WikiNode create(long nodeId);
41  
42      public com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
43          throws com.liferay.portal.kernel.exception.SystemException,
44              com.liferay.portlet.wiki.NoSuchNodeException;
45  
46      public com.liferay.portlet.wiki.model.WikiNode updateImpl(
47          com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
48          throws com.liferay.portal.kernel.exception.SystemException;
49  
50      public com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(long nodeId)
51          throws com.liferay.portal.kernel.exception.SystemException,
52              com.liferay.portlet.wiki.NoSuchNodeException;
53  
54      public com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(
55          long nodeId) throws com.liferay.portal.kernel.exception.SystemException;
56  
57      public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
58          java.lang.String uuid)
59          throws com.liferay.portal.kernel.exception.SystemException;
60  
61      public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
62          java.lang.String uuid, int start, int end)
63          throws com.liferay.portal.kernel.exception.SystemException;
64  
65      public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
66          java.lang.String uuid, int start, int end,
67          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
68          throws com.liferay.portal.kernel.exception.SystemException;
69  
70      public com.liferay.portlet.wiki.model.WikiNode findByUuid_First(
71          java.lang.String uuid,
72          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
73          throws com.liferay.portal.kernel.exception.SystemException,
74              com.liferay.portlet.wiki.NoSuchNodeException;
75  
76      public com.liferay.portlet.wiki.model.WikiNode findByUuid_Last(
77          java.lang.String uuid,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException,
80              com.liferay.portlet.wiki.NoSuchNodeException;
81  
82      public com.liferay.portlet.wiki.model.WikiNode[] findByUuid_PrevAndNext(
83          long nodeId, java.lang.String uuid,
84          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85          throws com.liferay.portal.kernel.exception.SystemException,
86              com.liferay.portlet.wiki.NoSuchNodeException;
87  
88      public com.liferay.portlet.wiki.model.WikiNode findByUUID_G(
89          java.lang.String uuid, long groupId)
90          throws com.liferay.portal.kernel.exception.SystemException,
91              com.liferay.portlet.wiki.NoSuchNodeException;
92  
93      public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
94          java.lang.String uuid, long groupId)
95          throws com.liferay.portal.kernel.exception.SystemException;
96  
97      public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
98          java.lang.String uuid, long groupId, boolean retrieveFromCache)
99          throws com.liferay.portal.kernel.exception.SystemException;
100 
101     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
102         long groupId)
103         throws com.liferay.portal.kernel.exception.SystemException;
104 
105     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
106         long groupId, int start, int end)
107         throws com.liferay.portal.kernel.exception.SystemException;
108 
109     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
110         long groupId, int start, int end,
111         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
112         throws com.liferay.portal.kernel.exception.SystemException;
113 
114     public com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(
115         long groupId,
116         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
117         throws com.liferay.portal.kernel.exception.SystemException,
118             com.liferay.portlet.wiki.NoSuchNodeException;
119 
120     public com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(
121         long groupId,
122         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
123         throws com.liferay.portal.kernel.exception.SystemException,
124             com.liferay.portlet.wiki.NoSuchNodeException;
125 
126     public com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(
127         long nodeId, long groupId,
128         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
129         throws com.liferay.portal.kernel.exception.SystemException,
130             com.liferay.portlet.wiki.NoSuchNodeException;
131 
132     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
133         long groupId)
134         throws com.liferay.portal.kernel.exception.SystemException;
135 
136     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
137         long groupId, int start, int end)
138         throws com.liferay.portal.kernel.exception.SystemException;
139 
140     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
141         long groupId, int start, int end,
142         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143         throws com.liferay.portal.kernel.exception.SystemException;
144 
145     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
146         long companyId)
147         throws com.liferay.portal.kernel.exception.SystemException;
148 
149     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
150         long companyId, int start, int end)
151         throws com.liferay.portal.kernel.exception.SystemException;
152 
153     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
154         long companyId, int start, int end,
155         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156         throws com.liferay.portal.kernel.exception.SystemException;
157 
158     public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(
159         long companyId,
160         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
161         throws com.liferay.portal.kernel.exception.SystemException,
162             com.liferay.portlet.wiki.NoSuchNodeException;
163 
164     public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(
165         long companyId,
166         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167         throws com.liferay.portal.kernel.exception.SystemException,
168             com.liferay.portlet.wiki.NoSuchNodeException;
169 
170     public com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(
171         long nodeId, long companyId,
172         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173         throws com.liferay.portal.kernel.exception.SystemException,
174             com.liferay.portlet.wiki.NoSuchNodeException;
175 
176     public com.liferay.portlet.wiki.model.WikiNode findByG_N(long groupId,
177         java.lang.String name)
178         throws com.liferay.portal.kernel.exception.SystemException,
179             com.liferay.portlet.wiki.NoSuchNodeException;
180 
181     public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
182         java.lang.String name)
183         throws com.liferay.portal.kernel.exception.SystemException;
184 
185     public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
186         java.lang.String name, boolean retrieveFromCache)
187         throws com.liferay.portal.kernel.exception.SystemException;
188 
189     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll()
190         throws com.liferay.portal.kernel.exception.SystemException;
191 
192     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
193         int start, int end)
194         throws com.liferay.portal.kernel.exception.SystemException;
195 
196     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
197         int start, int end,
198         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
199         throws com.liferay.portal.kernel.exception.SystemException;
200 
201     public void removeByUuid(java.lang.String uuid)
202         throws com.liferay.portal.kernel.exception.SystemException;
203 
204     public void removeByUUID_G(java.lang.String uuid, long groupId)
205         throws com.liferay.portal.kernel.exception.SystemException,
206             com.liferay.portlet.wiki.NoSuchNodeException;
207 
208     public void removeByGroupId(long groupId)
209         throws com.liferay.portal.kernel.exception.SystemException;
210 
211     public void removeByCompanyId(long companyId)
212         throws com.liferay.portal.kernel.exception.SystemException;
213 
214     public void removeByG_N(long groupId, java.lang.String name)
215         throws com.liferay.portal.kernel.exception.SystemException,
216             com.liferay.portlet.wiki.NoSuchNodeException;
217 
218     public void removeAll()
219         throws com.liferay.portal.kernel.exception.SystemException;
220 
221     public int countByUuid(java.lang.String uuid)
222         throws com.liferay.portal.kernel.exception.SystemException;
223 
224     public int countByUUID_G(java.lang.String uuid, long groupId)
225         throws com.liferay.portal.kernel.exception.SystemException;
226 
227     public int countByGroupId(long groupId)
228         throws com.liferay.portal.kernel.exception.SystemException;
229 
230     public int filterCountByGroupId(long groupId)
231         throws com.liferay.portal.kernel.exception.SystemException;
232 
233     public int countByCompanyId(long companyId)
234         throws com.liferay.portal.kernel.exception.SystemException;
235 
236     public int countByG_N(long groupId, java.lang.String name)
237         throws com.liferay.portal.kernel.exception.SystemException;
238 
239     public int filterCountByG_N(long groupId, java.lang.String name)
240         throws com.liferay.portal.kernel.exception.SystemException;
241 
242     public int countAll()
243         throws com.liferay.portal.kernel.exception.SystemException;
244 }