001 /** 002 * Copyright (c) 2000-2011 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.kernel.exception.SystemException; 018 import com.liferay.portal.service.persistence.BasePersistence; 019 020 import com.liferay.portlet.wiki.model.WikiPage; 021 022 /** 023 * The persistence interface for the wiki page service. 024 * 025 * <p> 026 * Caching information and settings can be found in <code>portal.properties</code> 027 * </p> 028 * 029 * @author Brian Wing Shun Chan 030 * @see WikiPagePersistenceImpl 031 * @see WikiPageUtil 032 * @generated 033 */ 034 public interface WikiPagePersistence extends BasePersistence<WikiPage> { 035 /* 036 * NOTE FOR DEVELOPERS: 037 * 038 * Never modify or reference this interface directly. Always use {@link WikiPageUtil} to access the wiki page persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 039 */ 040 041 /** 042 * Caches the wiki page in the entity cache if it is enabled. 043 * 044 * @param wikiPage the wiki page 045 */ 046 public void cacheResult(com.liferay.portlet.wiki.model.WikiPage wikiPage); 047 048 /** 049 * Caches the wiki pages in the entity cache if it is enabled. 050 * 051 * @param wikiPages the wiki pages 052 */ 053 public void cacheResult( 054 java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages); 055 056 /** 057 * Creates a new wiki page with the primary key. Does not add the wiki page to the database. 058 * 059 * @param pageId the primary key for the new wiki page 060 * @return the new wiki page 061 */ 062 public com.liferay.portlet.wiki.model.WikiPage create(long pageId); 063 064 /** 065 * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners. 066 * 067 * @param pageId the primary key of the wiki page 068 * @return the wiki page that was removed 069 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 070 * @throws SystemException if a system exception occurred 071 */ 072 public com.liferay.portlet.wiki.model.WikiPage remove(long pageId) 073 throws com.liferay.portal.kernel.exception.SystemException, 074 com.liferay.portlet.wiki.NoSuchPageException; 075 076 public com.liferay.portlet.wiki.model.WikiPage updateImpl( 077 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge) 078 throws com.liferay.portal.kernel.exception.SystemException; 079 080 /** 081 * Returns the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 082 * 083 * @param pageId the primary key of the wiki page 084 * @return the wiki page 085 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 086 * @throws SystemException if a system exception occurred 087 */ 088 public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId) 089 throws com.liferay.portal.kernel.exception.SystemException, 090 com.liferay.portlet.wiki.NoSuchPageException; 091 092 /** 093 * Returns the wiki page with the primary key or returns <code>null</code> if it could not be found. 094 * 095 * @param pageId the primary key of the wiki page 096 * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found 097 * @throws SystemException if a system exception occurred 098 */ 099 public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey( 100 long pageId) throws com.liferay.portal.kernel.exception.SystemException; 101 102 /** 103 * Returns all the wiki pages where uuid = ?. 104 * 105 * @param uuid the uuid 106 * @return the matching wiki pages 107 * @throws SystemException if a system exception occurred 108 */ 109 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 110 java.lang.String uuid) 111 throws com.liferay.portal.kernel.exception.SystemException; 112 113 /** 114 * Returns a range of all the wiki pages where uuid = ?. 115 * 116 * <p> 117 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 118 * </p> 119 * 120 * @param uuid the uuid 121 * @param start the lower bound of the range of wiki pages 122 * @param end the upper bound of the range of wiki pages (not inclusive) 123 * @return the range of matching wiki pages 124 * @throws SystemException if a system exception occurred 125 */ 126 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 127 java.lang.String uuid, int start, int end) 128 throws com.liferay.portal.kernel.exception.SystemException; 129 130 /** 131 * Returns an ordered range of all the wiki pages where uuid = ?. 132 * 133 * <p> 134 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 135 * </p> 136 * 137 * @param uuid the uuid 138 * @param start the lower bound of the range of wiki pages 139 * @param end the upper bound of the range of wiki pages (not inclusive) 140 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 141 * @return the ordered range of matching wiki pages 142 * @throws SystemException if a system exception occurred 143 */ 144 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 145 java.lang.String uuid, int start, int end, 146 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 147 throws com.liferay.portal.kernel.exception.SystemException; 148 149 /** 150 * Returns the first wiki page in the ordered set where uuid = ?. 151 * 152 * <p> 153 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 154 * </p> 155 * 156 * @param uuid the uuid 157 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 158 * @return the first matching wiki page 159 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 160 * @throws SystemException if a system exception occurred 161 */ 162 public com.liferay.portlet.wiki.model.WikiPage findByUuid_First( 163 java.lang.String uuid, 164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 165 throws com.liferay.portal.kernel.exception.SystemException, 166 com.liferay.portlet.wiki.NoSuchPageException; 167 168 /** 169 * Returns the last wiki page in the ordered set where uuid = ?. 170 * 171 * <p> 172 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 173 * </p> 174 * 175 * @param uuid the uuid 176 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 177 * @return the last matching wiki page 178 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 179 * @throws SystemException if a system exception occurred 180 */ 181 public com.liferay.portlet.wiki.model.WikiPage findByUuid_Last( 182 java.lang.String uuid, 183 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 184 throws com.liferay.portal.kernel.exception.SystemException, 185 com.liferay.portlet.wiki.NoSuchPageException; 186 187 /** 188 * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ?. 189 * 190 * <p> 191 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 192 * </p> 193 * 194 * @param pageId the primary key of the current wiki page 195 * @param uuid the uuid 196 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 197 * @return the previous, current, and next wiki page 198 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 199 * @throws SystemException if a system exception occurred 200 */ 201 public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext( 202 long pageId, java.lang.String uuid, 203 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 204 throws com.liferay.portal.kernel.exception.SystemException, 205 com.liferay.portlet.wiki.NoSuchPageException; 206 207 /** 208 * Returns the wiki page where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 209 * 210 * @param uuid the uuid 211 * @param groupId the group ID 212 * @return the matching wiki page 213 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 214 * @throws SystemException if a system exception occurred 215 */ 216 public com.liferay.portlet.wiki.model.WikiPage findByUUID_G( 217 java.lang.String uuid, long groupId) 218 throws com.liferay.portal.kernel.exception.SystemException, 219 com.liferay.portlet.wiki.NoSuchPageException; 220 221 /** 222 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 223 * 224 * @param uuid the uuid 225 * @param groupId the group ID 226 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 227 * @throws SystemException if a system exception occurred 228 */ 229 public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G( 230 java.lang.String uuid, long groupId) 231 throws com.liferay.portal.kernel.exception.SystemException; 232 233 /** 234 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 235 * 236 * @param uuid the uuid 237 * @param groupId the group ID 238 * @param retrieveFromCache whether to use the finder cache 239 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 240 * @throws SystemException if a system exception occurred 241 */ 242 public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G( 243 java.lang.String uuid, long groupId, boolean retrieveFromCache) 244 throws com.liferay.portal.kernel.exception.SystemException; 245 246 /** 247 * Returns all the wiki pages where nodeId = ?. 248 * 249 * @param nodeId the node ID 250 * @return the matching wiki pages 251 * @throws SystemException if a system exception occurred 252 */ 253 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 254 long nodeId) throws com.liferay.portal.kernel.exception.SystemException; 255 256 /** 257 * Returns a range of all the wiki pages where nodeId = ?. 258 * 259 * <p> 260 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 261 * </p> 262 * 263 * @param nodeId the node ID 264 * @param start the lower bound of the range of wiki pages 265 * @param end the upper bound of the range of wiki pages (not inclusive) 266 * @return the range of matching wiki pages 267 * @throws SystemException if a system exception occurred 268 */ 269 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 270 long nodeId, int start, int end) 271 throws com.liferay.portal.kernel.exception.SystemException; 272 273 /** 274 * Returns an ordered range of all the wiki pages where nodeId = ?. 275 * 276 * <p> 277 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 278 * </p> 279 * 280 * @param nodeId the node ID 281 * @param start the lower bound of the range of wiki pages 282 * @param end the upper bound of the range of wiki pages (not inclusive) 283 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 284 * @return the ordered range of matching wiki pages 285 * @throws SystemException if a system exception occurred 286 */ 287 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 288 long nodeId, int start, int end, 289 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 290 throws com.liferay.portal.kernel.exception.SystemException; 291 292 /** 293 * Returns the first wiki page in the ordered set where nodeId = ?. 294 * 295 * <p> 296 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 297 * </p> 298 * 299 * @param nodeId the node ID 300 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 301 * @return the first matching wiki page 302 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 303 * @throws SystemException if a system exception occurred 304 */ 305 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First( 306 long nodeId, 307 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 308 throws com.liferay.portal.kernel.exception.SystemException, 309 com.liferay.portlet.wiki.NoSuchPageException; 310 311 /** 312 * Returns the last wiki page in the ordered set where nodeId = ?. 313 * 314 * <p> 315 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 316 * </p> 317 * 318 * @param nodeId the node ID 319 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 320 * @return the last matching wiki page 321 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 322 * @throws SystemException if a system exception occurred 323 */ 324 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last( 325 long nodeId, 326 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 327 throws com.liferay.portal.kernel.exception.SystemException, 328 com.liferay.portlet.wiki.NoSuchPageException; 329 330 /** 331 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ?. 332 * 333 * <p> 334 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 335 * </p> 336 * 337 * @param pageId the primary key of the current wiki page 338 * @param nodeId the node ID 339 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 340 * @return the previous, current, and next wiki page 341 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 342 * @throws SystemException if a system exception occurred 343 */ 344 public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext( 345 long pageId, long nodeId, 346 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 347 throws com.liferay.portal.kernel.exception.SystemException, 348 com.liferay.portlet.wiki.NoSuchPageException; 349 350 /** 351 * Returns all the wiki pages where format = ?. 352 * 353 * @param format the format 354 * @return the matching wiki pages 355 * @throws SystemException if a system exception occurred 356 */ 357 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 358 java.lang.String format) 359 throws com.liferay.portal.kernel.exception.SystemException; 360 361 /** 362 * Returns a range of all the wiki pages where format = ?. 363 * 364 * <p> 365 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 366 * </p> 367 * 368 * @param format the format 369 * @param start the lower bound of the range of wiki pages 370 * @param end the upper bound of the range of wiki pages (not inclusive) 371 * @return the range of matching wiki pages 372 * @throws SystemException if a system exception occurred 373 */ 374 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 375 java.lang.String format, int start, int end) 376 throws com.liferay.portal.kernel.exception.SystemException; 377 378 /** 379 * Returns an ordered range of all the wiki pages where format = ?. 380 * 381 * <p> 382 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 383 * </p> 384 * 385 * @param format the format 386 * @param start the lower bound of the range of wiki pages 387 * @param end the upper bound of the range of wiki pages (not inclusive) 388 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 389 * @return the ordered range of matching wiki pages 390 * @throws SystemException if a system exception occurred 391 */ 392 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 393 java.lang.String format, int start, int end, 394 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 395 throws com.liferay.portal.kernel.exception.SystemException; 396 397 /** 398 * Returns the first wiki page in the ordered set where format = ?. 399 * 400 * <p> 401 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 402 * </p> 403 * 404 * @param format the format 405 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 406 * @return the first matching wiki page 407 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 408 * @throws SystemException if a system exception occurred 409 */ 410 public com.liferay.portlet.wiki.model.WikiPage findByFormat_First( 411 java.lang.String format, 412 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 413 throws com.liferay.portal.kernel.exception.SystemException, 414 com.liferay.portlet.wiki.NoSuchPageException; 415 416 /** 417 * Returns the last wiki page in the ordered set where format = ?. 418 * 419 * <p> 420 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 421 * </p> 422 * 423 * @param format the format 424 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 425 * @return the last matching wiki page 426 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 427 * @throws SystemException if a system exception occurred 428 */ 429 public com.liferay.portlet.wiki.model.WikiPage findByFormat_Last( 430 java.lang.String format, 431 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 432 throws com.liferay.portal.kernel.exception.SystemException, 433 com.liferay.portlet.wiki.NoSuchPageException; 434 435 /** 436 * Returns the wiki pages before and after the current wiki page in the ordered set where format = ?. 437 * 438 * <p> 439 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 440 * </p> 441 * 442 * @param pageId the primary key of the current wiki page 443 * @param format the format 444 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 445 * @return the previous, current, and next wiki page 446 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 447 * @throws SystemException if a system exception occurred 448 */ 449 public com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext( 450 long pageId, java.lang.String format, 451 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 452 throws com.liferay.portal.kernel.exception.SystemException, 453 com.liferay.portlet.wiki.NoSuchPageException; 454 455 /** 456 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ?. 457 * 458 * @param resourcePrimKey the resource prim key 459 * @param nodeId the node ID 460 * @return the matching wiki pages 461 * @throws SystemException if a system exception occurred 462 */ 463 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 464 long resourcePrimKey, long nodeId) 465 throws com.liferay.portal.kernel.exception.SystemException; 466 467 /** 468 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 469 * 470 * <p> 471 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 472 * </p> 473 * 474 * @param resourcePrimKey the resource prim key 475 * @param nodeId the node ID 476 * @param start the lower bound of the range of wiki pages 477 * @param end the upper bound of the range of wiki pages (not inclusive) 478 * @return the range of matching wiki pages 479 * @throws SystemException if a system exception occurred 480 */ 481 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 482 long resourcePrimKey, long nodeId, int start, int end) 483 throws com.liferay.portal.kernel.exception.SystemException; 484 485 /** 486 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 487 * 488 * <p> 489 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 490 * </p> 491 * 492 * @param resourcePrimKey the resource prim key 493 * @param nodeId the node ID 494 * @param start the lower bound of the range of wiki pages 495 * @param end the upper bound of the range of wiki pages (not inclusive) 496 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 497 * @return the ordered range of matching wiki pages 498 * @throws SystemException if a system exception occurred 499 */ 500 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 501 long resourcePrimKey, long nodeId, int start, int end, 502 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 503 throws com.liferay.portal.kernel.exception.SystemException; 504 505 /** 506 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 507 * 508 * <p> 509 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 510 * </p> 511 * 512 * @param resourcePrimKey the resource prim key 513 * @param nodeId the node ID 514 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 515 * @return the first matching wiki page 516 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 517 * @throws SystemException if a system exception occurred 518 */ 519 public com.liferay.portlet.wiki.model.WikiPage findByR_N_First( 520 long resourcePrimKey, long nodeId, 521 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 522 throws com.liferay.portal.kernel.exception.SystemException, 523 com.liferay.portlet.wiki.NoSuchPageException; 524 525 /** 526 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 527 * 528 * <p> 529 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 530 * </p> 531 * 532 * @param resourcePrimKey the resource prim key 533 * @param nodeId the node ID 534 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 535 * @return the last matching wiki page 536 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 537 * @throws SystemException if a system exception occurred 538 */ 539 public com.liferay.portlet.wiki.model.WikiPage findByR_N_Last( 540 long resourcePrimKey, long nodeId, 541 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 542 throws com.liferay.portal.kernel.exception.SystemException, 543 com.liferay.portlet.wiki.NoSuchPageException; 544 545 /** 546 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 547 * 548 * <p> 549 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 550 * </p> 551 * 552 * @param pageId the primary key of the current wiki page 553 * @param resourcePrimKey the resource prim key 554 * @param nodeId the node ID 555 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 556 * @return the previous, current, and next wiki page 557 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 558 * @throws SystemException if a system exception occurred 559 */ 560 public com.liferay.portlet.wiki.model.WikiPage[] findByR_N_PrevAndNext( 561 long pageId, long resourcePrimKey, long nodeId, 562 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 563 throws com.liferay.portal.kernel.exception.SystemException, 564 com.liferay.portlet.wiki.NoSuchPageException; 565 566 /** 567 * Returns all the wiki pages where nodeId = ? and title = ?. 568 * 569 * @param nodeId the node ID 570 * @param title the title 571 * @return the matching wiki pages 572 * @throws SystemException if a system exception occurred 573 */ 574 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 575 long nodeId, java.lang.String title) 576 throws com.liferay.portal.kernel.exception.SystemException; 577 578 /** 579 * Returns a range of all the wiki pages where nodeId = ? and title = ?. 580 * 581 * <p> 582 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 583 * </p> 584 * 585 * @param nodeId the node ID 586 * @param title the title 587 * @param start the lower bound of the range of wiki pages 588 * @param end the upper bound of the range of wiki pages (not inclusive) 589 * @return the range of matching wiki pages 590 * @throws SystemException if a system exception occurred 591 */ 592 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 593 long nodeId, java.lang.String title, int start, int end) 594 throws com.liferay.portal.kernel.exception.SystemException; 595 596 /** 597 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ?. 598 * 599 * <p> 600 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 601 * </p> 602 * 603 * @param nodeId the node ID 604 * @param title the title 605 * @param start the lower bound of the range of wiki pages 606 * @param end the upper bound of the range of wiki pages (not inclusive) 607 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 608 * @return the ordered range of matching wiki pages 609 * @throws SystemException if a system exception occurred 610 */ 611 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 612 long nodeId, java.lang.String title, int start, int end, 613 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 614 throws com.liferay.portal.kernel.exception.SystemException; 615 616 /** 617 * Returns the first wiki page in the ordered set where nodeId = ? and title = ?. 618 * 619 * <p> 620 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 621 * </p> 622 * 623 * @param nodeId the node ID 624 * @param title the title 625 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 626 * @return the first matching wiki page 627 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 628 * @throws SystemException if a system exception occurred 629 */ 630 public com.liferay.portlet.wiki.model.WikiPage findByN_T_First( 631 long nodeId, java.lang.String title, 632 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 633 throws com.liferay.portal.kernel.exception.SystemException, 634 com.liferay.portlet.wiki.NoSuchPageException; 635 636 /** 637 * Returns the last wiki page in the ordered set where nodeId = ? and title = ?. 638 * 639 * <p> 640 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 641 * </p> 642 * 643 * @param nodeId the node ID 644 * @param title the title 645 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 646 * @return the last matching wiki page 647 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 648 * @throws SystemException if a system exception occurred 649 */ 650 public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId, 651 java.lang.String title, 652 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 653 throws com.liferay.portal.kernel.exception.SystemException, 654 com.liferay.portlet.wiki.NoSuchPageException; 655 656 /** 657 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?. 658 * 659 * <p> 660 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 661 * </p> 662 * 663 * @param pageId the primary key of the current wiki page 664 * @param nodeId the node ID 665 * @param title the title 666 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 667 * @return the previous, current, and next wiki page 668 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 669 * @throws SystemException if a system exception occurred 670 */ 671 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext( 672 long pageId, long nodeId, java.lang.String title, 673 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 674 throws com.liferay.portal.kernel.exception.SystemException, 675 com.liferay.portlet.wiki.NoSuchPageException; 676 677 /** 678 * Returns all the wiki pages where nodeId = ? and head = ?. 679 * 680 * @param nodeId the node ID 681 * @param head the head 682 * @return the matching wiki pages 683 * @throws SystemException if a system exception occurred 684 */ 685 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 686 long nodeId, boolean head) 687 throws com.liferay.portal.kernel.exception.SystemException; 688 689 /** 690 * Returns a range of all the wiki pages where nodeId = ? and head = ?. 691 * 692 * <p> 693 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 694 * </p> 695 * 696 * @param nodeId the node ID 697 * @param head the head 698 * @param start the lower bound of the range of wiki pages 699 * @param end the upper bound of the range of wiki pages (not inclusive) 700 * @return the range of matching wiki pages 701 * @throws SystemException if a system exception occurred 702 */ 703 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 704 long nodeId, boolean head, int start, int end) 705 throws com.liferay.portal.kernel.exception.SystemException; 706 707 /** 708 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ?. 709 * 710 * <p> 711 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 712 * </p> 713 * 714 * @param nodeId the node ID 715 * @param head the head 716 * @param start the lower bound of the range of wiki pages 717 * @param end the upper bound of the range of wiki pages (not inclusive) 718 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 719 * @return the ordered range of matching wiki pages 720 * @throws SystemException if a system exception occurred 721 */ 722 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 723 long nodeId, boolean head, int start, int end, 724 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 725 throws com.liferay.portal.kernel.exception.SystemException; 726 727 /** 728 * Returns the first wiki page in the ordered set where nodeId = ? and head = ?. 729 * 730 * <p> 731 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 732 * </p> 733 * 734 * @param nodeId the node ID 735 * @param head the head 736 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 737 * @return the first matching wiki page 738 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 739 * @throws SystemException if a system exception occurred 740 */ 741 public com.liferay.portlet.wiki.model.WikiPage findByN_H_First( 742 long nodeId, boolean head, 743 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 744 throws com.liferay.portal.kernel.exception.SystemException, 745 com.liferay.portlet.wiki.NoSuchPageException; 746 747 /** 748 * Returns the last wiki page in the ordered set where nodeId = ? and head = ?. 749 * 750 * <p> 751 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 752 * </p> 753 * 754 * @param nodeId the node ID 755 * @param head the head 756 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 757 * @return the last matching wiki page 758 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 759 * @throws SystemException if a system exception occurred 760 */ 761 public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId, 762 boolean head, 763 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 764 throws com.liferay.portal.kernel.exception.SystemException, 765 com.liferay.portlet.wiki.NoSuchPageException; 766 767 /** 768 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?. 769 * 770 * <p> 771 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 772 * </p> 773 * 774 * @param pageId the primary key of the current wiki page 775 * @param nodeId the node ID 776 * @param head the head 777 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 778 * @return the previous, current, and next wiki page 779 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 780 * @throws SystemException if a system exception occurred 781 */ 782 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext( 783 long pageId, long nodeId, boolean head, 784 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 785 throws com.liferay.portal.kernel.exception.SystemException, 786 com.liferay.portlet.wiki.NoSuchPageException; 787 788 /** 789 * Returns all the wiki pages where nodeId = ? and parentTitle = ?. 790 * 791 * @param nodeId the node ID 792 * @param parentTitle the parent title 793 * @return the matching wiki pages 794 * @throws SystemException if a system exception occurred 795 */ 796 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 797 long nodeId, java.lang.String parentTitle) 798 throws com.liferay.portal.kernel.exception.SystemException; 799 800 /** 801 * Returns a range of all the wiki pages where nodeId = ? and parentTitle = ?. 802 * 803 * <p> 804 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 805 * </p> 806 * 807 * @param nodeId the node ID 808 * @param parentTitle the parent title 809 * @param start the lower bound of the range of wiki pages 810 * @param end the upper bound of the range of wiki pages (not inclusive) 811 * @return the range of matching wiki pages 812 * @throws SystemException if a system exception occurred 813 */ 814 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 815 long nodeId, java.lang.String parentTitle, int start, int end) 816 throws com.liferay.portal.kernel.exception.SystemException; 817 818 /** 819 * Returns an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?. 820 * 821 * <p> 822 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 823 * </p> 824 * 825 * @param nodeId the node ID 826 * @param parentTitle the parent title 827 * @param start the lower bound of the range of wiki pages 828 * @param end the upper bound of the range of wiki pages (not inclusive) 829 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 830 * @return the ordered range of matching wiki pages 831 * @throws SystemException if a system exception occurred 832 */ 833 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 834 long nodeId, java.lang.String parentTitle, int start, int end, 835 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 836 throws com.liferay.portal.kernel.exception.SystemException; 837 838 /** 839 * Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. 840 * 841 * <p> 842 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 843 * </p> 844 * 845 * @param nodeId the node ID 846 * @param parentTitle the parent title 847 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 848 * @return the first matching wiki page 849 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 850 * @throws SystemException if a system exception occurred 851 */ 852 public com.liferay.portlet.wiki.model.WikiPage findByN_P_First( 853 long nodeId, java.lang.String parentTitle, 854 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 855 throws com.liferay.portal.kernel.exception.SystemException, 856 com.liferay.portlet.wiki.NoSuchPageException; 857 858 /** 859 * Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. 860 * 861 * <p> 862 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 863 * </p> 864 * 865 * @param nodeId the node ID 866 * @param parentTitle the parent title 867 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 868 * @return the last matching wiki page 869 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 870 * @throws SystemException if a system exception occurred 871 */ 872 public com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(long nodeId, 873 java.lang.String parentTitle, 874 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 875 throws com.liferay.portal.kernel.exception.SystemException, 876 com.liferay.portlet.wiki.NoSuchPageException; 877 878 /** 879 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?. 880 * 881 * <p> 882 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 883 * </p> 884 * 885 * @param pageId the primary key of the current wiki page 886 * @param nodeId the node ID 887 * @param parentTitle the parent title 888 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 889 * @return the previous, current, and next wiki page 890 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 891 * @throws SystemException if a system exception occurred 892 */ 893 public com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext( 894 long pageId, long nodeId, java.lang.String parentTitle, 895 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 896 throws com.liferay.portal.kernel.exception.SystemException, 897 com.liferay.portlet.wiki.NoSuchPageException; 898 899 /** 900 * Returns all the wiki pages where nodeId = ? and redirectTitle = ?. 901 * 902 * @param nodeId the node ID 903 * @param redirectTitle the redirect title 904 * @return the matching wiki pages 905 * @throws SystemException if a system exception occurred 906 */ 907 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 908 long nodeId, java.lang.String redirectTitle) 909 throws com.liferay.portal.kernel.exception.SystemException; 910 911 /** 912 * Returns a range of all the wiki pages where nodeId = ? and redirectTitle = ?. 913 * 914 * <p> 915 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 916 * </p> 917 * 918 * @param nodeId the node ID 919 * @param redirectTitle the redirect title 920 * @param start the lower bound of the range of wiki pages 921 * @param end the upper bound of the range of wiki pages (not inclusive) 922 * @return the range of matching wiki pages 923 * @throws SystemException if a system exception occurred 924 */ 925 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 926 long nodeId, java.lang.String redirectTitle, int start, int end) 927 throws com.liferay.portal.kernel.exception.SystemException; 928 929 /** 930 * Returns an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?. 931 * 932 * <p> 933 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 934 * </p> 935 * 936 * @param nodeId the node ID 937 * @param redirectTitle the redirect title 938 * @param start the lower bound of the range of wiki pages 939 * @param end the upper bound of the range of wiki pages (not inclusive) 940 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 941 * @return the ordered range of matching wiki pages 942 * @throws SystemException if a system exception occurred 943 */ 944 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 945 long nodeId, java.lang.String redirectTitle, int start, int end, 946 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 947 throws com.liferay.portal.kernel.exception.SystemException; 948 949 /** 950 * Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 951 * 952 * <p> 953 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 954 * </p> 955 * 956 * @param nodeId the node ID 957 * @param redirectTitle the redirect title 958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 959 * @return the first matching wiki page 960 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 961 * @throws SystemException if a system exception occurred 962 */ 963 public com.liferay.portlet.wiki.model.WikiPage findByN_R_First( 964 long nodeId, java.lang.String redirectTitle, 965 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 966 throws com.liferay.portal.kernel.exception.SystemException, 967 com.liferay.portlet.wiki.NoSuchPageException; 968 969 /** 970 * Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 971 * 972 * <p> 973 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 974 * </p> 975 * 976 * @param nodeId the node ID 977 * @param redirectTitle the redirect title 978 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 979 * @return the last matching wiki page 980 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 981 * @throws SystemException if a system exception occurred 982 */ 983 public com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(long nodeId, 984 java.lang.String redirectTitle, 985 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 986 throws com.liferay.portal.kernel.exception.SystemException, 987 com.liferay.portlet.wiki.NoSuchPageException; 988 989 /** 990 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 991 * 992 * <p> 993 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 994 * </p> 995 * 996 * @param pageId the primary key of the current wiki page 997 * @param nodeId the node ID 998 * @param redirectTitle the redirect title 999 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1000 * @return the previous, current, and next wiki page 1001 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1002 * @throws SystemException if a system exception occurred 1003 */ 1004 public com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext( 1005 long pageId, long nodeId, java.lang.String redirectTitle, 1006 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1007 throws com.liferay.portal.kernel.exception.SystemException, 1008 com.liferay.portlet.wiki.NoSuchPageException; 1009 1010 /** 1011 * Returns all the wiki pages where nodeId = ? and status = ?. 1012 * 1013 * @param nodeId the node ID 1014 * @param status the status 1015 * @return the matching wiki pages 1016 * @throws SystemException if a system exception occurred 1017 */ 1018 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1019 long nodeId, int status) 1020 throws com.liferay.portal.kernel.exception.SystemException; 1021 1022 /** 1023 * Returns a range of all the wiki pages where nodeId = ? and status = ?. 1024 * 1025 * <p> 1026 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1027 * </p> 1028 * 1029 * @param nodeId the node ID 1030 * @param status the status 1031 * @param start the lower bound of the range of wiki pages 1032 * @param end the upper bound of the range of wiki pages (not inclusive) 1033 * @return the range of matching wiki pages 1034 * @throws SystemException if a system exception occurred 1035 */ 1036 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1037 long nodeId, int status, int start, int end) 1038 throws com.liferay.portal.kernel.exception.SystemException; 1039 1040 /** 1041 * Returns an ordered range of all the wiki pages where nodeId = ? and status = ?. 1042 * 1043 * <p> 1044 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1045 * </p> 1046 * 1047 * @param nodeId the node ID 1048 * @param status the status 1049 * @param start the lower bound of the range of wiki pages 1050 * @param end the upper bound of the range of wiki pages (not inclusive) 1051 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1052 * @return the ordered range of matching wiki pages 1053 * @throws SystemException if a system exception occurred 1054 */ 1055 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1056 long nodeId, int status, int start, int end, 1057 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1058 throws com.liferay.portal.kernel.exception.SystemException; 1059 1060 /** 1061 * Returns the first wiki page in the ordered set where nodeId = ? and status = ?. 1062 * 1063 * <p> 1064 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1065 * </p> 1066 * 1067 * @param nodeId the node ID 1068 * @param status the status 1069 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1070 * @return the first matching wiki page 1071 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1072 * @throws SystemException if a system exception occurred 1073 */ 1074 public com.liferay.portlet.wiki.model.WikiPage findByN_S_First( 1075 long nodeId, int status, 1076 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1077 throws com.liferay.portal.kernel.exception.SystemException, 1078 com.liferay.portlet.wiki.NoSuchPageException; 1079 1080 /** 1081 * Returns the last wiki page in the ordered set where nodeId = ? and status = ?. 1082 * 1083 * <p> 1084 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1085 * </p> 1086 * 1087 * @param nodeId the node ID 1088 * @param status the status 1089 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1090 * @return the last matching wiki page 1091 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1092 * @throws SystemException if a system exception occurred 1093 */ 1094 public com.liferay.portlet.wiki.model.WikiPage findByN_S_Last(long nodeId, 1095 int status, 1096 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1097 throws com.liferay.portal.kernel.exception.SystemException, 1098 com.liferay.portlet.wiki.NoSuchPageException; 1099 1100 /** 1101 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?. 1102 * 1103 * <p> 1104 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1105 * </p> 1106 * 1107 * @param pageId the primary key of the current wiki page 1108 * @param nodeId the node ID 1109 * @param status the status 1110 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1111 * @return the previous, current, and next wiki page 1112 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1113 * @throws SystemException if a system exception occurred 1114 */ 1115 public com.liferay.portlet.wiki.model.WikiPage[] findByN_S_PrevAndNext( 1116 long pageId, long nodeId, int status, 1117 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1118 throws com.liferay.portal.kernel.exception.SystemException, 1119 com.liferay.portlet.wiki.NoSuchPageException; 1120 1121 /** 1122 * Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 1123 * 1124 * @param resourcePrimKey the resource prim key 1125 * @param nodeId the node ID 1126 * @param version the version 1127 * @return the matching wiki page 1128 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1129 * @throws SystemException if a system exception occurred 1130 */ 1131 public com.liferay.portlet.wiki.model.WikiPage findByR_N_V( 1132 long resourcePrimKey, long nodeId, double version) 1133 throws com.liferay.portal.kernel.exception.SystemException, 1134 com.liferay.portlet.wiki.NoSuchPageException; 1135 1136 /** 1137 * Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1138 * 1139 * @param resourcePrimKey the resource prim key 1140 * @param nodeId the node ID 1141 * @param version the version 1142 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1143 * @throws SystemException if a system exception occurred 1144 */ 1145 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 1146 long resourcePrimKey, long nodeId, double version) 1147 throws com.liferay.portal.kernel.exception.SystemException; 1148 1149 /** 1150 * Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1151 * 1152 * @param resourcePrimKey the resource prim key 1153 * @param nodeId the node ID 1154 * @param version the version 1155 * @param retrieveFromCache whether to use the finder cache 1156 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1157 * @throws SystemException if a system exception occurred 1158 */ 1159 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 1160 long resourcePrimKey, long nodeId, double version, 1161 boolean retrieveFromCache) 1162 throws com.liferay.portal.kernel.exception.SystemException; 1163 1164 /** 1165 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 1166 * 1167 * @param resourcePrimKey the resource prim key 1168 * @param nodeId the node ID 1169 * @param status the status 1170 * @return the matching wiki pages 1171 * @throws SystemException if a system exception occurred 1172 */ 1173 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 1174 long resourcePrimKey, long nodeId, int status) 1175 throws com.liferay.portal.kernel.exception.SystemException; 1176 1177 /** 1178 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 1179 * 1180 * <p> 1181 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1182 * </p> 1183 * 1184 * @param resourcePrimKey the resource prim key 1185 * @param nodeId the node ID 1186 * @param status the status 1187 * @param start the lower bound of the range of wiki pages 1188 * @param end the upper bound of the range of wiki pages (not inclusive) 1189 * @return the range of matching wiki pages 1190 * @throws SystemException if a system exception occurred 1191 */ 1192 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 1193 long resourcePrimKey, long nodeId, int status, int start, int end) 1194 throws com.liferay.portal.kernel.exception.SystemException; 1195 1196 /** 1197 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 1198 * 1199 * <p> 1200 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1201 * </p> 1202 * 1203 * @param resourcePrimKey the resource prim key 1204 * @param nodeId the node ID 1205 * @param status the status 1206 * @param start the lower bound of the range of wiki pages 1207 * @param end the upper bound of the range of wiki pages (not inclusive) 1208 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1209 * @return the ordered range of matching wiki pages 1210 * @throws SystemException if a system exception occurred 1211 */ 1212 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 1213 long resourcePrimKey, long nodeId, int status, int start, int end, 1214 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1215 throws com.liferay.portal.kernel.exception.SystemException; 1216 1217 /** 1218 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1219 * 1220 * <p> 1221 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1222 * </p> 1223 * 1224 * @param resourcePrimKey the resource prim key 1225 * @param nodeId the node ID 1226 * @param status the status 1227 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1228 * @return the first matching wiki page 1229 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1230 * @throws SystemException if a system exception occurred 1231 */ 1232 public com.liferay.portlet.wiki.model.WikiPage findByR_N_S_First( 1233 long resourcePrimKey, long nodeId, int status, 1234 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1235 throws com.liferay.portal.kernel.exception.SystemException, 1236 com.liferay.portlet.wiki.NoSuchPageException; 1237 1238 /** 1239 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1240 * 1241 * <p> 1242 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1243 * </p> 1244 * 1245 * @param resourcePrimKey the resource prim key 1246 * @param nodeId the node ID 1247 * @param status the status 1248 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1249 * @return the last matching wiki page 1250 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1251 * @throws SystemException if a system exception occurred 1252 */ 1253 public com.liferay.portlet.wiki.model.WikiPage findByR_N_S_Last( 1254 long resourcePrimKey, long nodeId, int status, 1255 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1256 throws com.liferay.portal.kernel.exception.SystemException, 1257 com.liferay.portlet.wiki.NoSuchPageException; 1258 1259 /** 1260 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1261 * 1262 * <p> 1263 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1264 * </p> 1265 * 1266 * @param pageId the primary key of the current wiki page 1267 * @param resourcePrimKey the resource prim key 1268 * @param nodeId the node ID 1269 * @param status the status 1270 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1271 * @return the previous, current, and next wiki page 1272 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1273 * @throws SystemException if a system exception occurred 1274 */ 1275 public com.liferay.portlet.wiki.model.WikiPage[] findByR_N_S_PrevAndNext( 1276 long pageId, long resourcePrimKey, long nodeId, int status, 1277 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1278 throws com.liferay.portal.kernel.exception.SystemException, 1279 com.liferay.portlet.wiki.NoSuchPageException; 1280 1281 /** 1282 * Returns all the wiki pages where userId = ? and nodeId = ? and status = ?. 1283 * 1284 * @param userId the user ID 1285 * @param nodeId the node ID 1286 * @param status the status 1287 * @return the matching wiki pages 1288 * @throws SystemException if a system exception occurred 1289 */ 1290 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 1291 long userId, long nodeId, int status) 1292 throws com.liferay.portal.kernel.exception.SystemException; 1293 1294 /** 1295 * Returns a range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 1296 * 1297 * <p> 1298 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1299 * </p> 1300 * 1301 * @param userId the user ID 1302 * @param nodeId the node ID 1303 * @param status the status 1304 * @param start the lower bound of the range of wiki pages 1305 * @param end the upper bound of the range of wiki pages (not inclusive) 1306 * @return the range of matching wiki pages 1307 * @throws SystemException if a system exception occurred 1308 */ 1309 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 1310 long userId, long nodeId, int status, int start, int end) 1311 throws com.liferay.portal.kernel.exception.SystemException; 1312 1313 /** 1314 * Returns an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 1315 * 1316 * <p> 1317 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1318 * </p> 1319 * 1320 * @param userId the user ID 1321 * @param nodeId the node ID 1322 * @param status the status 1323 * @param start the lower bound of the range of wiki pages 1324 * @param end the upper bound of the range of wiki pages (not inclusive) 1325 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1326 * @return the ordered range of matching wiki pages 1327 * @throws SystemException if a system exception occurred 1328 */ 1329 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 1330 long userId, long nodeId, int status, int start, int end, 1331 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1332 throws com.liferay.portal.kernel.exception.SystemException; 1333 1334 /** 1335 * Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1336 * 1337 * <p> 1338 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1339 * </p> 1340 * 1341 * @param userId the user ID 1342 * @param nodeId the node ID 1343 * @param status the status 1344 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1345 * @return the first matching wiki page 1346 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1347 * @throws SystemException if a system exception occurred 1348 */ 1349 public com.liferay.portlet.wiki.model.WikiPage findByU_N_S_First( 1350 long userId, long nodeId, int status, 1351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1352 throws com.liferay.portal.kernel.exception.SystemException, 1353 com.liferay.portlet.wiki.NoSuchPageException; 1354 1355 /** 1356 * Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1357 * 1358 * <p> 1359 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1360 * </p> 1361 * 1362 * @param userId the user ID 1363 * @param nodeId the node ID 1364 * @param status the status 1365 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1366 * @return the last matching wiki page 1367 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1368 * @throws SystemException if a system exception occurred 1369 */ 1370 public com.liferay.portlet.wiki.model.WikiPage findByU_N_S_Last( 1371 long userId, long nodeId, int status, 1372 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1373 throws com.liferay.portal.kernel.exception.SystemException, 1374 com.liferay.portlet.wiki.NoSuchPageException; 1375 1376 /** 1377 * Returns the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1378 * 1379 * <p> 1380 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1381 * </p> 1382 * 1383 * @param pageId the primary key of the current wiki page 1384 * @param userId the user ID 1385 * @param nodeId the node ID 1386 * @param status the status 1387 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1388 * @return the previous, current, and next wiki page 1389 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1390 * @throws SystemException if a system exception occurred 1391 */ 1392 public com.liferay.portlet.wiki.model.WikiPage[] findByU_N_S_PrevAndNext( 1393 long pageId, long userId, long nodeId, int status, 1394 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1395 throws com.liferay.portal.kernel.exception.SystemException, 1396 com.liferay.portlet.wiki.NoSuchPageException; 1397 1398 /** 1399 * Returns the wiki page where nodeId = ? and title = ? and version = ? or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 1400 * 1401 * @param nodeId the node ID 1402 * @param title the title 1403 * @param version the version 1404 * @return the matching wiki page 1405 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1406 * @throws SystemException if a system exception occurred 1407 */ 1408 public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId, 1409 java.lang.String title, double version) 1410 throws com.liferay.portal.kernel.exception.SystemException, 1411 com.liferay.portlet.wiki.NoSuchPageException; 1412 1413 /** 1414 * Returns the wiki page where nodeId = ? and title = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1415 * 1416 * @param nodeId the node ID 1417 * @param title the title 1418 * @param version the version 1419 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1420 * @throws SystemException if a system exception occurred 1421 */ 1422 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId, 1423 java.lang.String title, double version) 1424 throws com.liferay.portal.kernel.exception.SystemException; 1425 1426 /** 1427 * Returns the wiki page where nodeId = ? and title = ? and version = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1428 * 1429 * @param nodeId the node ID 1430 * @param title the title 1431 * @param version the version 1432 * @param retrieveFromCache whether to use the finder cache 1433 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1434 * @throws SystemException if a system exception occurred 1435 */ 1436 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId, 1437 java.lang.String title, double version, boolean retrieveFromCache) 1438 throws com.liferay.portal.kernel.exception.SystemException; 1439 1440 /** 1441 * Returns all the wiki pages where nodeId = ? and title = ? and head = ?. 1442 * 1443 * @param nodeId the node ID 1444 * @param title the title 1445 * @param head the head 1446 * @return the matching wiki pages 1447 * @throws SystemException if a system exception occurred 1448 */ 1449 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 1450 long nodeId, java.lang.String title, boolean head) 1451 throws com.liferay.portal.kernel.exception.SystemException; 1452 1453 /** 1454 * Returns a range of all the wiki pages where nodeId = ? and title = ? and head = ?. 1455 * 1456 * <p> 1457 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1458 * </p> 1459 * 1460 * @param nodeId the node ID 1461 * @param title the title 1462 * @param head the head 1463 * @param start the lower bound of the range of wiki pages 1464 * @param end the upper bound of the range of wiki pages (not inclusive) 1465 * @return the range of matching wiki pages 1466 * @throws SystemException if a system exception occurred 1467 */ 1468 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 1469 long nodeId, java.lang.String title, boolean head, int start, int end) 1470 throws com.liferay.portal.kernel.exception.SystemException; 1471 1472 /** 1473 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?. 1474 * 1475 * <p> 1476 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1477 * </p> 1478 * 1479 * @param nodeId the node ID 1480 * @param title the title 1481 * @param head the head 1482 * @param start the lower bound of the range of wiki pages 1483 * @param end the upper bound of the range of wiki pages (not inclusive) 1484 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1485 * @return the ordered range of matching wiki pages 1486 * @throws SystemException if a system exception occurred 1487 */ 1488 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 1489 long nodeId, java.lang.String title, boolean head, int start, int end, 1490 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1491 throws com.liferay.portal.kernel.exception.SystemException; 1492 1493 /** 1494 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 1495 * 1496 * <p> 1497 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1498 * </p> 1499 * 1500 * @param nodeId the node ID 1501 * @param title the title 1502 * @param head the head 1503 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1504 * @return the first matching wiki page 1505 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1506 * @throws SystemException if a system exception occurred 1507 */ 1508 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First( 1509 long nodeId, java.lang.String title, boolean head, 1510 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1511 throws com.liferay.portal.kernel.exception.SystemException, 1512 com.liferay.portlet.wiki.NoSuchPageException; 1513 1514 /** 1515 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 1516 * 1517 * <p> 1518 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1519 * </p> 1520 * 1521 * @param nodeId the node ID 1522 * @param title the title 1523 * @param head the head 1524 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1525 * @return the last matching wiki page 1526 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1527 * @throws SystemException if a system exception occurred 1528 */ 1529 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last( 1530 long nodeId, java.lang.String title, boolean head, 1531 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1532 throws com.liferay.portal.kernel.exception.SystemException, 1533 com.liferay.portlet.wiki.NoSuchPageException; 1534 1535 /** 1536 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 1537 * 1538 * <p> 1539 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1540 * </p> 1541 * 1542 * @param pageId the primary key of the current wiki page 1543 * @param nodeId the node ID 1544 * @param title the title 1545 * @param head the head 1546 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1547 * @return the previous, current, and next wiki page 1548 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1549 * @throws SystemException if a system exception occurred 1550 */ 1551 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext( 1552 long pageId, long nodeId, java.lang.String title, boolean head, 1553 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1554 throws com.liferay.portal.kernel.exception.SystemException, 1555 com.liferay.portlet.wiki.NoSuchPageException; 1556 1557 /** 1558 * Returns all the wiki pages where nodeId = ? and title = ? and status = ?. 1559 * 1560 * @param nodeId the node ID 1561 * @param title the title 1562 * @param status the status 1563 * @return the matching wiki pages 1564 * @throws SystemException if a system exception occurred 1565 */ 1566 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 1567 long nodeId, java.lang.String title, int status) 1568 throws com.liferay.portal.kernel.exception.SystemException; 1569 1570 /** 1571 * Returns a range of all the wiki pages where nodeId = ? and title = ? and status = ?. 1572 * 1573 * <p> 1574 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1575 * </p> 1576 * 1577 * @param nodeId the node ID 1578 * @param title the title 1579 * @param status the status 1580 * @param start the lower bound of the range of wiki pages 1581 * @param end the upper bound of the range of wiki pages (not inclusive) 1582 * @return the range of matching wiki pages 1583 * @throws SystemException if a system exception occurred 1584 */ 1585 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 1586 long nodeId, java.lang.String title, int status, int start, int end) 1587 throws com.liferay.portal.kernel.exception.SystemException; 1588 1589 /** 1590 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?. 1591 * 1592 * <p> 1593 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1594 * </p> 1595 * 1596 * @param nodeId the node ID 1597 * @param title the title 1598 * @param status the status 1599 * @param start the lower bound of the range of wiki pages 1600 * @param end the upper bound of the range of wiki pages (not inclusive) 1601 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1602 * @return the ordered range of matching wiki pages 1603 * @throws SystemException if a system exception occurred 1604 */ 1605 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 1606 long nodeId, java.lang.String title, int status, int start, int end, 1607 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1608 throws com.liferay.portal.kernel.exception.SystemException; 1609 1610 /** 1611 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 1612 * 1613 * <p> 1614 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1615 * </p> 1616 * 1617 * @param nodeId the node ID 1618 * @param title the title 1619 * @param status the status 1620 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1621 * @return the first matching wiki page 1622 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1623 * @throws SystemException if a system exception occurred 1624 */ 1625 public com.liferay.portlet.wiki.model.WikiPage findByN_T_S_First( 1626 long nodeId, java.lang.String title, int status, 1627 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1628 throws com.liferay.portal.kernel.exception.SystemException, 1629 com.liferay.portlet.wiki.NoSuchPageException; 1630 1631 /** 1632 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 1633 * 1634 * <p> 1635 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1636 * </p> 1637 * 1638 * @param nodeId the node ID 1639 * @param title the title 1640 * @param status the status 1641 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1642 * @return the last matching wiki page 1643 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1644 * @throws SystemException if a system exception occurred 1645 */ 1646 public com.liferay.portlet.wiki.model.WikiPage findByN_T_S_Last( 1647 long nodeId, java.lang.String title, int status, 1648 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1649 throws com.liferay.portal.kernel.exception.SystemException, 1650 com.liferay.portlet.wiki.NoSuchPageException; 1651 1652 /** 1653 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 1654 * 1655 * <p> 1656 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1657 * </p> 1658 * 1659 * @param pageId the primary key of the current wiki page 1660 * @param nodeId the node ID 1661 * @param title the title 1662 * @param status the status 1663 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1664 * @return the previous, current, and next wiki page 1665 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1666 * @throws SystemException if a system exception occurred 1667 */ 1668 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_S_PrevAndNext( 1669 long pageId, long nodeId, java.lang.String title, int status, 1670 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1671 throws com.liferay.portal.kernel.exception.SystemException, 1672 com.liferay.portlet.wiki.NoSuchPageException; 1673 1674 /** 1675 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 1676 * 1677 * @param nodeId the node ID 1678 * @param head the head 1679 * @param parentTitle the parent title 1680 * @return the matching wiki pages 1681 * @throws SystemException if a system exception occurred 1682 */ 1683 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 1684 long nodeId, boolean head, java.lang.String parentTitle) 1685 throws com.liferay.portal.kernel.exception.SystemException; 1686 1687 /** 1688 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 1689 * 1690 * <p> 1691 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1692 * </p> 1693 * 1694 * @param nodeId the node ID 1695 * @param head the head 1696 * @param parentTitle the parent title 1697 * @param start the lower bound of the range of wiki pages 1698 * @param end the upper bound of the range of wiki pages (not inclusive) 1699 * @return the range of matching wiki pages 1700 * @throws SystemException if a system exception occurred 1701 */ 1702 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 1703 long nodeId, boolean head, java.lang.String parentTitle, int start, 1704 int end) throws com.liferay.portal.kernel.exception.SystemException; 1705 1706 /** 1707 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 1708 * 1709 * <p> 1710 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1711 * </p> 1712 * 1713 * @param nodeId the node ID 1714 * @param head the head 1715 * @param parentTitle the parent title 1716 * @param start the lower bound of the range of wiki pages 1717 * @param end the upper bound of the range of wiki pages (not inclusive) 1718 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1719 * @return the ordered range of matching wiki pages 1720 * @throws SystemException if a system exception occurred 1721 */ 1722 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 1723 long nodeId, boolean head, java.lang.String parentTitle, int start, 1724 int end, 1725 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1726 throws com.liferay.portal.kernel.exception.SystemException; 1727 1728 /** 1729 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 1730 * 1731 * <p> 1732 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1733 * </p> 1734 * 1735 * @param nodeId the node ID 1736 * @param head the head 1737 * @param parentTitle the parent title 1738 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1739 * @return the first matching wiki page 1740 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1741 * @throws SystemException if a system exception occurred 1742 */ 1743 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First( 1744 long nodeId, boolean head, java.lang.String parentTitle, 1745 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1746 throws com.liferay.portal.kernel.exception.SystemException, 1747 com.liferay.portlet.wiki.NoSuchPageException; 1748 1749 /** 1750 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 1751 * 1752 * <p> 1753 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1754 * </p> 1755 * 1756 * @param nodeId the node ID 1757 * @param head the head 1758 * @param parentTitle the parent title 1759 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1760 * @return the last matching wiki page 1761 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1762 * @throws SystemException if a system exception occurred 1763 */ 1764 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last( 1765 long nodeId, boolean head, java.lang.String parentTitle, 1766 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1767 throws com.liferay.portal.kernel.exception.SystemException, 1768 com.liferay.portlet.wiki.NoSuchPageException; 1769 1770 /** 1771 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 1772 * 1773 * <p> 1774 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1775 * </p> 1776 * 1777 * @param pageId the primary key of the current wiki page 1778 * @param nodeId the node ID 1779 * @param head the head 1780 * @param parentTitle the parent title 1781 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1782 * @return the previous, current, and next wiki page 1783 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1784 * @throws SystemException if a system exception occurred 1785 */ 1786 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext( 1787 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 1788 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1789 throws com.liferay.portal.kernel.exception.SystemException, 1790 com.liferay.portlet.wiki.NoSuchPageException; 1791 1792 /** 1793 * Returns all the wiki pages where nodeId = ? and head = ? and status = ?. 1794 * 1795 * @param nodeId the node ID 1796 * @param head the head 1797 * @param status the status 1798 * @return the matching wiki pages 1799 * @throws SystemException if a system exception occurred 1800 */ 1801 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 1802 long nodeId, boolean head, int status) 1803 throws com.liferay.portal.kernel.exception.SystemException; 1804 1805 /** 1806 * Returns a range of all the wiki pages where nodeId = ? and head = ? and status = ?. 1807 * 1808 * <p> 1809 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1810 * </p> 1811 * 1812 * @param nodeId the node ID 1813 * @param head the head 1814 * @param status the status 1815 * @param start the lower bound of the range of wiki pages 1816 * @param end the upper bound of the range of wiki pages (not inclusive) 1817 * @return the range of matching wiki pages 1818 * @throws SystemException if a system exception occurred 1819 */ 1820 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 1821 long nodeId, boolean head, int status, int start, int end) 1822 throws com.liferay.portal.kernel.exception.SystemException; 1823 1824 /** 1825 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?. 1826 * 1827 * <p> 1828 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1829 * </p> 1830 * 1831 * @param nodeId the node ID 1832 * @param head the head 1833 * @param status the status 1834 * @param start the lower bound of the range of wiki pages 1835 * @param end the upper bound of the range of wiki pages (not inclusive) 1836 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1837 * @return the ordered range of matching wiki pages 1838 * @throws SystemException if a system exception occurred 1839 */ 1840 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 1841 long nodeId, boolean head, int status, int start, int end, 1842 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1843 throws com.liferay.portal.kernel.exception.SystemException; 1844 1845 /** 1846 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 1847 * 1848 * <p> 1849 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1850 * </p> 1851 * 1852 * @param nodeId the node ID 1853 * @param head the head 1854 * @param status the status 1855 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1856 * @return the first matching wiki page 1857 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1858 * @throws SystemException if a system exception occurred 1859 */ 1860 public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First( 1861 long nodeId, boolean head, int status, 1862 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1863 throws com.liferay.portal.kernel.exception.SystemException, 1864 com.liferay.portlet.wiki.NoSuchPageException; 1865 1866 /** 1867 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 1868 * 1869 * <p> 1870 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1871 * </p> 1872 * 1873 * @param nodeId the node ID 1874 * @param head the head 1875 * @param status the status 1876 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1877 * @return the last matching wiki page 1878 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1879 * @throws SystemException if a system exception occurred 1880 */ 1881 public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last( 1882 long nodeId, boolean head, int status, 1883 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1884 throws com.liferay.portal.kernel.exception.SystemException, 1885 com.liferay.portlet.wiki.NoSuchPageException; 1886 1887 /** 1888 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 1889 * 1890 * <p> 1891 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1892 * </p> 1893 * 1894 * @param pageId the primary key of the current wiki page 1895 * @param nodeId the node ID 1896 * @param head the head 1897 * @param status the status 1898 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1899 * @return the previous, current, and next wiki page 1900 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1901 * @throws SystemException if a system exception occurred 1902 */ 1903 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext( 1904 long pageId, long nodeId, boolean head, int status, 1905 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1906 throws com.liferay.portal.kernel.exception.SystemException, 1907 com.liferay.portlet.wiki.NoSuchPageException; 1908 1909 /** 1910 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 1911 * 1912 * @param nodeId the node ID 1913 * @param head the head 1914 * @param parentTitle the parent title 1915 * @param status the status 1916 * @return the matching wiki pages 1917 * @throws SystemException if a system exception occurred 1918 */ 1919 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 1920 long nodeId, boolean head, java.lang.String parentTitle, int status) 1921 throws com.liferay.portal.kernel.exception.SystemException; 1922 1923 /** 1924 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 1925 * 1926 * <p> 1927 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1928 * </p> 1929 * 1930 * @param nodeId the node ID 1931 * @param head the head 1932 * @param parentTitle the parent title 1933 * @param status the status 1934 * @param start the lower bound of the range of wiki pages 1935 * @param end the upper bound of the range of wiki pages (not inclusive) 1936 * @return the range of matching wiki pages 1937 * @throws SystemException if a system exception occurred 1938 */ 1939 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 1940 long nodeId, boolean head, java.lang.String parentTitle, int status, 1941 int start, int end) 1942 throws com.liferay.portal.kernel.exception.SystemException; 1943 1944 /** 1945 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 1946 * 1947 * <p> 1948 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1949 * </p> 1950 * 1951 * @param nodeId the node ID 1952 * @param head the head 1953 * @param parentTitle the parent title 1954 * @param status the status 1955 * @param start the lower bound of the range of wiki pages 1956 * @param end the upper bound of the range of wiki pages (not inclusive) 1957 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1958 * @return the ordered range of matching wiki pages 1959 * @throws SystemException if a system exception occurred 1960 */ 1961 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 1962 long nodeId, boolean head, java.lang.String parentTitle, int status, 1963 int start, int end, 1964 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1965 throws com.liferay.portal.kernel.exception.SystemException; 1966 1967 /** 1968 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 1969 * 1970 * <p> 1971 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1972 * </p> 1973 * 1974 * @param nodeId the node ID 1975 * @param head the head 1976 * @param parentTitle the parent title 1977 * @param status the status 1978 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1979 * @return the first matching wiki page 1980 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1981 * @throws SystemException if a system exception occurred 1982 */ 1983 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First( 1984 long nodeId, boolean head, java.lang.String parentTitle, int status, 1985 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1986 throws com.liferay.portal.kernel.exception.SystemException, 1987 com.liferay.portlet.wiki.NoSuchPageException; 1988 1989 /** 1990 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 1991 * 1992 * <p> 1993 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1994 * </p> 1995 * 1996 * @param nodeId the node ID 1997 * @param head the head 1998 * @param parentTitle the parent title 1999 * @param status the status 2000 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2001 * @return the last matching wiki page 2002 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2003 * @throws SystemException if a system exception occurred 2004 */ 2005 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last( 2006 long nodeId, boolean head, java.lang.String parentTitle, int status, 2007 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2008 throws com.liferay.portal.kernel.exception.SystemException, 2009 com.liferay.portlet.wiki.NoSuchPageException; 2010 2011 /** 2012 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2013 * 2014 * <p> 2015 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2016 * </p> 2017 * 2018 * @param pageId the primary key of the current wiki page 2019 * @param nodeId the node ID 2020 * @param head the head 2021 * @param parentTitle the parent title 2022 * @param status the status 2023 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2024 * @return the previous, current, and next wiki page 2025 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2026 * @throws SystemException if a system exception occurred 2027 */ 2028 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext( 2029 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 2030 int status, 2031 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2032 throws com.liferay.portal.kernel.exception.SystemException, 2033 com.liferay.portlet.wiki.NoSuchPageException; 2034 2035 /** 2036 * Returns all the wiki pages. 2037 * 2038 * @return the wiki pages 2039 * @throws SystemException if a system exception occurred 2040 */ 2041 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll() 2042 throws com.liferay.portal.kernel.exception.SystemException; 2043 2044 /** 2045 * Returns a range of all the wiki pages. 2046 * 2047 * <p> 2048 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2049 * </p> 2050 * 2051 * @param start the lower bound of the range of wiki pages 2052 * @param end the upper bound of the range of wiki pages (not inclusive) 2053 * @return the range of wiki pages 2054 * @throws SystemException if a system exception occurred 2055 */ 2056 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 2057 int start, int end) 2058 throws com.liferay.portal.kernel.exception.SystemException; 2059 2060 /** 2061 * Returns an ordered range of all the wiki pages. 2062 * 2063 * <p> 2064 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2065 * </p> 2066 * 2067 * @param start the lower bound of the range of wiki pages 2068 * @param end the upper bound of the range of wiki pages (not inclusive) 2069 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2070 * @return the ordered range of wiki pages 2071 * @throws SystemException if a system exception occurred 2072 */ 2073 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 2074 int start, int end, 2075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2076 throws com.liferay.portal.kernel.exception.SystemException; 2077 2078 /** 2079 * Removes all the wiki pages where uuid = ? from the database. 2080 * 2081 * @param uuid the uuid 2082 * @throws SystemException if a system exception occurred 2083 */ 2084 public void removeByUuid(java.lang.String uuid) 2085 throws com.liferay.portal.kernel.exception.SystemException; 2086 2087 /** 2088 * Removes the wiki page where uuid = ? and groupId = ? from the database. 2089 * 2090 * @param uuid the uuid 2091 * @param groupId the group ID 2092 * @throws SystemException if a system exception occurred 2093 */ 2094 public void removeByUUID_G(java.lang.String uuid, long groupId) 2095 throws com.liferay.portal.kernel.exception.SystemException, 2096 com.liferay.portlet.wiki.NoSuchPageException; 2097 2098 /** 2099 * Removes all the wiki pages where nodeId = ? from the database. 2100 * 2101 * @param nodeId the node ID 2102 * @throws SystemException if a system exception occurred 2103 */ 2104 public void removeByNodeId(long nodeId) 2105 throws com.liferay.portal.kernel.exception.SystemException; 2106 2107 /** 2108 * Removes all the wiki pages where format = ? from the database. 2109 * 2110 * @param format the format 2111 * @throws SystemException if a system exception occurred 2112 */ 2113 public void removeByFormat(java.lang.String format) 2114 throws com.liferay.portal.kernel.exception.SystemException; 2115 2116 /** 2117 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? from the database. 2118 * 2119 * @param resourcePrimKey the resource prim key 2120 * @param nodeId the node ID 2121 * @throws SystemException if a system exception occurred 2122 */ 2123 public void removeByR_N(long resourcePrimKey, long nodeId) 2124 throws com.liferay.portal.kernel.exception.SystemException; 2125 2126 /** 2127 * Removes all the wiki pages where nodeId = ? and title = ? from the database. 2128 * 2129 * @param nodeId the node ID 2130 * @param title the title 2131 * @throws SystemException if a system exception occurred 2132 */ 2133 public void removeByN_T(long nodeId, java.lang.String title) 2134 throws com.liferay.portal.kernel.exception.SystemException; 2135 2136 /** 2137 * Removes all the wiki pages where nodeId = ? and head = ? from the database. 2138 * 2139 * @param nodeId the node ID 2140 * @param head the head 2141 * @throws SystemException if a system exception occurred 2142 */ 2143 public void removeByN_H(long nodeId, boolean head) 2144 throws com.liferay.portal.kernel.exception.SystemException; 2145 2146 /** 2147 * Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database. 2148 * 2149 * @param nodeId the node ID 2150 * @param parentTitle the parent title 2151 * @throws SystemException if a system exception occurred 2152 */ 2153 public void removeByN_P(long nodeId, java.lang.String parentTitle) 2154 throws com.liferay.portal.kernel.exception.SystemException; 2155 2156 /** 2157 * Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database. 2158 * 2159 * @param nodeId the node ID 2160 * @param redirectTitle the redirect title 2161 * @throws SystemException if a system exception occurred 2162 */ 2163 public void removeByN_R(long nodeId, java.lang.String redirectTitle) 2164 throws com.liferay.portal.kernel.exception.SystemException; 2165 2166 /** 2167 * Removes all the wiki pages where nodeId = ? and status = ? from the database. 2168 * 2169 * @param nodeId the node ID 2170 * @param status the status 2171 * @throws SystemException if a system exception occurred 2172 */ 2173 public void removeByN_S(long nodeId, int status) 2174 throws com.liferay.portal.kernel.exception.SystemException; 2175 2176 /** 2177 * Removes the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? from the database. 2178 * 2179 * @param resourcePrimKey the resource prim key 2180 * @param nodeId the node ID 2181 * @param version the version 2182 * @throws SystemException if a system exception occurred 2183 */ 2184 public void removeByR_N_V(long resourcePrimKey, long nodeId, double version) 2185 throws com.liferay.portal.kernel.exception.SystemException, 2186 com.liferay.portlet.wiki.NoSuchPageException; 2187 2188 /** 2189 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ? from the database. 2190 * 2191 * @param resourcePrimKey the resource prim key 2192 * @param nodeId the node ID 2193 * @param status the status 2194 * @throws SystemException if a system exception occurred 2195 */ 2196 public void removeByR_N_S(long resourcePrimKey, long nodeId, int status) 2197 throws com.liferay.portal.kernel.exception.SystemException; 2198 2199 /** 2200 * Removes all the wiki pages where userId = ? and nodeId = ? and status = ? from the database. 2201 * 2202 * @param userId the user ID 2203 * @param nodeId the node ID 2204 * @param status the status 2205 * @throws SystemException if a system exception occurred 2206 */ 2207 public void removeByU_N_S(long userId, long nodeId, int status) 2208 throws com.liferay.portal.kernel.exception.SystemException; 2209 2210 /** 2211 * Removes the wiki page where nodeId = ? and title = ? and version = ? from the database. 2212 * 2213 * @param nodeId the node ID 2214 * @param title the title 2215 * @param version the version 2216 * @throws SystemException if a system exception occurred 2217 */ 2218 public void removeByN_T_V(long nodeId, java.lang.String title, 2219 double version) 2220 throws com.liferay.portal.kernel.exception.SystemException, 2221 com.liferay.portlet.wiki.NoSuchPageException; 2222 2223 /** 2224 * Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database. 2225 * 2226 * @param nodeId the node ID 2227 * @param title the title 2228 * @param head the head 2229 * @throws SystemException if a system exception occurred 2230 */ 2231 public void removeByN_T_H(long nodeId, java.lang.String title, boolean head) 2232 throws com.liferay.portal.kernel.exception.SystemException; 2233 2234 /** 2235 * Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database. 2236 * 2237 * @param nodeId the node ID 2238 * @param title the title 2239 * @param status the status 2240 * @throws SystemException if a system exception occurred 2241 */ 2242 public void removeByN_T_S(long nodeId, java.lang.String title, int status) 2243 throws com.liferay.portal.kernel.exception.SystemException; 2244 2245 /** 2246 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database. 2247 * 2248 * @param nodeId the node ID 2249 * @param head the head 2250 * @param parentTitle the parent title 2251 * @throws SystemException if a system exception occurred 2252 */ 2253 public void removeByN_H_P(long nodeId, boolean head, 2254 java.lang.String parentTitle) 2255 throws com.liferay.portal.kernel.exception.SystemException; 2256 2257 /** 2258 * Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database. 2259 * 2260 * @param nodeId the node ID 2261 * @param head the head 2262 * @param status the status 2263 * @throws SystemException if a system exception occurred 2264 */ 2265 public void removeByN_H_S(long nodeId, boolean head, int status) 2266 throws com.liferay.portal.kernel.exception.SystemException; 2267 2268 /** 2269 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ? from the database. 2270 * 2271 * @param nodeId the node ID 2272 * @param head the head 2273 * @param parentTitle the parent title 2274 * @param status the status 2275 * @throws SystemException if a system exception occurred 2276 */ 2277 public void removeByN_H_P_S(long nodeId, boolean head, 2278 java.lang.String parentTitle, int status) 2279 throws com.liferay.portal.kernel.exception.SystemException; 2280 2281 /** 2282 * Removes all the wiki pages from the database. 2283 * 2284 * @throws SystemException if a system exception occurred 2285 */ 2286 public void removeAll() 2287 throws com.liferay.portal.kernel.exception.SystemException; 2288 2289 /** 2290 * Returns the number of wiki pages where uuid = ?. 2291 * 2292 * @param uuid the uuid 2293 * @return the number of matching wiki pages 2294 * @throws SystemException if a system exception occurred 2295 */ 2296 public int countByUuid(java.lang.String uuid) 2297 throws com.liferay.portal.kernel.exception.SystemException; 2298 2299 /** 2300 * Returns the number of wiki pages where uuid = ? and groupId = ?. 2301 * 2302 * @param uuid the uuid 2303 * @param groupId the group ID 2304 * @return the number of matching wiki pages 2305 * @throws SystemException if a system exception occurred 2306 */ 2307 public int countByUUID_G(java.lang.String uuid, long groupId) 2308 throws com.liferay.portal.kernel.exception.SystemException; 2309 2310 /** 2311 * Returns the number of wiki pages where nodeId = ?. 2312 * 2313 * @param nodeId the node ID 2314 * @return the number of matching wiki pages 2315 * @throws SystemException if a system exception occurred 2316 */ 2317 public int countByNodeId(long nodeId) 2318 throws com.liferay.portal.kernel.exception.SystemException; 2319 2320 /** 2321 * Returns the number of wiki pages where format = ?. 2322 * 2323 * @param format the format 2324 * @return the number of matching wiki pages 2325 * @throws SystemException if a system exception occurred 2326 */ 2327 public int countByFormat(java.lang.String format) 2328 throws com.liferay.portal.kernel.exception.SystemException; 2329 2330 /** 2331 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ?. 2332 * 2333 * @param resourcePrimKey the resource prim key 2334 * @param nodeId the node ID 2335 * @return the number of matching wiki pages 2336 * @throws SystemException if a system exception occurred 2337 */ 2338 public int countByR_N(long resourcePrimKey, long nodeId) 2339 throws com.liferay.portal.kernel.exception.SystemException; 2340 2341 /** 2342 * Returns the number of wiki pages where nodeId = ? and title = ?. 2343 * 2344 * @param nodeId the node ID 2345 * @param title the title 2346 * @return the number of matching wiki pages 2347 * @throws SystemException if a system exception occurred 2348 */ 2349 public int countByN_T(long nodeId, java.lang.String title) 2350 throws com.liferay.portal.kernel.exception.SystemException; 2351 2352 /** 2353 * Returns the number of wiki pages where nodeId = ? and head = ?. 2354 * 2355 * @param nodeId the node ID 2356 * @param head the head 2357 * @return the number of matching wiki pages 2358 * @throws SystemException if a system exception occurred 2359 */ 2360 public int countByN_H(long nodeId, boolean head) 2361 throws com.liferay.portal.kernel.exception.SystemException; 2362 2363 /** 2364 * Returns the number of wiki pages where nodeId = ? and parentTitle = ?. 2365 * 2366 * @param nodeId the node ID 2367 * @param parentTitle the parent title 2368 * @return the number of matching wiki pages 2369 * @throws SystemException if a system exception occurred 2370 */ 2371 public int countByN_P(long nodeId, java.lang.String parentTitle) 2372 throws com.liferay.portal.kernel.exception.SystemException; 2373 2374 /** 2375 * Returns the number of wiki pages where nodeId = ? and redirectTitle = ?. 2376 * 2377 * @param nodeId the node ID 2378 * @param redirectTitle the redirect title 2379 * @return the number of matching wiki pages 2380 * @throws SystemException if a system exception occurred 2381 */ 2382 public int countByN_R(long nodeId, java.lang.String redirectTitle) 2383 throws com.liferay.portal.kernel.exception.SystemException; 2384 2385 /** 2386 * Returns the number of wiki pages where nodeId = ? and status = ?. 2387 * 2388 * @param nodeId the node ID 2389 * @param status the status 2390 * @return the number of matching wiki pages 2391 * @throws SystemException if a system exception occurred 2392 */ 2393 public int countByN_S(long nodeId, int status) 2394 throws com.liferay.portal.kernel.exception.SystemException; 2395 2396 /** 2397 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?. 2398 * 2399 * @param resourcePrimKey the resource prim key 2400 * @param nodeId the node ID 2401 * @param version the version 2402 * @return the number of matching wiki pages 2403 * @throws SystemException if a system exception occurred 2404 */ 2405 public int countByR_N_V(long resourcePrimKey, long nodeId, double version) 2406 throws com.liferay.portal.kernel.exception.SystemException; 2407 2408 /** 2409 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2410 * 2411 * @param resourcePrimKey the resource prim key 2412 * @param nodeId the node ID 2413 * @param status the status 2414 * @return the number of matching wiki pages 2415 * @throws SystemException if a system exception occurred 2416 */ 2417 public int countByR_N_S(long resourcePrimKey, long nodeId, int status) 2418 throws com.liferay.portal.kernel.exception.SystemException; 2419 2420 /** 2421 * Returns the number of wiki pages where userId = ? and nodeId = ? and status = ?. 2422 * 2423 * @param userId the user ID 2424 * @param nodeId the node ID 2425 * @param status the status 2426 * @return the number of matching wiki pages 2427 * @throws SystemException if a system exception occurred 2428 */ 2429 public int countByU_N_S(long userId, long nodeId, int status) 2430 throws com.liferay.portal.kernel.exception.SystemException; 2431 2432 /** 2433 * Returns the number of wiki pages where nodeId = ? and title = ? and version = ?. 2434 * 2435 * @param nodeId the node ID 2436 * @param title the title 2437 * @param version the version 2438 * @return the number of matching wiki pages 2439 * @throws SystemException if a system exception occurred 2440 */ 2441 public int countByN_T_V(long nodeId, java.lang.String title, double version) 2442 throws com.liferay.portal.kernel.exception.SystemException; 2443 2444 /** 2445 * Returns the number of wiki pages where nodeId = ? and title = ? and head = ?. 2446 * 2447 * @param nodeId the node ID 2448 * @param title the title 2449 * @param head the head 2450 * @return the number of matching wiki pages 2451 * @throws SystemException if a system exception occurred 2452 */ 2453 public int countByN_T_H(long nodeId, java.lang.String title, boolean head) 2454 throws com.liferay.portal.kernel.exception.SystemException; 2455 2456 /** 2457 * Returns the number of wiki pages where nodeId = ? and title = ? and status = ?. 2458 * 2459 * @param nodeId the node ID 2460 * @param title the title 2461 * @param status the status 2462 * @return the number of matching wiki pages 2463 * @throws SystemException if a system exception occurred 2464 */ 2465 public int countByN_T_S(long nodeId, java.lang.String title, int status) 2466 throws com.liferay.portal.kernel.exception.SystemException; 2467 2468 /** 2469 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ?. 2470 * 2471 * @param nodeId the node ID 2472 * @param head the head 2473 * @param parentTitle the parent title 2474 * @return the number of matching wiki pages 2475 * @throws SystemException if a system exception occurred 2476 */ 2477 public int countByN_H_P(long nodeId, boolean head, 2478 java.lang.String parentTitle) 2479 throws com.liferay.portal.kernel.exception.SystemException; 2480 2481 /** 2482 * Returns the number of wiki pages where nodeId = ? and head = ? and status = ?. 2483 * 2484 * @param nodeId the node ID 2485 * @param head the head 2486 * @param status the status 2487 * @return the number of matching wiki pages 2488 * @throws SystemException if a system exception occurred 2489 */ 2490 public int countByN_H_S(long nodeId, boolean head, int status) 2491 throws com.liferay.portal.kernel.exception.SystemException; 2492 2493 /** 2494 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2495 * 2496 * @param nodeId the node ID 2497 * @param head the head 2498 * @param parentTitle the parent title 2499 * @param status the status 2500 * @return the number of matching wiki pages 2501 * @throws SystemException if a system exception occurred 2502 */ 2503 public int countByN_H_P_S(long nodeId, boolean head, 2504 java.lang.String parentTitle, int status) 2505 throws com.liferay.portal.kernel.exception.SystemException; 2506 2507 /** 2508 * Returns the number of wiki pages. 2509 * 2510 * @return the number of wiki pages 2511 * @throws SystemException if a system exception occurred 2512 */ 2513 public int countAll() 2514 throws com.liferay.portal.kernel.exception.SystemException; 2515 2516 public WikiPage remove(WikiPage wikiPage) throws SystemException; 2517 }