001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.wiki.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.wiki.model.WikiPage; 020 021 /** 022 * The persistence interface for the wiki page service. 023 * 024 * <p> 025 * Caching information and settings can be found in <code>portal.properties</code> 026 * </p> 027 * 028 * @author Brian Wing Shun Chan 029 * @see WikiPagePersistenceImpl 030 * @see WikiPageUtil 031 * @generated 032 */ 033 public interface WikiPagePersistence extends BasePersistence<WikiPage> { 034 /* 035 * NOTE FOR DEVELOPERS: 036 * 037 * 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. 038 */ 039 040 /** 041 * Caches the wiki page in the entity cache if it is enabled. 042 * 043 * @param wikiPage the wiki page 044 */ 045 public void cacheResult(com.liferay.portlet.wiki.model.WikiPage wikiPage); 046 047 /** 048 * Caches the wiki pages in the entity cache if it is enabled. 049 * 050 * @param wikiPages the wiki pages 051 */ 052 public void cacheResult( 053 java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages); 054 055 /** 056 * Creates a new wiki page with the primary key. Does not add the wiki page to the database. 057 * 058 * @param pageId the primary key for the new wiki page 059 * @return the new wiki page 060 */ 061 public com.liferay.portlet.wiki.model.WikiPage create(long pageId); 062 063 /** 064 * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners. 065 * 066 * @param pageId the primary key of the wiki page 067 * @return the wiki page that was removed 068 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 069 * @throws SystemException if a system exception occurred 070 */ 071 public com.liferay.portlet.wiki.model.WikiPage remove(long pageId) 072 throws com.liferay.portal.kernel.exception.SystemException, 073 com.liferay.portlet.wiki.NoSuchPageException; 074 075 public com.liferay.portlet.wiki.model.WikiPage updateImpl( 076 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge) 077 throws com.liferay.portal.kernel.exception.SystemException; 078 079 /** 080 * Returns the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 081 * 082 * @param pageId the primary key of the wiki page 083 * @return the wiki page 084 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 085 * @throws SystemException if a system exception occurred 086 */ 087 public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId) 088 throws com.liferay.portal.kernel.exception.SystemException, 089 com.liferay.portlet.wiki.NoSuchPageException; 090 091 /** 092 * Returns the wiki page with the primary key or returns <code>null</code> if it could not be found. 093 * 094 * @param pageId the primary key of the wiki page 095 * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found 096 * @throws SystemException if a system exception occurred 097 */ 098 public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey( 099 long pageId) throws com.liferay.portal.kernel.exception.SystemException; 100 101 /** 102 * Returns all the wiki pages where uuid = ?. 103 * 104 * @param uuid the uuid 105 * @return the matching wiki pages 106 * @throws SystemException if a system exception occurred 107 */ 108 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 109 java.lang.String uuid) 110 throws com.liferay.portal.kernel.exception.SystemException; 111 112 /** 113 * Returns a range of all the wiki pages where uuid = ?. 114 * 115 * <p> 116 * 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. 117 * </p> 118 * 119 * @param uuid the uuid 120 * @param start the lower bound of the range of wiki pages 121 * @param end the upper bound of the range of wiki pages (not inclusive) 122 * @return the range of matching wiki pages 123 * @throws SystemException if a system exception occurred 124 */ 125 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 126 java.lang.String uuid, int start, int end) 127 throws com.liferay.portal.kernel.exception.SystemException; 128 129 /** 130 * Returns an ordered range of all the wiki pages where uuid = ?. 131 * 132 * <p> 133 * 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. 134 * </p> 135 * 136 * @param uuid the uuid 137 * @param start the lower bound of the range of wiki pages 138 * @param end the upper bound of the range of wiki pages (not inclusive) 139 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 140 * @return the ordered range of matching wiki pages 141 * @throws SystemException if a system exception occurred 142 */ 143 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 144 java.lang.String uuid, int start, int end, 145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 146 throws com.liferay.portal.kernel.exception.SystemException; 147 148 /** 149 * Returns the first wiki page in the ordered set where uuid = ?. 150 * 151 * @param uuid the uuid 152 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 153 * @return the first matching wiki page 154 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 155 * @throws SystemException if a system exception occurred 156 */ 157 public com.liferay.portlet.wiki.model.WikiPage findByUuid_First( 158 java.lang.String uuid, 159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 160 throws com.liferay.portal.kernel.exception.SystemException, 161 com.liferay.portlet.wiki.NoSuchPageException; 162 163 /** 164 * Returns the first wiki page in the ordered set where uuid = ?. 165 * 166 * @param uuid the uuid 167 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 168 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 169 * @throws SystemException if a system exception occurred 170 */ 171 public com.liferay.portlet.wiki.model.WikiPage fetchByUuid_First( 172 java.lang.String uuid, 173 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 174 throws com.liferay.portal.kernel.exception.SystemException; 175 176 /** 177 * Returns the last wiki page in the ordered set where uuid = ?. 178 * 179 * @param uuid the uuid 180 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 181 * @return the last matching wiki page 182 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 183 * @throws SystemException if a system exception occurred 184 */ 185 public com.liferay.portlet.wiki.model.WikiPage findByUuid_Last( 186 java.lang.String uuid, 187 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 188 throws com.liferay.portal.kernel.exception.SystemException, 189 com.liferay.portlet.wiki.NoSuchPageException; 190 191 /** 192 * Returns the last wiki page in the ordered set where uuid = ?. 193 * 194 * @param uuid the uuid 195 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 196 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 197 * @throws SystemException if a system exception occurred 198 */ 199 public com.liferay.portlet.wiki.model.WikiPage fetchByUuid_Last( 200 java.lang.String uuid, 201 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 202 throws com.liferay.portal.kernel.exception.SystemException; 203 204 /** 205 * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ?. 206 * 207 * @param pageId the primary key of the current wiki page 208 * @param uuid the uuid 209 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 210 * @return the previous, current, and next wiki page 211 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 212 * @throws SystemException if a system exception occurred 213 */ 214 public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext( 215 long pageId, java.lang.String uuid, 216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 217 throws com.liferay.portal.kernel.exception.SystemException, 218 com.liferay.portlet.wiki.NoSuchPageException; 219 220 /** 221 * Returns the wiki page where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 222 * 223 * @param uuid the uuid 224 * @param groupId the group ID 225 * @return the matching wiki page 226 * @throws com.liferay.portlet.wiki.NoSuchPageException 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 findByUUID_G( 230 java.lang.String uuid, long groupId) 231 throws com.liferay.portal.kernel.exception.SystemException, 232 com.liferay.portlet.wiki.NoSuchPageException; 233 234 /** 235 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 236 * 237 * @param uuid the uuid 238 * @param groupId the group ID 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) 244 throws com.liferay.portal.kernel.exception.SystemException; 245 246 /** 247 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 248 * 249 * @param uuid the uuid 250 * @param groupId the group ID 251 * @param retrieveFromCache whether to use the finder cache 252 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 253 * @throws SystemException if a system exception occurred 254 */ 255 public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G( 256 java.lang.String uuid, long groupId, boolean retrieveFromCache) 257 throws com.liferay.portal.kernel.exception.SystemException; 258 259 /** 260 * Returns all the wiki pages where nodeId = ?. 261 * 262 * @param nodeId the node ID 263 * @return the matching wiki pages 264 * @throws SystemException if a system exception occurred 265 */ 266 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 267 long nodeId) throws com.liferay.portal.kernel.exception.SystemException; 268 269 /** 270 * Returns a range of all the wiki pages where nodeId = ?. 271 * 272 * <p> 273 * 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. 274 * </p> 275 * 276 * @param nodeId the node ID 277 * @param start the lower bound of the range of wiki pages 278 * @param end the upper bound of the range of wiki pages (not inclusive) 279 * @return the range of matching wiki pages 280 * @throws SystemException if a system exception occurred 281 */ 282 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 283 long nodeId, int start, int end) 284 throws com.liferay.portal.kernel.exception.SystemException; 285 286 /** 287 * Returns an ordered range of all the wiki pages where nodeId = ?. 288 * 289 * <p> 290 * 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. 291 * </p> 292 * 293 * @param nodeId the node ID 294 * @param start the lower bound of the range of wiki pages 295 * @param end the upper bound of the range of wiki pages (not inclusive) 296 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 297 * @return the ordered range of matching wiki pages 298 * @throws SystemException if a system exception occurred 299 */ 300 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 301 long nodeId, int start, int end, 302 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 303 throws com.liferay.portal.kernel.exception.SystemException; 304 305 /** 306 * Returns the first wiki page in the ordered set where nodeId = ?. 307 * 308 * @param nodeId the node ID 309 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 310 * @return the first matching wiki page 311 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 312 * @throws SystemException if a system exception occurred 313 */ 314 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First( 315 long nodeId, 316 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 317 throws com.liferay.portal.kernel.exception.SystemException, 318 com.liferay.portlet.wiki.NoSuchPageException; 319 320 /** 321 * Returns the first wiki page in the ordered set where nodeId = ?. 322 * 323 * @param nodeId the node ID 324 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 325 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 326 * @throws SystemException if a system exception occurred 327 */ 328 public com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_First( 329 long nodeId, 330 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 331 throws com.liferay.portal.kernel.exception.SystemException; 332 333 /** 334 * Returns the last wiki page in the ordered set where nodeId = ?. 335 * 336 * @param nodeId the node ID 337 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 338 * @return the last matching wiki page 339 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 340 * @throws SystemException if a system exception occurred 341 */ 342 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last( 343 long nodeId, 344 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 345 throws com.liferay.portal.kernel.exception.SystemException, 346 com.liferay.portlet.wiki.NoSuchPageException; 347 348 /** 349 * Returns the last wiki page in the ordered set where nodeId = ?. 350 * 351 * @param nodeId the node ID 352 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 353 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 354 * @throws SystemException if a system exception occurred 355 */ 356 public com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_Last( 357 long nodeId, 358 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 359 throws com.liferay.portal.kernel.exception.SystemException; 360 361 /** 362 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ?. 363 * 364 * @param pageId the primary key of the current wiki page 365 * @param nodeId the node ID 366 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 367 * @return the previous, current, and next wiki page 368 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 369 * @throws SystemException if a system exception occurred 370 */ 371 public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext( 372 long pageId, long nodeId, 373 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 374 throws com.liferay.portal.kernel.exception.SystemException, 375 com.liferay.portlet.wiki.NoSuchPageException; 376 377 /** 378 * Returns all the wiki pages where format = ?. 379 * 380 * @param format the format 381 * @return the matching wiki pages 382 * @throws SystemException if a system exception occurred 383 */ 384 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 385 java.lang.String format) 386 throws com.liferay.portal.kernel.exception.SystemException; 387 388 /** 389 * Returns a range of all the wiki pages where format = ?. 390 * 391 * <p> 392 * 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. 393 * </p> 394 * 395 * @param format the format 396 * @param start the lower bound of the range of wiki pages 397 * @param end the upper bound of the range of wiki pages (not inclusive) 398 * @return the range of matching wiki pages 399 * @throws SystemException if a system exception occurred 400 */ 401 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 402 java.lang.String format, int start, int end) 403 throws com.liferay.portal.kernel.exception.SystemException; 404 405 /** 406 * Returns an ordered range of all the wiki pages where format = ?. 407 * 408 * <p> 409 * 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. 410 * </p> 411 * 412 * @param format the format 413 * @param start the lower bound of the range of wiki pages 414 * @param end the upper bound of the range of wiki pages (not inclusive) 415 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 416 * @return the ordered range of matching wiki pages 417 * @throws SystemException if a system exception occurred 418 */ 419 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 420 java.lang.String format, int start, int end, 421 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 422 throws com.liferay.portal.kernel.exception.SystemException; 423 424 /** 425 * Returns the first wiki page in the ordered set where format = ?. 426 * 427 * @param format the format 428 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 429 * @return the first matching wiki page 430 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 431 * @throws SystemException if a system exception occurred 432 */ 433 public com.liferay.portlet.wiki.model.WikiPage findByFormat_First( 434 java.lang.String format, 435 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 436 throws com.liferay.portal.kernel.exception.SystemException, 437 com.liferay.portlet.wiki.NoSuchPageException; 438 439 /** 440 * Returns the first wiki page in the ordered set where format = ?. 441 * 442 * @param format the format 443 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 444 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 445 * @throws SystemException if a system exception occurred 446 */ 447 public com.liferay.portlet.wiki.model.WikiPage fetchByFormat_First( 448 java.lang.String format, 449 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 450 throws com.liferay.portal.kernel.exception.SystemException; 451 452 /** 453 * Returns the last wiki page in the ordered set where format = ?. 454 * 455 * @param format the format 456 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 457 * @return the last matching wiki page 458 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 459 * @throws SystemException if a system exception occurred 460 */ 461 public com.liferay.portlet.wiki.model.WikiPage findByFormat_Last( 462 java.lang.String format, 463 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 464 throws com.liferay.portal.kernel.exception.SystemException, 465 com.liferay.portlet.wiki.NoSuchPageException; 466 467 /** 468 * Returns the last wiki page in the ordered set where format = ?. 469 * 470 * @param format the format 471 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 472 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 473 * @throws SystemException if a system exception occurred 474 */ 475 public com.liferay.portlet.wiki.model.WikiPage fetchByFormat_Last( 476 java.lang.String format, 477 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 478 throws com.liferay.portal.kernel.exception.SystemException; 479 480 /** 481 * Returns the wiki pages before and after the current wiki page in the ordered set where format = ?. 482 * 483 * @param pageId the primary key of the current wiki page 484 * @param format the format 485 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 486 * @return the previous, current, and next wiki page 487 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 488 * @throws SystemException if a system exception occurred 489 */ 490 public com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext( 491 long pageId, java.lang.String format, 492 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 493 throws com.liferay.portal.kernel.exception.SystemException, 494 com.liferay.portlet.wiki.NoSuchPageException; 495 496 /** 497 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ?. 498 * 499 * @param resourcePrimKey the resource prim key 500 * @param nodeId the node ID 501 * @return the matching wiki pages 502 * @throws SystemException if a system exception occurred 503 */ 504 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 505 long resourcePrimKey, long nodeId) 506 throws com.liferay.portal.kernel.exception.SystemException; 507 508 /** 509 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 510 * 511 * <p> 512 * 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. 513 * </p> 514 * 515 * @param resourcePrimKey the resource prim key 516 * @param nodeId the node ID 517 * @param start the lower bound of the range of wiki pages 518 * @param end the upper bound of the range of wiki pages (not inclusive) 519 * @return the range of matching wiki pages 520 * @throws SystemException if a system exception occurred 521 */ 522 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 523 long resourcePrimKey, long nodeId, int start, int end) 524 throws com.liferay.portal.kernel.exception.SystemException; 525 526 /** 527 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 528 * 529 * <p> 530 * 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. 531 * </p> 532 * 533 * @param resourcePrimKey the resource prim key 534 * @param nodeId the node ID 535 * @param start the lower bound of the range of wiki pages 536 * @param end the upper bound of the range of wiki pages (not inclusive) 537 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 538 * @return the ordered range of matching wiki pages 539 * @throws SystemException if a system exception occurred 540 */ 541 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 542 long resourcePrimKey, long nodeId, int start, int end, 543 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 544 throws com.liferay.portal.kernel.exception.SystemException; 545 546 /** 547 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 548 * 549 * @param resourcePrimKey the resource prim key 550 * @param nodeId the node ID 551 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 552 * @return the first matching wiki page 553 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 554 * @throws SystemException if a system exception occurred 555 */ 556 public com.liferay.portlet.wiki.model.WikiPage findByR_N_First( 557 long resourcePrimKey, long nodeId, 558 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 559 throws com.liferay.portal.kernel.exception.SystemException, 560 com.liferay.portlet.wiki.NoSuchPageException; 561 562 /** 563 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 564 * 565 * @param resourcePrimKey the resource prim key 566 * @param nodeId the node ID 567 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 568 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 569 * @throws SystemException if a system exception occurred 570 */ 571 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_First( 572 long resourcePrimKey, long nodeId, 573 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 574 throws com.liferay.portal.kernel.exception.SystemException; 575 576 /** 577 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 578 * 579 * @param resourcePrimKey the resource prim key 580 * @param nodeId the node ID 581 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 582 * @return the last matching wiki page 583 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 584 * @throws SystemException if a system exception occurred 585 */ 586 public com.liferay.portlet.wiki.model.WikiPage findByR_N_Last( 587 long resourcePrimKey, long nodeId, 588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 589 throws com.liferay.portal.kernel.exception.SystemException, 590 com.liferay.portlet.wiki.NoSuchPageException; 591 592 /** 593 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 594 * 595 * @param resourcePrimKey the resource prim key 596 * @param nodeId the node ID 597 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 598 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 599 * @throws SystemException if a system exception occurred 600 */ 601 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_Last( 602 long resourcePrimKey, long nodeId, 603 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 604 throws com.liferay.portal.kernel.exception.SystemException; 605 606 /** 607 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 608 * 609 * @param pageId the primary key of the current wiki page 610 * @param resourcePrimKey the resource prim key 611 * @param nodeId the node ID 612 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 613 * @return the previous, current, and next wiki page 614 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 615 * @throws SystemException if a system exception occurred 616 */ 617 public com.liferay.portlet.wiki.model.WikiPage[] findByR_N_PrevAndNext( 618 long pageId, long resourcePrimKey, long nodeId, 619 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 620 throws com.liferay.portal.kernel.exception.SystemException, 621 com.liferay.portlet.wiki.NoSuchPageException; 622 623 /** 624 * Returns all the wiki pages where nodeId = ? and title = ?. 625 * 626 * @param nodeId the node ID 627 * @param title the title 628 * @return the matching wiki pages 629 * @throws SystemException if a system exception occurred 630 */ 631 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 632 long nodeId, java.lang.String title) 633 throws com.liferay.portal.kernel.exception.SystemException; 634 635 /** 636 * Returns a range of all the wiki pages where nodeId = ? and title = ?. 637 * 638 * <p> 639 * 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. 640 * </p> 641 * 642 * @param nodeId the node ID 643 * @param title the title 644 * @param start the lower bound of the range of wiki pages 645 * @param end the upper bound of the range of wiki pages (not inclusive) 646 * @return the range of matching wiki pages 647 * @throws SystemException if a system exception occurred 648 */ 649 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 650 long nodeId, java.lang.String title, int start, int end) 651 throws com.liferay.portal.kernel.exception.SystemException; 652 653 /** 654 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ?. 655 * 656 * <p> 657 * 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. 658 * </p> 659 * 660 * @param nodeId the node ID 661 * @param title the title 662 * @param start the lower bound of the range of wiki pages 663 * @param end the upper bound of the range of wiki pages (not inclusive) 664 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 665 * @return the ordered range of matching wiki pages 666 * @throws SystemException if a system exception occurred 667 */ 668 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 669 long nodeId, java.lang.String title, int start, int end, 670 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 671 throws com.liferay.portal.kernel.exception.SystemException; 672 673 /** 674 * Returns the first wiki page in the ordered set where nodeId = ? and title = ?. 675 * 676 * @param nodeId the node ID 677 * @param title the title 678 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 679 * @return the first matching wiki page 680 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 681 * @throws SystemException if a system exception occurred 682 */ 683 public com.liferay.portlet.wiki.model.WikiPage findByN_T_First( 684 long nodeId, java.lang.String title, 685 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 686 throws com.liferay.portal.kernel.exception.SystemException, 687 com.liferay.portlet.wiki.NoSuchPageException; 688 689 /** 690 * Returns the first wiki page in the ordered set where nodeId = ? and title = ?. 691 * 692 * @param nodeId the node ID 693 * @param title the title 694 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 695 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 696 * @throws SystemException if a system exception occurred 697 */ 698 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_First( 699 long nodeId, java.lang.String title, 700 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 701 throws com.liferay.portal.kernel.exception.SystemException; 702 703 /** 704 * Returns the last wiki page in the ordered set where nodeId = ? and title = ?. 705 * 706 * @param nodeId the node ID 707 * @param title the title 708 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 709 * @return the last matching wiki page 710 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 711 * @throws SystemException if a system exception occurred 712 */ 713 public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId, 714 java.lang.String title, 715 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 716 throws com.liferay.portal.kernel.exception.SystemException, 717 com.liferay.portlet.wiki.NoSuchPageException; 718 719 /** 720 * Returns the last wiki page in the ordered set where nodeId = ? and title = ?. 721 * 722 * @param nodeId the node ID 723 * @param title the title 724 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 725 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 726 * @throws SystemException if a system exception occurred 727 */ 728 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_Last( 729 long nodeId, java.lang.String title, 730 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 731 throws com.liferay.portal.kernel.exception.SystemException; 732 733 /** 734 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?. 735 * 736 * @param pageId the primary key of the current wiki page 737 * @param nodeId the node ID 738 * @param title the title 739 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 740 * @return the previous, current, and next wiki page 741 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 742 * @throws SystemException if a system exception occurred 743 */ 744 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext( 745 long pageId, long nodeId, java.lang.String title, 746 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 747 throws com.liferay.portal.kernel.exception.SystemException, 748 com.liferay.portlet.wiki.NoSuchPageException; 749 750 /** 751 * Returns all the wiki pages where nodeId = ? and head = ?. 752 * 753 * @param nodeId the node ID 754 * @param head the head 755 * @return the matching wiki pages 756 * @throws SystemException if a system exception occurred 757 */ 758 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 759 long nodeId, boolean head) 760 throws com.liferay.portal.kernel.exception.SystemException; 761 762 /** 763 * Returns a range of all the wiki pages where nodeId = ? and head = ?. 764 * 765 * <p> 766 * 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. 767 * </p> 768 * 769 * @param nodeId the node ID 770 * @param head the head 771 * @param start the lower bound of the range of wiki pages 772 * @param end the upper bound of the range of wiki pages (not inclusive) 773 * @return the range of matching wiki pages 774 * @throws SystemException if a system exception occurred 775 */ 776 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 777 long nodeId, boolean head, int start, int end) 778 throws com.liferay.portal.kernel.exception.SystemException; 779 780 /** 781 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ?. 782 * 783 * <p> 784 * 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. 785 * </p> 786 * 787 * @param nodeId the node ID 788 * @param head the head 789 * @param start the lower bound of the range of wiki pages 790 * @param end the upper bound of the range of wiki pages (not inclusive) 791 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 792 * @return the ordered range of matching wiki pages 793 * @throws SystemException if a system exception occurred 794 */ 795 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 796 long nodeId, boolean head, int start, int end, 797 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 798 throws com.liferay.portal.kernel.exception.SystemException; 799 800 /** 801 * Returns the first wiki page in the ordered set where nodeId = ? and head = ?. 802 * 803 * @param nodeId the node ID 804 * @param head the head 805 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 806 * @return the first matching wiki page 807 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 808 * @throws SystemException if a system exception occurred 809 */ 810 public com.liferay.portlet.wiki.model.WikiPage findByN_H_First( 811 long nodeId, boolean head, 812 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 813 throws com.liferay.portal.kernel.exception.SystemException, 814 com.liferay.portlet.wiki.NoSuchPageException; 815 816 /** 817 * Returns the first wiki page in the ordered set where nodeId = ? and head = ?. 818 * 819 * @param nodeId the node ID 820 * @param head the head 821 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 822 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 823 * @throws SystemException if a system exception occurred 824 */ 825 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_First( 826 long nodeId, boolean head, 827 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 828 throws com.liferay.portal.kernel.exception.SystemException; 829 830 /** 831 * Returns the last wiki page in the ordered set where nodeId = ? and head = ?. 832 * 833 * @param nodeId the node ID 834 * @param head the head 835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 836 * @return the last matching wiki page 837 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 838 * @throws SystemException if a system exception occurred 839 */ 840 public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId, 841 boolean head, 842 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 843 throws com.liferay.portal.kernel.exception.SystemException, 844 com.liferay.portlet.wiki.NoSuchPageException; 845 846 /** 847 * Returns the last wiki page in the ordered set where nodeId = ? and head = ?. 848 * 849 * @param nodeId the node ID 850 * @param head the head 851 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 852 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 853 * @throws SystemException if a system exception occurred 854 */ 855 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_Last( 856 long nodeId, boolean head, 857 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 858 throws com.liferay.portal.kernel.exception.SystemException; 859 860 /** 861 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?. 862 * 863 * @param pageId the primary key of the current wiki page 864 * @param nodeId the node ID 865 * @param head the head 866 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 867 * @return the previous, current, and next wiki page 868 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 869 * @throws SystemException if a system exception occurred 870 */ 871 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext( 872 long pageId, long nodeId, boolean head, 873 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 874 throws com.liferay.portal.kernel.exception.SystemException, 875 com.liferay.portlet.wiki.NoSuchPageException; 876 877 /** 878 * Returns all the wiki pages where nodeId = ? and parentTitle = ?. 879 * 880 * @param nodeId the node ID 881 * @param parentTitle the parent title 882 * @return the matching wiki pages 883 * @throws SystemException if a system exception occurred 884 */ 885 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 886 long nodeId, java.lang.String parentTitle) 887 throws com.liferay.portal.kernel.exception.SystemException; 888 889 /** 890 * Returns a range of all the wiki pages where nodeId = ? and parentTitle = ?. 891 * 892 * <p> 893 * 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. 894 * </p> 895 * 896 * @param nodeId the node ID 897 * @param parentTitle the parent title 898 * @param start the lower bound of the range of wiki pages 899 * @param end the upper bound of the range of wiki pages (not inclusive) 900 * @return the range of matching wiki pages 901 * @throws SystemException if a system exception occurred 902 */ 903 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 904 long nodeId, java.lang.String parentTitle, int start, int end) 905 throws com.liferay.portal.kernel.exception.SystemException; 906 907 /** 908 * Returns an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?. 909 * 910 * <p> 911 * 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. 912 * </p> 913 * 914 * @param nodeId the node ID 915 * @param parentTitle the parent title 916 * @param start the lower bound of the range of wiki pages 917 * @param end the upper bound of the range of wiki pages (not inclusive) 918 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 919 * @return the ordered range of matching wiki pages 920 * @throws SystemException if a system exception occurred 921 */ 922 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 923 long nodeId, java.lang.String parentTitle, int start, int end, 924 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 925 throws com.liferay.portal.kernel.exception.SystemException; 926 927 /** 928 * Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. 929 * 930 * @param nodeId the node ID 931 * @param parentTitle the parent title 932 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 933 * @return the first matching wiki page 934 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 935 * @throws SystemException if a system exception occurred 936 */ 937 public com.liferay.portlet.wiki.model.WikiPage findByN_P_First( 938 long nodeId, java.lang.String parentTitle, 939 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 940 throws com.liferay.portal.kernel.exception.SystemException, 941 com.liferay.portlet.wiki.NoSuchPageException; 942 943 /** 944 * Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. 945 * 946 * @param nodeId the node ID 947 * @param parentTitle the parent title 948 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 949 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 950 * @throws SystemException if a system exception occurred 951 */ 952 public com.liferay.portlet.wiki.model.WikiPage fetchByN_P_First( 953 long nodeId, java.lang.String parentTitle, 954 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 955 throws com.liferay.portal.kernel.exception.SystemException; 956 957 /** 958 * Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. 959 * 960 * @param nodeId the node ID 961 * @param parentTitle the parent title 962 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 963 * @return the last matching wiki page 964 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 965 * @throws SystemException if a system exception occurred 966 */ 967 public com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(long nodeId, 968 java.lang.String parentTitle, 969 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 970 throws com.liferay.portal.kernel.exception.SystemException, 971 com.liferay.portlet.wiki.NoSuchPageException; 972 973 /** 974 * Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. 975 * 976 * @param nodeId the node ID 977 * @param parentTitle the parent title 978 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 979 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 980 * @throws SystemException if a system exception occurred 981 */ 982 public com.liferay.portlet.wiki.model.WikiPage fetchByN_P_Last( 983 long nodeId, java.lang.String parentTitle, 984 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 985 throws com.liferay.portal.kernel.exception.SystemException; 986 987 /** 988 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?. 989 * 990 * @param pageId the primary key of the current wiki page 991 * @param nodeId the node ID 992 * @param parentTitle the parent title 993 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 994 * @return the previous, current, and next wiki page 995 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 996 * @throws SystemException if a system exception occurred 997 */ 998 public com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext( 999 long pageId, long nodeId, java.lang.String parentTitle, 1000 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1001 throws com.liferay.portal.kernel.exception.SystemException, 1002 com.liferay.portlet.wiki.NoSuchPageException; 1003 1004 /** 1005 * Returns all the wiki pages where nodeId = ? and redirectTitle = ?. 1006 * 1007 * @param nodeId the node ID 1008 * @param redirectTitle the redirect title 1009 * @return the matching wiki pages 1010 * @throws SystemException if a system exception occurred 1011 */ 1012 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1013 long nodeId, java.lang.String redirectTitle) 1014 throws com.liferay.portal.kernel.exception.SystemException; 1015 1016 /** 1017 * Returns a range of all the wiki pages where nodeId = ? and redirectTitle = ?. 1018 * 1019 * <p> 1020 * 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. 1021 * </p> 1022 * 1023 * @param nodeId the node ID 1024 * @param redirectTitle the redirect title 1025 * @param start the lower bound of the range of wiki pages 1026 * @param end the upper bound of the range of wiki pages (not inclusive) 1027 * @return the range of matching wiki pages 1028 * @throws SystemException if a system exception occurred 1029 */ 1030 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1031 long nodeId, java.lang.String redirectTitle, int start, int end) 1032 throws com.liferay.portal.kernel.exception.SystemException; 1033 1034 /** 1035 * Returns an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?. 1036 * 1037 * <p> 1038 * 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. 1039 * </p> 1040 * 1041 * @param nodeId the node ID 1042 * @param redirectTitle the redirect title 1043 * @param start the lower bound of the range of wiki pages 1044 * @param end the upper bound of the range of wiki pages (not inclusive) 1045 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1046 * @return the ordered range of matching wiki pages 1047 * @throws SystemException if a system exception occurred 1048 */ 1049 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1050 long nodeId, java.lang.String redirectTitle, int start, int end, 1051 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1052 throws com.liferay.portal.kernel.exception.SystemException; 1053 1054 /** 1055 * Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1056 * 1057 * @param nodeId the node ID 1058 * @param redirectTitle the redirect title 1059 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1060 * @return the first matching wiki page 1061 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1062 * @throws SystemException if a system exception occurred 1063 */ 1064 public com.liferay.portlet.wiki.model.WikiPage findByN_R_First( 1065 long nodeId, java.lang.String redirectTitle, 1066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1067 throws com.liferay.portal.kernel.exception.SystemException, 1068 com.liferay.portlet.wiki.NoSuchPageException; 1069 1070 /** 1071 * Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1072 * 1073 * @param nodeId the node ID 1074 * @param redirectTitle the redirect title 1075 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1076 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1077 * @throws SystemException if a system exception occurred 1078 */ 1079 public com.liferay.portlet.wiki.model.WikiPage fetchByN_R_First( 1080 long nodeId, java.lang.String redirectTitle, 1081 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1082 throws com.liferay.portal.kernel.exception.SystemException; 1083 1084 /** 1085 * Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1086 * 1087 * @param nodeId the node ID 1088 * @param redirectTitle the redirect title 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_R_Last(long nodeId, 1095 java.lang.String redirectTitle, 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 last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1102 * 1103 * @param nodeId the node ID 1104 * @param redirectTitle the redirect title 1105 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1106 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1107 * @throws SystemException if a system exception occurred 1108 */ 1109 public com.liferay.portlet.wiki.model.WikiPage fetchByN_R_Last( 1110 long nodeId, java.lang.String redirectTitle, 1111 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1112 throws com.liferay.portal.kernel.exception.SystemException; 1113 1114 /** 1115 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1116 * 1117 * @param pageId the primary key of the current wiki page 1118 * @param nodeId the node ID 1119 * @param redirectTitle the redirect title 1120 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1121 * @return the previous, current, and next wiki page 1122 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1123 * @throws SystemException if a system exception occurred 1124 */ 1125 public com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext( 1126 long pageId, long nodeId, java.lang.String redirectTitle, 1127 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1128 throws com.liferay.portal.kernel.exception.SystemException, 1129 com.liferay.portlet.wiki.NoSuchPageException; 1130 1131 /** 1132 * Returns all the wiki pages where nodeId = ? and status = ?. 1133 * 1134 * @param nodeId the node ID 1135 * @param status the status 1136 * @return the matching wiki pages 1137 * @throws SystemException if a system exception occurred 1138 */ 1139 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1140 long nodeId, int status) 1141 throws com.liferay.portal.kernel.exception.SystemException; 1142 1143 /** 1144 * Returns a range of all the wiki pages where nodeId = ? and status = ?. 1145 * 1146 * <p> 1147 * 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. 1148 * </p> 1149 * 1150 * @param nodeId the node ID 1151 * @param status the status 1152 * @param start the lower bound of the range of wiki pages 1153 * @param end the upper bound of the range of wiki pages (not inclusive) 1154 * @return the range of matching wiki pages 1155 * @throws SystemException if a system exception occurred 1156 */ 1157 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1158 long nodeId, int status, int start, int end) 1159 throws com.liferay.portal.kernel.exception.SystemException; 1160 1161 /** 1162 * Returns an ordered range of all the wiki pages where nodeId = ? and status = ?. 1163 * 1164 * <p> 1165 * 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. 1166 * </p> 1167 * 1168 * @param nodeId the node ID 1169 * @param status the status 1170 * @param start the lower bound of the range of wiki pages 1171 * @param end the upper bound of the range of wiki pages (not inclusive) 1172 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1173 * @return the ordered range of matching wiki pages 1174 * @throws SystemException if a system exception occurred 1175 */ 1176 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1177 long nodeId, int status, int start, int end, 1178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1179 throws com.liferay.portal.kernel.exception.SystemException; 1180 1181 /** 1182 * Returns the first wiki page in the ordered set where nodeId = ? and status = ?. 1183 * 1184 * @param nodeId the node ID 1185 * @param status the status 1186 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1187 * @return the first matching wiki page 1188 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1189 * @throws SystemException if a system exception occurred 1190 */ 1191 public com.liferay.portlet.wiki.model.WikiPage findByN_S_First( 1192 long nodeId, int status, 1193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1194 throws com.liferay.portal.kernel.exception.SystemException, 1195 com.liferay.portlet.wiki.NoSuchPageException; 1196 1197 /** 1198 * Returns the first wiki page in the ordered set where nodeId = ? and status = ?. 1199 * 1200 * @param nodeId the node ID 1201 * @param status the status 1202 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1203 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1204 * @throws SystemException if a system exception occurred 1205 */ 1206 public com.liferay.portlet.wiki.model.WikiPage fetchByN_S_First( 1207 long nodeId, int status, 1208 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1209 throws com.liferay.portal.kernel.exception.SystemException; 1210 1211 /** 1212 * Returns the last wiki page in the ordered set where nodeId = ? and status = ?. 1213 * 1214 * @param nodeId the node ID 1215 * @param status the status 1216 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1217 * @return the last matching wiki page 1218 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1219 * @throws SystemException if a system exception occurred 1220 */ 1221 public com.liferay.portlet.wiki.model.WikiPage findByN_S_Last(long nodeId, 1222 int status, 1223 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1224 throws com.liferay.portal.kernel.exception.SystemException, 1225 com.liferay.portlet.wiki.NoSuchPageException; 1226 1227 /** 1228 * Returns the last wiki page in the ordered set where nodeId = ? and status = ?. 1229 * 1230 * @param nodeId the node ID 1231 * @param status the status 1232 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1233 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1234 * @throws SystemException if a system exception occurred 1235 */ 1236 public com.liferay.portlet.wiki.model.WikiPage fetchByN_S_Last( 1237 long nodeId, int status, 1238 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1239 throws com.liferay.portal.kernel.exception.SystemException; 1240 1241 /** 1242 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?. 1243 * 1244 * @param pageId the primary key of the current wiki page 1245 * @param nodeId the node ID 1246 * @param status the status 1247 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1248 * @return the previous, current, and next wiki page 1249 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1250 * @throws SystemException if a system exception occurred 1251 */ 1252 public com.liferay.portlet.wiki.model.WikiPage[] findByN_S_PrevAndNext( 1253 long pageId, long nodeId, int status, 1254 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1255 throws com.liferay.portal.kernel.exception.SystemException, 1256 com.liferay.portlet.wiki.NoSuchPageException; 1257 1258 /** 1259 * 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. 1260 * 1261 * @param resourcePrimKey the resource prim key 1262 * @param nodeId the node ID 1263 * @param version the version 1264 * @return the matching wiki page 1265 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1266 * @throws SystemException if a system exception occurred 1267 */ 1268 public com.liferay.portlet.wiki.model.WikiPage findByR_N_V( 1269 long resourcePrimKey, long nodeId, double version) 1270 throws com.liferay.portal.kernel.exception.SystemException, 1271 com.liferay.portlet.wiki.NoSuchPageException; 1272 1273 /** 1274 * 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. 1275 * 1276 * @param resourcePrimKey the resource prim key 1277 * @param nodeId the node ID 1278 * @param version the version 1279 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1280 * @throws SystemException if a system exception occurred 1281 */ 1282 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 1283 long resourcePrimKey, long nodeId, double version) 1284 throws com.liferay.portal.kernel.exception.SystemException; 1285 1286 /** 1287 * 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. 1288 * 1289 * @param resourcePrimKey the resource prim key 1290 * @param nodeId the node ID 1291 * @param version the version 1292 * @param retrieveFromCache whether to use the finder cache 1293 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1294 * @throws SystemException if a system exception occurred 1295 */ 1296 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 1297 long resourcePrimKey, long nodeId, double version, 1298 boolean retrieveFromCache) 1299 throws com.liferay.portal.kernel.exception.SystemException; 1300 1301 /** 1302 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 1303 * 1304 * @param resourcePrimKey the resource prim key 1305 * @param nodeId the node ID 1306 * @param status the status 1307 * @return the matching wiki pages 1308 * @throws SystemException if a system exception occurred 1309 */ 1310 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 1311 long resourcePrimKey, long nodeId, int status) 1312 throws com.liferay.portal.kernel.exception.SystemException; 1313 1314 /** 1315 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 1316 * 1317 * <p> 1318 * 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. 1319 * </p> 1320 * 1321 * @param resourcePrimKey the resource prim key 1322 * @param nodeId the node ID 1323 * @param status the status 1324 * @param start the lower bound of the range of wiki pages 1325 * @param end the upper bound of the range of wiki pages (not inclusive) 1326 * @return the 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> findByR_N_S( 1330 long resourcePrimKey, long nodeId, int status, int start, int end) 1331 throws com.liferay.portal.kernel.exception.SystemException; 1332 1333 /** 1334 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 1335 * 1336 * <p> 1337 * 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. 1338 * </p> 1339 * 1340 * @param resourcePrimKey the resource prim key 1341 * @param nodeId the node ID 1342 * @param status the status 1343 * @param start the lower bound of the range of wiki pages 1344 * @param end the upper bound of the range of wiki pages (not inclusive) 1345 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1346 * @return the ordered range of matching wiki pages 1347 * @throws SystemException if a system exception occurred 1348 */ 1349 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 1350 long resourcePrimKey, long nodeId, int status, int start, int end, 1351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1352 throws com.liferay.portal.kernel.exception.SystemException; 1353 1354 /** 1355 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1356 * 1357 * @param resourcePrimKey the resource prim key 1358 * @param nodeId the node ID 1359 * @param status the status 1360 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1361 * @return the first matching wiki page 1362 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1363 * @throws SystemException if a system exception occurred 1364 */ 1365 public com.liferay.portlet.wiki.model.WikiPage findByR_N_S_First( 1366 long resourcePrimKey, long nodeId, int status, 1367 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1368 throws com.liferay.portal.kernel.exception.SystemException, 1369 com.liferay.portlet.wiki.NoSuchPageException; 1370 1371 /** 1372 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1373 * 1374 * @param resourcePrimKey the resource prim key 1375 * @param nodeId the node ID 1376 * @param status the status 1377 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1378 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1379 * @throws SystemException if a system exception occurred 1380 */ 1381 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_First( 1382 long resourcePrimKey, long nodeId, int status, 1383 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1384 throws com.liferay.portal.kernel.exception.SystemException; 1385 1386 /** 1387 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1388 * 1389 * @param resourcePrimKey the resource prim key 1390 * @param nodeId the node ID 1391 * @param status the status 1392 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1393 * @return the last matching wiki page 1394 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1395 * @throws SystemException if a system exception occurred 1396 */ 1397 public com.liferay.portlet.wiki.model.WikiPage findByR_N_S_Last( 1398 long resourcePrimKey, long nodeId, int status, 1399 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1400 throws com.liferay.portal.kernel.exception.SystemException, 1401 com.liferay.portlet.wiki.NoSuchPageException; 1402 1403 /** 1404 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1405 * 1406 * @param resourcePrimKey the resource prim key 1407 * @param nodeId the node ID 1408 * @param status the status 1409 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1410 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1411 * @throws SystemException if a system exception occurred 1412 */ 1413 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_Last( 1414 long resourcePrimKey, long nodeId, int status, 1415 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1416 throws com.liferay.portal.kernel.exception.SystemException; 1417 1418 /** 1419 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1420 * 1421 * @param pageId the primary key of the current wiki page 1422 * @param resourcePrimKey the resource prim key 1423 * @param nodeId the node ID 1424 * @param status the status 1425 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1426 * @return the previous, current, and next wiki page 1427 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1428 * @throws SystemException if a system exception occurred 1429 */ 1430 public com.liferay.portlet.wiki.model.WikiPage[] findByR_N_S_PrevAndNext( 1431 long pageId, long resourcePrimKey, long nodeId, int status, 1432 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1433 throws com.liferay.portal.kernel.exception.SystemException, 1434 com.liferay.portlet.wiki.NoSuchPageException; 1435 1436 /** 1437 * Returns all the wiki pages where groupId = ? and nodeId = ? and head = ?. 1438 * 1439 * @param groupId the group ID 1440 * @param nodeId the node ID 1441 * @param head the head 1442 * @return the matching wiki pages 1443 * @throws SystemException if a system exception occurred 1444 */ 1445 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H( 1446 long groupId, long nodeId, boolean head) 1447 throws com.liferay.portal.kernel.exception.SystemException; 1448 1449 /** 1450 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ?. 1451 * 1452 * <p> 1453 * 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. 1454 * </p> 1455 * 1456 * @param groupId the group ID 1457 * @param nodeId the node ID 1458 * @param head the head 1459 * @param start the lower bound of the range of wiki pages 1460 * @param end the upper bound of the range of wiki pages (not inclusive) 1461 * @return the range of matching wiki pages 1462 * @throws SystemException if a system exception occurred 1463 */ 1464 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H( 1465 long groupId, long nodeId, boolean head, int start, int end) 1466 throws com.liferay.portal.kernel.exception.SystemException; 1467 1468 /** 1469 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ?. 1470 * 1471 * <p> 1472 * 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. 1473 * </p> 1474 * 1475 * @param groupId the group ID 1476 * @param nodeId the node ID 1477 * @param head the head 1478 * @param start the lower bound of the range of wiki pages 1479 * @param end the upper bound of the range of wiki pages (not inclusive) 1480 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1481 * @return the ordered range of matching wiki pages 1482 * @throws SystemException if a system exception occurred 1483 */ 1484 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H( 1485 long groupId, long nodeId, boolean head, int start, int end, 1486 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1487 throws com.liferay.portal.kernel.exception.SystemException; 1488 1489 /** 1490 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 1491 * 1492 * @param groupId the group ID 1493 * @param nodeId the node ID 1494 * @param head the head 1495 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1496 * @return the first matching wiki page 1497 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1498 * @throws SystemException if a system exception occurred 1499 */ 1500 public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_First( 1501 long groupId, long nodeId, boolean head, 1502 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1503 throws com.liferay.portal.kernel.exception.SystemException, 1504 com.liferay.portlet.wiki.NoSuchPageException; 1505 1506 /** 1507 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 1508 * 1509 * @param groupId the group ID 1510 * @param nodeId the node ID 1511 * @param head the head 1512 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1513 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1514 * @throws SystemException if a system exception occurred 1515 */ 1516 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_First( 1517 long groupId, long nodeId, boolean head, 1518 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1519 throws com.liferay.portal.kernel.exception.SystemException; 1520 1521 /** 1522 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 1523 * 1524 * @param groupId the group ID 1525 * @param nodeId the node ID 1526 * @param head the head 1527 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1528 * @return the last matching wiki page 1529 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1530 * @throws SystemException if a system exception occurred 1531 */ 1532 public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_Last( 1533 long groupId, long nodeId, boolean head, 1534 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1535 throws com.liferay.portal.kernel.exception.SystemException, 1536 com.liferay.portlet.wiki.NoSuchPageException; 1537 1538 /** 1539 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 1540 * 1541 * @param groupId the group ID 1542 * @param nodeId the node ID 1543 * @param head the head 1544 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1545 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1546 * @throws SystemException if a system exception occurred 1547 */ 1548 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_Last( 1549 long groupId, long nodeId, boolean head, 1550 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1551 throws com.liferay.portal.kernel.exception.SystemException; 1552 1553 /** 1554 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 1555 * 1556 * @param pageId the primary key of the current wiki page 1557 * @param groupId the group ID 1558 * @param nodeId the node ID 1559 * @param head the head 1560 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1561 * @return the previous, current, and next wiki page 1562 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1563 * @throws SystemException if a system exception occurred 1564 */ 1565 public com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_PrevAndNext( 1566 long pageId, long groupId, long nodeId, boolean head, 1567 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1568 throws com.liferay.portal.kernel.exception.SystemException, 1569 com.liferay.portlet.wiki.NoSuchPageException; 1570 1571 /** 1572 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 1573 * 1574 * @param groupId the group ID 1575 * @param nodeId the node ID 1576 * @param head the head 1577 * @return the matching wiki pages that the user has permission to view 1578 * @throws SystemException if a system exception occurred 1579 */ 1580 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H( 1581 long groupId, long nodeId, boolean head) 1582 throws com.liferay.portal.kernel.exception.SystemException; 1583 1584 /** 1585 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 1586 * 1587 * <p> 1588 * 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. 1589 * </p> 1590 * 1591 * @param groupId the group ID 1592 * @param nodeId the node ID 1593 * @param head the head 1594 * @param start the lower bound of the range of wiki pages 1595 * @param end the upper bound of the range of wiki pages (not inclusive) 1596 * @return the range of matching wiki pages that the user has permission to view 1597 * @throws SystemException if a system exception occurred 1598 */ 1599 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H( 1600 long groupId, long nodeId, boolean head, int start, int end) 1601 throws com.liferay.portal.kernel.exception.SystemException; 1602 1603 /** 1604 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ?. 1605 * 1606 * <p> 1607 * 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. 1608 * </p> 1609 * 1610 * @param groupId the group ID 1611 * @param nodeId the node ID 1612 * @param head the head 1613 * @param start the lower bound of the range of wiki pages 1614 * @param end the upper bound of the range of wiki pages (not inclusive) 1615 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1616 * @return the ordered range of matching wiki pages that the user has permission to view 1617 * @throws SystemException if a system exception occurred 1618 */ 1619 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H( 1620 long groupId, long nodeId, boolean head, int start, int end, 1621 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1622 throws com.liferay.portal.kernel.exception.SystemException; 1623 1624 /** 1625 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 1626 * 1627 * @param pageId the primary key of the current wiki page 1628 * @param groupId the group ID 1629 * @param nodeId the node ID 1630 * @param head the head 1631 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1632 * @return the previous, current, and next wiki page 1633 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1634 * @throws SystemException if a system exception occurred 1635 */ 1636 public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_PrevAndNext( 1637 long pageId, long groupId, long nodeId, boolean head, 1638 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1639 throws com.liferay.portal.kernel.exception.SystemException, 1640 com.liferay.portlet.wiki.NoSuchPageException; 1641 1642 /** 1643 * Returns all the wiki pages where groupId = ? and nodeId = ? and status = ?. 1644 * 1645 * @param groupId the group ID 1646 * @param nodeId the node ID 1647 * @param status the status 1648 * @return the matching wiki pages 1649 * @throws SystemException if a system exception occurred 1650 */ 1651 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S( 1652 long groupId, long nodeId, int status) 1653 throws com.liferay.portal.kernel.exception.SystemException; 1654 1655 /** 1656 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and status = ?. 1657 * 1658 * <p> 1659 * 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. 1660 * </p> 1661 * 1662 * @param groupId the group ID 1663 * @param nodeId the node ID 1664 * @param status the status 1665 * @param start the lower bound of the range of wiki pages 1666 * @param end the upper bound of the range of wiki pages (not inclusive) 1667 * @return the range of matching wiki pages 1668 * @throws SystemException if a system exception occurred 1669 */ 1670 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S( 1671 long groupId, long nodeId, int status, int start, int end) 1672 throws com.liferay.portal.kernel.exception.SystemException; 1673 1674 /** 1675 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and status = ?. 1676 * 1677 * <p> 1678 * 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. 1679 * </p> 1680 * 1681 * @param groupId the group ID 1682 * @param nodeId the node ID 1683 * @param status the status 1684 * @param start the lower bound of the range of wiki pages 1685 * @param end the upper bound of the range of wiki pages (not inclusive) 1686 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1687 * @return the ordered range of matching wiki pages 1688 * @throws SystemException if a system exception occurred 1689 */ 1690 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S( 1691 long groupId, long nodeId, int status, int start, int end, 1692 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1693 throws com.liferay.portal.kernel.exception.SystemException; 1694 1695 /** 1696 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 1697 * 1698 * @param groupId the group ID 1699 * @param nodeId the node ID 1700 * @param status the status 1701 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1702 * @return the first matching wiki page 1703 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1704 * @throws SystemException if a system exception occurred 1705 */ 1706 public com.liferay.portlet.wiki.model.WikiPage findByG_N_S_First( 1707 long groupId, long nodeId, int status, 1708 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1709 throws com.liferay.portal.kernel.exception.SystemException, 1710 com.liferay.portlet.wiki.NoSuchPageException; 1711 1712 /** 1713 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 1714 * 1715 * @param groupId the group ID 1716 * @param nodeId the node ID 1717 * @param status the status 1718 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1719 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1720 * @throws SystemException if a system exception occurred 1721 */ 1722 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_First( 1723 long groupId, long nodeId, int status, 1724 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1725 throws com.liferay.portal.kernel.exception.SystemException; 1726 1727 /** 1728 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 1729 * 1730 * @param groupId the group ID 1731 * @param nodeId the node ID 1732 * @param status the status 1733 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1734 * @return the last matching wiki page 1735 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1736 * @throws SystemException if a system exception occurred 1737 */ 1738 public com.liferay.portlet.wiki.model.WikiPage findByG_N_S_Last( 1739 long groupId, long nodeId, int status, 1740 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1741 throws com.liferay.portal.kernel.exception.SystemException, 1742 com.liferay.portlet.wiki.NoSuchPageException; 1743 1744 /** 1745 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 1746 * 1747 * @param groupId the group ID 1748 * @param nodeId the node ID 1749 * @param status the status 1750 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1751 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1752 * @throws SystemException if a system exception occurred 1753 */ 1754 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_Last( 1755 long groupId, long nodeId, int status, 1756 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1757 throws com.liferay.portal.kernel.exception.SystemException; 1758 1759 /** 1760 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 1761 * 1762 * @param pageId the primary key of the current wiki page 1763 * @param groupId the group ID 1764 * @param nodeId the node ID 1765 * @param status the status 1766 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1767 * @return the previous, current, and next wiki page 1768 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1769 * @throws SystemException if a system exception occurred 1770 */ 1771 public com.liferay.portlet.wiki.model.WikiPage[] findByG_N_S_PrevAndNext( 1772 long pageId, long groupId, long nodeId, int status, 1773 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1774 throws com.liferay.portal.kernel.exception.SystemException, 1775 com.liferay.portlet.wiki.NoSuchPageException; 1776 1777 /** 1778 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 1779 * 1780 * @param groupId the group ID 1781 * @param nodeId the node ID 1782 * @param status the status 1783 * @return the matching wiki pages that the user has permission to view 1784 * @throws SystemException if a system exception occurred 1785 */ 1786 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S( 1787 long groupId, long nodeId, int status) 1788 throws com.liferay.portal.kernel.exception.SystemException; 1789 1790 /** 1791 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 1792 * 1793 * <p> 1794 * 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. 1795 * </p> 1796 * 1797 * @param groupId the group ID 1798 * @param nodeId the node ID 1799 * @param status the status 1800 * @param start the lower bound of the range of wiki pages 1801 * @param end the upper bound of the range of wiki pages (not inclusive) 1802 * @return the range of matching wiki pages that the user has permission to view 1803 * @throws SystemException if a system exception occurred 1804 */ 1805 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S( 1806 long groupId, long nodeId, int status, int start, int end) 1807 throws com.liferay.portal.kernel.exception.SystemException; 1808 1809 /** 1810 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and status = ?. 1811 * 1812 * <p> 1813 * 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. 1814 * </p> 1815 * 1816 * @param groupId the group ID 1817 * @param nodeId the node ID 1818 * @param status the status 1819 * @param start the lower bound of the range of wiki pages 1820 * @param end the upper bound of the range of wiki pages (not inclusive) 1821 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1822 * @return the ordered range of matching wiki pages that the user has permission to view 1823 * @throws SystemException if a system exception occurred 1824 */ 1825 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S( 1826 long groupId, long nodeId, int status, int start, int end, 1827 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1828 throws com.liferay.portal.kernel.exception.SystemException; 1829 1830 /** 1831 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 1832 * 1833 * @param pageId the primary key of the current wiki page 1834 * @param groupId the group ID 1835 * @param nodeId the node ID 1836 * @param status the status 1837 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1838 * @return the previous, current, and next wiki page 1839 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1840 * @throws SystemException if a system exception occurred 1841 */ 1842 public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_S_PrevAndNext( 1843 long pageId, long groupId, long nodeId, int status, 1844 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1845 throws com.liferay.portal.kernel.exception.SystemException, 1846 com.liferay.portlet.wiki.NoSuchPageException; 1847 1848 /** 1849 * Returns all the wiki pages where userId = ? and nodeId = ? and status = ?. 1850 * 1851 * @param userId the user ID 1852 * @param nodeId the node ID 1853 * @param status the status 1854 * @return the matching wiki pages 1855 * @throws SystemException if a system exception occurred 1856 */ 1857 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 1858 long userId, long nodeId, int status) 1859 throws com.liferay.portal.kernel.exception.SystemException; 1860 1861 /** 1862 * Returns a range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 1863 * 1864 * <p> 1865 * 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. 1866 * </p> 1867 * 1868 * @param userId the user ID 1869 * @param nodeId the node ID 1870 * @param status the status 1871 * @param start the lower bound of the range of wiki pages 1872 * @param end the upper bound of the range of wiki pages (not inclusive) 1873 * @return the range of matching wiki pages 1874 * @throws SystemException if a system exception occurred 1875 */ 1876 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 1877 long userId, long nodeId, int status, int start, int end) 1878 throws com.liferay.portal.kernel.exception.SystemException; 1879 1880 /** 1881 * Returns an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 1882 * 1883 * <p> 1884 * 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. 1885 * </p> 1886 * 1887 * @param userId the user ID 1888 * @param nodeId the node ID 1889 * @param status the status 1890 * @param start the lower bound of the range of wiki pages 1891 * @param end the upper bound of the range of wiki pages (not inclusive) 1892 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1893 * @return the ordered range of matching wiki pages 1894 * @throws SystemException if a system exception occurred 1895 */ 1896 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 1897 long userId, long nodeId, int status, int start, int end, 1898 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1899 throws com.liferay.portal.kernel.exception.SystemException; 1900 1901 /** 1902 * Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1903 * 1904 * @param userId the user ID 1905 * @param nodeId the node ID 1906 * @param status the status 1907 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1908 * @return the first matching wiki page 1909 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1910 * @throws SystemException if a system exception occurred 1911 */ 1912 public com.liferay.portlet.wiki.model.WikiPage findByU_N_S_First( 1913 long userId, long nodeId, int status, 1914 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1915 throws com.liferay.portal.kernel.exception.SystemException, 1916 com.liferay.portlet.wiki.NoSuchPageException; 1917 1918 /** 1919 * Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1920 * 1921 * @param userId the user ID 1922 * @param nodeId the node ID 1923 * @param status the status 1924 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1925 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1926 * @throws SystemException if a system exception occurred 1927 */ 1928 public com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_First( 1929 long userId, long nodeId, int status, 1930 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1931 throws com.liferay.portal.kernel.exception.SystemException; 1932 1933 /** 1934 * Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1935 * 1936 * @param userId the user ID 1937 * @param nodeId the node ID 1938 * @param status the status 1939 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1940 * @return the last matching wiki page 1941 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1942 * @throws SystemException if a system exception occurred 1943 */ 1944 public com.liferay.portlet.wiki.model.WikiPage findByU_N_S_Last( 1945 long userId, long nodeId, int status, 1946 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1947 throws com.liferay.portal.kernel.exception.SystemException, 1948 com.liferay.portlet.wiki.NoSuchPageException; 1949 1950 /** 1951 * Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1952 * 1953 * @param userId the user ID 1954 * @param nodeId the node ID 1955 * @param status the status 1956 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1957 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1958 * @throws SystemException if a system exception occurred 1959 */ 1960 public com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_Last( 1961 long userId, long nodeId, int status, 1962 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1963 throws com.liferay.portal.kernel.exception.SystemException; 1964 1965 /** 1966 * Returns the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1967 * 1968 * @param pageId the primary key of the current wiki page 1969 * @param userId the user ID 1970 * @param nodeId the node ID 1971 * @param status the status 1972 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1973 * @return the previous, current, and next wiki page 1974 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1975 * @throws SystemException if a system exception occurred 1976 */ 1977 public com.liferay.portlet.wiki.model.WikiPage[] findByU_N_S_PrevAndNext( 1978 long pageId, long userId, long nodeId, int status, 1979 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1980 throws com.liferay.portal.kernel.exception.SystemException, 1981 com.liferay.portlet.wiki.NoSuchPageException; 1982 1983 /** 1984 * 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. 1985 * 1986 * @param nodeId the node ID 1987 * @param title the title 1988 * @param version the version 1989 * @return the matching wiki page 1990 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1991 * @throws SystemException if a system exception occurred 1992 */ 1993 public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId, 1994 java.lang.String title, double version) 1995 throws com.liferay.portal.kernel.exception.SystemException, 1996 com.liferay.portlet.wiki.NoSuchPageException; 1997 1998 /** 1999 * 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. 2000 * 2001 * @param nodeId the node ID 2002 * @param title the title 2003 * @param version the version 2004 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 2005 * @throws SystemException if a system exception occurred 2006 */ 2007 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId, 2008 java.lang.String title, double version) 2009 throws com.liferay.portal.kernel.exception.SystemException; 2010 2011 /** 2012 * 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. 2013 * 2014 * @param nodeId the node ID 2015 * @param title the title 2016 * @param version the version 2017 * @param retrieveFromCache whether to use the finder cache 2018 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 2019 * @throws SystemException if a system exception occurred 2020 */ 2021 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId, 2022 java.lang.String title, double version, boolean retrieveFromCache) 2023 throws com.liferay.portal.kernel.exception.SystemException; 2024 2025 /** 2026 * Returns all the wiki pages where nodeId = ? and title = ? and head = ?. 2027 * 2028 * @param nodeId the node ID 2029 * @param title the title 2030 * @param head the head 2031 * @return the matching wiki pages 2032 * @throws SystemException if a system exception occurred 2033 */ 2034 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 2035 long nodeId, java.lang.String title, boolean head) 2036 throws com.liferay.portal.kernel.exception.SystemException; 2037 2038 /** 2039 * Returns a range of all the wiki pages where nodeId = ? and title = ? and head = ?. 2040 * 2041 * <p> 2042 * 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. 2043 * </p> 2044 * 2045 * @param nodeId the node ID 2046 * @param title the title 2047 * @param head the head 2048 * @param start the lower bound of the range of wiki pages 2049 * @param end the upper bound of the range of wiki pages (not inclusive) 2050 * @return the range of matching wiki pages 2051 * @throws SystemException if a system exception occurred 2052 */ 2053 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 2054 long nodeId, java.lang.String title, boolean head, int start, int end) 2055 throws com.liferay.portal.kernel.exception.SystemException; 2056 2057 /** 2058 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?. 2059 * 2060 * <p> 2061 * 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. 2062 * </p> 2063 * 2064 * @param nodeId the node ID 2065 * @param title the title 2066 * @param head the head 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 matching wiki pages 2071 * @throws SystemException if a system exception occurred 2072 */ 2073 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 2074 long nodeId, java.lang.String title, boolean head, int start, int end, 2075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2076 throws com.liferay.portal.kernel.exception.SystemException; 2077 2078 /** 2079 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 2080 * 2081 * @param nodeId the node ID 2082 * @param title the title 2083 * @param head the head 2084 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2085 * @return the first matching wiki page 2086 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2087 * @throws SystemException if a system exception occurred 2088 */ 2089 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First( 2090 long nodeId, java.lang.String title, boolean head, 2091 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2092 throws com.liferay.portal.kernel.exception.SystemException, 2093 com.liferay.portlet.wiki.NoSuchPageException; 2094 2095 /** 2096 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 2097 * 2098 * @param nodeId the node ID 2099 * @param title the title 2100 * @param head the head 2101 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2102 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2103 * @throws SystemException if a system exception occurred 2104 */ 2105 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_First( 2106 long nodeId, java.lang.String title, boolean head, 2107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2108 throws com.liferay.portal.kernel.exception.SystemException; 2109 2110 /** 2111 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 2112 * 2113 * @param nodeId the node ID 2114 * @param title the title 2115 * @param head the head 2116 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2117 * @return the last matching wiki page 2118 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2119 * @throws SystemException if a system exception occurred 2120 */ 2121 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last( 2122 long nodeId, java.lang.String title, boolean head, 2123 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2124 throws com.liferay.portal.kernel.exception.SystemException, 2125 com.liferay.portlet.wiki.NoSuchPageException; 2126 2127 /** 2128 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 2129 * 2130 * @param nodeId the node ID 2131 * @param title the title 2132 * @param head the head 2133 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2134 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2135 * @throws SystemException if a system exception occurred 2136 */ 2137 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_Last( 2138 long nodeId, java.lang.String title, boolean head, 2139 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2140 throws com.liferay.portal.kernel.exception.SystemException; 2141 2142 /** 2143 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 2144 * 2145 * @param pageId the primary key of the current wiki page 2146 * @param nodeId the node ID 2147 * @param title the title 2148 * @param head the head 2149 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2150 * @return the previous, current, and next wiki page 2151 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2152 * @throws SystemException if a system exception occurred 2153 */ 2154 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext( 2155 long pageId, long nodeId, java.lang.String title, boolean head, 2156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2157 throws com.liferay.portal.kernel.exception.SystemException, 2158 com.liferay.portlet.wiki.NoSuchPageException; 2159 2160 /** 2161 * Returns all the wiki pages where nodeId = ? and title = ? and status = ?. 2162 * 2163 * @param nodeId the node ID 2164 * @param title the title 2165 * @param status the status 2166 * @return the matching wiki pages 2167 * @throws SystemException if a system exception occurred 2168 */ 2169 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 2170 long nodeId, java.lang.String title, int status) 2171 throws com.liferay.portal.kernel.exception.SystemException; 2172 2173 /** 2174 * Returns a range of all the wiki pages where nodeId = ? and title = ? and status = ?. 2175 * 2176 * <p> 2177 * 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. 2178 * </p> 2179 * 2180 * @param nodeId the node ID 2181 * @param title the title 2182 * @param status the status 2183 * @param start the lower bound of the range of wiki pages 2184 * @param end the upper bound of the range of wiki pages (not inclusive) 2185 * @return the range of matching wiki pages 2186 * @throws SystemException if a system exception occurred 2187 */ 2188 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 2189 long nodeId, java.lang.String title, int status, int start, int end) 2190 throws com.liferay.portal.kernel.exception.SystemException; 2191 2192 /** 2193 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?. 2194 * 2195 * <p> 2196 * 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. 2197 * </p> 2198 * 2199 * @param nodeId the node ID 2200 * @param title the title 2201 * @param status the status 2202 * @param start the lower bound of the range of wiki pages 2203 * @param end the upper bound of the range of wiki pages (not inclusive) 2204 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2205 * @return the ordered range of matching wiki pages 2206 * @throws SystemException if a system exception occurred 2207 */ 2208 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 2209 long nodeId, java.lang.String title, int status, int start, int end, 2210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2211 throws com.liferay.portal.kernel.exception.SystemException; 2212 2213 /** 2214 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 2215 * 2216 * @param nodeId the node ID 2217 * @param title the title 2218 * @param status the status 2219 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2220 * @return the first matching wiki page 2221 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2222 * @throws SystemException if a system exception occurred 2223 */ 2224 public com.liferay.portlet.wiki.model.WikiPage findByN_T_S_First( 2225 long nodeId, java.lang.String title, int status, 2226 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2227 throws com.liferay.portal.kernel.exception.SystemException, 2228 com.liferay.portlet.wiki.NoSuchPageException; 2229 2230 /** 2231 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 2232 * 2233 * @param nodeId the node ID 2234 * @param title the title 2235 * @param status the status 2236 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2237 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2238 * @throws SystemException if a system exception occurred 2239 */ 2240 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_First( 2241 long nodeId, java.lang.String title, int status, 2242 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2243 throws com.liferay.portal.kernel.exception.SystemException; 2244 2245 /** 2246 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 2247 * 2248 * @param nodeId the node ID 2249 * @param title the title 2250 * @param status the status 2251 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2252 * @return the last matching wiki page 2253 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2254 * @throws SystemException if a system exception occurred 2255 */ 2256 public com.liferay.portlet.wiki.model.WikiPage findByN_T_S_Last( 2257 long nodeId, java.lang.String title, int status, 2258 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2259 throws com.liferay.portal.kernel.exception.SystemException, 2260 com.liferay.portlet.wiki.NoSuchPageException; 2261 2262 /** 2263 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 2264 * 2265 * @param nodeId the node ID 2266 * @param title the title 2267 * @param status the status 2268 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2269 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2270 * @throws SystemException if a system exception occurred 2271 */ 2272 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_Last( 2273 long nodeId, java.lang.String title, int status, 2274 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2275 throws com.liferay.portal.kernel.exception.SystemException; 2276 2277 /** 2278 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 2279 * 2280 * @param pageId the primary key of the current wiki page 2281 * @param nodeId the node ID 2282 * @param title the title 2283 * @param status the status 2284 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2285 * @return the previous, current, and next wiki page 2286 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2287 * @throws SystemException if a system exception occurred 2288 */ 2289 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_S_PrevAndNext( 2290 long pageId, long nodeId, java.lang.String title, int status, 2291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2292 throws com.liferay.portal.kernel.exception.SystemException, 2293 com.liferay.portlet.wiki.NoSuchPageException; 2294 2295 /** 2296 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 2297 * 2298 * @param nodeId the node ID 2299 * @param head the head 2300 * @param parentTitle the parent title 2301 * @return the matching wiki pages 2302 * @throws SystemException if a system exception occurred 2303 */ 2304 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 2305 long nodeId, boolean head, java.lang.String parentTitle) 2306 throws com.liferay.portal.kernel.exception.SystemException; 2307 2308 /** 2309 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 2310 * 2311 * <p> 2312 * 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. 2313 * </p> 2314 * 2315 * @param nodeId the node ID 2316 * @param head the head 2317 * @param parentTitle the parent title 2318 * @param start the lower bound of the range of wiki pages 2319 * @param end the upper bound of the range of wiki pages (not inclusive) 2320 * @return the range of matching wiki pages 2321 * @throws SystemException if a system exception occurred 2322 */ 2323 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 2324 long nodeId, boolean head, java.lang.String parentTitle, int start, 2325 int end) throws com.liferay.portal.kernel.exception.SystemException; 2326 2327 /** 2328 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 2329 * 2330 * <p> 2331 * 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. 2332 * </p> 2333 * 2334 * @param nodeId the node ID 2335 * @param head the head 2336 * @param parentTitle the parent title 2337 * @param start the lower bound of the range of wiki pages 2338 * @param end the upper bound of the range of wiki pages (not inclusive) 2339 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2340 * @return the ordered range of matching wiki pages 2341 * @throws SystemException if a system exception occurred 2342 */ 2343 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 2344 long nodeId, boolean head, java.lang.String parentTitle, int start, 2345 int end, 2346 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2347 throws com.liferay.portal.kernel.exception.SystemException; 2348 2349 /** 2350 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2351 * 2352 * @param nodeId the node ID 2353 * @param head the head 2354 * @param parentTitle the parent title 2355 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2356 * @return the first matching wiki page 2357 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2358 * @throws SystemException if a system exception occurred 2359 */ 2360 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First( 2361 long nodeId, boolean head, java.lang.String parentTitle, 2362 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2363 throws com.liferay.portal.kernel.exception.SystemException, 2364 com.liferay.portlet.wiki.NoSuchPageException; 2365 2366 /** 2367 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2368 * 2369 * @param nodeId the node ID 2370 * @param head the head 2371 * @param parentTitle the parent title 2372 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2373 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2374 * @throws SystemException if a system exception occurred 2375 */ 2376 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_First( 2377 long nodeId, boolean head, java.lang.String parentTitle, 2378 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2379 throws com.liferay.portal.kernel.exception.SystemException; 2380 2381 /** 2382 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2383 * 2384 * @param nodeId the node ID 2385 * @param head the head 2386 * @param parentTitle the parent title 2387 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2388 * @return the last matching wiki page 2389 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2390 * @throws SystemException if a system exception occurred 2391 */ 2392 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last( 2393 long nodeId, boolean head, java.lang.String parentTitle, 2394 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2395 throws com.liferay.portal.kernel.exception.SystemException, 2396 com.liferay.portlet.wiki.NoSuchPageException; 2397 2398 /** 2399 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2400 * 2401 * @param nodeId the node ID 2402 * @param head the head 2403 * @param parentTitle the parent title 2404 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2405 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2406 * @throws SystemException if a system exception occurred 2407 */ 2408 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_Last( 2409 long nodeId, boolean head, java.lang.String parentTitle, 2410 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2411 throws com.liferay.portal.kernel.exception.SystemException; 2412 2413 /** 2414 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2415 * 2416 * @param pageId the primary key of the current wiki page 2417 * @param nodeId the node ID 2418 * @param head the head 2419 * @param parentTitle the parent title 2420 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2421 * @return the previous, current, and next wiki page 2422 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2423 * @throws SystemException if a system exception occurred 2424 */ 2425 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext( 2426 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 2427 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2428 throws com.liferay.portal.kernel.exception.SystemException, 2429 com.liferay.portlet.wiki.NoSuchPageException; 2430 2431 /** 2432 * Returns all the wiki pages where nodeId = ? and head = ? and status = ?. 2433 * 2434 * @param nodeId the node ID 2435 * @param head the head 2436 * @param status the status 2437 * @return the matching wiki pages 2438 * @throws SystemException if a system exception occurred 2439 */ 2440 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 2441 long nodeId, boolean head, int status) 2442 throws com.liferay.portal.kernel.exception.SystemException; 2443 2444 /** 2445 * Returns a range of all the wiki pages where nodeId = ? and head = ? and status = ?. 2446 * 2447 * <p> 2448 * 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. 2449 * </p> 2450 * 2451 * @param nodeId the node ID 2452 * @param head the head 2453 * @param status the status 2454 * @param start the lower bound of the range of wiki pages 2455 * @param end the upper bound of the range of wiki pages (not inclusive) 2456 * @return the range of matching wiki pages 2457 * @throws SystemException if a system exception occurred 2458 */ 2459 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 2460 long nodeId, boolean head, int status, int start, int end) 2461 throws com.liferay.portal.kernel.exception.SystemException; 2462 2463 /** 2464 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?. 2465 * 2466 * <p> 2467 * 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. 2468 * </p> 2469 * 2470 * @param nodeId the node ID 2471 * @param head the head 2472 * @param status the status 2473 * @param start the lower bound of the range of wiki pages 2474 * @param end the upper bound of the range of wiki pages (not inclusive) 2475 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2476 * @return the ordered range of matching wiki pages 2477 * @throws SystemException if a system exception occurred 2478 */ 2479 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 2480 long nodeId, boolean head, int status, int start, int end, 2481 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2482 throws com.liferay.portal.kernel.exception.SystemException; 2483 2484 /** 2485 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2486 * 2487 * @param nodeId the node ID 2488 * @param head the head 2489 * @param status the status 2490 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2491 * @return the first matching wiki page 2492 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2493 * @throws SystemException if a system exception occurred 2494 */ 2495 public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First( 2496 long nodeId, boolean head, int status, 2497 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2498 throws com.liferay.portal.kernel.exception.SystemException, 2499 com.liferay.portlet.wiki.NoSuchPageException; 2500 2501 /** 2502 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2503 * 2504 * @param nodeId the node ID 2505 * @param head the head 2506 * @param status the status 2507 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2508 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2509 * @throws SystemException if a system exception occurred 2510 */ 2511 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_First( 2512 long nodeId, boolean head, int status, 2513 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2514 throws com.liferay.portal.kernel.exception.SystemException; 2515 2516 /** 2517 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2518 * 2519 * @param nodeId the node ID 2520 * @param head the head 2521 * @param status the status 2522 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2523 * @return the last matching wiki page 2524 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2525 * @throws SystemException if a system exception occurred 2526 */ 2527 public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last( 2528 long nodeId, boolean head, int status, 2529 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2530 throws com.liferay.portal.kernel.exception.SystemException, 2531 com.liferay.portlet.wiki.NoSuchPageException; 2532 2533 /** 2534 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2535 * 2536 * @param nodeId the node ID 2537 * @param head the head 2538 * @param status the status 2539 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2540 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2541 * @throws SystemException if a system exception occurred 2542 */ 2543 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_Last( 2544 long nodeId, boolean head, int status, 2545 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2546 throws com.liferay.portal.kernel.exception.SystemException; 2547 2548 /** 2549 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2550 * 2551 * @param pageId the primary key of the current wiki page 2552 * @param nodeId the node ID 2553 * @param head the head 2554 * @param status the status 2555 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2556 * @return the previous, current, and next wiki page 2557 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2558 * @throws SystemException if a system exception occurred 2559 */ 2560 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext( 2561 long pageId, long nodeId, boolean head, int status, 2562 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2563 throws com.liferay.portal.kernel.exception.SystemException, 2564 com.liferay.portlet.wiki.NoSuchPageException; 2565 2566 /** 2567 * Returns all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 2568 * 2569 * @param groupId the group ID 2570 * @param userId the user ID 2571 * @param nodeId the node ID 2572 * @param status the status 2573 * @return the matching wiki pages 2574 * @throws SystemException if a system exception occurred 2575 */ 2576 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S( 2577 long groupId, long userId, long nodeId, int status) 2578 throws com.liferay.portal.kernel.exception.SystemException; 2579 2580 /** 2581 * Returns a range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 2582 * 2583 * <p> 2584 * 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. 2585 * </p> 2586 * 2587 * @param groupId the group ID 2588 * @param userId the user ID 2589 * @param nodeId the node ID 2590 * @param status the status 2591 * @param start the lower bound of the range of wiki pages 2592 * @param end the upper bound of the range of wiki pages (not inclusive) 2593 * @return the range of matching wiki pages 2594 * @throws SystemException if a system exception occurred 2595 */ 2596 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S( 2597 long groupId, long userId, long nodeId, int status, int start, int end) 2598 throws com.liferay.portal.kernel.exception.SystemException; 2599 2600 /** 2601 * Returns an ordered range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 2602 * 2603 * <p> 2604 * 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. 2605 * </p> 2606 * 2607 * @param groupId the group ID 2608 * @param userId the user ID 2609 * @param nodeId the node ID 2610 * @param status the status 2611 * @param start the lower bound of the range of wiki pages 2612 * @param end the upper bound of the range of wiki pages (not inclusive) 2613 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2614 * @return the ordered range of matching wiki pages 2615 * @throws SystemException if a system exception occurred 2616 */ 2617 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S( 2618 long groupId, long userId, long nodeId, int status, int start, int end, 2619 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2620 throws com.liferay.portal.kernel.exception.SystemException; 2621 2622 /** 2623 * Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 2624 * 2625 * @param groupId the group ID 2626 * @param userId the user ID 2627 * @param nodeId the node ID 2628 * @param status the status 2629 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2630 * @return the first matching wiki page 2631 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2632 * @throws SystemException if a system exception occurred 2633 */ 2634 public com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_First( 2635 long groupId, long userId, long nodeId, int status, 2636 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2637 throws com.liferay.portal.kernel.exception.SystemException, 2638 com.liferay.portlet.wiki.NoSuchPageException; 2639 2640 /** 2641 * Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 2642 * 2643 * @param groupId the group ID 2644 * @param userId the user ID 2645 * @param nodeId the node ID 2646 * @param status the status 2647 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2648 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2649 * @throws SystemException if a system exception occurred 2650 */ 2651 public com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_First( 2652 long groupId, long userId, long nodeId, int status, 2653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2654 throws com.liferay.portal.kernel.exception.SystemException; 2655 2656 /** 2657 * Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 2658 * 2659 * @param groupId the group ID 2660 * @param userId the user ID 2661 * @param nodeId the node ID 2662 * @param status the status 2663 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2664 * @return the last matching wiki page 2665 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2666 * @throws SystemException if a system exception occurred 2667 */ 2668 public com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_Last( 2669 long groupId, long userId, long nodeId, int status, 2670 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2671 throws com.liferay.portal.kernel.exception.SystemException, 2672 com.liferay.portlet.wiki.NoSuchPageException; 2673 2674 /** 2675 * Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 2676 * 2677 * @param groupId the group ID 2678 * @param userId the user ID 2679 * @param nodeId the node ID 2680 * @param status the status 2681 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2682 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2683 * @throws SystemException if a system exception occurred 2684 */ 2685 public com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_Last( 2686 long groupId, long userId, long nodeId, int status, 2687 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2688 throws com.liferay.portal.kernel.exception.SystemException; 2689 2690 /** 2691 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 2692 * 2693 * @param pageId the primary key of the current wiki page 2694 * @param groupId the group ID 2695 * @param userId the user ID 2696 * @param nodeId the node ID 2697 * @param status the status 2698 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2699 * @return the previous, current, and next wiki page 2700 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2701 * @throws SystemException if a system exception occurred 2702 */ 2703 public com.liferay.portlet.wiki.model.WikiPage[] findByG_U_N_S_PrevAndNext( 2704 long pageId, long groupId, long userId, long nodeId, int status, 2705 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2706 throws com.liferay.portal.kernel.exception.SystemException, 2707 com.liferay.portlet.wiki.NoSuchPageException; 2708 2709 /** 2710 * Returns all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 2711 * 2712 * @param groupId the group ID 2713 * @param userId the user ID 2714 * @param nodeId the node ID 2715 * @param status the status 2716 * @return the matching wiki pages that the user has permission to view 2717 * @throws SystemException if a system exception occurred 2718 */ 2719 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S( 2720 long groupId, long userId, long nodeId, int status) 2721 throws com.liferay.portal.kernel.exception.SystemException; 2722 2723 /** 2724 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 2725 * 2726 * <p> 2727 * 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. 2728 * </p> 2729 * 2730 * @param groupId the group ID 2731 * @param userId the user ID 2732 * @param nodeId the node ID 2733 * @param status the status 2734 * @param start the lower bound of the range of wiki pages 2735 * @param end the upper bound of the range of wiki pages (not inclusive) 2736 * @return the range of matching wiki pages that the user has permission to view 2737 * @throws SystemException if a system exception occurred 2738 */ 2739 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S( 2740 long groupId, long userId, long nodeId, int status, int start, int end) 2741 throws com.liferay.portal.kernel.exception.SystemException; 2742 2743 /** 2744 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 2745 * 2746 * <p> 2747 * 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. 2748 * </p> 2749 * 2750 * @param groupId the group ID 2751 * @param userId the user ID 2752 * @param nodeId the node ID 2753 * @param status the status 2754 * @param start the lower bound of the range of wiki pages 2755 * @param end the upper bound of the range of wiki pages (not inclusive) 2756 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2757 * @return the ordered range of matching wiki pages that the user has permission to view 2758 * @throws SystemException if a system exception occurred 2759 */ 2760 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S( 2761 long groupId, long userId, long nodeId, int status, int start, int end, 2762 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2763 throws com.liferay.portal.kernel.exception.SystemException; 2764 2765 /** 2766 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 2767 * 2768 * @param pageId the primary key of the current wiki page 2769 * @param groupId the group ID 2770 * @param userId the user ID 2771 * @param nodeId the node ID 2772 * @param status the status 2773 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2774 * @return the previous, current, and next wiki page 2775 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2776 * @throws SystemException if a system exception occurred 2777 */ 2778 public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_U_N_S_PrevAndNext( 2779 long pageId, long groupId, long userId, long nodeId, int status, 2780 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2781 throws com.liferay.portal.kernel.exception.SystemException, 2782 com.liferay.portlet.wiki.NoSuchPageException; 2783 2784 /** 2785 * Returns all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 2786 * 2787 * @param groupId the group ID 2788 * @param nodeId the node ID 2789 * @param title the title 2790 * @param head the head 2791 * @return the matching wiki pages 2792 * @throws SystemException if a system exception occurred 2793 */ 2794 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H( 2795 long groupId, long nodeId, java.lang.String title, boolean head) 2796 throws com.liferay.portal.kernel.exception.SystemException; 2797 2798 /** 2799 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 2800 * 2801 * <p> 2802 * 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. 2803 * </p> 2804 * 2805 * @param groupId the group ID 2806 * @param nodeId the node ID 2807 * @param title the title 2808 * @param head the head 2809 * @param start the lower bound of the range of wiki pages 2810 * @param end the upper bound of the range of wiki pages (not inclusive) 2811 * @return the range of matching wiki pages 2812 * @throws SystemException if a system exception occurred 2813 */ 2814 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H( 2815 long groupId, long nodeId, java.lang.String title, boolean head, 2816 int start, int end) 2817 throws com.liferay.portal.kernel.exception.SystemException; 2818 2819 /** 2820 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 2821 * 2822 * <p> 2823 * 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. 2824 * </p> 2825 * 2826 * @param groupId the group ID 2827 * @param nodeId the node ID 2828 * @param title the title 2829 * @param head the head 2830 * @param start the lower bound of the range of wiki pages 2831 * @param end the upper bound of the range of wiki pages (not inclusive) 2832 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2833 * @return the ordered range of matching wiki pages 2834 * @throws SystemException if a system exception occurred 2835 */ 2836 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H( 2837 long groupId, long nodeId, java.lang.String title, boolean head, 2838 int start, int end, 2839 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2840 throws com.liferay.portal.kernel.exception.SystemException; 2841 2842 /** 2843 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 2844 * 2845 * @param groupId the group ID 2846 * @param nodeId the node ID 2847 * @param title the title 2848 * @param head the head 2849 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2850 * @return the first matching wiki page 2851 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2852 * @throws SystemException if a system exception occurred 2853 */ 2854 public com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_First( 2855 long groupId, long nodeId, java.lang.String title, boolean head, 2856 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2857 throws com.liferay.portal.kernel.exception.SystemException, 2858 com.liferay.portlet.wiki.NoSuchPageException; 2859 2860 /** 2861 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 2862 * 2863 * @param groupId the group ID 2864 * @param nodeId the node ID 2865 * @param title the title 2866 * @param head the head 2867 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2868 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2869 * @throws SystemException if a system exception occurred 2870 */ 2871 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_First( 2872 long groupId, long nodeId, java.lang.String title, boolean head, 2873 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2874 throws com.liferay.portal.kernel.exception.SystemException; 2875 2876 /** 2877 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 2878 * 2879 * @param groupId the group ID 2880 * @param nodeId the node ID 2881 * @param title the title 2882 * @param head the head 2883 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2884 * @return the last matching wiki page 2885 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2886 * @throws SystemException if a system exception occurred 2887 */ 2888 public com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_Last( 2889 long groupId, long nodeId, java.lang.String title, boolean head, 2890 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2891 throws com.liferay.portal.kernel.exception.SystemException, 2892 com.liferay.portlet.wiki.NoSuchPageException; 2893 2894 /** 2895 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 2896 * 2897 * @param groupId the group ID 2898 * @param nodeId the node ID 2899 * @param title the title 2900 * @param head the head 2901 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2902 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2903 * @throws SystemException if a system exception occurred 2904 */ 2905 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_Last( 2906 long groupId, long nodeId, java.lang.String title, boolean head, 2907 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2908 throws com.liferay.portal.kernel.exception.SystemException; 2909 2910 /** 2911 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 2912 * 2913 * @param pageId the primary key of the current wiki page 2914 * @param groupId the group ID 2915 * @param nodeId the node ID 2916 * @param title the title 2917 * @param head the head 2918 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2919 * @return the previous, current, and next wiki page 2920 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2921 * @throws SystemException if a system exception occurred 2922 */ 2923 public com.liferay.portlet.wiki.model.WikiPage[] findByG_N_T_H_PrevAndNext( 2924 long pageId, long groupId, long nodeId, java.lang.String title, 2925 boolean head, 2926 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2927 throws com.liferay.portal.kernel.exception.SystemException, 2928 com.liferay.portlet.wiki.NoSuchPageException; 2929 2930 /** 2931 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 2932 * 2933 * @param groupId the group ID 2934 * @param nodeId the node ID 2935 * @param title the title 2936 * @param head the head 2937 * @return the matching wiki pages that the user has permission to view 2938 * @throws SystemException if a system exception occurred 2939 */ 2940 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H( 2941 long groupId, long nodeId, java.lang.String title, boolean head) 2942 throws com.liferay.portal.kernel.exception.SystemException; 2943 2944 /** 2945 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 2946 * 2947 * <p> 2948 * 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. 2949 * </p> 2950 * 2951 * @param groupId the group ID 2952 * @param nodeId the node ID 2953 * @param title the title 2954 * @param head the head 2955 * @param start the lower bound of the range of wiki pages 2956 * @param end the upper bound of the range of wiki pages (not inclusive) 2957 * @return the range of matching wiki pages that the user has permission to view 2958 * @throws SystemException if a system exception occurred 2959 */ 2960 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H( 2961 long groupId, long nodeId, java.lang.String title, boolean head, 2962 int start, int end) 2963 throws com.liferay.portal.kernel.exception.SystemException; 2964 2965 /** 2966 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and title = ? and head = ?. 2967 * 2968 * <p> 2969 * 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. 2970 * </p> 2971 * 2972 * @param groupId the group ID 2973 * @param nodeId the node ID 2974 * @param title the title 2975 * @param head the head 2976 * @param start the lower bound of the range of wiki pages 2977 * @param end the upper bound of the range of wiki pages (not inclusive) 2978 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2979 * @return the ordered range of matching wiki pages that the user has permission to view 2980 * @throws SystemException if a system exception occurred 2981 */ 2982 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H( 2983 long groupId, long nodeId, java.lang.String title, boolean head, 2984 int start, int end, 2985 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2986 throws com.liferay.portal.kernel.exception.SystemException; 2987 2988 /** 2989 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 2990 * 2991 * @param pageId the primary key of the current wiki page 2992 * @param groupId the group ID 2993 * @param nodeId the node ID 2994 * @param title the title 2995 * @param head the head 2996 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2997 * @return the previous, current, and next wiki page 2998 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2999 * @throws SystemException if a system exception occurred 3000 */ 3001 public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_T_H_PrevAndNext( 3002 long pageId, long groupId, long nodeId, java.lang.String title, 3003 boolean head, 3004 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3005 throws com.liferay.portal.kernel.exception.SystemException, 3006 com.liferay.portlet.wiki.NoSuchPageException; 3007 3008 /** 3009 * Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 3010 * 3011 * @param groupId the group ID 3012 * @param nodeId the node ID 3013 * @param head the head 3014 * @param status the status 3015 * @return the matching wiki pages 3016 * @throws SystemException if a system exception occurred 3017 */ 3018 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S( 3019 long groupId, long nodeId, boolean head, int status) 3020 throws com.liferay.portal.kernel.exception.SystemException; 3021 3022 /** 3023 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 3024 * 3025 * <p> 3026 * 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. 3027 * </p> 3028 * 3029 * @param groupId the group ID 3030 * @param nodeId the node ID 3031 * @param head the head 3032 * @param status the status 3033 * @param start the lower bound of the range of wiki pages 3034 * @param end the upper bound of the range of wiki pages (not inclusive) 3035 * @return the range of matching wiki pages 3036 * @throws SystemException if a system exception occurred 3037 */ 3038 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S( 3039 long groupId, long nodeId, boolean head, int status, int start, int end) 3040 throws com.liferay.portal.kernel.exception.SystemException; 3041 3042 /** 3043 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 3044 * 3045 * <p> 3046 * 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. 3047 * </p> 3048 * 3049 * @param groupId the group ID 3050 * @param nodeId the node ID 3051 * @param head the head 3052 * @param status the status 3053 * @param start the lower bound of the range of wiki pages 3054 * @param end the upper bound of the range of wiki pages (not inclusive) 3055 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3056 * @return the ordered range of matching wiki pages 3057 * @throws SystemException if a system exception occurred 3058 */ 3059 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S( 3060 long groupId, long nodeId, boolean head, int status, int start, 3061 int end, 3062 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3063 throws com.liferay.portal.kernel.exception.SystemException; 3064 3065 /** 3066 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 3067 * 3068 * @param groupId the group ID 3069 * @param nodeId the node ID 3070 * @param head the head 3071 * @param status the status 3072 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3073 * @return the first matching wiki page 3074 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3075 * @throws SystemException if a system exception occurred 3076 */ 3077 public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_First( 3078 long groupId, long nodeId, boolean head, int status, 3079 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3080 throws com.liferay.portal.kernel.exception.SystemException, 3081 com.liferay.portlet.wiki.NoSuchPageException; 3082 3083 /** 3084 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 3085 * 3086 * @param groupId the group ID 3087 * @param nodeId the node ID 3088 * @param head the head 3089 * @param status the status 3090 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3091 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3092 * @throws SystemException if a system exception occurred 3093 */ 3094 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_First( 3095 long groupId, long nodeId, boolean head, int status, 3096 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3097 throws com.liferay.portal.kernel.exception.SystemException; 3098 3099 /** 3100 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 3101 * 3102 * @param groupId the group ID 3103 * @param nodeId the node ID 3104 * @param head the head 3105 * @param status the status 3106 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3107 * @return the last matching wiki page 3108 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3109 * @throws SystemException if a system exception occurred 3110 */ 3111 public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_Last( 3112 long groupId, long nodeId, boolean head, int status, 3113 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3114 throws com.liferay.portal.kernel.exception.SystemException, 3115 com.liferay.portlet.wiki.NoSuchPageException; 3116 3117 /** 3118 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 3119 * 3120 * @param groupId the group ID 3121 * @param nodeId the node ID 3122 * @param head the head 3123 * @param status the status 3124 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3125 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3126 * @throws SystemException if a system exception occurred 3127 */ 3128 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_Last( 3129 long groupId, long nodeId, boolean head, int status, 3130 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3131 throws com.liferay.portal.kernel.exception.SystemException; 3132 3133 /** 3134 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 3135 * 3136 * @param pageId the primary key of the current wiki page 3137 * @param groupId the group ID 3138 * @param nodeId the node ID 3139 * @param head the head 3140 * @param status the status 3141 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3142 * @return the previous, current, and next wiki page 3143 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3144 * @throws SystemException if a system exception occurred 3145 */ 3146 public com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_S_PrevAndNext( 3147 long pageId, long groupId, long nodeId, boolean head, int status, 3148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3149 throws com.liferay.portal.kernel.exception.SystemException, 3150 com.liferay.portlet.wiki.NoSuchPageException; 3151 3152 /** 3153 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 3154 * 3155 * @param groupId the group ID 3156 * @param nodeId the node ID 3157 * @param head the head 3158 * @param status the status 3159 * @return the matching wiki pages that the user has permission to view 3160 * @throws SystemException if a system exception occurred 3161 */ 3162 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S( 3163 long groupId, long nodeId, boolean head, int status) 3164 throws com.liferay.portal.kernel.exception.SystemException; 3165 3166 /** 3167 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 3168 * 3169 * <p> 3170 * 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. 3171 * </p> 3172 * 3173 * @param groupId the group ID 3174 * @param nodeId the node ID 3175 * @param head the head 3176 * @param status the status 3177 * @param start the lower bound of the range of wiki pages 3178 * @param end the upper bound of the range of wiki pages (not inclusive) 3179 * @return the range of matching wiki pages that the user has permission to view 3180 * @throws SystemException if a system exception occurred 3181 */ 3182 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S( 3183 long groupId, long nodeId, boolean head, int status, int start, int end) 3184 throws com.liferay.portal.kernel.exception.SystemException; 3185 3186 /** 3187 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and status = ?. 3188 * 3189 * <p> 3190 * 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. 3191 * </p> 3192 * 3193 * @param groupId the group ID 3194 * @param nodeId the node ID 3195 * @param head the head 3196 * @param status the status 3197 * @param start the lower bound of the range of wiki pages 3198 * @param end the upper bound of the range of wiki pages (not inclusive) 3199 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3200 * @return the ordered range of matching wiki pages that the user has permission to view 3201 * @throws SystemException if a system exception occurred 3202 */ 3203 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S( 3204 long groupId, long nodeId, boolean head, int status, int start, 3205 int end, 3206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3207 throws com.liferay.portal.kernel.exception.SystemException; 3208 3209 /** 3210 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 3211 * 3212 * @param pageId the primary key of the current wiki page 3213 * @param groupId the group ID 3214 * @param nodeId the node ID 3215 * @param head the head 3216 * @param status the status 3217 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3218 * @return the previous, current, and next wiki page 3219 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3220 * @throws SystemException if a system exception occurred 3221 */ 3222 public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_S_PrevAndNext( 3223 long pageId, long groupId, long nodeId, boolean head, int status, 3224 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3225 throws com.liferay.portal.kernel.exception.SystemException, 3226 com.liferay.portlet.wiki.NoSuchPageException; 3227 3228 /** 3229 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 3230 * 3231 * @param nodeId the node ID 3232 * @param head the head 3233 * @param parentTitle the parent title 3234 * @param status the status 3235 * @return the matching wiki pages 3236 * @throws SystemException if a system exception occurred 3237 */ 3238 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 3239 long nodeId, boolean head, java.lang.String parentTitle, int status) 3240 throws com.liferay.portal.kernel.exception.SystemException; 3241 3242 /** 3243 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 3244 * 3245 * <p> 3246 * 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. 3247 * </p> 3248 * 3249 * @param nodeId the node ID 3250 * @param head the head 3251 * @param parentTitle the parent title 3252 * @param status the status 3253 * @param start the lower bound of the range of wiki pages 3254 * @param end the upper bound of the range of wiki pages (not inclusive) 3255 * @return the range of matching wiki pages 3256 * @throws SystemException if a system exception occurred 3257 */ 3258 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 3259 long nodeId, boolean head, java.lang.String parentTitle, int status, 3260 int start, int end) 3261 throws com.liferay.portal.kernel.exception.SystemException; 3262 3263 /** 3264 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 3265 * 3266 * <p> 3267 * 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. 3268 * </p> 3269 * 3270 * @param nodeId the node ID 3271 * @param head the head 3272 * @param parentTitle the parent title 3273 * @param status the status 3274 * @param start the lower bound of the range of wiki pages 3275 * @param end the upper bound of the range of wiki pages (not inclusive) 3276 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3277 * @return the ordered range of matching wiki pages 3278 * @throws SystemException if a system exception occurred 3279 */ 3280 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 3281 long nodeId, boolean head, java.lang.String parentTitle, int status, 3282 int start, int end, 3283 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3284 throws com.liferay.portal.kernel.exception.SystemException; 3285 3286 /** 3287 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 3288 * 3289 * @param nodeId the node ID 3290 * @param head the head 3291 * @param parentTitle the parent title 3292 * @param status the status 3293 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3294 * @return the first matching wiki page 3295 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3296 * @throws SystemException if a system exception occurred 3297 */ 3298 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First( 3299 long nodeId, boolean head, java.lang.String parentTitle, int status, 3300 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3301 throws com.liferay.portal.kernel.exception.SystemException, 3302 com.liferay.portlet.wiki.NoSuchPageException; 3303 3304 /** 3305 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 3306 * 3307 * @param nodeId the node ID 3308 * @param head the head 3309 * @param parentTitle the parent title 3310 * @param status the status 3311 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3312 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3313 * @throws SystemException if a system exception occurred 3314 */ 3315 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_First( 3316 long nodeId, boolean head, java.lang.String parentTitle, int status, 3317 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3318 throws com.liferay.portal.kernel.exception.SystemException; 3319 3320 /** 3321 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 3322 * 3323 * @param nodeId the node ID 3324 * @param head the head 3325 * @param parentTitle the parent title 3326 * @param status the status 3327 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3328 * @return the last matching wiki page 3329 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3330 * @throws SystemException if a system exception occurred 3331 */ 3332 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last( 3333 long nodeId, boolean head, java.lang.String parentTitle, int status, 3334 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3335 throws com.liferay.portal.kernel.exception.SystemException, 3336 com.liferay.portlet.wiki.NoSuchPageException; 3337 3338 /** 3339 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 3340 * 3341 * @param nodeId the node ID 3342 * @param head the head 3343 * @param parentTitle the parent title 3344 * @param status the status 3345 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3346 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3347 * @throws SystemException if a system exception occurred 3348 */ 3349 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_Last( 3350 long nodeId, boolean head, java.lang.String parentTitle, int status, 3351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3352 throws com.liferay.portal.kernel.exception.SystemException; 3353 3354 /** 3355 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 3356 * 3357 * @param pageId the primary key of the current wiki page 3358 * @param nodeId the node ID 3359 * @param head the head 3360 * @param parentTitle the parent title 3361 * @param status the status 3362 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3363 * @return the previous, current, and next wiki page 3364 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3365 * @throws SystemException if a system exception occurred 3366 */ 3367 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext( 3368 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 3369 int status, 3370 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3371 throws com.liferay.portal.kernel.exception.SystemException, 3372 com.liferay.portlet.wiki.NoSuchPageException; 3373 3374 /** 3375 * Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3376 * 3377 * @param groupId the group ID 3378 * @param nodeId the node ID 3379 * @param head the head 3380 * @param parentTitle the parent title 3381 * @param status the status 3382 * @return the matching wiki pages 3383 * @throws SystemException if a system exception occurred 3384 */ 3385 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S( 3386 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3387 int status) throws com.liferay.portal.kernel.exception.SystemException; 3388 3389 /** 3390 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3391 * 3392 * <p> 3393 * 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. 3394 * </p> 3395 * 3396 * @param groupId the group ID 3397 * @param nodeId the node ID 3398 * @param head the head 3399 * @param parentTitle the parent title 3400 * @param status the status 3401 * @param start the lower bound of the range of wiki pages 3402 * @param end the upper bound of the range of wiki pages (not inclusive) 3403 * @return the range of matching wiki pages 3404 * @throws SystemException if a system exception occurred 3405 */ 3406 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S( 3407 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3408 int status, int start, int end) 3409 throws com.liferay.portal.kernel.exception.SystemException; 3410 3411 /** 3412 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3413 * 3414 * <p> 3415 * 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. 3416 * </p> 3417 * 3418 * @param groupId the group ID 3419 * @param nodeId the node ID 3420 * @param head the head 3421 * @param parentTitle the parent title 3422 * @param status the status 3423 * @param start the lower bound of the range of wiki pages 3424 * @param end the upper bound of the range of wiki pages (not inclusive) 3425 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3426 * @return the ordered range of matching wiki pages 3427 * @throws SystemException if a system exception occurred 3428 */ 3429 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S( 3430 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3431 int status, int start, int end, 3432 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3433 throws com.liferay.portal.kernel.exception.SystemException; 3434 3435 /** 3436 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3437 * 3438 * @param groupId the group ID 3439 * @param nodeId the node ID 3440 * @param head the head 3441 * @param parentTitle the parent title 3442 * @param status the status 3443 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3444 * @return the first matching wiki page 3445 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3446 * @throws SystemException if a system exception occurred 3447 */ 3448 public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_First( 3449 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3450 int status, 3451 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3452 throws com.liferay.portal.kernel.exception.SystemException, 3453 com.liferay.portlet.wiki.NoSuchPageException; 3454 3455 /** 3456 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3457 * 3458 * @param groupId the group ID 3459 * @param nodeId the node ID 3460 * @param head the head 3461 * @param parentTitle the parent title 3462 * @param status the status 3463 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3464 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3465 * @throws SystemException if a system exception occurred 3466 */ 3467 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_First( 3468 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3469 int status, 3470 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3471 throws com.liferay.portal.kernel.exception.SystemException; 3472 3473 /** 3474 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3475 * 3476 * @param groupId the group ID 3477 * @param nodeId the node ID 3478 * @param head the head 3479 * @param parentTitle the parent title 3480 * @param status the status 3481 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3482 * @return the last matching wiki page 3483 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3484 * @throws SystemException if a system exception occurred 3485 */ 3486 public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_Last( 3487 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3488 int status, 3489 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3490 throws com.liferay.portal.kernel.exception.SystemException, 3491 com.liferay.portlet.wiki.NoSuchPageException; 3492 3493 /** 3494 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3495 * 3496 * @param groupId the group ID 3497 * @param nodeId the node ID 3498 * @param head the head 3499 * @param parentTitle the parent title 3500 * @param status the status 3501 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3502 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3503 * @throws SystemException if a system exception occurred 3504 */ 3505 public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_Last( 3506 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3507 int status, 3508 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3509 throws com.liferay.portal.kernel.exception.SystemException; 3510 3511 /** 3512 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3513 * 3514 * @param pageId the primary key of the current wiki page 3515 * @param groupId the group ID 3516 * @param nodeId the node ID 3517 * @param head the head 3518 * @param parentTitle the parent title 3519 * @param status the status 3520 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3521 * @return the previous, current, and next wiki page 3522 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3523 * @throws SystemException if a system exception occurred 3524 */ 3525 public com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_P_S_PrevAndNext( 3526 long pageId, long groupId, long nodeId, boolean head, 3527 java.lang.String parentTitle, int status, 3528 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3529 throws com.liferay.portal.kernel.exception.SystemException, 3530 com.liferay.portlet.wiki.NoSuchPageException; 3531 3532 /** 3533 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3534 * 3535 * @param groupId the group ID 3536 * @param nodeId the node ID 3537 * @param head the head 3538 * @param parentTitle the parent title 3539 * @param status the status 3540 * @return the matching wiki pages that the user has permission to view 3541 * @throws SystemException if a system exception occurred 3542 */ 3543 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S( 3544 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3545 int status) throws com.liferay.portal.kernel.exception.SystemException; 3546 3547 /** 3548 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3549 * 3550 * <p> 3551 * 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. 3552 * </p> 3553 * 3554 * @param groupId the group ID 3555 * @param nodeId the node ID 3556 * @param head the head 3557 * @param parentTitle the parent title 3558 * @param status the status 3559 * @param start the lower bound of the range of wiki pages 3560 * @param end the upper bound of the range of wiki pages (not inclusive) 3561 * @return the range of matching wiki pages that the user has permission to view 3562 * @throws SystemException if a system exception occurred 3563 */ 3564 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S( 3565 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3566 int status, int start, int end) 3567 throws com.liferay.portal.kernel.exception.SystemException; 3568 3569 /** 3570 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3571 * 3572 * <p> 3573 * 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. 3574 * </p> 3575 * 3576 * @param groupId the group ID 3577 * @param nodeId the node ID 3578 * @param head the head 3579 * @param parentTitle the parent title 3580 * @param status the status 3581 * @param start the lower bound of the range of wiki pages 3582 * @param end the upper bound of the range of wiki pages (not inclusive) 3583 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3584 * @return the ordered range of matching wiki pages that the user has permission to view 3585 * @throws SystemException if a system exception occurred 3586 */ 3587 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S( 3588 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 3589 int status, int start, int end, 3590 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3591 throws com.liferay.portal.kernel.exception.SystemException; 3592 3593 /** 3594 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 3595 * 3596 * @param pageId the primary key of the current wiki page 3597 * @param groupId the group ID 3598 * @param nodeId the node ID 3599 * @param head the head 3600 * @param parentTitle the parent title 3601 * @param status the status 3602 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3603 * @return the previous, current, and next wiki page 3604 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3605 * @throws SystemException if a system exception occurred 3606 */ 3607 public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_P_S_PrevAndNext( 3608 long pageId, long groupId, long nodeId, boolean head, 3609 java.lang.String parentTitle, int status, 3610 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3611 throws com.liferay.portal.kernel.exception.SystemException, 3612 com.liferay.portlet.wiki.NoSuchPageException; 3613 3614 /** 3615 * Returns all the wiki pages. 3616 * 3617 * @return the wiki pages 3618 * @throws SystemException if a system exception occurred 3619 */ 3620 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll() 3621 throws com.liferay.portal.kernel.exception.SystemException; 3622 3623 /** 3624 * Returns a range of all the wiki pages. 3625 * 3626 * <p> 3627 * 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. 3628 * </p> 3629 * 3630 * @param start the lower bound of the range of wiki pages 3631 * @param end the upper bound of the range of wiki pages (not inclusive) 3632 * @return the range of wiki pages 3633 * @throws SystemException if a system exception occurred 3634 */ 3635 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 3636 int start, int end) 3637 throws com.liferay.portal.kernel.exception.SystemException; 3638 3639 /** 3640 * Returns an ordered range of all the wiki pages. 3641 * 3642 * <p> 3643 * 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. 3644 * </p> 3645 * 3646 * @param start the lower bound of the range of wiki pages 3647 * @param end the upper bound of the range of wiki pages (not inclusive) 3648 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3649 * @return the ordered range of wiki pages 3650 * @throws SystemException if a system exception occurred 3651 */ 3652 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 3653 int start, int end, 3654 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3655 throws com.liferay.portal.kernel.exception.SystemException; 3656 3657 /** 3658 * Removes all the wiki pages where uuid = ? from the database. 3659 * 3660 * @param uuid the uuid 3661 * @throws SystemException if a system exception occurred 3662 */ 3663 public void removeByUuid(java.lang.String uuid) 3664 throws com.liferay.portal.kernel.exception.SystemException; 3665 3666 /** 3667 * Removes the wiki page where uuid = ? and groupId = ? from the database. 3668 * 3669 * @param uuid the uuid 3670 * @param groupId the group ID 3671 * @return the wiki page that was removed 3672 * @throws SystemException if a system exception occurred 3673 */ 3674 public com.liferay.portlet.wiki.model.WikiPage removeByUUID_G( 3675 java.lang.String uuid, long groupId) 3676 throws com.liferay.portal.kernel.exception.SystemException, 3677 com.liferay.portlet.wiki.NoSuchPageException; 3678 3679 /** 3680 * Removes all the wiki pages where nodeId = ? from the database. 3681 * 3682 * @param nodeId the node ID 3683 * @throws SystemException if a system exception occurred 3684 */ 3685 public void removeByNodeId(long nodeId) 3686 throws com.liferay.portal.kernel.exception.SystemException; 3687 3688 /** 3689 * Removes all the wiki pages where format = ? from the database. 3690 * 3691 * @param format the format 3692 * @throws SystemException if a system exception occurred 3693 */ 3694 public void removeByFormat(java.lang.String format) 3695 throws com.liferay.portal.kernel.exception.SystemException; 3696 3697 /** 3698 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? from the database. 3699 * 3700 * @param resourcePrimKey the resource prim key 3701 * @param nodeId the node ID 3702 * @throws SystemException if a system exception occurred 3703 */ 3704 public void removeByR_N(long resourcePrimKey, long nodeId) 3705 throws com.liferay.portal.kernel.exception.SystemException; 3706 3707 /** 3708 * Removes all the wiki pages where nodeId = ? and title = ? from the database. 3709 * 3710 * @param nodeId the node ID 3711 * @param title the title 3712 * @throws SystemException if a system exception occurred 3713 */ 3714 public void removeByN_T(long nodeId, java.lang.String title) 3715 throws com.liferay.portal.kernel.exception.SystemException; 3716 3717 /** 3718 * Removes all the wiki pages where nodeId = ? and head = ? from the database. 3719 * 3720 * @param nodeId the node ID 3721 * @param head the head 3722 * @throws SystemException if a system exception occurred 3723 */ 3724 public void removeByN_H(long nodeId, boolean head) 3725 throws com.liferay.portal.kernel.exception.SystemException; 3726 3727 /** 3728 * Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database. 3729 * 3730 * @param nodeId the node ID 3731 * @param parentTitle the parent title 3732 * @throws SystemException if a system exception occurred 3733 */ 3734 public void removeByN_P(long nodeId, java.lang.String parentTitle) 3735 throws com.liferay.portal.kernel.exception.SystemException; 3736 3737 /** 3738 * Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database. 3739 * 3740 * @param nodeId the node ID 3741 * @param redirectTitle the redirect title 3742 * @throws SystemException if a system exception occurred 3743 */ 3744 public void removeByN_R(long nodeId, java.lang.String redirectTitle) 3745 throws com.liferay.portal.kernel.exception.SystemException; 3746 3747 /** 3748 * Removes all the wiki pages where nodeId = ? and status = ? from the database. 3749 * 3750 * @param nodeId the node ID 3751 * @param status the status 3752 * @throws SystemException if a system exception occurred 3753 */ 3754 public void removeByN_S(long nodeId, int status) 3755 throws com.liferay.portal.kernel.exception.SystemException; 3756 3757 /** 3758 * Removes the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? from the database. 3759 * 3760 * @param resourcePrimKey the resource prim key 3761 * @param nodeId the node ID 3762 * @param version the version 3763 * @return the wiki page that was removed 3764 * @throws SystemException if a system exception occurred 3765 */ 3766 public com.liferay.portlet.wiki.model.WikiPage removeByR_N_V( 3767 long resourcePrimKey, long nodeId, double version) 3768 throws com.liferay.portal.kernel.exception.SystemException, 3769 com.liferay.portlet.wiki.NoSuchPageException; 3770 3771 /** 3772 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ? from the database. 3773 * 3774 * @param resourcePrimKey the resource prim key 3775 * @param nodeId the node ID 3776 * @param status the status 3777 * @throws SystemException if a system exception occurred 3778 */ 3779 public void removeByR_N_S(long resourcePrimKey, long nodeId, int status) 3780 throws com.liferay.portal.kernel.exception.SystemException; 3781 3782 /** 3783 * Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? from the database. 3784 * 3785 * @param groupId the group ID 3786 * @param nodeId the node ID 3787 * @param head the head 3788 * @throws SystemException if a system exception occurred 3789 */ 3790 public void removeByG_N_H(long groupId, long nodeId, boolean head) 3791 throws com.liferay.portal.kernel.exception.SystemException; 3792 3793 /** 3794 * Removes all the wiki pages where groupId = ? and nodeId = ? and status = ? from the database. 3795 * 3796 * @param groupId the group ID 3797 * @param nodeId the node ID 3798 * @param status the status 3799 * @throws SystemException if a system exception occurred 3800 */ 3801 public void removeByG_N_S(long groupId, long nodeId, int status) 3802 throws com.liferay.portal.kernel.exception.SystemException; 3803 3804 /** 3805 * Removes all the wiki pages where userId = ? and nodeId = ? and status = ? from the database. 3806 * 3807 * @param userId the user ID 3808 * @param nodeId the node ID 3809 * @param status the status 3810 * @throws SystemException if a system exception occurred 3811 */ 3812 public void removeByU_N_S(long userId, long nodeId, int status) 3813 throws com.liferay.portal.kernel.exception.SystemException; 3814 3815 /** 3816 * Removes the wiki page where nodeId = ? and title = ? and version = ? from the database. 3817 * 3818 * @param nodeId the node ID 3819 * @param title the title 3820 * @param version the version 3821 * @return the wiki page that was removed 3822 * @throws SystemException if a system exception occurred 3823 */ 3824 public com.liferay.portlet.wiki.model.WikiPage removeByN_T_V(long nodeId, 3825 java.lang.String title, double version) 3826 throws com.liferay.portal.kernel.exception.SystemException, 3827 com.liferay.portlet.wiki.NoSuchPageException; 3828 3829 /** 3830 * Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database. 3831 * 3832 * @param nodeId the node ID 3833 * @param title the title 3834 * @param head the head 3835 * @throws SystemException if a system exception occurred 3836 */ 3837 public void removeByN_T_H(long nodeId, java.lang.String title, boolean head) 3838 throws com.liferay.portal.kernel.exception.SystemException; 3839 3840 /** 3841 * Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database. 3842 * 3843 * @param nodeId the node ID 3844 * @param title the title 3845 * @param status the status 3846 * @throws SystemException if a system exception occurred 3847 */ 3848 public void removeByN_T_S(long nodeId, java.lang.String title, int status) 3849 throws com.liferay.portal.kernel.exception.SystemException; 3850 3851 /** 3852 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database. 3853 * 3854 * @param nodeId the node ID 3855 * @param head the head 3856 * @param parentTitle the parent title 3857 * @throws SystemException if a system exception occurred 3858 */ 3859 public void removeByN_H_P(long nodeId, boolean head, 3860 java.lang.String parentTitle) 3861 throws com.liferay.portal.kernel.exception.SystemException; 3862 3863 /** 3864 * Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database. 3865 * 3866 * @param nodeId the node ID 3867 * @param head the head 3868 * @param status the status 3869 * @throws SystemException if a system exception occurred 3870 */ 3871 public void removeByN_H_S(long nodeId, boolean head, int status) 3872 throws com.liferay.portal.kernel.exception.SystemException; 3873 3874 /** 3875 * Removes all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ? from the database. 3876 * 3877 * @param groupId the group ID 3878 * @param userId the user ID 3879 * @param nodeId the node ID 3880 * @param status the status 3881 * @throws SystemException if a system exception occurred 3882 */ 3883 public void removeByG_U_N_S(long groupId, long userId, long nodeId, 3884 int status) throws com.liferay.portal.kernel.exception.SystemException; 3885 3886 /** 3887 * Removes all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ? from the database. 3888 * 3889 * @param groupId the group ID 3890 * @param nodeId the node ID 3891 * @param title the title 3892 * @param head the head 3893 * @throws SystemException if a system exception occurred 3894 */ 3895 public void removeByG_N_T_H(long groupId, long nodeId, 3896 java.lang.String title, boolean head) 3897 throws com.liferay.portal.kernel.exception.SystemException; 3898 3899 /** 3900 * Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ? from the database. 3901 * 3902 * @param groupId the group ID 3903 * @param nodeId the node ID 3904 * @param head the head 3905 * @param status the status 3906 * @throws SystemException if a system exception occurred 3907 */ 3908 public void removeByG_N_H_S(long groupId, long nodeId, boolean head, 3909 int status) throws com.liferay.portal.kernel.exception.SystemException; 3910 3911 /** 3912 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ? from the database. 3913 * 3914 * @param nodeId the node ID 3915 * @param head the head 3916 * @param parentTitle the parent title 3917 * @param status the status 3918 * @throws SystemException if a system exception occurred 3919 */ 3920 public void removeByN_H_P_S(long nodeId, boolean head, 3921 java.lang.String parentTitle, int status) 3922 throws com.liferay.portal.kernel.exception.SystemException; 3923 3924 /** 3925 * Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ? from the database. 3926 * 3927 * @param groupId the group ID 3928 * @param nodeId the node ID 3929 * @param head the head 3930 * @param parentTitle the parent title 3931 * @param status the status 3932 * @throws SystemException if a system exception occurred 3933 */ 3934 public void removeByG_N_H_P_S(long groupId, long nodeId, boolean head, 3935 java.lang.String parentTitle, int status) 3936 throws com.liferay.portal.kernel.exception.SystemException; 3937 3938 /** 3939 * Removes all the wiki pages from the database. 3940 * 3941 * @throws SystemException if a system exception occurred 3942 */ 3943 public void removeAll() 3944 throws com.liferay.portal.kernel.exception.SystemException; 3945 3946 /** 3947 * Returns the number of wiki pages where uuid = ?. 3948 * 3949 * @param uuid the uuid 3950 * @return the number of matching wiki pages 3951 * @throws SystemException if a system exception occurred 3952 */ 3953 public int countByUuid(java.lang.String uuid) 3954 throws com.liferay.portal.kernel.exception.SystemException; 3955 3956 /** 3957 * Returns the number of wiki pages where uuid = ? and groupId = ?. 3958 * 3959 * @param uuid the uuid 3960 * @param groupId the group ID 3961 * @return the number of matching wiki pages 3962 * @throws SystemException if a system exception occurred 3963 */ 3964 public int countByUUID_G(java.lang.String uuid, long groupId) 3965 throws com.liferay.portal.kernel.exception.SystemException; 3966 3967 /** 3968 * Returns the number of wiki pages where nodeId = ?. 3969 * 3970 * @param nodeId the node ID 3971 * @return the number of matching wiki pages 3972 * @throws SystemException if a system exception occurred 3973 */ 3974 public int countByNodeId(long nodeId) 3975 throws com.liferay.portal.kernel.exception.SystemException; 3976 3977 /** 3978 * Returns the number of wiki pages where format = ?. 3979 * 3980 * @param format the format 3981 * @return the number of matching wiki pages 3982 * @throws SystemException if a system exception occurred 3983 */ 3984 public int countByFormat(java.lang.String format) 3985 throws com.liferay.portal.kernel.exception.SystemException; 3986 3987 /** 3988 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ?. 3989 * 3990 * @param resourcePrimKey the resource prim key 3991 * @param nodeId the node ID 3992 * @return the number of matching wiki pages 3993 * @throws SystemException if a system exception occurred 3994 */ 3995 public int countByR_N(long resourcePrimKey, long nodeId) 3996 throws com.liferay.portal.kernel.exception.SystemException; 3997 3998 /** 3999 * Returns the number of wiki pages where nodeId = ? and title = ?. 4000 * 4001 * @param nodeId the node ID 4002 * @param title the title 4003 * @return the number of matching wiki pages 4004 * @throws SystemException if a system exception occurred 4005 */ 4006 public int countByN_T(long nodeId, java.lang.String title) 4007 throws com.liferay.portal.kernel.exception.SystemException; 4008 4009 /** 4010 * Returns the number of wiki pages where nodeId = ? and head = ?. 4011 * 4012 * @param nodeId the node ID 4013 * @param head the head 4014 * @return the number of matching wiki pages 4015 * @throws SystemException if a system exception occurred 4016 */ 4017 public int countByN_H(long nodeId, boolean head) 4018 throws com.liferay.portal.kernel.exception.SystemException; 4019 4020 /** 4021 * Returns the number of wiki pages where nodeId = ? and parentTitle = ?. 4022 * 4023 * @param nodeId the node ID 4024 * @param parentTitle the parent title 4025 * @return the number of matching wiki pages 4026 * @throws SystemException if a system exception occurred 4027 */ 4028 public int countByN_P(long nodeId, java.lang.String parentTitle) 4029 throws com.liferay.portal.kernel.exception.SystemException; 4030 4031 /** 4032 * Returns the number of wiki pages where nodeId = ? and redirectTitle = ?. 4033 * 4034 * @param nodeId the node ID 4035 * @param redirectTitle the redirect title 4036 * @return the number of matching wiki pages 4037 * @throws SystemException if a system exception occurred 4038 */ 4039 public int countByN_R(long nodeId, java.lang.String redirectTitle) 4040 throws com.liferay.portal.kernel.exception.SystemException; 4041 4042 /** 4043 * Returns the number of wiki pages where nodeId = ? and status = ?. 4044 * 4045 * @param nodeId the node ID 4046 * @param status the status 4047 * @return the number of matching wiki pages 4048 * @throws SystemException if a system exception occurred 4049 */ 4050 public int countByN_S(long nodeId, int status) 4051 throws com.liferay.portal.kernel.exception.SystemException; 4052 4053 /** 4054 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?. 4055 * 4056 * @param resourcePrimKey the resource prim key 4057 * @param nodeId the node ID 4058 * @param version the version 4059 * @return the number of matching wiki pages 4060 * @throws SystemException if a system exception occurred 4061 */ 4062 public int countByR_N_V(long resourcePrimKey, long nodeId, double version) 4063 throws com.liferay.portal.kernel.exception.SystemException; 4064 4065 /** 4066 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 4067 * 4068 * @param resourcePrimKey the resource prim key 4069 * @param nodeId the node ID 4070 * @param status the status 4071 * @return the number of matching wiki pages 4072 * @throws SystemException if a system exception occurred 4073 */ 4074 public int countByR_N_S(long resourcePrimKey, long nodeId, int status) 4075 throws com.liferay.portal.kernel.exception.SystemException; 4076 4077 /** 4078 * Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ?. 4079 * 4080 * @param groupId the group ID 4081 * @param nodeId the node ID 4082 * @param head the head 4083 * @return the number of matching wiki pages 4084 * @throws SystemException if a system exception occurred 4085 */ 4086 public int countByG_N_H(long groupId, long nodeId, boolean head) 4087 throws com.liferay.portal.kernel.exception.SystemException; 4088 4089 /** 4090 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 4091 * 4092 * @param groupId the group ID 4093 * @param nodeId the node ID 4094 * @param head the head 4095 * @return the number of matching wiki pages that the user has permission to view 4096 * @throws SystemException if a system exception occurred 4097 */ 4098 public int filterCountByG_N_H(long groupId, long nodeId, boolean head) 4099 throws com.liferay.portal.kernel.exception.SystemException; 4100 4101 /** 4102 * Returns the number of wiki pages where groupId = ? and nodeId = ? and status = ?. 4103 * 4104 * @param groupId the group ID 4105 * @param nodeId the node ID 4106 * @param status the status 4107 * @return the number of matching wiki pages 4108 * @throws SystemException if a system exception occurred 4109 */ 4110 public int countByG_N_S(long groupId, long nodeId, int status) 4111 throws com.liferay.portal.kernel.exception.SystemException; 4112 4113 /** 4114 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 4115 * 4116 * @param groupId the group ID 4117 * @param nodeId the node ID 4118 * @param status the status 4119 * @return the number of matching wiki pages that the user has permission to view 4120 * @throws SystemException if a system exception occurred 4121 */ 4122 public int filterCountByG_N_S(long groupId, long nodeId, int status) 4123 throws com.liferay.portal.kernel.exception.SystemException; 4124 4125 /** 4126 * Returns the number of wiki pages where userId = ? and nodeId = ? and status = ?. 4127 * 4128 * @param userId the user ID 4129 * @param nodeId the node ID 4130 * @param status the status 4131 * @return the number of matching wiki pages 4132 * @throws SystemException if a system exception occurred 4133 */ 4134 public int countByU_N_S(long userId, long nodeId, int status) 4135 throws com.liferay.portal.kernel.exception.SystemException; 4136 4137 /** 4138 * Returns the number of wiki pages where nodeId = ? and title = ? and version = ?. 4139 * 4140 * @param nodeId the node ID 4141 * @param title the title 4142 * @param version the version 4143 * @return the number of matching wiki pages 4144 * @throws SystemException if a system exception occurred 4145 */ 4146 public int countByN_T_V(long nodeId, java.lang.String title, double version) 4147 throws com.liferay.portal.kernel.exception.SystemException; 4148 4149 /** 4150 * Returns the number of wiki pages where nodeId = ? and title = ? and head = ?. 4151 * 4152 * @param nodeId the node ID 4153 * @param title the title 4154 * @param head the head 4155 * @return the number of matching wiki pages 4156 * @throws SystemException if a system exception occurred 4157 */ 4158 public int countByN_T_H(long nodeId, java.lang.String title, boolean head) 4159 throws com.liferay.portal.kernel.exception.SystemException; 4160 4161 /** 4162 * Returns the number of wiki pages where nodeId = ? and title = ? and status = ?. 4163 * 4164 * @param nodeId the node ID 4165 * @param title the title 4166 * @param status the status 4167 * @return the number of matching wiki pages 4168 * @throws SystemException if a system exception occurred 4169 */ 4170 public int countByN_T_S(long nodeId, java.lang.String title, int status) 4171 throws com.liferay.portal.kernel.exception.SystemException; 4172 4173 /** 4174 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ?. 4175 * 4176 * @param nodeId the node ID 4177 * @param head the head 4178 * @param parentTitle the parent title 4179 * @return the number of matching wiki pages 4180 * @throws SystemException if a system exception occurred 4181 */ 4182 public int countByN_H_P(long nodeId, boolean head, 4183 java.lang.String parentTitle) 4184 throws com.liferay.portal.kernel.exception.SystemException; 4185 4186 /** 4187 * Returns the number of wiki pages where nodeId = ? and head = ? and status = ?. 4188 * 4189 * @param nodeId the node ID 4190 * @param head the head 4191 * @param status the status 4192 * @return the number of matching wiki pages 4193 * @throws SystemException if a system exception occurred 4194 */ 4195 public int countByN_H_S(long nodeId, boolean head, int status) 4196 throws com.liferay.portal.kernel.exception.SystemException; 4197 4198 /** 4199 * Returns the number of wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 4200 * 4201 * @param groupId the group ID 4202 * @param userId the user ID 4203 * @param nodeId the node ID 4204 * @param status the status 4205 * @return the number of matching wiki pages 4206 * @throws SystemException if a system exception occurred 4207 */ 4208 public int countByG_U_N_S(long groupId, long userId, long nodeId, int status) 4209 throws com.liferay.portal.kernel.exception.SystemException; 4210 4211 /** 4212 * Returns the number of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4213 * 4214 * @param groupId the group ID 4215 * @param userId the user ID 4216 * @param nodeId the node ID 4217 * @param status the status 4218 * @return the number of matching wiki pages that the user has permission to view 4219 * @throws SystemException if a system exception occurred 4220 */ 4221 public int filterCountByG_U_N_S(long groupId, long userId, long nodeId, 4222 int status) throws com.liferay.portal.kernel.exception.SystemException; 4223 4224 /** 4225 * Returns the number of wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 4226 * 4227 * @param groupId the group ID 4228 * @param nodeId the node ID 4229 * @param title the title 4230 * @param head the head 4231 * @return the number of matching wiki pages 4232 * @throws SystemException if a system exception occurred 4233 */ 4234 public int countByG_N_T_H(long groupId, long nodeId, 4235 java.lang.String title, boolean head) 4236 throws com.liferay.portal.kernel.exception.SystemException; 4237 4238 /** 4239 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 4240 * 4241 * @param groupId the group ID 4242 * @param nodeId the node ID 4243 * @param title the title 4244 * @param head the head 4245 * @return the number of matching wiki pages that the user has permission to view 4246 * @throws SystemException if a system exception occurred 4247 */ 4248 public int filterCountByG_N_T_H(long groupId, long nodeId, 4249 java.lang.String title, boolean head) 4250 throws com.liferay.portal.kernel.exception.SystemException; 4251 4252 /** 4253 * Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 4254 * 4255 * @param groupId the group ID 4256 * @param nodeId the node ID 4257 * @param head the head 4258 * @param status the status 4259 * @return the number of matching wiki pages 4260 * @throws SystemException if a system exception occurred 4261 */ 4262 public int countByG_N_H_S(long groupId, long nodeId, boolean head, 4263 int status) throws com.liferay.portal.kernel.exception.SystemException; 4264 4265 /** 4266 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 4267 * 4268 * @param groupId the group ID 4269 * @param nodeId the node ID 4270 * @param head the head 4271 * @param status the status 4272 * @return the number of matching wiki pages that the user has permission to view 4273 * @throws SystemException if a system exception occurred 4274 */ 4275 public int filterCountByG_N_H_S(long groupId, long nodeId, boolean head, 4276 int status) throws com.liferay.portal.kernel.exception.SystemException; 4277 4278 /** 4279 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 4280 * 4281 * @param nodeId the node ID 4282 * @param head the head 4283 * @param parentTitle the parent title 4284 * @param status the status 4285 * @return the number of matching wiki pages 4286 * @throws SystemException if a system exception occurred 4287 */ 4288 public int countByN_H_P_S(long nodeId, boolean head, 4289 java.lang.String parentTitle, int status) 4290 throws com.liferay.portal.kernel.exception.SystemException; 4291 4292 /** 4293 * Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 4294 * 4295 * @param groupId the group ID 4296 * @param nodeId the node ID 4297 * @param head the head 4298 * @param parentTitle the parent title 4299 * @param status the status 4300 * @return the number of matching wiki pages 4301 * @throws SystemException if a system exception occurred 4302 */ 4303 public int countByG_N_H_P_S(long groupId, long nodeId, boolean head, 4304 java.lang.String parentTitle, int status) 4305 throws com.liferay.portal.kernel.exception.SystemException; 4306 4307 /** 4308 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 4309 * 4310 * @param groupId the group ID 4311 * @param nodeId the node ID 4312 * @param head the head 4313 * @param parentTitle the parent title 4314 * @param status the status 4315 * @return the number of matching wiki pages that the user has permission to view 4316 * @throws SystemException if a system exception occurred 4317 */ 4318 public int filterCountByG_N_H_P_S(long groupId, long nodeId, boolean head, 4319 java.lang.String parentTitle, int status) 4320 throws com.liferay.portal.kernel.exception.SystemException; 4321 4322 /** 4323 * Returns the number of wiki pages. 4324 * 4325 * @return the number of wiki pages 4326 * @throws SystemException if a system exception occurred 4327 */ 4328 public int countAll() 4329 throws com.liferay.portal.kernel.exception.SystemException; 4330 }