1
22
23 package com.liferay.portlet.wiki.service.persistence;
24
25
31 public interface WikiPagePersistence {
32 public com.liferay.portlet.wiki.model.WikiPage create(long pageId);
33
34 public com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.wiki.NoSuchPageException;
37
38 public com.liferay.portlet.wiki.model.WikiPage remove(
39 com.liferay.portlet.wiki.model.WikiPage wikiPage)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portlet.wiki.model.WikiPage update(
43 com.liferay.portlet.wiki.model.WikiPage wikiPage)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portlet.wiki.model.WikiPage update(
47 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
48 throws com.liferay.portal.SystemException;
49
50 public com.liferay.portlet.wiki.model.WikiPage updateImpl(
51 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
55 throws com.liferay.portal.SystemException,
56 com.liferay.portlet.wiki.NoSuchPageException;
57
58 public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
59 long pageId) throws com.liferay.portal.SystemException;
60
61 public java.util.List findByUuid(java.lang.String uuid)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List findByUuid(java.lang.String uuid, int begin, int end)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List findByUuid(java.lang.String uuid, int begin, int end,
68 com.liferay.portal.kernel.util.OrderByComparator obc)
69 throws com.liferay.portal.SystemException;
70
71 public com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
72 java.lang.String uuid,
73 com.liferay.portal.kernel.util.OrderByComparator obc)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portlet.wiki.NoSuchPageException;
76
77 public com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
78 java.lang.String uuid,
79 com.liferay.portal.kernel.util.OrderByComparator obc)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portlet.wiki.NoSuchPageException;
82
83 public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
84 long pageId, java.lang.String uuid,
85 com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.wiki.NoSuchPageException;
88
89 public java.util.List findByNodeId(long nodeId)
90 throws com.liferay.portal.SystemException;
91
92 public java.util.List findByNodeId(long nodeId, int begin, int end)
93 throws com.liferay.portal.SystemException;
94
95 public java.util.List findByNodeId(long nodeId, int begin, int end,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException;
98
99 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
100 long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.wiki.NoSuchPageException;
103
104 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
105 long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.wiki.NoSuchPageException;
108
109 public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
110 long pageId, long nodeId,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.wiki.NoSuchPageException;
114
115 public java.util.List findByN_T(long nodeId, java.lang.String title)
116 throws com.liferay.portal.SystemException;
117
118 public java.util.List findByN_T(long nodeId, java.lang.String title,
119 int begin, int end) throws com.liferay.portal.SystemException;
120
121 public java.util.List findByN_T(long nodeId, java.lang.String title,
122 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException;
124
125 public com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
126 long nodeId, java.lang.String title,
127 com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.wiki.NoSuchPageException;
130
131 public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId,
132 java.lang.String title,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.wiki.NoSuchPageException;
136
137 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
138 long pageId, long nodeId, java.lang.String title,
139 com.liferay.portal.kernel.util.OrderByComparator obc)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.wiki.NoSuchPageException;
142
143 public java.util.List findByN_H(long nodeId, boolean head)
144 throws com.liferay.portal.SystemException;
145
146 public java.util.List findByN_H(long nodeId, boolean head, int begin,
147 int end) throws com.liferay.portal.SystemException;
148
149 public java.util.List findByN_H(long nodeId, boolean head, int begin,
150 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException;
152
153 public com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
154 long nodeId, boolean head,
155 com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.wiki.NoSuchPageException;
158
159 public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
160 boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.wiki.NoSuchPageException;
163
164 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
165 long pageId, long nodeId, boolean head,
166 com.liferay.portal.kernel.util.OrderByComparator obc)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portlet.wiki.NoSuchPageException;
169
170 public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
171 java.lang.String title, double version)
172 throws com.liferay.portal.SystemException,
173 com.liferay.portlet.wiki.NoSuchPageException;
174
175 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
176 java.lang.String title, double version)
177 throws com.liferay.portal.SystemException;
178
179 public java.util.List findByN_T_H(long nodeId, java.lang.String title,
180 boolean head) throws com.liferay.portal.SystemException;
181
182 public java.util.List findByN_T_H(long nodeId, java.lang.String title,
183 boolean head, int begin, int end)
184 throws com.liferay.portal.SystemException;
185
186 public java.util.List findByN_T_H(long nodeId, java.lang.String title,
187 boolean head, int begin, int end,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException;
190
191 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
192 long nodeId, java.lang.String title, boolean head,
193 com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException,
195 com.liferay.portlet.wiki.NoSuchPageException;
196
197 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
198 long nodeId, java.lang.String title, boolean head,
199 com.liferay.portal.kernel.util.OrderByComparator obc)
200 throws com.liferay.portal.SystemException,
201 com.liferay.portlet.wiki.NoSuchPageException;
202
203 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
204 long pageId, long nodeId, java.lang.String title, boolean head,
205 com.liferay.portal.kernel.util.OrderByComparator obc)
206 throws com.liferay.portal.SystemException,
207 com.liferay.portlet.wiki.NoSuchPageException;
208
209 public java.util.List findWithDynamicQuery(
210 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
211 throws com.liferay.portal.SystemException;
212
213 public java.util.List findWithDynamicQuery(
214 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
215 int begin, int end) throws com.liferay.portal.SystemException;
216
217 public java.util.List findAll() throws com.liferay.portal.SystemException;
218
219 public java.util.List findAll(int begin, int end)
220 throws com.liferay.portal.SystemException;
221
222 public java.util.List findAll(int begin, int end,
223 com.liferay.portal.kernel.util.OrderByComparator obc)
224 throws com.liferay.portal.SystemException;
225
226 public void removeByUuid(java.lang.String uuid)
227 throws com.liferay.portal.SystemException;
228
229 public void removeByNodeId(long nodeId)
230 throws com.liferay.portal.SystemException;
231
232 public void removeByN_T(long nodeId, java.lang.String title)
233 throws com.liferay.portal.SystemException;
234
235 public void removeByN_H(long nodeId, boolean head)
236 throws com.liferay.portal.SystemException;
237
238 public void removeByN_T_V(long nodeId, java.lang.String title,
239 double version)
240 throws com.liferay.portal.SystemException,
241 com.liferay.portlet.wiki.NoSuchPageException;
242
243 public void removeByN_T_H(long nodeId, java.lang.String title, boolean head)
244 throws com.liferay.portal.SystemException;
245
246 public void removeAll() throws com.liferay.portal.SystemException;
247
248 public int countByUuid(java.lang.String uuid)
249 throws com.liferay.portal.SystemException;
250
251 public int countByNodeId(long nodeId)
252 throws com.liferay.portal.SystemException;
253
254 public int countByN_T(long nodeId, java.lang.String title)
255 throws com.liferay.portal.SystemException;
256
257 public int countByN_H(long nodeId, boolean head)
258 throws com.liferay.portal.SystemException;
259
260 public int countByN_T_V(long nodeId, java.lang.String title, double version)
261 throws com.liferay.portal.SystemException;
262
263 public int countByN_T_H(long nodeId, java.lang.String title, boolean head)
264 throws com.liferay.portal.SystemException;
265
266 public int countAll() throws com.liferay.portal.SystemException;
267 }