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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 020 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 021 import com.liferay.portal.kernel.exception.SystemException; 022 import com.liferay.portal.kernel.util.OrderByComparator; 023 import com.liferay.portal.kernel.util.ReferenceRegistry; 024 import com.liferay.portal.service.ServiceContext; 025 026 import com.liferay.portlet.wiki.model.WikiPage; 027 028 import java.util.List; 029 030 /** 031 * The persistence utility for the wiki page service. This utility wraps {@link WikiPagePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. 032 * 033 * <p> 034 * Caching information and settings can be found in <code>portal.properties</code> 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see WikiPagePersistence 039 * @see WikiPagePersistenceImpl 040 * @generated 041 */ 042 @ProviderType 043 public class WikiPageUtil { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 048 */ 049 050 /** 051 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 052 */ 053 public static void clearCache() { 054 getPersistence().clearCache(); 055 } 056 057 /** 058 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 059 */ 060 public static void clearCache(WikiPage wikiPage) { 061 getPersistence().clearCache(wikiPage); 062 } 063 064 /** 065 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 066 */ 067 public static long countWithDynamicQuery(DynamicQuery dynamicQuery) 068 throws SystemException { 069 return getPersistence().countWithDynamicQuery(dynamicQuery); 070 } 071 072 /** 073 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 074 */ 075 public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery) 076 throws SystemException { 077 return getPersistence().findWithDynamicQuery(dynamicQuery); 078 } 079 080 /** 081 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 082 */ 083 public static List<WikiPage> findWithDynamicQuery( 084 DynamicQuery dynamicQuery, int start, int end) 085 throws SystemException { 086 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 087 } 088 089 /** 090 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 091 */ 092 public static List<WikiPage> findWithDynamicQuery( 093 DynamicQuery dynamicQuery, int start, int end, 094 OrderByComparator orderByComparator) throws SystemException { 095 return getPersistence() 096 .findWithDynamicQuery(dynamicQuery, start, end, 097 orderByComparator); 098 } 099 100 /** 101 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) 102 */ 103 public static WikiPage update(WikiPage wikiPage) throws SystemException { 104 return getPersistence().update(wikiPage); 105 } 106 107 /** 108 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) 109 */ 110 public static WikiPage update(WikiPage wikiPage, 111 ServiceContext serviceContext) throws SystemException { 112 return getPersistence().update(wikiPage, serviceContext); 113 } 114 115 /** 116 * Returns all the wiki pages where uuid = ?. 117 * 118 * @param uuid the uuid 119 * @return the matching wiki pages 120 * @throws SystemException if a system exception occurred 121 */ 122 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 123 java.lang.String uuid) 124 throws com.liferay.portal.kernel.exception.SystemException { 125 return getPersistence().findByUuid(uuid); 126 } 127 128 /** 129 * Returns a range of all the wiki pages where uuid = ?. 130 * 131 * <p> 132 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 133 * </p> 134 * 135 * @param uuid the uuid 136 * @param start the lower bound of the range of wiki pages 137 * @param end the upper bound of the range of wiki pages (not inclusive) 138 * @return the range of matching wiki pages 139 * @throws SystemException if a system exception occurred 140 */ 141 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 142 java.lang.String uuid, int start, int end) 143 throws com.liferay.portal.kernel.exception.SystemException { 144 return getPersistence().findByUuid(uuid, start, end); 145 } 146 147 /** 148 * Returns an ordered range of all the wiki pages where uuid = ?. 149 * 150 * <p> 151 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 152 * </p> 153 * 154 * @param uuid the uuid 155 * @param start the lower bound of the range of wiki pages 156 * @param end the upper bound of the range of wiki pages (not inclusive) 157 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 158 * @return the ordered range of matching wiki pages 159 * @throws SystemException if a system exception occurred 160 */ 161 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 162 java.lang.String uuid, int start, int end, 163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 164 throws com.liferay.portal.kernel.exception.SystemException { 165 return getPersistence().findByUuid(uuid, start, end, orderByComparator); 166 } 167 168 /** 169 * Returns the first wiki page in the ordered set where uuid = ?. 170 * 171 * @param uuid the uuid 172 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 173 * @return the first matching wiki page 174 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 175 * @throws SystemException if a system exception occurred 176 */ 177 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_First( 178 java.lang.String uuid, 179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 180 throws com.liferay.portal.kernel.exception.SystemException, 181 com.liferay.portlet.wiki.NoSuchPageException { 182 return getPersistence().findByUuid_First(uuid, orderByComparator); 183 } 184 185 /** 186 * Returns the first wiki page in the ordered set where uuid = ?. 187 * 188 * @param uuid the uuid 189 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 190 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 191 * @throws SystemException if a system exception occurred 192 */ 193 public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_First( 194 java.lang.String uuid, 195 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 196 throws com.liferay.portal.kernel.exception.SystemException { 197 return getPersistence().fetchByUuid_First(uuid, orderByComparator); 198 } 199 200 /** 201 * Returns the last wiki page in the ordered set where uuid = ?. 202 * 203 * @param uuid the uuid 204 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 205 * @return the last matching wiki page 206 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 207 * @throws SystemException if a system exception occurred 208 */ 209 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_Last( 210 java.lang.String uuid, 211 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 212 throws com.liferay.portal.kernel.exception.SystemException, 213 com.liferay.portlet.wiki.NoSuchPageException { 214 return getPersistence().findByUuid_Last(uuid, orderByComparator); 215 } 216 217 /** 218 * Returns the last wiki page in the ordered set where uuid = ?. 219 * 220 * @param uuid the uuid 221 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 222 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 223 * @throws SystemException if a system exception occurred 224 */ 225 public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_Last( 226 java.lang.String uuid, 227 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 228 throws com.liferay.portal.kernel.exception.SystemException { 229 return getPersistence().fetchByUuid_Last(uuid, orderByComparator); 230 } 231 232 /** 233 * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ?. 234 * 235 * @param pageId the primary key of the current wiki page 236 * @param uuid the uuid 237 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 238 * @return the previous, current, and next wiki page 239 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 240 * @throws SystemException if a system exception occurred 241 */ 242 public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext( 243 long pageId, java.lang.String uuid, 244 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 245 throws com.liferay.portal.kernel.exception.SystemException, 246 com.liferay.portlet.wiki.NoSuchPageException { 247 return getPersistence() 248 .findByUuid_PrevAndNext(pageId, uuid, orderByComparator); 249 } 250 251 /** 252 * Removes all the wiki pages where uuid = ? from the database. 253 * 254 * @param uuid the uuid 255 * @throws SystemException if a system exception occurred 256 */ 257 public static void removeByUuid(java.lang.String uuid) 258 throws com.liferay.portal.kernel.exception.SystemException { 259 getPersistence().removeByUuid(uuid); 260 } 261 262 /** 263 * Returns the number of wiki pages where uuid = ?. 264 * 265 * @param uuid the uuid 266 * @return the number of matching wiki pages 267 * @throws SystemException if a system exception occurred 268 */ 269 public static int countByUuid(java.lang.String uuid) 270 throws com.liferay.portal.kernel.exception.SystemException { 271 return getPersistence().countByUuid(uuid); 272 } 273 274 /** 275 * Returns the wiki page where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 276 * 277 * @param uuid the uuid 278 * @param groupId the group ID 279 * @return the matching wiki page 280 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 281 * @throws SystemException if a system exception occurred 282 */ 283 public static com.liferay.portlet.wiki.model.WikiPage findByUUID_G( 284 java.lang.String uuid, long groupId) 285 throws com.liferay.portal.kernel.exception.SystemException, 286 com.liferay.portlet.wiki.NoSuchPageException { 287 return getPersistence().findByUUID_G(uuid, groupId); 288 } 289 290 /** 291 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 292 * 293 * @param uuid the uuid 294 * @param groupId the group ID 295 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 296 * @throws SystemException if a system exception occurred 297 */ 298 public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G( 299 java.lang.String uuid, long groupId) 300 throws com.liferay.portal.kernel.exception.SystemException { 301 return getPersistence().fetchByUUID_G(uuid, groupId); 302 } 303 304 /** 305 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 306 * 307 * @param uuid the uuid 308 * @param groupId the group ID 309 * @param retrieveFromCache whether to use the finder cache 310 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 311 * @throws SystemException if a system exception occurred 312 */ 313 public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G( 314 java.lang.String uuid, long groupId, boolean retrieveFromCache) 315 throws com.liferay.portal.kernel.exception.SystemException { 316 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); 317 } 318 319 /** 320 * Removes the wiki page where uuid = ? and groupId = ? from the database. 321 * 322 * @param uuid the uuid 323 * @param groupId the group ID 324 * @return the wiki page that was removed 325 * @throws SystemException if a system exception occurred 326 */ 327 public static com.liferay.portlet.wiki.model.WikiPage removeByUUID_G( 328 java.lang.String uuid, long groupId) 329 throws com.liferay.portal.kernel.exception.SystemException, 330 com.liferay.portlet.wiki.NoSuchPageException { 331 return getPersistence().removeByUUID_G(uuid, groupId); 332 } 333 334 /** 335 * Returns the number of wiki pages where uuid = ? and groupId = ?. 336 * 337 * @param uuid the uuid 338 * @param groupId the group ID 339 * @return the number of matching wiki pages 340 * @throws SystemException if a system exception occurred 341 */ 342 public static int countByUUID_G(java.lang.String uuid, long groupId) 343 throws com.liferay.portal.kernel.exception.SystemException { 344 return getPersistence().countByUUID_G(uuid, groupId); 345 } 346 347 /** 348 * Returns all the wiki pages where uuid = ? and companyId = ?. 349 * 350 * @param uuid the uuid 351 * @param companyId the company ID 352 * @return the matching wiki pages 353 * @throws SystemException if a system exception occurred 354 */ 355 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C( 356 java.lang.String uuid, long companyId) 357 throws com.liferay.portal.kernel.exception.SystemException { 358 return getPersistence().findByUuid_C(uuid, companyId); 359 } 360 361 /** 362 * Returns a range of all the wiki pages where uuid = ? and companyId = ?. 363 * 364 * <p> 365 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 366 * </p> 367 * 368 * @param uuid the uuid 369 * @param companyId the company ID 370 * @param start the lower bound of the range of wiki pages 371 * @param end the upper bound of the range of wiki pages (not inclusive) 372 * @return the range of matching wiki pages 373 * @throws SystemException if a system exception occurred 374 */ 375 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C( 376 java.lang.String uuid, long companyId, int start, int end) 377 throws com.liferay.portal.kernel.exception.SystemException { 378 return getPersistence().findByUuid_C(uuid, companyId, start, end); 379 } 380 381 /** 382 * Returns an ordered range of all the wiki pages where uuid = ? and companyId = ?. 383 * 384 * <p> 385 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 386 * </p> 387 * 388 * @param uuid the uuid 389 * @param companyId the company ID 390 * @param start the lower bound of the range of wiki pages 391 * @param end the upper bound of the range of wiki pages (not inclusive) 392 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 393 * @return the ordered range of matching wiki pages 394 * @throws SystemException if a system exception occurred 395 */ 396 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C( 397 java.lang.String uuid, long companyId, int start, int end, 398 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 399 throws com.liferay.portal.kernel.exception.SystemException { 400 return getPersistence() 401 .findByUuid_C(uuid, companyId, start, end, orderByComparator); 402 } 403 404 /** 405 * Returns the first wiki page in the ordered set where uuid = ? and companyId = ?. 406 * 407 * @param uuid the uuid 408 * @param companyId the company ID 409 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 410 * @return the first matching wiki page 411 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 412 * @throws SystemException if a system exception occurred 413 */ 414 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_C_First( 415 java.lang.String uuid, long companyId, 416 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 417 throws com.liferay.portal.kernel.exception.SystemException, 418 com.liferay.portlet.wiki.NoSuchPageException { 419 return getPersistence() 420 .findByUuid_C_First(uuid, companyId, orderByComparator); 421 } 422 423 /** 424 * Returns the first wiki page in the ordered set where uuid = ? and companyId = ?. 425 * 426 * @param uuid the uuid 427 * @param companyId the company ID 428 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 429 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 430 * @throws SystemException if a system exception occurred 431 */ 432 public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_C_First( 433 java.lang.String uuid, long companyId, 434 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 435 throws com.liferay.portal.kernel.exception.SystemException { 436 return getPersistence() 437 .fetchByUuid_C_First(uuid, companyId, orderByComparator); 438 } 439 440 /** 441 * Returns the last wiki page in the ordered set where uuid = ? and companyId = ?. 442 * 443 * @param uuid the uuid 444 * @param companyId the company ID 445 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 446 * @return the last matching wiki page 447 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 448 * @throws SystemException if a system exception occurred 449 */ 450 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_C_Last( 451 java.lang.String uuid, long companyId, 452 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 453 throws com.liferay.portal.kernel.exception.SystemException, 454 com.liferay.portlet.wiki.NoSuchPageException { 455 return getPersistence() 456 .findByUuid_C_Last(uuid, companyId, orderByComparator); 457 } 458 459 /** 460 * Returns the last wiki page in the ordered set where uuid = ? and companyId = ?. 461 * 462 * @param uuid the uuid 463 * @param companyId the company ID 464 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 465 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 466 * @throws SystemException if a system exception occurred 467 */ 468 public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_C_Last( 469 java.lang.String uuid, long companyId, 470 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 471 throws com.liferay.portal.kernel.exception.SystemException { 472 return getPersistence() 473 .fetchByUuid_C_Last(uuid, companyId, orderByComparator); 474 } 475 476 /** 477 * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ? and companyId = ?. 478 * 479 * @param pageId the primary key of the current wiki page 480 * @param uuid the uuid 481 * @param companyId the company ID 482 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 483 * @return the previous, current, and next wiki page 484 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 485 * @throws SystemException if a system exception occurred 486 */ 487 public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_C_PrevAndNext( 488 long pageId, java.lang.String uuid, long companyId, 489 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 490 throws com.liferay.portal.kernel.exception.SystemException, 491 com.liferay.portlet.wiki.NoSuchPageException { 492 return getPersistence() 493 .findByUuid_C_PrevAndNext(pageId, uuid, companyId, 494 orderByComparator); 495 } 496 497 /** 498 * Removes all the wiki pages where uuid = ? and companyId = ? from the database. 499 * 500 * @param uuid the uuid 501 * @param companyId the company ID 502 * @throws SystemException if a system exception occurred 503 */ 504 public static void removeByUuid_C(java.lang.String uuid, long companyId) 505 throws com.liferay.portal.kernel.exception.SystemException { 506 getPersistence().removeByUuid_C(uuid, companyId); 507 } 508 509 /** 510 * Returns the number of wiki pages where uuid = ? and companyId = ?. 511 * 512 * @param uuid the uuid 513 * @param companyId the company ID 514 * @return the number of matching wiki pages 515 * @throws SystemException if a system exception occurred 516 */ 517 public static int countByUuid_C(java.lang.String uuid, long companyId) 518 throws com.liferay.portal.kernel.exception.SystemException { 519 return getPersistence().countByUuid_C(uuid, companyId); 520 } 521 522 /** 523 * Returns all the wiki pages where resourcePrimKey = ?. 524 * 525 * @param resourcePrimKey the resource prim key 526 * @return the matching wiki pages 527 * @throws SystemException if a system exception occurred 528 */ 529 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByResourcePrimKey( 530 long resourcePrimKey) 531 throws com.liferay.portal.kernel.exception.SystemException { 532 return getPersistence().findByResourcePrimKey(resourcePrimKey); 533 } 534 535 /** 536 * Returns a range of all the wiki pages where resourcePrimKey = ?. 537 * 538 * <p> 539 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 540 * </p> 541 * 542 * @param resourcePrimKey the resource prim key 543 * @param start the lower bound of the range of wiki pages 544 * @param end the upper bound of the range of wiki pages (not inclusive) 545 * @return the range of matching wiki pages 546 * @throws SystemException if a system exception occurred 547 */ 548 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByResourcePrimKey( 549 long resourcePrimKey, int start, int end) 550 throws com.liferay.portal.kernel.exception.SystemException { 551 return getPersistence() 552 .findByResourcePrimKey(resourcePrimKey, start, end); 553 } 554 555 /** 556 * Returns an ordered range of all the wiki pages where resourcePrimKey = ?. 557 * 558 * <p> 559 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 560 * </p> 561 * 562 * @param resourcePrimKey the resource prim key 563 * @param start the lower bound of the range of wiki pages 564 * @param end the upper bound of the range of wiki pages (not inclusive) 565 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 566 * @return the ordered range of matching wiki pages 567 * @throws SystemException if a system exception occurred 568 */ 569 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByResourcePrimKey( 570 long resourcePrimKey, int start, int end, 571 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 572 throws com.liferay.portal.kernel.exception.SystemException { 573 return getPersistence() 574 .findByResourcePrimKey(resourcePrimKey, start, end, 575 orderByComparator); 576 } 577 578 /** 579 * Returns the first wiki page in the ordered set where resourcePrimKey = ?. 580 * 581 * @param resourcePrimKey the resource prim key 582 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 583 * @return the first matching wiki page 584 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 585 * @throws SystemException if a system exception occurred 586 */ 587 public static com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey_First( 588 long resourcePrimKey, 589 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 590 throws com.liferay.portal.kernel.exception.SystemException, 591 com.liferay.portlet.wiki.NoSuchPageException { 592 return getPersistence() 593 .findByResourcePrimKey_First(resourcePrimKey, 594 orderByComparator); 595 } 596 597 /** 598 * Returns the first wiki page in the ordered set where resourcePrimKey = ?. 599 * 600 * @param resourcePrimKey the resource prim key 601 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 602 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 603 * @throws SystemException if a system exception occurred 604 */ 605 public static com.liferay.portlet.wiki.model.WikiPage fetchByResourcePrimKey_First( 606 long resourcePrimKey, 607 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 608 throws com.liferay.portal.kernel.exception.SystemException { 609 return getPersistence() 610 .fetchByResourcePrimKey_First(resourcePrimKey, 611 orderByComparator); 612 } 613 614 /** 615 * Returns the last wiki page in the ordered set where resourcePrimKey = ?. 616 * 617 * @param resourcePrimKey the resource prim key 618 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 619 * @return the last matching wiki page 620 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 621 * @throws SystemException if a system exception occurred 622 */ 623 public static com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey_Last( 624 long resourcePrimKey, 625 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 626 throws com.liferay.portal.kernel.exception.SystemException, 627 com.liferay.portlet.wiki.NoSuchPageException { 628 return getPersistence() 629 .findByResourcePrimKey_Last(resourcePrimKey, 630 orderByComparator); 631 } 632 633 /** 634 * Returns the last wiki page in the ordered set where resourcePrimKey = ?. 635 * 636 * @param resourcePrimKey the resource prim key 637 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 638 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 639 * @throws SystemException if a system exception occurred 640 */ 641 public static com.liferay.portlet.wiki.model.WikiPage fetchByResourcePrimKey_Last( 642 long resourcePrimKey, 643 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 644 throws com.liferay.portal.kernel.exception.SystemException { 645 return getPersistence() 646 .fetchByResourcePrimKey_Last(resourcePrimKey, 647 orderByComparator); 648 } 649 650 /** 651 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ?. 652 * 653 * @param pageId the primary key of the current wiki page 654 * @param resourcePrimKey the resource prim key 655 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 656 * @return the previous, current, and next wiki page 657 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 658 * @throws SystemException if a system exception occurred 659 */ 660 public static com.liferay.portlet.wiki.model.WikiPage[] findByResourcePrimKey_PrevAndNext( 661 long pageId, long resourcePrimKey, 662 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 663 throws com.liferay.portal.kernel.exception.SystemException, 664 com.liferay.portlet.wiki.NoSuchPageException { 665 return getPersistence() 666 .findByResourcePrimKey_PrevAndNext(pageId, resourcePrimKey, 667 orderByComparator); 668 } 669 670 /** 671 * Removes all the wiki pages where resourcePrimKey = ? from the database. 672 * 673 * @param resourcePrimKey the resource prim key 674 * @throws SystemException if a system exception occurred 675 */ 676 public static void removeByResourcePrimKey(long resourcePrimKey) 677 throws com.liferay.portal.kernel.exception.SystemException { 678 getPersistence().removeByResourcePrimKey(resourcePrimKey); 679 } 680 681 /** 682 * Returns the number of wiki pages where resourcePrimKey = ?. 683 * 684 * @param resourcePrimKey the resource prim key 685 * @return the number of matching wiki pages 686 * @throws SystemException if a system exception occurred 687 */ 688 public static int countByResourcePrimKey(long resourcePrimKey) 689 throws com.liferay.portal.kernel.exception.SystemException { 690 return getPersistence().countByResourcePrimKey(resourcePrimKey); 691 } 692 693 /** 694 * Returns all the wiki pages where nodeId = ?. 695 * 696 * @param nodeId the node ID 697 * @return the matching wiki pages 698 * @throws SystemException if a system exception occurred 699 */ 700 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 701 long nodeId) throws com.liferay.portal.kernel.exception.SystemException { 702 return getPersistence().findByNodeId(nodeId); 703 } 704 705 /** 706 * Returns a range of all the wiki pages where nodeId = ?. 707 * 708 * <p> 709 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 710 * </p> 711 * 712 * @param nodeId the node ID 713 * @param start the lower bound of the range of wiki pages 714 * @param end the upper bound of the range of wiki pages (not inclusive) 715 * @return the range of matching wiki pages 716 * @throws SystemException if a system exception occurred 717 */ 718 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 719 long nodeId, int start, int end) 720 throws com.liferay.portal.kernel.exception.SystemException { 721 return getPersistence().findByNodeId(nodeId, start, end); 722 } 723 724 /** 725 * Returns an ordered range of all the wiki pages where nodeId = ?. 726 * 727 * <p> 728 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 729 * </p> 730 * 731 * @param nodeId the node ID 732 * @param start the lower bound of the range of wiki pages 733 * @param end the upper bound of the range of wiki pages (not inclusive) 734 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 735 * @return the ordered range of matching wiki pages 736 * @throws SystemException if a system exception occurred 737 */ 738 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 739 long nodeId, int start, int end, 740 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 741 throws com.liferay.portal.kernel.exception.SystemException { 742 return getPersistence() 743 .findByNodeId(nodeId, start, end, orderByComparator); 744 } 745 746 /** 747 * Returns the first wiki page in the ordered set where nodeId = ?. 748 * 749 * @param nodeId the node ID 750 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 751 * @return the first matching wiki page 752 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 753 * @throws SystemException if a system exception occurred 754 */ 755 public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_First( 756 long nodeId, 757 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 758 throws com.liferay.portal.kernel.exception.SystemException, 759 com.liferay.portlet.wiki.NoSuchPageException { 760 return getPersistence().findByNodeId_First(nodeId, orderByComparator); 761 } 762 763 /** 764 * Returns the first wiki page in the ordered set where nodeId = ?. 765 * 766 * @param nodeId the node ID 767 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 768 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 769 * @throws SystemException if a system exception occurred 770 */ 771 public static com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_First( 772 long nodeId, 773 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 774 throws com.liferay.portal.kernel.exception.SystemException { 775 return getPersistence().fetchByNodeId_First(nodeId, orderByComparator); 776 } 777 778 /** 779 * Returns the last wiki page in the ordered set where nodeId = ?. 780 * 781 * @param nodeId the node ID 782 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 783 * @return the last matching wiki page 784 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 785 * @throws SystemException if a system exception occurred 786 */ 787 public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last( 788 long nodeId, 789 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 790 throws com.liferay.portal.kernel.exception.SystemException, 791 com.liferay.portlet.wiki.NoSuchPageException { 792 return getPersistence().findByNodeId_Last(nodeId, orderByComparator); 793 } 794 795 /** 796 * Returns the last wiki page in the ordered set where nodeId = ?. 797 * 798 * @param nodeId the node ID 799 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 800 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 801 * @throws SystemException if a system exception occurred 802 */ 803 public static com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_Last( 804 long nodeId, 805 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 806 throws com.liferay.portal.kernel.exception.SystemException { 807 return getPersistence().fetchByNodeId_Last(nodeId, orderByComparator); 808 } 809 810 /** 811 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ?. 812 * 813 * @param pageId the primary key of the current wiki page 814 * @param nodeId the node ID 815 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 816 * @return the previous, current, and next wiki page 817 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 818 * @throws SystemException if a system exception occurred 819 */ 820 public static com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext( 821 long pageId, long nodeId, 822 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 823 throws com.liferay.portal.kernel.exception.SystemException, 824 com.liferay.portlet.wiki.NoSuchPageException { 825 return getPersistence() 826 .findByNodeId_PrevAndNext(pageId, nodeId, orderByComparator); 827 } 828 829 /** 830 * Removes all the wiki pages where nodeId = ? from the database. 831 * 832 * @param nodeId the node ID 833 * @throws SystemException if a system exception occurred 834 */ 835 public static void removeByNodeId(long nodeId) 836 throws com.liferay.portal.kernel.exception.SystemException { 837 getPersistence().removeByNodeId(nodeId); 838 } 839 840 /** 841 * Returns the number of wiki pages where nodeId = ?. 842 * 843 * @param nodeId the node ID 844 * @return the number of matching wiki pages 845 * @throws SystemException if a system exception occurred 846 */ 847 public static int countByNodeId(long nodeId) 848 throws com.liferay.portal.kernel.exception.SystemException { 849 return getPersistence().countByNodeId(nodeId); 850 } 851 852 /** 853 * Returns all the wiki pages where format = ?. 854 * 855 * @param format the format 856 * @return the matching wiki pages 857 * @throws SystemException if a system exception occurred 858 */ 859 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 860 java.lang.String format) 861 throws com.liferay.portal.kernel.exception.SystemException { 862 return getPersistence().findByFormat(format); 863 } 864 865 /** 866 * Returns a range of all the wiki pages where format = ?. 867 * 868 * <p> 869 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 870 * </p> 871 * 872 * @param format the format 873 * @param start the lower bound of the range of wiki pages 874 * @param end the upper bound of the range of wiki pages (not inclusive) 875 * @return the range of matching wiki pages 876 * @throws SystemException if a system exception occurred 877 */ 878 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 879 java.lang.String format, int start, int end) 880 throws com.liferay.portal.kernel.exception.SystemException { 881 return getPersistence().findByFormat(format, start, end); 882 } 883 884 /** 885 * Returns an ordered range of all the wiki pages where format = ?. 886 * 887 * <p> 888 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 889 * </p> 890 * 891 * @param format the format 892 * @param start the lower bound of the range of wiki pages 893 * @param end the upper bound of the range of wiki pages (not inclusive) 894 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 895 * @return the ordered range of matching wiki pages 896 * @throws SystemException if a system exception occurred 897 */ 898 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 899 java.lang.String format, int start, int end, 900 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 901 throws com.liferay.portal.kernel.exception.SystemException { 902 return getPersistence() 903 .findByFormat(format, start, end, orderByComparator); 904 } 905 906 /** 907 * Returns the first wiki page in the ordered set where format = ?. 908 * 909 * @param format the format 910 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 911 * @return the first matching wiki page 912 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 913 * @throws SystemException if a system exception occurred 914 */ 915 public static com.liferay.portlet.wiki.model.WikiPage findByFormat_First( 916 java.lang.String format, 917 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 918 throws com.liferay.portal.kernel.exception.SystemException, 919 com.liferay.portlet.wiki.NoSuchPageException { 920 return getPersistence().findByFormat_First(format, orderByComparator); 921 } 922 923 /** 924 * Returns the first wiki page in the ordered set where format = ?. 925 * 926 * @param format the format 927 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 928 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 929 * @throws SystemException if a system exception occurred 930 */ 931 public static com.liferay.portlet.wiki.model.WikiPage fetchByFormat_First( 932 java.lang.String format, 933 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 934 throws com.liferay.portal.kernel.exception.SystemException { 935 return getPersistence().fetchByFormat_First(format, orderByComparator); 936 } 937 938 /** 939 * Returns the last wiki page in the ordered set where format = ?. 940 * 941 * @param format the format 942 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 943 * @return the last matching wiki page 944 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 945 * @throws SystemException if a system exception occurred 946 */ 947 public static com.liferay.portlet.wiki.model.WikiPage findByFormat_Last( 948 java.lang.String format, 949 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 950 throws com.liferay.portal.kernel.exception.SystemException, 951 com.liferay.portlet.wiki.NoSuchPageException { 952 return getPersistence().findByFormat_Last(format, orderByComparator); 953 } 954 955 /** 956 * Returns the last wiki page in the ordered set where format = ?. 957 * 958 * @param format the format 959 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 960 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 961 * @throws SystemException if a system exception occurred 962 */ 963 public static com.liferay.portlet.wiki.model.WikiPage fetchByFormat_Last( 964 java.lang.String format, 965 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 966 throws com.liferay.portal.kernel.exception.SystemException { 967 return getPersistence().fetchByFormat_Last(format, orderByComparator); 968 } 969 970 /** 971 * Returns the wiki pages before and after the current wiki page in the ordered set where format = ?. 972 * 973 * @param pageId the primary key of the current wiki page 974 * @param format the format 975 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 976 * @return the previous, current, and next wiki page 977 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 978 * @throws SystemException if a system exception occurred 979 */ 980 public static com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext( 981 long pageId, java.lang.String format, 982 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 983 throws com.liferay.portal.kernel.exception.SystemException, 984 com.liferay.portlet.wiki.NoSuchPageException { 985 return getPersistence() 986 .findByFormat_PrevAndNext(pageId, format, orderByComparator); 987 } 988 989 /** 990 * Removes all the wiki pages where format = ? from the database. 991 * 992 * @param format the format 993 * @throws SystemException if a system exception occurred 994 */ 995 public static void removeByFormat(java.lang.String format) 996 throws com.liferay.portal.kernel.exception.SystemException { 997 getPersistence().removeByFormat(format); 998 } 999 1000 /** 1001 * Returns the number of wiki pages where format = ?. 1002 * 1003 * @param format the format 1004 * @return the number of matching wiki pages 1005 * @throws SystemException if a system exception occurred 1006 */ 1007 public static int countByFormat(java.lang.String format) 1008 throws com.liferay.portal.kernel.exception.SystemException { 1009 return getPersistence().countByFormat(format); 1010 } 1011 1012 /** 1013 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ?. 1014 * 1015 * @param resourcePrimKey the resource prim key 1016 * @param nodeId the node ID 1017 * @return the matching wiki pages 1018 * @throws SystemException if a system exception occurred 1019 */ 1020 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 1021 long resourcePrimKey, long nodeId) 1022 throws com.liferay.portal.kernel.exception.SystemException { 1023 return getPersistence().findByR_N(resourcePrimKey, nodeId); 1024 } 1025 1026 /** 1027 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 1028 * 1029 * <p> 1030 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1031 * </p> 1032 * 1033 * @param resourcePrimKey the resource prim key 1034 * @param nodeId the node ID 1035 * @param start the lower bound of the range of wiki pages 1036 * @param end the upper bound of the range of wiki pages (not inclusive) 1037 * @return the range of matching wiki pages 1038 * @throws SystemException if a system exception occurred 1039 */ 1040 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 1041 long resourcePrimKey, long nodeId, int start, int end) 1042 throws com.liferay.portal.kernel.exception.SystemException { 1043 return getPersistence().findByR_N(resourcePrimKey, nodeId, start, end); 1044 } 1045 1046 /** 1047 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 1048 * 1049 * <p> 1050 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1051 * </p> 1052 * 1053 * @param resourcePrimKey the resource prim key 1054 * @param nodeId the node ID 1055 * @param start the lower bound of the range of wiki pages 1056 * @param end the upper bound of the range of wiki pages (not inclusive) 1057 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1058 * @return the ordered range of matching wiki pages 1059 * @throws SystemException if a system exception occurred 1060 */ 1061 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 1062 long resourcePrimKey, long nodeId, int start, int end, 1063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1064 throws com.liferay.portal.kernel.exception.SystemException { 1065 return getPersistence() 1066 .findByR_N(resourcePrimKey, nodeId, start, end, 1067 orderByComparator); 1068 } 1069 1070 /** 1071 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 1072 * 1073 * @param resourcePrimKey the resource prim key 1074 * @param nodeId the node ID 1075 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1076 * @return the first matching wiki page 1077 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1078 * @throws SystemException if a system exception occurred 1079 */ 1080 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_First( 1081 long resourcePrimKey, long nodeId, 1082 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1083 throws com.liferay.portal.kernel.exception.SystemException, 1084 com.liferay.portlet.wiki.NoSuchPageException { 1085 return getPersistence() 1086 .findByR_N_First(resourcePrimKey, nodeId, orderByComparator); 1087 } 1088 1089 /** 1090 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 1091 * 1092 * @param resourcePrimKey the resource prim key 1093 * @param nodeId the node ID 1094 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1095 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1096 * @throws SystemException if a system exception occurred 1097 */ 1098 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_First( 1099 long resourcePrimKey, long nodeId, 1100 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1101 throws com.liferay.portal.kernel.exception.SystemException { 1102 return getPersistence() 1103 .fetchByR_N_First(resourcePrimKey, nodeId, orderByComparator); 1104 } 1105 1106 /** 1107 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 1108 * 1109 * @param resourcePrimKey the resource prim key 1110 * @param nodeId the node ID 1111 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1112 * @return the last matching wiki page 1113 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1114 * @throws SystemException if a system exception occurred 1115 */ 1116 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_Last( 1117 long resourcePrimKey, long nodeId, 1118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1119 throws com.liferay.portal.kernel.exception.SystemException, 1120 com.liferay.portlet.wiki.NoSuchPageException { 1121 return getPersistence() 1122 .findByR_N_Last(resourcePrimKey, nodeId, orderByComparator); 1123 } 1124 1125 /** 1126 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 1127 * 1128 * @param resourcePrimKey the resource prim key 1129 * @param nodeId the node ID 1130 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1131 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1132 * @throws SystemException if a system exception occurred 1133 */ 1134 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_Last( 1135 long resourcePrimKey, long nodeId, 1136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1137 throws com.liferay.portal.kernel.exception.SystemException { 1138 return getPersistence() 1139 .fetchByR_N_Last(resourcePrimKey, nodeId, orderByComparator); 1140 } 1141 1142 /** 1143 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 1144 * 1145 * @param pageId the primary key of the current wiki page 1146 * @param resourcePrimKey the resource prim key 1147 * @param nodeId the node ID 1148 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1149 * @return the previous, current, and next wiki page 1150 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1151 * @throws SystemException if a system exception occurred 1152 */ 1153 public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_PrevAndNext( 1154 long pageId, long resourcePrimKey, long nodeId, 1155 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1156 throws com.liferay.portal.kernel.exception.SystemException, 1157 com.liferay.portlet.wiki.NoSuchPageException { 1158 return getPersistence() 1159 .findByR_N_PrevAndNext(pageId, resourcePrimKey, nodeId, 1160 orderByComparator); 1161 } 1162 1163 /** 1164 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? from the database. 1165 * 1166 * @param resourcePrimKey the resource prim key 1167 * @param nodeId the node ID 1168 * @throws SystemException if a system exception occurred 1169 */ 1170 public static void removeByR_N(long resourcePrimKey, long nodeId) 1171 throws com.liferay.portal.kernel.exception.SystemException { 1172 getPersistence().removeByR_N(resourcePrimKey, nodeId); 1173 } 1174 1175 /** 1176 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ?. 1177 * 1178 * @param resourcePrimKey the resource prim key 1179 * @param nodeId the node ID 1180 * @return the number of matching wiki pages 1181 * @throws SystemException if a system exception occurred 1182 */ 1183 public static int countByR_N(long resourcePrimKey, long nodeId) 1184 throws com.liferay.portal.kernel.exception.SystemException { 1185 return getPersistence().countByR_N(resourcePrimKey, nodeId); 1186 } 1187 1188 /** 1189 * Returns all the wiki pages where resourcePrimKey = ? and status = ?. 1190 * 1191 * @param resourcePrimKey the resource prim key 1192 * @param status the status 1193 * @return the matching wiki pages 1194 * @throws SystemException if a system exception occurred 1195 */ 1196 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_S( 1197 long resourcePrimKey, int status) 1198 throws com.liferay.portal.kernel.exception.SystemException { 1199 return getPersistence().findByR_S(resourcePrimKey, status); 1200 } 1201 1202 /** 1203 * Returns a range of all the wiki pages where resourcePrimKey = ? and status = ?. 1204 * 1205 * <p> 1206 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1207 * </p> 1208 * 1209 * @param resourcePrimKey the resource prim key 1210 * @param status the status 1211 * @param start the lower bound of the range of wiki pages 1212 * @param end the upper bound of the range of wiki pages (not inclusive) 1213 * @return the range of matching wiki pages 1214 * @throws SystemException if a system exception occurred 1215 */ 1216 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_S( 1217 long resourcePrimKey, int status, int start, int end) 1218 throws com.liferay.portal.kernel.exception.SystemException { 1219 return getPersistence().findByR_S(resourcePrimKey, status, start, end); 1220 } 1221 1222 /** 1223 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and status = ?. 1224 * 1225 * <p> 1226 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1227 * </p> 1228 * 1229 * @param resourcePrimKey the resource prim key 1230 * @param status the status 1231 * @param start the lower bound of the range of wiki pages 1232 * @param end the upper bound of the range of wiki pages (not inclusive) 1233 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1234 * @return the ordered range of matching wiki pages 1235 * @throws SystemException if a system exception occurred 1236 */ 1237 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_S( 1238 long resourcePrimKey, int status, int start, int end, 1239 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1240 throws com.liferay.portal.kernel.exception.SystemException { 1241 return getPersistence() 1242 .findByR_S(resourcePrimKey, status, start, end, 1243 orderByComparator); 1244 } 1245 1246 /** 1247 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1248 * 1249 * @param resourcePrimKey the resource prim key 1250 * @param status the status 1251 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1252 * @return the first matching wiki page 1253 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1254 * @throws SystemException if a system exception occurred 1255 */ 1256 public static com.liferay.portlet.wiki.model.WikiPage findByR_S_First( 1257 long resourcePrimKey, int status, 1258 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1259 throws com.liferay.portal.kernel.exception.SystemException, 1260 com.liferay.portlet.wiki.NoSuchPageException { 1261 return getPersistence() 1262 .findByR_S_First(resourcePrimKey, status, orderByComparator); 1263 } 1264 1265 /** 1266 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1267 * 1268 * @param resourcePrimKey the resource prim key 1269 * @param status the status 1270 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1271 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1272 * @throws SystemException if a system exception occurred 1273 */ 1274 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_S_First( 1275 long resourcePrimKey, int status, 1276 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1277 throws com.liferay.portal.kernel.exception.SystemException { 1278 return getPersistence() 1279 .fetchByR_S_First(resourcePrimKey, status, orderByComparator); 1280 } 1281 1282 /** 1283 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1284 * 1285 * @param resourcePrimKey the resource prim key 1286 * @param status the status 1287 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1288 * @return the last matching wiki page 1289 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1290 * @throws SystemException if a system exception occurred 1291 */ 1292 public static com.liferay.portlet.wiki.model.WikiPage findByR_S_Last( 1293 long resourcePrimKey, int status, 1294 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1295 throws com.liferay.portal.kernel.exception.SystemException, 1296 com.liferay.portlet.wiki.NoSuchPageException { 1297 return getPersistence() 1298 .findByR_S_Last(resourcePrimKey, status, orderByComparator); 1299 } 1300 1301 /** 1302 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1303 * 1304 * @param resourcePrimKey the resource prim key 1305 * @param status the status 1306 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1307 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1308 * @throws SystemException if a system exception occurred 1309 */ 1310 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_S_Last( 1311 long resourcePrimKey, int status, 1312 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1313 throws com.liferay.portal.kernel.exception.SystemException { 1314 return getPersistence() 1315 .fetchByR_S_Last(resourcePrimKey, status, orderByComparator); 1316 } 1317 1318 /** 1319 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1320 * 1321 * @param pageId the primary key of the current wiki page 1322 * @param resourcePrimKey the resource prim key 1323 * @param status the status 1324 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1325 * @return the previous, current, and next wiki page 1326 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1327 * @throws SystemException if a system exception occurred 1328 */ 1329 public static com.liferay.portlet.wiki.model.WikiPage[] findByR_S_PrevAndNext( 1330 long pageId, long resourcePrimKey, int status, 1331 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1332 throws com.liferay.portal.kernel.exception.SystemException, 1333 com.liferay.portlet.wiki.NoSuchPageException { 1334 return getPersistence() 1335 .findByR_S_PrevAndNext(pageId, resourcePrimKey, status, 1336 orderByComparator); 1337 } 1338 1339 /** 1340 * Removes all the wiki pages where resourcePrimKey = ? and status = ? from the database. 1341 * 1342 * @param resourcePrimKey the resource prim key 1343 * @param status the status 1344 * @throws SystemException if a system exception occurred 1345 */ 1346 public static void removeByR_S(long resourcePrimKey, int status) 1347 throws com.liferay.portal.kernel.exception.SystemException { 1348 getPersistence().removeByR_S(resourcePrimKey, status); 1349 } 1350 1351 /** 1352 * Returns the number of wiki pages where resourcePrimKey = ? and status = ?. 1353 * 1354 * @param resourcePrimKey the resource prim key 1355 * @param status the status 1356 * @return the number of matching wiki pages 1357 * @throws SystemException if a system exception occurred 1358 */ 1359 public static int countByR_S(long resourcePrimKey, int status) 1360 throws com.liferay.portal.kernel.exception.SystemException { 1361 return getPersistence().countByR_S(resourcePrimKey, status); 1362 } 1363 1364 /** 1365 * Returns all the wiki pages where nodeId = ? and title = ?. 1366 * 1367 * @param nodeId the node ID 1368 * @param title the title 1369 * @return the matching wiki pages 1370 * @throws SystemException if a system exception occurred 1371 */ 1372 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 1373 long nodeId, java.lang.String title) 1374 throws com.liferay.portal.kernel.exception.SystemException { 1375 return getPersistence().findByN_T(nodeId, title); 1376 } 1377 1378 /** 1379 * Returns a range of all the wiki pages where nodeId = ? and title = ?. 1380 * 1381 * <p> 1382 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1383 * </p> 1384 * 1385 * @param nodeId the node ID 1386 * @param title the title 1387 * @param start the lower bound of the range of wiki pages 1388 * @param end the upper bound of the range of wiki pages (not inclusive) 1389 * @return the range of matching wiki pages 1390 * @throws SystemException if a system exception occurred 1391 */ 1392 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 1393 long nodeId, java.lang.String title, int start, int end) 1394 throws com.liferay.portal.kernel.exception.SystemException { 1395 return getPersistence().findByN_T(nodeId, title, start, end); 1396 } 1397 1398 /** 1399 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ?. 1400 * 1401 * <p> 1402 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1403 * </p> 1404 * 1405 * @param nodeId the node ID 1406 * @param title the title 1407 * @param start the lower bound of the range of wiki pages 1408 * @param end the upper bound of the range of wiki pages (not inclusive) 1409 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1410 * @return the ordered range of matching wiki pages 1411 * @throws SystemException if a system exception occurred 1412 */ 1413 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 1414 long nodeId, java.lang.String title, int start, int end, 1415 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1416 throws com.liferay.portal.kernel.exception.SystemException { 1417 return getPersistence() 1418 .findByN_T(nodeId, title, start, end, orderByComparator); 1419 } 1420 1421 /** 1422 * Returns the first wiki page in the ordered set where nodeId = ? and title = ?. 1423 * 1424 * @param nodeId the node ID 1425 * @param title the title 1426 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1427 * @return the first matching wiki page 1428 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1429 * @throws SystemException if a system exception occurred 1430 */ 1431 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_First( 1432 long nodeId, java.lang.String title, 1433 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1434 throws com.liferay.portal.kernel.exception.SystemException, 1435 com.liferay.portlet.wiki.NoSuchPageException { 1436 return getPersistence().findByN_T_First(nodeId, title, orderByComparator); 1437 } 1438 1439 /** 1440 * Returns the first wiki page in the ordered set where nodeId = ? and title = ?. 1441 * 1442 * @param nodeId the node ID 1443 * @param title the title 1444 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1445 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1446 * @throws SystemException if a system exception occurred 1447 */ 1448 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_First( 1449 long nodeId, java.lang.String title, 1450 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1451 throws com.liferay.portal.kernel.exception.SystemException { 1452 return getPersistence() 1453 .fetchByN_T_First(nodeId, title, orderByComparator); 1454 } 1455 1456 /** 1457 * Returns the last wiki page in the ordered set where nodeId = ? and title = ?. 1458 * 1459 * @param nodeId the node ID 1460 * @param title the title 1461 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1462 * @return the last matching wiki page 1463 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1464 * @throws SystemException if a system exception occurred 1465 */ 1466 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_Last( 1467 long nodeId, java.lang.String title, 1468 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1469 throws com.liferay.portal.kernel.exception.SystemException, 1470 com.liferay.portlet.wiki.NoSuchPageException { 1471 return getPersistence().findByN_T_Last(nodeId, title, orderByComparator); 1472 } 1473 1474 /** 1475 * Returns the last wiki page in the ordered set where nodeId = ? and title = ?. 1476 * 1477 * @param nodeId the node ID 1478 * @param title the title 1479 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1480 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1481 * @throws SystemException if a system exception occurred 1482 */ 1483 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_Last( 1484 long nodeId, java.lang.String title, 1485 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1486 throws com.liferay.portal.kernel.exception.SystemException { 1487 return getPersistence().fetchByN_T_Last(nodeId, title, orderByComparator); 1488 } 1489 1490 /** 1491 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?. 1492 * 1493 * @param pageId the primary key of the current wiki page 1494 * @param nodeId the node ID 1495 * @param title the title 1496 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1497 * @return the previous, current, and next wiki page 1498 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1499 * @throws SystemException if a system exception occurred 1500 */ 1501 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext( 1502 long pageId, long nodeId, java.lang.String title, 1503 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1504 throws com.liferay.portal.kernel.exception.SystemException, 1505 com.liferay.portlet.wiki.NoSuchPageException { 1506 return getPersistence() 1507 .findByN_T_PrevAndNext(pageId, nodeId, title, 1508 orderByComparator); 1509 } 1510 1511 /** 1512 * Removes all the wiki pages where nodeId = ? and title = ? from the database. 1513 * 1514 * @param nodeId the node ID 1515 * @param title the title 1516 * @throws SystemException if a system exception occurred 1517 */ 1518 public static void removeByN_T(long nodeId, java.lang.String title) 1519 throws com.liferay.portal.kernel.exception.SystemException { 1520 getPersistence().removeByN_T(nodeId, title); 1521 } 1522 1523 /** 1524 * Returns the number of wiki pages where nodeId = ? and title = ?. 1525 * 1526 * @param nodeId the node ID 1527 * @param title the title 1528 * @return the number of matching wiki pages 1529 * @throws SystemException if a system exception occurred 1530 */ 1531 public static int countByN_T(long nodeId, java.lang.String title) 1532 throws com.liferay.portal.kernel.exception.SystemException { 1533 return getPersistence().countByN_T(nodeId, title); 1534 } 1535 1536 /** 1537 * Returns all the wiki pages where nodeId = ? and head = ?. 1538 * 1539 * @param nodeId the node ID 1540 * @param head the head 1541 * @return the matching wiki pages 1542 * @throws SystemException if a system exception occurred 1543 */ 1544 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 1545 long nodeId, boolean head) 1546 throws com.liferay.portal.kernel.exception.SystemException { 1547 return getPersistence().findByN_H(nodeId, head); 1548 } 1549 1550 /** 1551 * Returns a range of all the wiki pages where nodeId = ? and head = ?. 1552 * 1553 * <p> 1554 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1555 * </p> 1556 * 1557 * @param nodeId the node ID 1558 * @param head the head 1559 * @param start the lower bound of the range of wiki pages 1560 * @param end the upper bound of the range of wiki pages (not inclusive) 1561 * @return the range of matching wiki pages 1562 * @throws SystemException if a system exception occurred 1563 */ 1564 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 1565 long nodeId, boolean head, int start, int end) 1566 throws com.liferay.portal.kernel.exception.SystemException { 1567 return getPersistence().findByN_H(nodeId, head, start, end); 1568 } 1569 1570 /** 1571 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ?. 1572 * 1573 * <p> 1574 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1575 * </p> 1576 * 1577 * @param nodeId the node ID 1578 * @param head the head 1579 * @param start the lower bound of the range of wiki pages 1580 * @param end the upper bound of the range of wiki pages (not inclusive) 1581 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1582 * @return the ordered range of matching wiki pages 1583 * @throws SystemException if a system exception occurred 1584 */ 1585 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 1586 long nodeId, boolean head, int start, int end, 1587 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1588 throws com.liferay.portal.kernel.exception.SystemException { 1589 return getPersistence() 1590 .findByN_H(nodeId, head, start, end, orderByComparator); 1591 } 1592 1593 /** 1594 * Returns the first wiki page in the ordered set where nodeId = ? and head = ?. 1595 * 1596 * @param nodeId the node ID 1597 * @param head the head 1598 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1599 * @return the first matching wiki page 1600 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1601 * @throws SystemException if a system exception occurred 1602 */ 1603 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_First( 1604 long nodeId, boolean head, 1605 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1606 throws com.liferay.portal.kernel.exception.SystemException, 1607 com.liferay.portlet.wiki.NoSuchPageException { 1608 return getPersistence().findByN_H_First(nodeId, head, orderByComparator); 1609 } 1610 1611 /** 1612 * Returns the first wiki page in the ordered set where nodeId = ? and head = ?. 1613 * 1614 * @param nodeId the node ID 1615 * @param head the head 1616 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1617 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1618 * @throws SystemException if a system exception occurred 1619 */ 1620 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_First( 1621 long nodeId, boolean head, 1622 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1623 throws com.liferay.portal.kernel.exception.SystemException { 1624 return getPersistence().fetchByN_H_First(nodeId, head, orderByComparator); 1625 } 1626 1627 /** 1628 * Returns the last wiki page in the ordered set where nodeId = ? and head = ?. 1629 * 1630 * @param nodeId the node ID 1631 * @param head the head 1632 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1633 * @return the last matching wiki page 1634 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1635 * @throws SystemException if a system exception occurred 1636 */ 1637 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_Last( 1638 long nodeId, boolean head, 1639 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1640 throws com.liferay.portal.kernel.exception.SystemException, 1641 com.liferay.portlet.wiki.NoSuchPageException { 1642 return getPersistence().findByN_H_Last(nodeId, head, orderByComparator); 1643 } 1644 1645 /** 1646 * Returns the last wiki page in the ordered set where nodeId = ? and head = ?. 1647 * 1648 * @param nodeId the node ID 1649 * @param head the head 1650 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1651 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1652 * @throws SystemException if a system exception occurred 1653 */ 1654 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_Last( 1655 long nodeId, boolean head, 1656 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1657 throws com.liferay.portal.kernel.exception.SystemException { 1658 return getPersistence().fetchByN_H_Last(nodeId, head, orderByComparator); 1659 } 1660 1661 /** 1662 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?. 1663 * 1664 * @param pageId the primary key of the current wiki page 1665 * @param nodeId the node ID 1666 * @param head the head 1667 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1668 * @return the previous, current, and next wiki page 1669 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1670 * @throws SystemException if a system exception occurred 1671 */ 1672 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext( 1673 long pageId, long nodeId, boolean head, 1674 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1675 throws com.liferay.portal.kernel.exception.SystemException, 1676 com.liferay.portlet.wiki.NoSuchPageException { 1677 return getPersistence() 1678 .findByN_H_PrevAndNext(pageId, nodeId, head, 1679 orderByComparator); 1680 } 1681 1682 /** 1683 * Removes all the wiki pages where nodeId = ? and head = ? from the database. 1684 * 1685 * @param nodeId the node ID 1686 * @param head the head 1687 * @throws SystemException if a system exception occurred 1688 */ 1689 public static void removeByN_H(long nodeId, boolean head) 1690 throws com.liferay.portal.kernel.exception.SystemException { 1691 getPersistence().removeByN_H(nodeId, head); 1692 } 1693 1694 /** 1695 * Returns the number of wiki pages where nodeId = ? and head = ?. 1696 * 1697 * @param nodeId the node ID 1698 * @param head the head 1699 * @return the number of matching wiki pages 1700 * @throws SystemException if a system exception occurred 1701 */ 1702 public static int countByN_H(long nodeId, boolean head) 1703 throws com.liferay.portal.kernel.exception.SystemException { 1704 return getPersistence().countByN_H(nodeId, head); 1705 } 1706 1707 /** 1708 * Returns all the wiki pages where nodeId = ? and parentTitle = ?. 1709 * 1710 * @param nodeId the node ID 1711 * @param parentTitle the parent title 1712 * @return the matching wiki pages 1713 * @throws SystemException if a system exception occurred 1714 */ 1715 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 1716 long nodeId, java.lang.String parentTitle) 1717 throws com.liferay.portal.kernel.exception.SystemException { 1718 return getPersistence().findByN_P(nodeId, parentTitle); 1719 } 1720 1721 /** 1722 * Returns a range of all the wiki pages where nodeId = ? and parentTitle = ?. 1723 * 1724 * <p> 1725 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1726 * </p> 1727 * 1728 * @param nodeId the node ID 1729 * @param parentTitle the parent title 1730 * @param start the lower bound of the range of wiki pages 1731 * @param end the upper bound of the range of wiki pages (not inclusive) 1732 * @return the range of matching wiki pages 1733 * @throws SystemException if a system exception occurred 1734 */ 1735 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 1736 long nodeId, java.lang.String parentTitle, int start, int end) 1737 throws com.liferay.portal.kernel.exception.SystemException { 1738 return getPersistence().findByN_P(nodeId, parentTitle, start, end); 1739 } 1740 1741 /** 1742 * Returns an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?. 1743 * 1744 * <p> 1745 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1746 * </p> 1747 * 1748 * @param nodeId the node ID 1749 * @param parentTitle the parent title 1750 * @param start the lower bound of the range of wiki pages 1751 * @param end the upper bound of the range of wiki pages (not inclusive) 1752 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1753 * @return the ordered range of matching wiki pages 1754 * @throws SystemException if a system exception occurred 1755 */ 1756 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 1757 long nodeId, java.lang.String parentTitle, int start, int end, 1758 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1759 throws com.liferay.portal.kernel.exception.SystemException { 1760 return getPersistence() 1761 .findByN_P(nodeId, parentTitle, start, end, orderByComparator); 1762 } 1763 1764 /** 1765 * Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1766 * 1767 * @param nodeId the node ID 1768 * @param parentTitle the parent title 1769 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1770 * @return the first matching wiki page 1771 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1772 * @throws SystemException if a system exception occurred 1773 */ 1774 public static com.liferay.portlet.wiki.model.WikiPage findByN_P_First( 1775 long nodeId, java.lang.String parentTitle, 1776 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1777 throws com.liferay.portal.kernel.exception.SystemException, 1778 com.liferay.portlet.wiki.NoSuchPageException { 1779 return getPersistence() 1780 .findByN_P_First(nodeId, parentTitle, orderByComparator); 1781 } 1782 1783 /** 1784 * Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1785 * 1786 * @param nodeId the node ID 1787 * @param parentTitle the parent title 1788 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1789 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1790 * @throws SystemException if a system exception occurred 1791 */ 1792 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_P_First( 1793 long nodeId, java.lang.String parentTitle, 1794 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1795 throws com.liferay.portal.kernel.exception.SystemException { 1796 return getPersistence() 1797 .fetchByN_P_First(nodeId, parentTitle, orderByComparator); 1798 } 1799 1800 /** 1801 * Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1802 * 1803 * @param nodeId the node ID 1804 * @param parentTitle the parent title 1805 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1806 * @return the last matching wiki page 1807 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1808 * @throws SystemException if a system exception occurred 1809 */ 1810 public static com.liferay.portlet.wiki.model.WikiPage findByN_P_Last( 1811 long nodeId, java.lang.String parentTitle, 1812 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1813 throws com.liferay.portal.kernel.exception.SystemException, 1814 com.liferay.portlet.wiki.NoSuchPageException { 1815 return getPersistence() 1816 .findByN_P_Last(nodeId, parentTitle, orderByComparator); 1817 } 1818 1819 /** 1820 * Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1821 * 1822 * @param nodeId the node ID 1823 * @param parentTitle the parent title 1824 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1825 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1826 * @throws SystemException if a system exception occurred 1827 */ 1828 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_P_Last( 1829 long nodeId, java.lang.String parentTitle, 1830 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1831 throws com.liferay.portal.kernel.exception.SystemException { 1832 return getPersistence() 1833 .fetchByN_P_Last(nodeId, parentTitle, orderByComparator); 1834 } 1835 1836 /** 1837 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1838 * 1839 * @param pageId the primary key of the current wiki page 1840 * @param nodeId the node ID 1841 * @param parentTitle the parent title 1842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1843 * @return the previous, current, and next wiki page 1844 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1845 * @throws SystemException if a system exception occurred 1846 */ 1847 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext( 1848 long pageId, long nodeId, java.lang.String parentTitle, 1849 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1850 throws com.liferay.portal.kernel.exception.SystemException, 1851 com.liferay.portlet.wiki.NoSuchPageException { 1852 return getPersistence() 1853 .findByN_P_PrevAndNext(pageId, nodeId, parentTitle, 1854 orderByComparator); 1855 } 1856 1857 /** 1858 * Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database. 1859 * 1860 * @param nodeId the node ID 1861 * @param parentTitle the parent title 1862 * @throws SystemException if a system exception occurred 1863 */ 1864 public static void removeByN_P(long nodeId, java.lang.String parentTitle) 1865 throws com.liferay.portal.kernel.exception.SystemException { 1866 getPersistence().removeByN_P(nodeId, parentTitle); 1867 } 1868 1869 /** 1870 * Returns the number of wiki pages where nodeId = ? and parentTitle = ?. 1871 * 1872 * @param nodeId the node ID 1873 * @param parentTitle the parent title 1874 * @return the number of matching wiki pages 1875 * @throws SystemException if a system exception occurred 1876 */ 1877 public static int countByN_P(long nodeId, java.lang.String parentTitle) 1878 throws com.liferay.portal.kernel.exception.SystemException { 1879 return getPersistence().countByN_P(nodeId, parentTitle); 1880 } 1881 1882 /** 1883 * Returns all the wiki pages where nodeId = ? and redirectTitle = ?. 1884 * 1885 * @param nodeId the node ID 1886 * @param redirectTitle the redirect title 1887 * @return the matching wiki pages 1888 * @throws SystemException if a system exception occurred 1889 */ 1890 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1891 long nodeId, java.lang.String redirectTitle) 1892 throws com.liferay.portal.kernel.exception.SystemException { 1893 return getPersistence().findByN_R(nodeId, redirectTitle); 1894 } 1895 1896 /** 1897 * Returns a range of all the wiki pages where nodeId = ? and redirectTitle = ?. 1898 * 1899 * <p> 1900 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1901 * </p> 1902 * 1903 * @param nodeId the node ID 1904 * @param redirectTitle the redirect title 1905 * @param start the lower bound of the range of wiki pages 1906 * @param end the upper bound of the range of wiki pages (not inclusive) 1907 * @return the range of matching wiki pages 1908 * @throws SystemException if a system exception occurred 1909 */ 1910 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1911 long nodeId, java.lang.String redirectTitle, int start, int end) 1912 throws com.liferay.portal.kernel.exception.SystemException { 1913 return getPersistence().findByN_R(nodeId, redirectTitle, start, end); 1914 } 1915 1916 /** 1917 * Returns an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?. 1918 * 1919 * <p> 1920 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1921 * </p> 1922 * 1923 * @param nodeId the node ID 1924 * @param redirectTitle the redirect title 1925 * @param start the lower bound of the range of wiki pages 1926 * @param end the upper bound of the range of wiki pages (not inclusive) 1927 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1928 * @return the ordered range of matching wiki pages 1929 * @throws SystemException if a system exception occurred 1930 */ 1931 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1932 long nodeId, java.lang.String redirectTitle, int start, int end, 1933 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1934 throws com.liferay.portal.kernel.exception.SystemException { 1935 return getPersistence() 1936 .findByN_R(nodeId, redirectTitle, start, end, 1937 orderByComparator); 1938 } 1939 1940 /** 1941 * Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1942 * 1943 * @param nodeId the node ID 1944 * @param redirectTitle the redirect title 1945 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1946 * @return the first matching wiki page 1947 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1948 * @throws SystemException if a system exception occurred 1949 */ 1950 public static com.liferay.portlet.wiki.model.WikiPage findByN_R_First( 1951 long nodeId, java.lang.String redirectTitle, 1952 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1953 throws com.liferay.portal.kernel.exception.SystemException, 1954 com.liferay.portlet.wiki.NoSuchPageException { 1955 return getPersistence() 1956 .findByN_R_First(nodeId, redirectTitle, orderByComparator); 1957 } 1958 1959 /** 1960 * Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1961 * 1962 * @param nodeId the node ID 1963 * @param redirectTitle the redirect title 1964 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1965 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1966 * @throws SystemException if a system exception occurred 1967 */ 1968 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_R_First( 1969 long nodeId, java.lang.String redirectTitle, 1970 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1971 throws com.liferay.portal.kernel.exception.SystemException { 1972 return getPersistence() 1973 .fetchByN_R_First(nodeId, redirectTitle, orderByComparator); 1974 } 1975 1976 /** 1977 * Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1978 * 1979 * @param nodeId the node ID 1980 * @param redirectTitle the redirect title 1981 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1982 * @return the last matching wiki page 1983 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1984 * @throws SystemException if a system exception occurred 1985 */ 1986 public static com.liferay.portlet.wiki.model.WikiPage findByN_R_Last( 1987 long nodeId, java.lang.String redirectTitle, 1988 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1989 throws com.liferay.portal.kernel.exception.SystemException, 1990 com.liferay.portlet.wiki.NoSuchPageException { 1991 return getPersistence() 1992 .findByN_R_Last(nodeId, redirectTitle, orderByComparator); 1993 } 1994 1995 /** 1996 * Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1997 * 1998 * @param nodeId the node ID 1999 * @param redirectTitle the redirect title 2000 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2001 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2002 * @throws SystemException if a system exception occurred 2003 */ 2004 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_R_Last( 2005 long nodeId, java.lang.String redirectTitle, 2006 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2007 throws com.liferay.portal.kernel.exception.SystemException { 2008 return getPersistence() 2009 .fetchByN_R_Last(nodeId, redirectTitle, orderByComparator); 2010 } 2011 2012 /** 2013 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 2014 * 2015 * @param pageId the primary key of the current wiki page 2016 * @param nodeId the node ID 2017 * @param redirectTitle the redirect title 2018 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2019 * @return the previous, current, and next wiki page 2020 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2021 * @throws SystemException if a system exception occurred 2022 */ 2023 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext( 2024 long pageId, long nodeId, java.lang.String redirectTitle, 2025 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2026 throws com.liferay.portal.kernel.exception.SystemException, 2027 com.liferay.portlet.wiki.NoSuchPageException { 2028 return getPersistence() 2029 .findByN_R_PrevAndNext(pageId, nodeId, redirectTitle, 2030 orderByComparator); 2031 } 2032 2033 /** 2034 * Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database. 2035 * 2036 * @param nodeId the node ID 2037 * @param redirectTitle the redirect title 2038 * @throws SystemException if a system exception occurred 2039 */ 2040 public static void removeByN_R(long nodeId, java.lang.String redirectTitle) 2041 throws com.liferay.portal.kernel.exception.SystemException { 2042 getPersistence().removeByN_R(nodeId, redirectTitle); 2043 } 2044 2045 /** 2046 * Returns the number of wiki pages where nodeId = ? and redirectTitle = ?. 2047 * 2048 * @param nodeId the node ID 2049 * @param redirectTitle the redirect title 2050 * @return the number of matching wiki pages 2051 * @throws SystemException if a system exception occurred 2052 */ 2053 public static int countByN_R(long nodeId, java.lang.String redirectTitle) 2054 throws com.liferay.portal.kernel.exception.SystemException { 2055 return getPersistence().countByN_R(nodeId, redirectTitle); 2056 } 2057 2058 /** 2059 * Returns all the wiki pages where nodeId = ? and status = ?. 2060 * 2061 * @param nodeId the node ID 2062 * @param status the status 2063 * @return the matching wiki pages 2064 * @throws SystemException if a system exception occurred 2065 */ 2066 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 2067 long nodeId, int status) 2068 throws com.liferay.portal.kernel.exception.SystemException { 2069 return getPersistence().findByN_S(nodeId, status); 2070 } 2071 2072 /** 2073 * Returns a range of all the wiki pages where nodeId = ? and status = ?. 2074 * 2075 * <p> 2076 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2077 * </p> 2078 * 2079 * @param nodeId the node ID 2080 * @param status the status 2081 * @param start the lower bound of the range of wiki pages 2082 * @param end the upper bound of the range of wiki pages (not inclusive) 2083 * @return the range of matching wiki pages 2084 * @throws SystemException if a system exception occurred 2085 */ 2086 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 2087 long nodeId, int status, int start, int end) 2088 throws com.liferay.portal.kernel.exception.SystemException { 2089 return getPersistence().findByN_S(nodeId, status, start, end); 2090 } 2091 2092 /** 2093 * Returns an ordered range of all the wiki pages where nodeId = ? and status = ?. 2094 * 2095 * <p> 2096 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2097 * </p> 2098 * 2099 * @param nodeId the node ID 2100 * @param status the status 2101 * @param start the lower bound of the range of wiki pages 2102 * @param end the upper bound of the range of wiki pages (not inclusive) 2103 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2104 * @return the ordered range of matching wiki pages 2105 * @throws SystemException if a system exception occurred 2106 */ 2107 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 2108 long nodeId, int status, int start, int end, 2109 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2110 throws com.liferay.portal.kernel.exception.SystemException { 2111 return getPersistence() 2112 .findByN_S(nodeId, status, start, end, orderByComparator); 2113 } 2114 2115 /** 2116 * Returns the first wiki page in the ordered set where nodeId = ? and status = ?. 2117 * 2118 * @param nodeId the node ID 2119 * @param status the status 2120 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2121 * @return the first matching wiki page 2122 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2123 * @throws SystemException if a system exception occurred 2124 */ 2125 public static com.liferay.portlet.wiki.model.WikiPage findByN_S_First( 2126 long nodeId, int status, 2127 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2128 throws com.liferay.portal.kernel.exception.SystemException, 2129 com.liferay.portlet.wiki.NoSuchPageException { 2130 return getPersistence() 2131 .findByN_S_First(nodeId, status, orderByComparator); 2132 } 2133 2134 /** 2135 * Returns the first wiki page in the ordered set where nodeId = ? and status = ?. 2136 * 2137 * @param nodeId the node ID 2138 * @param status the status 2139 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2140 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2141 * @throws SystemException if a system exception occurred 2142 */ 2143 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_S_First( 2144 long nodeId, int status, 2145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2146 throws com.liferay.portal.kernel.exception.SystemException { 2147 return getPersistence() 2148 .fetchByN_S_First(nodeId, status, orderByComparator); 2149 } 2150 2151 /** 2152 * Returns the last wiki page in the ordered set where nodeId = ? and status = ?. 2153 * 2154 * @param nodeId the node ID 2155 * @param status the status 2156 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2157 * @return the last matching wiki page 2158 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2159 * @throws SystemException if a system exception occurred 2160 */ 2161 public static com.liferay.portlet.wiki.model.WikiPage findByN_S_Last( 2162 long nodeId, int status, 2163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2164 throws com.liferay.portal.kernel.exception.SystemException, 2165 com.liferay.portlet.wiki.NoSuchPageException { 2166 return getPersistence().findByN_S_Last(nodeId, status, orderByComparator); 2167 } 2168 2169 /** 2170 * Returns the last wiki page in the ordered set where nodeId = ? and status = ?. 2171 * 2172 * @param nodeId the node ID 2173 * @param status the status 2174 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2175 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2176 * @throws SystemException if a system exception occurred 2177 */ 2178 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_S_Last( 2179 long nodeId, int status, 2180 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2181 throws com.liferay.portal.kernel.exception.SystemException { 2182 return getPersistence() 2183 .fetchByN_S_Last(nodeId, status, orderByComparator); 2184 } 2185 2186 /** 2187 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?. 2188 * 2189 * @param pageId the primary key of the current wiki page 2190 * @param nodeId the node ID 2191 * @param status the status 2192 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2193 * @return the previous, current, and next wiki page 2194 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2195 * @throws SystemException if a system exception occurred 2196 */ 2197 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_S_PrevAndNext( 2198 long pageId, long nodeId, int status, 2199 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2200 throws com.liferay.portal.kernel.exception.SystemException, 2201 com.liferay.portlet.wiki.NoSuchPageException { 2202 return getPersistence() 2203 .findByN_S_PrevAndNext(pageId, nodeId, status, 2204 orderByComparator); 2205 } 2206 2207 /** 2208 * Removes all the wiki pages where nodeId = ? and status = ? from the database. 2209 * 2210 * @param nodeId the node ID 2211 * @param status the status 2212 * @throws SystemException if a system exception occurred 2213 */ 2214 public static void removeByN_S(long nodeId, int status) 2215 throws com.liferay.portal.kernel.exception.SystemException { 2216 getPersistence().removeByN_S(nodeId, status); 2217 } 2218 2219 /** 2220 * Returns the number of wiki pages where nodeId = ? and status = ?. 2221 * 2222 * @param nodeId the node ID 2223 * @param status the status 2224 * @return the number of matching wiki pages 2225 * @throws SystemException if a system exception occurred 2226 */ 2227 public static int countByN_S(long nodeId, int status) 2228 throws com.liferay.portal.kernel.exception.SystemException { 2229 return getPersistence().countByN_S(nodeId, status); 2230 } 2231 2232 /** 2233 * 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. 2234 * 2235 * @param resourcePrimKey the resource prim key 2236 * @param nodeId the node ID 2237 * @param version the version 2238 * @return the matching wiki page 2239 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2240 * @throws SystemException if a system exception occurred 2241 */ 2242 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_V( 2243 long resourcePrimKey, long nodeId, double version) 2244 throws com.liferay.portal.kernel.exception.SystemException, 2245 com.liferay.portlet.wiki.NoSuchPageException { 2246 return getPersistence().findByR_N_V(resourcePrimKey, nodeId, version); 2247 } 2248 2249 /** 2250 * 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. 2251 * 2252 * @param resourcePrimKey the resource prim key 2253 * @param nodeId the node ID 2254 * @param version the version 2255 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 2256 * @throws SystemException if a system exception occurred 2257 */ 2258 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 2259 long resourcePrimKey, long nodeId, double version) 2260 throws com.liferay.portal.kernel.exception.SystemException { 2261 return getPersistence().fetchByR_N_V(resourcePrimKey, nodeId, version); 2262 } 2263 2264 /** 2265 * 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. 2266 * 2267 * @param resourcePrimKey the resource prim key 2268 * @param nodeId the node ID 2269 * @param version the version 2270 * @param retrieveFromCache whether to use the finder cache 2271 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 2272 * @throws SystemException if a system exception occurred 2273 */ 2274 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 2275 long resourcePrimKey, long nodeId, double version, 2276 boolean retrieveFromCache) 2277 throws com.liferay.portal.kernel.exception.SystemException { 2278 return getPersistence() 2279 .fetchByR_N_V(resourcePrimKey, nodeId, version, 2280 retrieveFromCache); 2281 } 2282 2283 /** 2284 * Removes the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? from the database. 2285 * 2286 * @param resourcePrimKey the resource prim key 2287 * @param nodeId the node ID 2288 * @param version the version 2289 * @return the wiki page that was removed 2290 * @throws SystemException if a system exception occurred 2291 */ 2292 public static com.liferay.portlet.wiki.model.WikiPage removeByR_N_V( 2293 long resourcePrimKey, long nodeId, double version) 2294 throws com.liferay.portal.kernel.exception.SystemException, 2295 com.liferay.portlet.wiki.NoSuchPageException { 2296 return getPersistence().removeByR_N_V(resourcePrimKey, nodeId, version); 2297 } 2298 2299 /** 2300 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?. 2301 * 2302 * @param resourcePrimKey the resource prim key 2303 * @param nodeId the node ID 2304 * @param version the version 2305 * @return the number of matching wiki pages 2306 * @throws SystemException if a system exception occurred 2307 */ 2308 public static int countByR_N_V(long resourcePrimKey, long nodeId, 2309 double version) 2310 throws com.liferay.portal.kernel.exception.SystemException { 2311 return getPersistence().countByR_N_V(resourcePrimKey, nodeId, version); 2312 } 2313 2314 /** 2315 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?. 2316 * 2317 * @param resourcePrimKey the resource prim key 2318 * @param nodeId the node ID 2319 * @param head the head 2320 * @return the matching wiki pages 2321 * @throws SystemException if a system exception occurred 2322 */ 2323 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_H( 2324 long resourcePrimKey, long nodeId, boolean head) 2325 throws com.liferay.portal.kernel.exception.SystemException { 2326 return getPersistence().findByR_N_H(resourcePrimKey, nodeId, head); 2327 } 2328 2329 /** 2330 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?. 2331 * 2332 * <p> 2333 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2334 * </p> 2335 * 2336 * @param resourcePrimKey the resource prim key 2337 * @param nodeId the node ID 2338 * @param head the head 2339 * @param start the lower bound of the range of wiki pages 2340 * @param end the upper bound of the range of wiki pages (not inclusive) 2341 * @return the range of matching wiki pages 2342 * @throws SystemException if a system exception occurred 2343 */ 2344 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_H( 2345 long resourcePrimKey, long nodeId, boolean head, int start, int end) 2346 throws com.liferay.portal.kernel.exception.SystemException { 2347 return getPersistence() 2348 .findByR_N_H(resourcePrimKey, nodeId, head, start, end); 2349 } 2350 2351 /** 2352 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?. 2353 * 2354 * <p> 2355 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2356 * </p> 2357 * 2358 * @param resourcePrimKey the resource prim key 2359 * @param nodeId the node ID 2360 * @param head the head 2361 * @param start the lower bound of the range of wiki pages 2362 * @param end the upper bound of the range of wiki pages (not inclusive) 2363 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2364 * @return the ordered range of matching wiki pages 2365 * @throws SystemException if a system exception occurred 2366 */ 2367 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_H( 2368 long resourcePrimKey, long nodeId, boolean head, int start, int end, 2369 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2370 throws com.liferay.portal.kernel.exception.SystemException { 2371 return getPersistence() 2372 .findByR_N_H(resourcePrimKey, nodeId, head, start, end, 2373 orderByComparator); 2374 } 2375 2376 /** 2377 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2378 * 2379 * @param resourcePrimKey the resource prim key 2380 * @param nodeId the node ID 2381 * @param head the head 2382 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2383 * @return the first matching wiki page 2384 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2385 * @throws SystemException if a system exception occurred 2386 */ 2387 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_H_First( 2388 long resourcePrimKey, long nodeId, boolean head, 2389 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2390 throws com.liferay.portal.kernel.exception.SystemException, 2391 com.liferay.portlet.wiki.NoSuchPageException { 2392 return getPersistence() 2393 .findByR_N_H_First(resourcePrimKey, nodeId, head, 2394 orderByComparator); 2395 } 2396 2397 /** 2398 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2399 * 2400 * @param resourcePrimKey the resource prim key 2401 * @param nodeId the node ID 2402 * @param head the head 2403 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2404 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2405 * @throws SystemException if a system exception occurred 2406 */ 2407 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_H_First( 2408 long resourcePrimKey, long nodeId, boolean head, 2409 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2410 throws com.liferay.portal.kernel.exception.SystemException { 2411 return getPersistence() 2412 .fetchByR_N_H_First(resourcePrimKey, nodeId, head, 2413 orderByComparator); 2414 } 2415 2416 /** 2417 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2418 * 2419 * @param resourcePrimKey the resource prim key 2420 * @param nodeId the node ID 2421 * @param head the head 2422 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2423 * @return the last matching wiki page 2424 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2425 * @throws SystemException if a system exception occurred 2426 */ 2427 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_H_Last( 2428 long resourcePrimKey, long nodeId, boolean head, 2429 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2430 throws com.liferay.portal.kernel.exception.SystemException, 2431 com.liferay.portlet.wiki.NoSuchPageException { 2432 return getPersistence() 2433 .findByR_N_H_Last(resourcePrimKey, nodeId, head, 2434 orderByComparator); 2435 } 2436 2437 /** 2438 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2439 * 2440 * @param resourcePrimKey the resource prim key 2441 * @param nodeId the node ID 2442 * @param head the head 2443 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2444 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2445 * @throws SystemException if a system exception occurred 2446 */ 2447 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_H_Last( 2448 long resourcePrimKey, long nodeId, boolean head, 2449 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2450 throws com.liferay.portal.kernel.exception.SystemException { 2451 return getPersistence() 2452 .fetchByR_N_H_Last(resourcePrimKey, nodeId, head, 2453 orderByComparator); 2454 } 2455 2456 /** 2457 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2458 * 2459 * @param pageId the primary key of the current wiki page 2460 * @param resourcePrimKey the resource prim key 2461 * @param nodeId the node ID 2462 * @param head the head 2463 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2464 * @return the previous, current, and next wiki page 2465 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2466 * @throws SystemException if a system exception occurred 2467 */ 2468 public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_H_PrevAndNext( 2469 long pageId, long resourcePrimKey, long nodeId, boolean head, 2470 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2471 throws com.liferay.portal.kernel.exception.SystemException, 2472 com.liferay.portlet.wiki.NoSuchPageException { 2473 return getPersistence() 2474 .findByR_N_H_PrevAndNext(pageId, resourcePrimKey, nodeId, 2475 head, orderByComparator); 2476 } 2477 2478 /** 2479 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ? from the database. 2480 * 2481 * @param resourcePrimKey the resource prim key 2482 * @param nodeId the node ID 2483 * @param head the head 2484 * @throws SystemException if a system exception occurred 2485 */ 2486 public static void removeByR_N_H(long resourcePrimKey, long nodeId, 2487 boolean head) 2488 throws com.liferay.portal.kernel.exception.SystemException { 2489 getPersistence().removeByR_N_H(resourcePrimKey, nodeId, head); 2490 } 2491 2492 /** 2493 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?. 2494 * 2495 * @param resourcePrimKey the resource prim key 2496 * @param nodeId the node ID 2497 * @param head the head 2498 * @return the number of matching wiki pages 2499 * @throws SystemException if a system exception occurred 2500 */ 2501 public static int countByR_N_H(long resourcePrimKey, long nodeId, 2502 boolean head) 2503 throws com.liferay.portal.kernel.exception.SystemException { 2504 return getPersistence().countByR_N_H(resourcePrimKey, nodeId, head); 2505 } 2506 2507 /** 2508 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2509 * 2510 * @param resourcePrimKey the resource prim key 2511 * @param nodeId the node ID 2512 * @param status the status 2513 * @return the matching wiki pages 2514 * @throws SystemException if a system exception occurred 2515 */ 2516 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 2517 long resourcePrimKey, long nodeId, int status) 2518 throws com.liferay.portal.kernel.exception.SystemException { 2519 return getPersistence().findByR_N_S(resourcePrimKey, nodeId, status); 2520 } 2521 2522 /** 2523 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2524 * 2525 * <p> 2526 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2527 * </p> 2528 * 2529 * @param resourcePrimKey the resource prim key 2530 * @param nodeId the node ID 2531 * @param status the status 2532 * @param start the lower bound of the range of wiki pages 2533 * @param end the upper bound of the range of wiki pages (not inclusive) 2534 * @return the range of matching wiki pages 2535 * @throws SystemException if a system exception occurred 2536 */ 2537 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 2538 long resourcePrimKey, long nodeId, int status, int start, int end) 2539 throws com.liferay.portal.kernel.exception.SystemException { 2540 return getPersistence() 2541 .findByR_N_S(resourcePrimKey, nodeId, status, start, end); 2542 } 2543 2544 /** 2545 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2546 * 2547 * <p> 2548 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2549 * </p> 2550 * 2551 * @param resourcePrimKey the resource prim key 2552 * @param nodeId the node ID 2553 * @param status the status 2554 * @param start the lower bound of the range of wiki pages 2555 * @param end the upper bound of the range of wiki pages (not inclusive) 2556 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2557 * @return the ordered range of matching wiki pages 2558 * @throws SystemException if a system exception occurred 2559 */ 2560 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 2561 long resourcePrimKey, long nodeId, int status, int start, int end, 2562 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2563 throws com.liferay.portal.kernel.exception.SystemException { 2564 return getPersistence() 2565 .findByR_N_S(resourcePrimKey, nodeId, status, start, end, 2566 orderByComparator); 2567 } 2568 2569 /** 2570 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2571 * 2572 * @param resourcePrimKey the resource prim key 2573 * @param nodeId the node ID 2574 * @param status the status 2575 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2576 * @return the first matching wiki page 2577 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2578 * @throws SystemException if a system exception occurred 2579 */ 2580 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_First( 2581 long resourcePrimKey, long nodeId, int status, 2582 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2583 throws com.liferay.portal.kernel.exception.SystemException, 2584 com.liferay.portlet.wiki.NoSuchPageException { 2585 return getPersistence() 2586 .findByR_N_S_First(resourcePrimKey, nodeId, status, 2587 orderByComparator); 2588 } 2589 2590 /** 2591 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2592 * 2593 * @param resourcePrimKey the resource prim key 2594 * @param nodeId the node ID 2595 * @param status the status 2596 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2597 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2598 * @throws SystemException if a system exception occurred 2599 */ 2600 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_First( 2601 long resourcePrimKey, long nodeId, int status, 2602 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2603 throws com.liferay.portal.kernel.exception.SystemException { 2604 return getPersistence() 2605 .fetchByR_N_S_First(resourcePrimKey, nodeId, status, 2606 orderByComparator); 2607 } 2608 2609 /** 2610 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2611 * 2612 * @param resourcePrimKey the resource prim key 2613 * @param nodeId the node ID 2614 * @param status the status 2615 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2616 * @return the last matching wiki page 2617 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2618 * @throws SystemException if a system exception occurred 2619 */ 2620 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_Last( 2621 long resourcePrimKey, long nodeId, int status, 2622 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2623 throws com.liferay.portal.kernel.exception.SystemException, 2624 com.liferay.portlet.wiki.NoSuchPageException { 2625 return getPersistence() 2626 .findByR_N_S_Last(resourcePrimKey, nodeId, status, 2627 orderByComparator); 2628 } 2629 2630 /** 2631 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2632 * 2633 * @param resourcePrimKey the resource prim key 2634 * @param nodeId the node ID 2635 * @param status the status 2636 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2637 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2638 * @throws SystemException if a system exception occurred 2639 */ 2640 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_Last( 2641 long resourcePrimKey, long nodeId, int status, 2642 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2643 throws com.liferay.portal.kernel.exception.SystemException { 2644 return getPersistence() 2645 .fetchByR_N_S_Last(resourcePrimKey, nodeId, status, 2646 orderByComparator); 2647 } 2648 2649 /** 2650 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2651 * 2652 * @param pageId the primary key of the current wiki page 2653 * @param resourcePrimKey the resource prim key 2654 * @param nodeId the node ID 2655 * @param status the status 2656 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2657 * @return the previous, current, and next wiki page 2658 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2659 * @throws SystemException if a system exception occurred 2660 */ 2661 public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_S_PrevAndNext( 2662 long pageId, long resourcePrimKey, long nodeId, int status, 2663 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2664 throws com.liferay.portal.kernel.exception.SystemException, 2665 com.liferay.portlet.wiki.NoSuchPageException { 2666 return getPersistence() 2667 .findByR_N_S_PrevAndNext(pageId, resourcePrimKey, nodeId, 2668 status, orderByComparator); 2669 } 2670 2671 /** 2672 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ? from the database. 2673 * 2674 * @param resourcePrimKey the resource prim key 2675 * @param nodeId the node ID 2676 * @param status the status 2677 * @throws SystemException if a system exception occurred 2678 */ 2679 public static void removeByR_N_S(long resourcePrimKey, long nodeId, 2680 int status) throws com.liferay.portal.kernel.exception.SystemException { 2681 getPersistence().removeByR_N_S(resourcePrimKey, nodeId, status); 2682 } 2683 2684 /** 2685 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2686 * 2687 * @param resourcePrimKey the resource prim key 2688 * @param nodeId the node ID 2689 * @param status the status 2690 * @return the number of matching wiki pages 2691 * @throws SystemException if a system exception occurred 2692 */ 2693 public static int countByR_N_S(long resourcePrimKey, long nodeId, int status) 2694 throws com.liferay.portal.kernel.exception.SystemException { 2695 return getPersistence().countByR_N_S(resourcePrimKey, nodeId, status); 2696 } 2697 2698 /** 2699 * Returns all the wiki pages where groupId = ? and nodeId = ? and head = ?. 2700 * 2701 * @param groupId the group ID 2702 * @param nodeId the node ID 2703 * @param head the head 2704 * @return the matching wiki pages 2705 * @throws SystemException if a system exception occurred 2706 */ 2707 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H( 2708 long groupId, long nodeId, boolean head) 2709 throws com.liferay.portal.kernel.exception.SystemException { 2710 return getPersistence().findByG_N_H(groupId, nodeId, head); 2711 } 2712 2713 /** 2714 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ?. 2715 * 2716 * <p> 2717 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2718 * </p> 2719 * 2720 * @param groupId the group ID 2721 * @param nodeId the node ID 2722 * @param head the head 2723 * @param start the lower bound of the range of wiki pages 2724 * @param end the upper bound of the range of wiki pages (not inclusive) 2725 * @return the range of matching wiki pages 2726 * @throws SystemException if a system exception occurred 2727 */ 2728 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H( 2729 long groupId, long nodeId, boolean head, int start, int end) 2730 throws com.liferay.portal.kernel.exception.SystemException { 2731 return getPersistence().findByG_N_H(groupId, nodeId, head, start, end); 2732 } 2733 2734 /** 2735 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ?. 2736 * 2737 * <p> 2738 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2739 * </p> 2740 * 2741 * @param groupId the group ID 2742 * @param nodeId the node ID 2743 * @param head the head 2744 * @param start the lower bound of the range of wiki pages 2745 * @param end the upper bound of the range of wiki pages (not inclusive) 2746 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2747 * @return the ordered range of matching wiki pages 2748 * @throws SystemException if a system exception occurred 2749 */ 2750 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H( 2751 long groupId, long nodeId, boolean head, int start, int end, 2752 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2753 throws com.liferay.portal.kernel.exception.SystemException { 2754 return getPersistence() 2755 .findByG_N_H(groupId, nodeId, head, start, end, 2756 orderByComparator); 2757 } 2758 2759 /** 2760 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2761 * 2762 * @param groupId the group ID 2763 * @param nodeId the node ID 2764 * @param head the head 2765 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2766 * @return the first matching wiki page 2767 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2768 * @throws SystemException if a system exception occurred 2769 */ 2770 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_First( 2771 long groupId, long nodeId, boolean head, 2772 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2773 throws com.liferay.portal.kernel.exception.SystemException, 2774 com.liferay.portlet.wiki.NoSuchPageException { 2775 return getPersistence() 2776 .findByG_N_H_First(groupId, nodeId, head, orderByComparator); 2777 } 2778 2779 /** 2780 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2781 * 2782 * @param groupId the group ID 2783 * @param nodeId the node ID 2784 * @param head the head 2785 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2786 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2787 * @throws SystemException if a system exception occurred 2788 */ 2789 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_First( 2790 long groupId, long nodeId, boolean head, 2791 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2792 throws com.liferay.portal.kernel.exception.SystemException { 2793 return getPersistence() 2794 .fetchByG_N_H_First(groupId, nodeId, head, orderByComparator); 2795 } 2796 2797 /** 2798 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2799 * 2800 * @param groupId the group ID 2801 * @param nodeId the node ID 2802 * @param head the head 2803 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2804 * @return the last matching wiki page 2805 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2806 * @throws SystemException if a system exception occurred 2807 */ 2808 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_Last( 2809 long groupId, long nodeId, boolean head, 2810 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2811 throws com.liferay.portal.kernel.exception.SystemException, 2812 com.liferay.portlet.wiki.NoSuchPageException { 2813 return getPersistence() 2814 .findByG_N_H_Last(groupId, nodeId, head, orderByComparator); 2815 } 2816 2817 /** 2818 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2819 * 2820 * @param groupId the group ID 2821 * @param nodeId the node ID 2822 * @param head the head 2823 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2824 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2825 * @throws SystemException if a system exception occurred 2826 */ 2827 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_Last( 2828 long groupId, long nodeId, boolean head, 2829 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2830 throws com.liferay.portal.kernel.exception.SystemException { 2831 return getPersistence() 2832 .fetchByG_N_H_Last(groupId, nodeId, head, orderByComparator); 2833 } 2834 2835 /** 2836 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2837 * 2838 * @param pageId the primary key of the current wiki page 2839 * @param groupId the group ID 2840 * @param nodeId the node ID 2841 * @param head the head 2842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2843 * @return the previous, current, and next wiki page 2844 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2845 * @throws SystemException if a system exception occurred 2846 */ 2847 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_PrevAndNext( 2848 long pageId, long groupId, long nodeId, boolean head, 2849 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2850 throws com.liferay.portal.kernel.exception.SystemException, 2851 com.liferay.portlet.wiki.NoSuchPageException { 2852 return getPersistence() 2853 .findByG_N_H_PrevAndNext(pageId, groupId, nodeId, head, 2854 orderByComparator); 2855 } 2856 2857 /** 2858 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 2859 * 2860 * @param groupId the group ID 2861 * @param nodeId the node ID 2862 * @param head the head 2863 * @return the matching wiki pages that the user has permission to view 2864 * @throws SystemException if a system exception occurred 2865 */ 2866 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H( 2867 long groupId, long nodeId, boolean head) 2868 throws com.liferay.portal.kernel.exception.SystemException { 2869 return getPersistence().filterFindByG_N_H(groupId, nodeId, head); 2870 } 2871 2872 /** 2873 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 2874 * 2875 * <p> 2876 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2877 * </p> 2878 * 2879 * @param groupId the group ID 2880 * @param nodeId the node ID 2881 * @param head the head 2882 * @param start the lower bound of the range of wiki pages 2883 * @param end the upper bound of the range of wiki pages (not inclusive) 2884 * @return the range of matching wiki pages that the user has permission to view 2885 * @throws SystemException if a system exception occurred 2886 */ 2887 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H( 2888 long groupId, long nodeId, boolean head, int start, int end) 2889 throws com.liferay.portal.kernel.exception.SystemException { 2890 return getPersistence() 2891 .filterFindByG_N_H(groupId, nodeId, head, start, end); 2892 } 2893 2894 /** 2895 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ?. 2896 * 2897 * <p> 2898 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2899 * </p> 2900 * 2901 * @param groupId the group ID 2902 * @param nodeId the node ID 2903 * @param head the head 2904 * @param start the lower bound of the range of wiki pages 2905 * @param end the upper bound of the range of wiki pages (not inclusive) 2906 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2907 * @return the ordered range of matching wiki pages that the user has permission to view 2908 * @throws SystemException if a system exception occurred 2909 */ 2910 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H( 2911 long groupId, long nodeId, boolean head, int start, int end, 2912 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2913 throws com.liferay.portal.kernel.exception.SystemException { 2914 return getPersistence() 2915 .filterFindByG_N_H(groupId, nodeId, head, start, end, 2916 orderByComparator); 2917 } 2918 2919 /** 2920 * 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 = ?. 2921 * 2922 * @param pageId the primary key of the current wiki page 2923 * @param groupId the group ID 2924 * @param nodeId the node ID 2925 * @param head the head 2926 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2927 * @return the previous, current, and next wiki page 2928 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2929 * @throws SystemException if a system exception occurred 2930 */ 2931 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_PrevAndNext( 2932 long pageId, long groupId, long nodeId, boolean head, 2933 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2934 throws com.liferay.portal.kernel.exception.SystemException, 2935 com.liferay.portlet.wiki.NoSuchPageException { 2936 return getPersistence() 2937 .filterFindByG_N_H_PrevAndNext(pageId, groupId, nodeId, 2938 head, orderByComparator); 2939 } 2940 2941 /** 2942 * Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? from the database. 2943 * 2944 * @param groupId the group ID 2945 * @param nodeId the node ID 2946 * @param head the head 2947 * @throws SystemException if a system exception occurred 2948 */ 2949 public static void removeByG_N_H(long groupId, long nodeId, boolean head) 2950 throws com.liferay.portal.kernel.exception.SystemException { 2951 getPersistence().removeByG_N_H(groupId, nodeId, head); 2952 } 2953 2954 /** 2955 * Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ?. 2956 * 2957 * @param groupId the group ID 2958 * @param nodeId the node ID 2959 * @param head the head 2960 * @return the number of matching wiki pages 2961 * @throws SystemException if a system exception occurred 2962 */ 2963 public static int countByG_N_H(long groupId, long nodeId, boolean head) 2964 throws com.liferay.portal.kernel.exception.SystemException { 2965 return getPersistence().countByG_N_H(groupId, nodeId, head); 2966 } 2967 2968 /** 2969 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 2970 * 2971 * @param groupId the group ID 2972 * @param nodeId the node ID 2973 * @param head the head 2974 * @return the number of matching wiki pages that the user has permission to view 2975 * @throws SystemException if a system exception occurred 2976 */ 2977 public static int filterCountByG_N_H(long groupId, long nodeId, boolean head) 2978 throws com.liferay.portal.kernel.exception.SystemException { 2979 return getPersistence().filterCountByG_N_H(groupId, nodeId, head); 2980 } 2981 2982 /** 2983 * Returns all the wiki pages where groupId = ? and nodeId = ? and status = ?. 2984 * 2985 * @param groupId the group ID 2986 * @param nodeId the node ID 2987 * @param status the status 2988 * @return the matching wiki pages 2989 * @throws SystemException if a system exception occurred 2990 */ 2991 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S( 2992 long groupId, long nodeId, int status) 2993 throws com.liferay.portal.kernel.exception.SystemException { 2994 return getPersistence().findByG_N_S(groupId, nodeId, status); 2995 } 2996 2997 /** 2998 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and status = ?. 2999 * 3000 * <p> 3001 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3002 * </p> 3003 * 3004 * @param groupId the group ID 3005 * @param nodeId the node ID 3006 * @param status the status 3007 * @param start the lower bound of the range of wiki pages 3008 * @param end the upper bound of the range of wiki pages (not inclusive) 3009 * @return the range of matching wiki pages 3010 * @throws SystemException if a system exception occurred 3011 */ 3012 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S( 3013 long groupId, long nodeId, int status, int start, int end) 3014 throws com.liferay.portal.kernel.exception.SystemException { 3015 return getPersistence().findByG_N_S(groupId, nodeId, status, start, end); 3016 } 3017 3018 /** 3019 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and status = ?. 3020 * 3021 * <p> 3022 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3023 * </p> 3024 * 3025 * @param groupId the group ID 3026 * @param nodeId the node ID 3027 * @param status the status 3028 * @param start the lower bound of the range of wiki pages 3029 * @param end the upper bound of the range of wiki pages (not inclusive) 3030 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3031 * @return the ordered range of matching wiki pages 3032 * @throws SystemException if a system exception occurred 3033 */ 3034 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S( 3035 long groupId, long nodeId, int status, int start, int end, 3036 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3037 throws com.liferay.portal.kernel.exception.SystemException { 3038 return getPersistence() 3039 .findByG_N_S(groupId, nodeId, status, start, end, 3040 orderByComparator); 3041 } 3042 3043 /** 3044 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 3045 * 3046 * @param groupId the group ID 3047 * @param nodeId the node ID 3048 * @param status the status 3049 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3050 * @return the first matching wiki page 3051 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3052 * @throws SystemException if a system exception occurred 3053 */ 3054 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_S_First( 3055 long groupId, long nodeId, int status, 3056 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3057 throws com.liferay.portal.kernel.exception.SystemException, 3058 com.liferay.portlet.wiki.NoSuchPageException { 3059 return getPersistence() 3060 .findByG_N_S_First(groupId, nodeId, status, orderByComparator); 3061 } 3062 3063 /** 3064 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 3065 * 3066 * @param groupId the group ID 3067 * @param nodeId the node ID 3068 * @param status the status 3069 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3070 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3071 * @throws SystemException if a system exception occurred 3072 */ 3073 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_First( 3074 long groupId, long nodeId, int status, 3075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3076 throws com.liferay.portal.kernel.exception.SystemException { 3077 return getPersistence() 3078 .fetchByG_N_S_First(groupId, nodeId, status, 3079 orderByComparator); 3080 } 3081 3082 /** 3083 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 3084 * 3085 * @param groupId the group ID 3086 * @param nodeId the node ID 3087 * @param status the status 3088 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3089 * @return the last matching wiki page 3090 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3091 * @throws SystemException if a system exception occurred 3092 */ 3093 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_S_Last( 3094 long groupId, long nodeId, int status, 3095 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3096 throws com.liferay.portal.kernel.exception.SystemException, 3097 com.liferay.portlet.wiki.NoSuchPageException { 3098 return getPersistence() 3099 .findByG_N_S_Last(groupId, nodeId, status, orderByComparator); 3100 } 3101 3102 /** 3103 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 3104 * 3105 * @param groupId the group ID 3106 * @param nodeId the node ID 3107 * @param status the status 3108 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3109 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3110 * @throws SystemException if a system exception occurred 3111 */ 3112 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_Last( 3113 long groupId, long nodeId, int status, 3114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3115 throws com.liferay.portal.kernel.exception.SystemException { 3116 return getPersistence() 3117 .fetchByG_N_S_Last(groupId, nodeId, status, orderByComparator); 3118 } 3119 3120 /** 3121 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 3122 * 3123 * @param pageId the primary key of the current wiki page 3124 * @param groupId the group ID 3125 * @param nodeId the node ID 3126 * @param status the status 3127 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3128 * @return the previous, current, and next wiki page 3129 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3130 * @throws SystemException if a system exception occurred 3131 */ 3132 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_S_PrevAndNext( 3133 long pageId, long groupId, long nodeId, int status, 3134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3135 throws com.liferay.portal.kernel.exception.SystemException, 3136 com.liferay.portlet.wiki.NoSuchPageException { 3137 return getPersistence() 3138 .findByG_N_S_PrevAndNext(pageId, groupId, nodeId, status, 3139 orderByComparator); 3140 } 3141 3142 /** 3143 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 3144 * 3145 * @param groupId the group ID 3146 * @param nodeId the node ID 3147 * @param status the status 3148 * @return the matching wiki pages that the user has permission to view 3149 * @throws SystemException if a system exception occurred 3150 */ 3151 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S( 3152 long groupId, long nodeId, int status) 3153 throws com.liferay.portal.kernel.exception.SystemException { 3154 return getPersistence().filterFindByG_N_S(groupId, nodeId, status); 3155 } 3156 3157 /** 3158 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 3159 * 3160 * <p> 3161 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3162 * </p> 3163 * 3164 * @param groupId the group ID 3165 * @param nodeId the node ID 3166 * @param status the status 3167 * @param start the lower bound of the range of wiki pages 3168 * @param end the upper bound of the range of wiki pages (not inclusive) 3169 * @return the range of matching wiki pages that the user has permission to view 3170 * @throws SystemException if a system exception occurred 3171 */ 3172 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S( 3173 long groupId, long nodeId, int status, int start, int end) 3174 throws com.liferay.portal.kernel.exception.SystemException { 3175 return getPersistence() 3176 .filterFindByG_N_S(groupId, nodeId, status, start, end); 3177 } 3178 3179 /** 3180 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and status = ?. 3181 * 3182 * <p> 3183 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3184 * </p> 3185 * 3186 * @param groupId the group ID 3187 * @param nodeId the node ID 3188 * @param status the status 3189 * @param start the lower bound of the range of wiki pages 3190 * @param end the upper bound of the range of wiki pages (not inclusive) 3191 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3192 * @return the ordered range of matching wiki pages that the user has permission to view 3193 * @throws SystemException if a system exception occurred 3194 */ 3195 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S( 3196 long groupId, long nodeId, int status, int start, int end, 3197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3198 throws com.liferay.portal.kernel.exception.SystemException { 3199 return getPersistence() 3200 .filterFindByG_N_S(groupId, nodeId, status, start, end, 3201 orderByComparator); 3202 } 3203 3204 /** 3205 * 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 = ?. 3206 * 3207 * @param pageId the primary key of the current wiki page 3208 * @param groupId the group ID 3209 * @param nodeId the node ID 3210 * @param status the status 3211 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3212 * @return the previous, current, and next wiki page 3213 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3214 * @throws SystemException if a system exception occurred 3215 */ 3216 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_S_PrevAndNext( 3217 long pageId, long groupId, long nodeId, int status, 3218 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3219 throws com.liferay.portal.kernel.exception.SystemException, 3220 com.liferay.portlet.wiki.NoSuchPageException { 3221 return getPersistence() 3222 .filterFindByG_N_S_PrevAndNext(pageId, groupId, nodeId, 3223 status, orderByComparator); 3224 } 3225 3226 /** 3227 * Removes all the wiki pages where groupId = ? and nodeId = ? and status = ? from the database. 3228 * 3229 * @param groupId the group ID 3230 * @param nodeId the node ID 3231 * @param status the status 3232 * @throws SystemException if a system exception occurred 3233 */ 3234 public static void removeByG_N_S(long groupId, long nodeId, int status) 3235 throws com.liferay.portal.kernel.exception.SystemException { 3236 getPersistence().removeByG_N_S(groupId, nodeId, status); 3237 } 3238 3239 /** 3240 * Returns the number of wiki pages where groupId = ? and nodeId = ? and status = ?. 3241 * 3242 * @param groupId the group ID 3243 * @param nodeId the node ID 3244 * @param status the status 3245 * @return the number of matching wiki pages 3246 * @throws SystemException if a system exception occurred 3247 */ 3248 public static int countByG_N_S(long groupId, long nodeId, int status) 3249 throws com.liferay.portal.kernel.exception.SystemException { 3250 return getPersistence().countByG_N_S(groupId, nodeId, status); 3251 } 3252 3253 /** 3254 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 3255 * 3256 * @param groupId the group ID 3257 * @param nodeId the node ID 3258 * @param status the status 3259 * @return the number of matching wiki pages that the user has permission to view 3260 * @throws SystemException if a system exception occurred 3261 */ 3262 public static int filterCountByG_N_S(long groupId, long nodeId, int status) 3263 throws com.liferay.portal.kernel.exception.SystemException { 3264 return getPersistence().filterCountByG_N_S(groupId, nodeId, status); 3265 } 3266 3267 /** 3268 * Returns all the wiki pages where userId = ? and nodeId = ? and status = ?. 3269 * 3270 * @param userId the user ID 3271 * @param nodeId the node ID 3272 * @param status the status 3273 * @return the matching wiki pages 3274 * @throws SystemException if a system exception occurred 3275 */ 3276 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 3277 long userId, long nodeId, int status) 3278 throws com.liferay.portal.kernel.exception.SystemException { 3279 return getPersistence().findByU_N_S(userId, nodeId, status); 3280 } 3281 3282 /** 3283 * Returns a range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 3284 * 3285 * <p> 3286 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3287 * </p> 3288 * 3289 * @param userId the user ID 3290 * @param nodeId the node ID 3291 * @param status the status 3292 * @param start the lower bound of the range of wiki pages 3293 * @param end the upper bound of the range of wiki pages (not inclusive) 3294 * @return the range of matching wiki pages 3295 * @throws SystemException if a system exception occurred 3296 */ 3297 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 3298 long userId, long nodeId, int status, int start, int end) 3299 throws com.liferay.portal.kernel.exception.SystemException { 3300 return getPersistence().findByU_N_S(userId, nodeId, status, start, end); 3301 } 3302 3303 /** 3304 * Returns an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 3305 * 3306 * <p> 3307 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3308 * </p> 3309 * 3310 * @param userId the user ID 3311 * @param nodeId the node ID 3312 * @param status the status 3313 * @param start the lower bound of the range of wiki pages 3314 * @param end the upper bound of the range of wiki pages (not inclusive) 3315 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3316 * @return the ordered range of matching wiki pages 3317 * @throws SystemException if a system exception occurred 3318 */ 3319 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 3320 long userId, long nodeId, int status, int start, int end, 3321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3322 throws com.liferay.portal.kernel.exception.SystemException { 3323 return getPersistence() 3324 .findByU_N_S(userId, nodeId, status, start, end, 3325 orderByComparator); 3326 } 3327 3328 /** 3329 * Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 3330 * 3331 * @param userId the user ID 3332 * @param nodeId the node ID 3333 * @param status the status 3334 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3335 * @return the first matching wiki page 3336 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3337 * @throws SystemException if a system exception occurred 3338 */ 3339 public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_First( 3340 long userId, long nodeId, int status, 3341 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3342 throws com.liferay.portal.kernel.exception.SystemException, 3343 com.liferay.portlet.wiki.NoSuchPageException { 3344 return getPersistence() 3345 .findByU_N_S_First(userId, nodeId, status, orderByComparator); 3346 } 3347 3348 /** 3349 * Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 3350 * 3351 * @param userId the user ID 3352 * @param nodeId the node ID 3353 * @param status the status 3354 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3355 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3356 * @throws SystemException if a system exception occurred 3357 */ 3358 public static com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_First( 3359 long userId, long nodeId, int status, 3360 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3361 throws com.liferay.portal.kernel.exception.SystemException { 3362 return getPersistence() 3363 .fetchByU_N_S_First(userId, nodeId, status, orderByComparator); 3364 } 3365 3366 /** 3367 * Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 3368 * 3369 * @param userId the user ID 3370 * @param nodeId the node ID 3371 * @param status the status 3372 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3373 * @return the last matching wiki page 3374 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3375 * @throws SystemException if a system exception occurred 3376 */ 3377 public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_Last( 3378 long userId, long nodeId, int status, 3379 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3380 throws com.liferay.portal.kernel.exception.SystemException, 3381 com.liferay.portlet.wiki.NoSuchPageException { 3382 return getPersistence() 3383 .findByU_N_S_Last(userId, nodeId, status, orderByComparator); 3384 } 3385 3386 /** 3387 * Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 3388 * 3389 * @param userId the user ID 3390 * @param nodeId the node ID 3391 * @param status the status 3392 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3393 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3394 * @throws SystemException if a system exception occurred 3395 */ 3396 public static com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_Last( 3397 long userId, long nodeId, int status, 3398 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3399 throws com.liferay.portal.kernel.exception.SystemException { 3400 return getPersistence() 3401 .fetchByU_N_S_Last(userId, nodeId, status, orderByComparator); 3402 } 3403 3404 /** 3405 * Returns the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 3406 * 3407 * @param pageId the primary key of the current wiki page 3408 * @param userId the user ID 3409 * @param nodeId the node ID 3410 * @param status the status 3411 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3412 * @return the previous, current, and next wiki page 3413 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3414 * @throws SystemException if a system exception occurred 3415 */ 3416 public static com.liferay.portlet.wiki.model.WikiPage[] findByU_N_S_PrevAndNext( 3417 long pageId, long userId, long nodeId, int status, 3418 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3419 throws com.liferay.portal.kernel.exception.SystemException, 3420 com.liferay.portlet.wiki.NoSuchPageException { 3421 return getPersistence() 3422 .findByU_N_S_PrevAndNext(pageId, userId, nodeId, status, 3423 orderByComparator); 3424 } 3425 3426 /** 3427 * Removes all the wiki pages where userId = ? and nodeId = ? and status = ? from the database. 3428 * 3429 * @param userId the user ID 3430 * @param nodeId the node ID 3431 * @param status the status 3432 * @throws SystemException if a system exception occurred 3433 */ 3434 public static void removeByU_N_S(long userId, long nodeId, int status) 3435 throws com.liferay.portal.kernel.exception.SystemException { 3436 getPersistence().removeByU_N_S(userId, nodeId, status); 3437 } 3438 3439 /** 3440 * Returns the number of wiki pages where userId = ? and nodeId = ? and status = ?. 3441 * 3442 * @param userId the user ID 3443 * @param nodeId the node ID 3444 * @param status the status 3445 * @return the number of matching wiki pages 3446 * @throws SystemException if a system exception occurred 3447 */ 3448 public static int countByU_N_S(long userId, long nodeId, int status) 3449 throws com.liferay.portal.kernel.exception.SystemException { 3450 return getPersistence().countByU_N_S(userId, nodeId, status); 3451 } 3452 3453 /** 3454 * 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. 3455 * 3456 * @param nodeId the node ID 3457 * @param title the title 3458 * @param version the version 3459 * @return the matching wiki page 3460 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3461 * @throws SystemException if a system exception occurred 3462 */ 3463 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_V( 3464 long nodeId, java.lang.String title, double version) 3465 throws com.liferay.portal.kernel.exception.SystemException, 3466 com.liferay.portlet.wiki.NoSuchPageException { 3467 return getPersistence().findByN_T_V(nodeId, title, version); 3468 } 3469 3470 /** 3471 * 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. 3472 * 3473 * @param nodeId the node ID 3474 * @param title the title 3475 * @param version the version 3476 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 3477 * @throws SystemException if a system exception occurred 3478 */ 3479 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V( 3480 long nodeId, java.lang.String title, double version) 3481 throws com.liferay.portal.kernel.exception.SystemException { 3482 return getPersistence().fetchByN_T_V(nodeId, title, version); 3483 } 3484 3485 /** 3486 * 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. 3487 * 3488 * @param nodeId the node ID 3489 * @param title the title 3490 * @param version the version 3491 * @param retrieveFromCache whether to use the finder cache 3492 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 3493 * @throws SystemException if a system exception occurred 3494 */ 3495 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V( 3496 long nodeId, java.lang.String title, double version, 3497 boolean retrieveFromCache) 3498 throws com.liferay.portal.kernel.exception.SystemException { 3499 return getPersistence() 3500 .fetchByN_T_V(nodeId, title, version, retrieveFromCache); 3501 } 3502 3503 /** 3504 * Removes the wiki page where nodeId = ? and title = ? and version = ? from the database. 3505 * 3506 * @param nodeId the node ID 3507 * @param title the title 3508 * @param version the version 3509 * @return the wiki page that was removed 3510 * @throws SystemException if a system exception occurred 3511 */ 3512 public static com.liferay.portlet.wiki.model.WikiPage removeByN_T_V( 3513 long nodeId, java.lang.String title, double version) 3514 throws com.liferay.portal.kernel.exception.SystemException, 3515 com.liferay.portlet.wiki.NoSuchPageException { 3516 return getPersistence().removeByN_T_V(nodeId, title, version); 3517 } 3518 3519 /** 3520 * Returns the number of wiki pages where nodeId = ? and title = ? and version = ?. 3521 * 3522 * @param nodeId the node ID 3523 * @param title the title 3524 * @param version the version 3525 * @return the number of matching wiki pages 3526 * @throws SystemException if a system exception occurred 3527 */ 3528 public static int countByN_T_V(long nodeId, java.lang.String title, 3529 double version) 3530 throws com.liferay.portal.kernel.exception.SystemException { 3531 return getPersistence().countByN_T_V(nodeId, title, version); 3532 } 3533 3534 /** 3535 * Returns all the wiki pages where nodeId = ? and title = ? and head = ?. 3536 * 3537 * @param nodeId the node ID 3538 * @param title the title 3539 * @param head the head 3540 * @return the matching wiki pages 3541 * @throws SystemException if a system exception occurred 3542 */ 3543 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 3544 long nodeId, java.lang.String title, boolean head) 3545 throws com.liferay.portal.kernel.exception.SystemException { 3546 return getPersistence().findByN_T_H(nodeId, title, head); 3547 } 3548 3549 /** 3550 * Returns a range of all the wiki pages where nodeId = ? and title = ? and head = ?. 3551 * 3552 * <p> 3553 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3554 * </p> 3555 * 3556 * @param nodeId the node ID 3557 * @param title the title 3558 * @param head the head 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 3562 * @throws SystemException if a system exception occurred 3563 */ 3564 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 3565 long nodeId, java.lang.String title, boolean head, int start, int end) 3566 throws com.liferay.portal.kernel.exception.SystemException { 3567 return getPersistence().findByN_T_H(nodeId, title, head, start, end); 3568 } 3569 3570 /** 3571 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?. 3572 * 3573 * <p> 3574 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3575 * </p> 3576 * 3577 * @param nodeId the node ID 3578 * @param title the title 3579 * @param head the head 3580 * @param start the lower bound of the range of wiki pages 3581 * @param end the upper bound of the range of wiki pages (not inclusive) 3582 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3583 * @return the ordered range of matching wiki pages 3584 * @throws SystemException if a system exception occurred 3585 */ 3586 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 3587 long nodeId, java.lang.String title, boolean head, int start, int end, 3588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3589 throws com.liferay.portal.kernel.exception.SystemException { 3590 return getPersistence() 3591 .findByN_T_H(nodeId, title, head, start, end, 3592 orderByComparator); 3593 } 3594 3595 /** 3596 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3597 * 3598 * @param nodeId the node ID 3599 * @param title the title 3600 * @param head the head 3601 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3602 * @return the first matching wiki page 3603 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3604 * @throws SystemException if a system exception occurred 3605 */ 3606 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First( 3607 long nodeId, java.lang.String title, boolean head, 3608 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3609 throws com.liferay.portal.kernel.exception.SystemException, 3610 com.liferay.portlet.wiki.NoSuchPageException { 3611 return getPersistence() 3612 .findByN_T_H_First(nodeId, title, head, orderByComparator); 3613 } 3614 3615 /** 3616 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3617 * 3618 * @param nodeId the node ID 3619 * @param title the title 3620 * @param head the head 3621 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3622 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3623 * @throws SystemException if a system exception occurred 3624 */ 3625 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_First( 3626 long nodeId, java.lang.String title, boolean head, 3627 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3628 throws com.liferay.portal.kernel.exception.SystemException { 3629 return getPersistence() 3630 .fetchByN_T_H_First(nodeId, title, head, orderByComparator); 3631 } 3632 3633 /** 3634 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3635 * 3636 * @param nodeId the node ID 3637 * @param title the title 3638 * @param head the head 3639 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3640 * @return the last matching wiki page 3641 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3642 * @throws SystemException if a system exception occurred 3643 */ 3644 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last( 3645 long nodeId, java.lang.String title, boolean head, 3646 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3647 throws com.liferay.portal.kernel.exception.SystemException, 3648 com.liferay.portlet.wiki.NoSuchPageException { 3649 return getPersistence() 3650 .findByN_T_H_Last(nodeId, title, head, orderByComparator); 3651 } 3652 3653 /** 3654 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3655 * 3656 * @param nodeId the node ID 3657 * @param title the title 3658 * @param head the head 3659 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3660 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3661 * @throws SystemException if a system exception occurred 3662 */ 3663 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_Last( 3664 long nodeId, java.lang.String title, boolean head, 3665 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3666 throws com.liferay.portal.kernel.exception.SystemException { 3667 return getPersistence() 3668 .fetchByN_T_H_Last(nodeId, title, head, orderByComparator); 3669 } 3670 3671 /** 3672 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3673 * 3674 * @param pageId the primary key of the current wiki page 3675 * @param nodeId the node ID 3676 * @param title the title 3677 * @param head the head 3678 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3679 * @return the previous, current, and next wiki page 3680 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3681 * @throws SystemException if a system exception occurred 3682 */ 3683 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext( 3684 long pageId, long nodeId, java.lang.String title, boolean head, 3685 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3686 throws com.liferay.portal.kernel.exception.SystemException, 3687 com.liferay.portlet.wiki.NoSuchPageException { 3688 return getPersistence() 3689 .findByN_T_H_PrevAndNext(pageId, nodeId, title, head, 3690 orderByComparator); 3691 } 3692 3693 /** 3694 * Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database. 3695 * 3696 * @param nodeId the node ID 3697 * @param title the title 3698 * @param head the head 3699 * @throws SystemException if a system exception occurred 3700 */ 3701 public static void removeByN_T_H(long nodeId, java.lang.String title, 3702 boolean head) 3703 throws com.liferay.portal.kernel.exception.SystemException { 3704 getPersistence().removeByN_T_H(nodeId, title, head); 3705 } 3706 3707 /** 3708 * Returns the number of wiki pages where nodeId = ? and title = ? and head = ?. 3709 * 3710 * @param nodeId the node ID 3711 * @param title the title 3712 * @param head the head 3713 * @return the number of matching wiki pages 3714 * @throws SystemException if a system exception occurred 3715 */ 3716 public static int countByN_T_H(long nodeId, java.lang.String title, 3717 boolean head) 3718 throws com.liferay.portal.kernel.exception.SystemException { 3719 return getPersistence().countByN_T_H(nodeId, title, head); 3720 } 3721 3722 /** 3723 * Returns all the wiki pages where nodeId = ? and title = ? and status = ?. 3724 * 3725 * @param nodeId the node ID 3726 * @param title the title 3727 * @param status the status 3728 * @return the matching wiki pages 3729 * @throws SystemException if a system exception occurred 3730 */ 3731 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 3732 long nodeId, java.lang.String title, int status) 3733 throws com.liferay.portal.kernel.exception.SystemException { 3734 return getPersistence().findByN_T_S(nodeId, title, status); 3735 } 3736 3737 /** 3738 * Returns a range of all the wiki pages where nodeId = ? and title = ? and status = ?. 3739 * 3740 * <p> 3741 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3742 * </p> 3743 * 3744 * @param nodeId the node ID 3745 * @param title the title 3746 * @param status the status 3747 * @param start the lower bound of the range of wiki pages 3748 * @param end the upper bound of the range of wiki pages (not inclusive) 3749 * @return the range of matching wiki pages 3750 * @throws SystemException if a system exception occurred 3751 */ 3752 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 3753 long nodeId, java.lang.String title, int status, int start, int end) 3754 throws com.liferay.portal.kernel.exception.SystemException { 3755 return getPersistence().findByN_T_S(nodeId, title, status, start, end); 3756 } 3757 3758 /** 3759 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?. 3760 * 3761 * <p> 3762 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3763 * </p> 3764 * 3765 * @param nodeId the node ID 3766 * @param title the title 3767 * @param status the status 3768 * @param start the lower bound of the range of wiki pages 3769 * @param end the upper bound of the range of wiki pages (not inclusive) 3770 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3771 * @return the ordered range of matching wiki pages 3772 * @throws SystemException if a system exception occurred 3773 */ 3774 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 3775 long nodeId, java.lang.String title, int status, int start, int end, 3776 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3777 throws com.liferay.portal.kernel.exception.SystemException { 3778 return getPersistence() 3779 .findByN_T_S(nodeId, title, status, start, end, 3780 orderByComparator); 3781 } 3782 3783 /** 3784 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3785 * 3786 * @param nodeId the node ID 3787 * @param title the title 3788 * @param status the status 3789 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3790 * @return the first matching wiki page 3791 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3792 * @throws SystemException if a system exception occurred 3793 */ 3794 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_First( 3795 long nodeId, java.lang.String title, int status, 3796 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3797 throws com.liferay.portal.kernel.exception.SystemException, 3798 com.liferay.portlet.wiki.NoSuchPageException { 3799 return getPersistence() 3800 .findByN_T_S_First(nodeId, title, status, orderByComparator); 3801 } 3802 3803 /** 3804 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3805 * 3806 * @param nodeId the node ID 3807 * @param title the title 3808 * @param status the status 3809 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3810 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3811 * @throws SystemException if a system exception occurred 3812 */ 3813 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_First( 3814 long nodeId, java.lang.String title, int status, 3815 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3816 throws com.liferay.portal.kernel.exception.SystemException { 3817 return getPersistence() 3818 .fetchByN_T_S_First(nodeId, title, status, orderByComparator); 3819 } 3820 3821 /** 3822 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3823 * 3824 * @param nodeId the node ID 3825 * @param title the title 3826 * @param status the status 3827 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3828 * @return the last matching wiki page 3829 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3830 * @throws SystemException if a system exception occurred 3831 */ 3832 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_Last( 3833 long nodeId, java.lang.String title, int status, 3834 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3835 throws com.liferay.portal.kernel.exception.SystemException, 3836 com.liferay.portlet.wiki.NoSuchPageException { 3837 return getPersistence() 3838 .findByN_T_S_Last(nodeId, title, status, orderByComparator); 3839 } 3840 3841 /** 3842 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3843 * 3844 * @param nodeId the node ID 3845 * @param title the title 3846 * @param status the status 3847 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3848 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3849 * @throws SystemException if a system exception occurred 3850 */ 3851 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_Last( 3852 long nodeId, java.lang.String title, int status, 3853 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3854 throws com.liferay.portal.kernel.exception.SystemException { 3855 return getPersistence() 3856 .fetchByN_T_S_Last(nodeId, title, status, orderByComparator); 3857 } 3858 3859 /** 3860 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3861 * 3862 * @param pageId the primary key of the current wiki page 3863 * @param nodeId the node ID 3864 * @param title the title 3865 * @param status the status 3866 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3867 * @return the previous, current, and next wiki page 3868 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3869 * @throws SystemException if a system exception occurred 3870 */ 3871 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_S_PrevAndNext( 3872 long pageId, long nodeId, java.lang.String title, int status, 3873 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3874 throws com.liferay.portal.kernel.exception.SystemException, 3875 com.liferay.portlet.wiki.NoSuchPageException { 3876 return getPersistence() 3877 .findByN_T_S_PrevAndNext(pageId, nodeId, title, status, 3878 orderByComparator); 3879 } 3880 3881 /** 3882 * Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database. 3883 * 3884 * @param nodeId the node ID 3885 * @param title the title 3886 * @param status the status 3887 * @throws SystemException if a system exception occurred 3888 */ 3889 public static void removeByN_T_S(long nodeId, java.lang.String title, 3890 int status) throws com.liferay.portal.kernel.exception.SystemException { 3891 getPersistence().removeByN_T_S(nodeId, title, status); 3892 } 3893 3894 /** 3895 * Returns the number of wiki pages where nodeId = ? and title = ? and status = ?. 3896 * 3897 * @param nodeId the node ID 3898 * @param title the title 3899 * @param status the status 3900 * @return the number of matching wiki pages 3901 * @throws SystemException if a system exception occurred 3902 */ 3903 public static int countByN_T_S(long nodeId, java.lang.String title, 3904 int status) throws com.liferay.portal.kernel.exception.SystemException { 3905 return getPersistence().countByN_T_S(nodeId, title, status); 3906 } 3907 3908 /** 3909 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 3910 * 3911 * @param nodeId the node ID 3912 * @param head the head 3913 * @param parentTitle the parent title 3914 * @return the matching wiki pages 3915 * @throws SystemException if a system exception occurred 3916 */ 3917 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 3918 long nodeId, boolean head, java.lang.String parentTitle) 3919 throws com.liferay.portal.kernel.exception.SystemException { 3920 return getPersistence().findByN_H_P(nodeId, head, parentTitle); 3921 } 3922 3923 /** 3924 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 3925 * 3926 * <p> 3927 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3928 * </p> 3929 * 3930 * @param nodeId the node ID 3931 * @param head the head 3932 * @param parentTitle the parent title 3933 * @param start the lower bound of the range of wiki pages 3934 * @param end the upper bound of the range of wiki pages (not inclusive) 3935 * @return the range of matching wiki pages 3936 * @throws SystemException if a system exception occurred 3937 */ 3938 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 3939 long nodeId, boolean head, java.lang.String parentTitle, int start, 3940 int end) throws com.liferay.portal.kernel.exception.SystemException { 3941 return getPersistence() 3942 .findByN_H_P(nodeId, head, parentTitle, start, end); 3943 } 3944 3945 /** 3946 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 3947 * 3948 * <p> 3949 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3950 * </p> 3951 * 3952 * @param nodeId the node ID 3953 * @param head the head 3954 * @param parentTitle the parent title 3955 * @param start the lower bound of the range of wiki pages 3956 * @param end the upper bound of the range of wiki pages (not inclusive) 3957 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3958 * @return the ordered range of matching wiki pages 3959 * @throws SystemException if a system exception occurred 3960 */ 3961 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 3962 long nodeId, boolean head, java.lang.String parentTitle, int start, 3963 int end, 3964 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3965 throws com.liferay.portal.kernel.exception.SystemException { 3966 return getPersistence() 3967 .findByN_H_P(nodeId, head, parentTitle, start, end, 3968 orderByComparator); 3969 } 3970 3971 /** 3972 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 3973 * 3974 * @param nodeId the node ID 3975 * @param head the head 3976 * @param parentTitle the parent title 3977 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3978 * @return the first matching wiki page 3979 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3980 * @throws SystemException if a system exception occurred 3981 */ 3982 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First( 3983 long nodeId, boolean head, java.lang.String parentTitle, 3984 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3985 throws com.liferay.portal.kernel.exception.SystemException, 3986 com.liferay.portlet.wiki.NoSuchPageException { 3987 return getPersistence() 3988 .findByN_H_P_First(nodeId, head, parentTitle, 3989 orderByComparator); 3990 } 3991 3992 /** 3993 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 3994 * 3995 * @param nodeId the node ID 3996 * @param head the head 3997 * @param parentTitle the parent title 3998 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3999 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 4000 * @throws SystemException if a system exception occurred 4001 */ 4002 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_First( 4003 long nodeId, boolean head, java.lang.String parentTitle, 4004 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4005 throws com.liferay.portal.kernel.exception.SystemException { 4006 return getPersistence() 4007 .fetchByN_H_P_First(nodeId, head, parentTitle, 4008 orderByComparator); 4009 } 4010 4011 /** 4012 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 4013 * 4014 * @param nodeId the node ID 4015 * @param head the head 4016 * @param parentTitle the parent title 4017 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4018 * @return the last matching wiki page 4019 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4020 * @throws SystemException if a system exception occurred 4021 */ 4022 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last( 4023 long nodeId, boolean head, java.lang.String parentTitle, 4024 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4025 throws com.liferay.portal.kernel.exception.SystemException, 4026 com.liferay.portlet.wiki.NoSuchPageException { 4027 return getPersistence() 4028 .findByN_H_P_Last(nodeId, head, parentTitle, 4029 orderByComparator); 4030 } 4031 4032 /** 4033 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 4034 * 4035 * @param nodeId the node ID 4036 * @param head the head 4037 * @param parentTitle the parent title 4038 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4039 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 4040 * @throws SystemException if a system exception occurred 4041 */ 4042 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_Last( 4043 long nodeId, boolean head, java.lang.String parentTitle, 4044 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4045 throws com.liferay.portal.kernel.exception.SystemException { 4046 return getPersistence() 4047 .fetchByN_H_P_Last(nodeId, head, parentTitle, 4048 orderByComparator); 4049 } 4050 4051 /** 4052 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 4053 * 4054 * @param pageId the primary key of the current wiki page 4055 * @param nodeId the node ID 4056 * @param head the head 4057 * @param parentTitle the parent title 4058 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4059 * @return the previous, current, and next wiki page 4060 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4061 * @throws SystemException if a system exception occurred 4062 */ 4063 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext( 4064 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 4065 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4066 throws com.liferay.portal.kernel.exception.SystemException, 4067 com.liferay.portlet.wiki.NoSuchPageException { 4068 return getPersistence() 4069 .findByN_H_P_PrevAndNext(pageId, nodeId, head, parentTitle, 4070 orderByComparator); 4071 } 4072 4073 /** 4074 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database. 4075 * 4076 * @param nodeId the node ID 4077 * @param head the head 4078 * @param parentTitle the parent title 4079 * @throws SystemException if a system exception occurred 4080 */ 4081 public static void removeByN_H_P(long nodeId, boolean head, 4082 java.lang.String parentTitle) 4083 throws com.liferay.portal.kernel.exception.SystemException { 4084 getPersistence().removeByN_H_P(nodeId, head, parentTitle); 4085 } 4086 4087 /** 4088 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ?. 4089 * 4090 * @param nodeId the node ID 4091 * @param head the head 4092 * @param parentTitle the parent title 4093 * @return the number of matching wiki pages 4094 * @throws SystemException if a system exception occurred 4095 */ 4096 public static int countByN_H_P(long nodeId, boolean head, 4097 java.lang.String parentTitle) 4098 throws com.liferay.portal.kernel.exception.SystemException { 4099 return getPersistence().countByN_H_P(nodeId, head, parentTitle); 4100 } 4101 4102 /** 4103 * Returns all the wiki pages where nodeId = ? and head = ? and status = ?. 4104 * 4105 * @param nodeId the node ID 4106 * @param head the head 4107 * @param status the status 4108 * @return the matching wiki pages 4109 * @throws SystemException if a system exception occurred 4110 */ 4111 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 4112 long nodeId, boolean head, int status) 4113 throws com.liferay.portal.kernel.exception.SystemException { 4114 return getPersistence().findByN_H_S(nodeId, head, status); 4115 } 4116 4117 /** 4118 * Returns a range of all the wiki pages where nodeId = ? and head = ? and status = ?. 4119 * 4120 * <p> 4121 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4122 * </p> 4123 * 4124 * @param nodeId the node ID 4125 * @param head the head 4126 * @param status the status 4127 * @param start the lower bound of the range of wiki pages 4128 * @param end the upper bound of the range of wiki pages (not inclusive) 4129 * @return the range of matching wiki pages 4130 * @throws SystemException if a system exception occurred 4131 */ 4132 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 4133 long nodeId, boolean head, int status, int start, int end) 4134 throws com.liferay.portal.kernel.exception.SystemException { 4135 return getPersistence().findByN_H_S(nodeId, head, status, start, end); 4136 } 4137 4138 /** 4139 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?. 4140 * 4141 * <p> 4142 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4143 * </p> 4144 * 4145 * @param nodeId the node ID 4146 * @param head the head 4147 * @param status the status 4148 * @param start the lower bound of the range of wiki pages 4149 * @param end the upper bound of the range of wiki pages (not inclusive) 4150 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4151 * @return the ordered range of matching wiki pages 4152 * @throws SystemException if a system exception occurred 4153 */ 4154 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 4155 long nodeId, boolean head, int status, int start, int end, 4156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4157 throws com.liferay.portal.kernel.exception.SystemException { 4158 return getPersistence() 4159 .findByN_H_S(nodeId, head, status, start, end, 4160 orderByComparator); 4161 } 4162 4163 /** 4164 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 4165 * 4166 * @param nodeId the node ID 4167 * @param head the head 4168 * @param status the status 4169 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4170 * @return the first matching wiki page 4171 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4172 * @throws SystemException if a system exception occurred 4173 */ 4174 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First( 4175 long nodeId, boolean head, int status, 4176 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4177 throws com.liferay.portal.kernel.exception.SystemException, 4178 com.liferay.portlet.wiki.NoSuchPageException { 4179 return getPersistence() 4180 .findByN_H_S_First(nodeId, head, status, orderByComparator); 4181 } 4182 4183 /** 4184 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 4185 * 4186 * @param nodeId the node ID 4187 * @param head the head 4188 * @param status the status 4189 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4190 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 4191 * @throws SystemException if a system exception occurred 4192 */ 4193 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_First( 4194 long nodeId, boolean head, int status, 4195 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4196 throws com.liferay.portal.kernel.exception.SystemException { 4197 return getPersistence() 4198 .fetchByN_H_S_First(nodeId, head, status, orderByComparator); 4199 } 4200 4201 /** 4202 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 4203 * 4204 * @param nodeId the node ID 4205 * @param head the head 4206 * @param status the status 4207 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4208 * @return the last matching wiki page 4209 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4210 * @throws SystemException if a system exception occurred 4211 */ 4212 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last( 4213 long nodeId, boolean head, int status, 4214 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4215 throws com.liferay.portal.kernel.exception.SystemException, 4216 com.liferay.portlet.wiki.NoSuchPageException { 4217 return getPersistence() 4218 .findByN_H_S_Last(nodeId, head, status, orderByComparator); 4219 } 4220 4221 /** 4222 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 4223 * 4224 * @param nodeId the node ID 4225 * @param head the head 4226 * @param status the status 4227 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4228 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 4229 * @throws SystemException if a system exception occurred 4230 */ 4231 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_Last( 4232 long nodeId, boolean head, int status, 4233 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4234 throws com.liferay.portal.kernel.exception.SystemException { 4235 return getPersistence() 4236 .fetchByN_H_S_Last(nodeId, head, status, orderByComparator); 4237 } 4238 4239 /** 4240 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 4241 * 4242 * @param pageId the primary key of the current wiki page 4243 * @param nodeId the node ID 4244 * @param head the head 4245 * @param status the status 4246 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4247 * @return the previous, current, and next wiki page 4248 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4249 * @throws SystemException if a system exception occurred 4250 */ 4251 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext( 4252 long pageId, long nodeId, boolean head, int status, 4253 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4254 throws com.liferay.portal.kernel.exception.SystemException, 4255 com.liferay.portlet.wiki.NoSuchPageException { 4256 return getPersistence() 4257 .findByN_H_S_PrevAndNext(pageId, nodeId, head, status, 4258 orderByComparator); 4259 } 4260 4261 /** 4262 * Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database. 4263 * 4264 * @param nodeId the node ID 4265 * @param head the head 4266 * @param status the status 4267 * @throws SystemException if a system exception occurred 4268 */ 4269 public static void removeByN_H_S(long nodeId, boolean head, int status) 4270 throws com.liferay.portal.kernel.exception.SystemException { 4271 getPersistence().removeByN_H_S(nodeId, head, status); 4272 } 4273 4274 /** 4275 * Returns the number of wiki pages where nodeId = ? and head = ? and status = ?. 4276 * 4277 * @param nodeId the node ID 4278 * @param head the head 4279 * @param status the status 4280 * @return the number of matching wiki pages 4281 * @throws SystemException if a system exception occurred 4282 */ 4283 public static int countByN_H_S(long nodeId, boolean head, int status) 4284 throws com.liferay.portal.kernel.exception.SystemException { 4285 return getPersistence().countByN_H_S(nodeId, head, status); 4286 } 4287 4288 /** 4289 * Returns all the wiki pages where nodeId = ? and head = ? and status ≠ ?. 4290 * 4291 * @param nodeId the node ID 4292 * @param head the head 4293 * @param status the status 4294 * @return the matching wiki pages 4295 * @throws SystemException if a system exception occurred 4296 */ 4297 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS( 4298 long nodeId, boolean head, int status) 4299 throws com.liferay.portal.kernel.exception.SystemException { 4300 return getPersistence().findByN_H_NotS(nodeId, head, status); 4301 } 4302 4303 /** 4304 * Returns a range of all the wiki pages where nodeId = ? and head = ? and status ≠ ?. 4305 * 4306 * <p> 4307 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4308 * </p> 4309 * 4310 * @param nodeId the node ID 4311 * @param head the head 4312 * @param status the status 4313 * @param start the lower bound of the range of wiki pages 4314 * @param end the upper bound of the range of wiki pages (not inclusive) 4315 * @return the range of matching wiki pages 4316 * @throws SystemException if a system exception occurred 4317 */ 4318 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS( 4319 long nodeId, boolean head, int status, int start, int end) 4320 throws com.liferay.portal.kernel.exception.SystemException { 4321 return getPersistence().findByN_H_NotS(nodeId, head, status, start, end); 4322 } 4323 4324 /** 4325 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status ≠ ?. 4326 * 4327 * <p> 4328 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4329 * </p> 4330 * 4331 * @param nodeId the node ID 4332 * @param head the head 4333 * @param status the status 4334 * @param start the lower bound of the range of wiki pages 4335 * @param end the upper bound of the range of wiki pages (not inclusive) 4336 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4337 * @return the ordered range of matching wiki pages 4338 * @throws SystemException if a system exception occurred 4339 */ 4340 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS( 4341 long nodeId, boolean head, int status, int start, int end, 4342 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4343 throws com.liferay.portal.kernel.exception.SystemException { 4344 return getPersistence() 4345 .findByN_H_NotS(nodeId, head, status, start, end, 4346 orderByComparator); 4347 } 4348 4349 /** 4350 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4351 * 4352 * @param nodeId the node ID 4353 * @param head the head 4354 * @param status the status 4355 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4356 * @return the first matching wiki page 4357 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4358 * @throws SystemException if a system exception occurred 4359 */ 4360 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_NotS_First( 4361 long nodeId, boolean head, int status, 4362 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4363 throws com.liferay.portal.kernel.exception.SystemException, 4364 com.liferay.portlet.wiki.NoSuchPageException { 4365 return getPersistence() 4366 .findByN_H_NotS_First(nodeId, head, status, orderByComparator); 4367 } 4368 4369 /** 4370 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4371 * 4372 * @param nodeId the node ID 4373 * @param head the head 4374 * @param status the status 4375 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4376 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 4377 * @throws SystemException if a system exception occurred 4378 */ 4379 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_NotS_First( 4380 long nodeId, boolean head, int status, 4381 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4382 throws com.liferay.portal.kernel.exception.SystemException { 4383 return getPersistence() 4384 .fetchByN_H_NotS_First(nodeId, head, status, 4385 orderByComparator); 4386 } 4387 4388 /** 4389 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4390 * 4391 * @param nodeId the node ID 4392 * @param head the head 4393 * @param status the status 4394 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4395 * @return the last matching wiki page 4396 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4397 * @throws SystemException if a system exception occurred 4398 */ 4399 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_NotS_Last( 4400 long nodeId, boolean head, int status, 4401 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4402 throws com.liferay.portal.kernel.exception.SystemException, 4403 com.liferay.portlet.wiki.NoSuchPageException { 4404 return getPersistence() 4405 .findByN_H_NotS_Last(nodeId, head, status, orderByComparator); 4406 } 4407 4408 /** 4409 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4410 * 4411 * @param nodeId the node ID 4412 * @param head the head 4413 * @param status the status 4414 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4415 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 4416 * @throws SystemException if a system exception occurred 4417 */ 4418 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_NotS_Last( 4419 long nodeId, boolean head, int status, 4420 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4421 throws com.liferay.portal.kernel.exception.SystemException { 4422 return getPersistence() 4423 .fetchByN_H_NotS_Last(nodeId, head, status, orderByComparator); 4424 } 4425 4426 /** 4427 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4428 * 4429 * @param pageId the primary key of the current wiki page 4430 * @param nodeId the node ID 4431 * @param head the head 4432 * @param status the status 4433 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4434 * @return the previous, current, and next wiki page 4435 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4436 * @throws SystemException if a system exception occurred 4437 */ 4438 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_NotS_PrevAndNext( 4439 long pageId, long nodeId, boolean head, int status, 4440 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4441 throws com.liferay.portal.kernel.exception.SystemException, 4442 com.liferay.portlet.wiki.NoSuchPageException { 4443 return getPersistence() 4444 .findByN_H_NotS_PrevAndNext(pageId, nodeId, head, status, 4445 orderByComparator); 4446 } 4447 4448 /** 4449 * Removes all the wiki pages where nodeId = ? and head = ? and status ≠ ? from the database. 4450 * 4451 * @param nodeId the node ID 4452 * @param head the head 4453 * @param status the status 4454 * @throws SystemException if a system exception occurred 4455 */ 4456 public static void removeByN_H_NotS(long nodeId, boolean head, int status) 4457 throws com.liferay.portal.kernel.exception.SystemException { 4458 getPersistence().removeByN_H_NotS(nodeId, head, status); 4459 } 4460 4461 /** 4462 * Returns the number of wiki pages where nodeId = ? and head = ? and status ≠ ?. 4463 * 4464 * @param nodeId the node ID 4465 * @param head the head 4466 * @param status the status 4467 * @return the number of matching wiki pages 4468 * @throws SystemException if a system exception occurred 4469 */ 4470 public static int countByN_H_NotS(long nodeId, boolean head, int status) 4471 throws com.liferay.portal.kernel.exception.SystemException { 4472 return getPersistence().countByN_H_NotS(nodeId, head, status); 4473 } 4474 4475 /** 4476 * Returns all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 4477 * 4478 * @param groupId the group ID 4479 * @param userId the user ID 4480 * @param nodeId the node ID 4481 * @param status the status 4482 * @return the matching wiki pages 4483 * @throws SystemException if a system exception occurred 4484 */ 4485 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S( 4486 long groupId, long userId, long nodeId, int status) 4487 throws com.liferay.portal.kernel.exception.SystemException { 4488 return getPersistence().findByG_U_N_S(groupId, userId, nodeId, status); 4489 } 4490 4491 /** 4492 * Returns a range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 4493 * 4494 * <p> 4495 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4496 * </p> 4497 * 4498 * @param groupId the group ID 4499 * @param userId the user ID 4500 * @param nodeId the node ID 4501 * @param status the status 4502 * @param start the lower bound of the range of wiki pages 4503 * @param end the upper bound of the range of wiki pages (not inclusive) 4504 * @return the range of matching wiki pages 4505 * @throws SystemException if a system exception occurred 4506 */ 4507 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S( 4508 long groupId, long userId, long nodeId, int status, int start, int end) 4509 throws com.liferay.portal.kernel.exception.SystemException { 4510 return getPersistence() 4511 .findByG_U_N_S(groupId, userId, nodeId, status, start, end); 4512 } 4513 4514 /** 4515 * Returns an ordered range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 4516 * 4517 * <p> 4518 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4519 * </p> 4520 * 4521 * @param groupId the group ID 4522 * @param userId the user ID 4523 * @param nodeId the node ID 4524 * @param status the status 4525 * @param start the lower bound of the range of wiki pages 4526 * @param end the upper bound of the range of wiki pages (not inclusive) 4527 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4528 * @return the ordered range of matching wiki pages 4529 * @throws SystemException if a system exception occurred 4530 */ 4531 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S( 4532 long groupId, long userId, long nodeId, int status, int start, int end, 4533 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4534 throws com.liferay.portal.kernel.exception.SystemException { 4535 return getPersistence() 4536 .findByG_U_N_S(groupId, userId, nodeId, status, start, end, 4537 orderByComparator); 4538 } 4539 4540 /** 4541 * Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4542 * 4543 * @param groupId the group ID 4544 * @param userId the user ID 4545 * @param nodeId the node ID 4546 * @param status the status 4547 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4548 * @return the first matching wiki page 4549 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4550 * @throws SystemException if a system exception occurred 4551 */ 4552 public static com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_First( 4553 long groupId, long userId, long nodeId, int status, 4554 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4555 throws com.liferay.portal.kernel.exception.SystemException, 4556 com.liferay.portlet.wiki.NoSuchPageException { 4557 return getPersistence() 4558 .findByG_U_N_S_First(groupId, userId, nodeId, status, 4559 orderByComparator); 4560 } 4561 4562 /** 4563 * Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4564 * 4565 * @param groupId the group ID 4566 * @param userId the user ID 4567 * @param nodeId the node ID 4568 * @param status the status 4569 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4570 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 4571 * @throws SystemException if a system exception occurred 4572 */ 4573 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_First( 4574 long groupId, long userId, long nodeId, int status, 4575 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4576 throws com.liferay.portal.kernel.exception.SystemException { 4577 return getPersistence() 4578 .fetchByG_U_N_S_First(groupId, userId, nodeId, status, 4579 orderByComparator); 4580 } 4581 4582 /** 4583 * Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4584 * 4585 * @param groupId the group ID 4586 * @param userId the user ID 4587 * @param nodeId the node ID 4588 * @param status the status 4589 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4590 * @return the last matching wiki page 4591 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4592 * @throws SystemException if a system exception occurred 4593 */ 4594 public static com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_Last( 4595 long groupId, long userId, long nodeId, int status, 4596 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4597 throws com.liferay.portal.kernel.exception.SystemException, 4598 com.liferay.portlet.wiki.NoSuchPageException { 4599 return getPersistence() 4600 .findByG_U_N_S_Last(groupId, userId, nodeId, status, 4601 orderByComparator); 4602 } 4603 4604 /** 4605 * Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4606 * 4607 * @param groupId the group ID 4608 * @param userId the user ID 4609 * @param nodeId the node ID 4610 * @param status the status 4611 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4612 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 4613 * @throws SystemException if a system exception occurred 4614 */ 4615 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_Last( 4616 long groupId, long userId, long nodeId, int status, 4617 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4618 throws com.liferay.portal.kernel.exception.SystemException { 4619 return getPersistence() 4620 .fetchByG_U_N_S_Last(groupId, userId, nodeId, status, 4621 orderByComparator); 4622 } 4623 4624 /** 4625 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4626 * 4627 * @param pageId the primary key of the current wiki page 4628 * @param groupId the group ID 4629 * @param userId the user ID 4630 * @param nodeId the node ID 4631 * @param status the status 4632 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4633 * @return the previous, current, and next wiki page 4634 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4635 * @throws SystemException if a system exception occurred 4636 */ 4637 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_U_N_S_PrevAndNext( 4638 long pageId, long groupId, long userId, long nodeId, int status, 4639 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4640 throws com.liferay.portal.kernel.exception.SystemException, 4641 com.liferay.portlet.wiki.NoSuchPageException { 4642 return getPersistence() 4643 .findByG_U_N_S_PrevAndNext(pageId, groupId, userId, nodeId, 4644 status, orderByComparator); 4645 } 4646 4647 /** 4648 * Returns all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4649 * 4650 * @param groupId the group ID 4651 * @param userId the user ID 4652 * @param nodeId the node ID 4653 * @param status the status 4654 * @return the matching wiki pages that the user has permission to view 4655 * @throws SystemException if a system exception occurred 4656 */ 4657 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S( 4658 long groupId, long userId, long nodeId, int status) 4659 throws com.liferay.portal.kernel.exception.SystemException { 4660 return getPersistence() 4661 .filterFindByG_U_N_S(groupId, userId, nodeId, status); 4662 } 4663 4664 /** 4665 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4666 * 4667 * <p> 4668 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4669 * </p> 4670 * 4671 * @param groupId the group ID 4672 * @param userId the user ID 4673 * @param nodeId the node ID 4674 * @param status the status 4675 * @param start the lower bound of the range of wiki pages 4676 * @param end the upper bound of the range of wiki pages (not inclusive) 4677 * @return the range of matching wiki pages that the user has permission to view 4678 * @throws SystemException if a system exception occurred 4679 */ 4680 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S( 4681 long groupId, long userId, long nodeId, int status, int start, int end) 4682 throws com.liferay.portal.kernel.exception.SystemException { 4683 return getPersistence() 4684 .filterFindByG_U_N_S(groupId, userId, nodeId, status, start, 4685 end); 4686 } 4687 4688 /** 4689 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4690 * 4691 * <p> 4692 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4693 * </p> 4694 * 4695 * @param groupId the group ID 4696 * @param userId the user ID 4697 * @param nodeId the node ID 4698 * @param status the status 4699 * @param start the lower bound of the range of wiki pages 4700 * @param end the upper bound of the range of wiki pages (not inclusive) 4701 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4702 * @return the ordered range of matching wiki pages that the user has permission to view 4703 * @throws SystemException if a system exception occurred 4704 */ 4705 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S( 4706 long groupId, long userId, long nodeId, int status, int start, int end, 4707 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4708 throws com.liferay.portal.kernel.exception.SystemException { 4709 return getPersistence() 4710 .filterFindByG_U_N_S(groupId, userId, nodeId, status, start, 4711 end, orderByComparator); 4712 } 4713 4714 /** 4715 * 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 = ?. 4716 * 4717 * @param pageId the primary key of the current wiki page 4718 * @param groupId the group ID 4719 * @param userId the user ID 4720 * @param nodeId the node ID 4721 * @param status the status 4722 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4723 * @return the previous, current, and next wiki page 4724 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4725 * @throws SystemException if a system exception occurred 4726 */ 4727 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_U_N_S_PrevAndNext( 4728 long pageId, long groupId, long userId, long nodeId, int status, 4729 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4730 throws com.liferay.portal.kernel.exception.SystemException, 4731 com.liferay.portlet.wiki.NoSuchPageException { 4732 return getPersistence() 4733 .filterFindByG_U_N_S_PrevAndNext(pageId, groupId, userId, 4734 nodeId, status, orderByComparator); 4735 } 4736 4737 /** 4738 * Removes all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ? from the database. 4739 * 4740 * @param groupId the group ID 4741 * @param userId the user ID 4742 * @param nodeId the node ID 4743 * @param status the status 4744 * @throws SystemException if a system exception occurred 4745 */ 4746 public static void removeByG_U_N_S(long groupId, long userId, long nodeId, 4747 int status) throws com.liferay.portal.kernel.exception.SystemException { 4748 getPersistence().removeByG_U_N_S(groupId, userId, nodeId, status); 4749 } 4750 4751 /** 4752 * Returns the number of wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 4753 * 4754 * @param groupId the group ID 4755 * @param userId the user ID 4756 * @param nodeId the node ID 4757 * @param status the status 4758 * @return the number of matching wiki pages 4759 * @throws SystemException if a system exception occurred 4760 */ 4761 public static int countByG_U_N_S(long groupId, long userId, long nodeId, 4762 int status) throws com.liferay.portal.kernel.exception.SystemException { 4763 return getPersistence().countByG_U_N_S(groupId, userId, nodeId, status); 4764 } 4765 4766 /** 4767 * Returns the number of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4768 * 4769 * @param groupId the group ID 4770 * @param userId the user ID 4771 * @param nodeId the node ID 4772 * @param status the status 4773 * @return the number of matching wiki pages that the user has permission to view 4774 * @throws SystemException if a system exception occurred 4775 */ 4776 public static int filterCountByG_U_N_S(long groupId, long userId, 4777 long nodeId, int status) 4778 throws com.liferay.portal.kernel.exception.SystemException { 4779 return getPersistence() 4780 .filterCountByG_U_N_S(groupId, userId, nodeId, status); 4781 } 4782 4783 /** 4784 * Returns all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 4785 * 4786 * @param groupId the group ID 4787 * @param nodeId the node ID 4788 * @param title the title 4789 * @param head the head 4790 * @return the matching wiki pages 4791 * @throws SystemException if a system exception occurred 4792 */ 4793 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H( 4794 long groupId, long nodeId, java.lang.String title, boolean head) 4795 throws com.liferay.portal.kernel.exception.SystemException { 4796 return getPersistence().findByG_N_T_H(groupId, nodeId, title, head); 4797 } 4798 4799 /** 4800 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 4801 * 4802 * <p> 4803 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4804 * </p> 4805 * 4806 * @param groupId the group ID 4807 * @param nodeId the node ID 4808 * @param title the title 4809 * @param head the head 4810 * @param start the lower bound of the range of wiki pages 4811 * @param end the upper bound of the range of wiki pages (not inclusive) 4812 * @return the range of matching wiki pages 4813 * @throws SystemException if a system exception occurred 4814 */ 4815 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H( 4816 long groupId, long nodeId, java.lang.String title, boolean head, 4817 int start, int end) 4818 throws com.liferay.portal.kernel.exception.SystemException { 4819 return getPersistence() 4820 .findByG_N_T_H(groupId, nodeId, title, head, start, end); 4821 } 4822 4823 /** 4824 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 4825 * 4826 * <p> 4827 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4828 * </p> 4829 * 4830 * @param groupId the group ID 4831 * @param nodeId the node ID 4832 * @param title the title 4833 * @param head the head 4834 * @param start the lower bound of the range of wiki pages 4835 * @param end the upper bound of the range of wiki pages (not inclusive) 4836 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4837 * @return the ordered range of matching wiki pages 4838 * @throws SystemException if a system exception occurred 4839 */ 4840 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H( 4841 long groupId, long nodeId, java.lang.String title, boolean head, 4842 int start, int end, 4843 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4844 throws com.liferay.portal.kernel.exception.SystemException { 4845 return getPersistence() 4846 .findByG_N_T_H(groupId, nodeId, title, head, start, end, 4847 orderByComparator); 4848 } 4849 4850 /** 4851 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4852 * 4853 * @param groupId the group ID 4854 * @param nodeId the node ID 4855 * @param title the title 4856 * @param head the head 4857 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4858 * @return the first matching wiki page 4859 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4860 * @throws SystemException if a system exception occurred 4861 */ 4862 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_First( 4863 long groupId, long nodeId, java.lang.String title, boolean head, 4864 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4865 throws com.liferay.portal.kernel.exception.SystemException, 4866 com.liferay.portlet.wiki.NoSuchPageException { 4867 return getPersistence() 4868 .findByG_N_T_H_First(groupId, nodeId, title, head, 4869 orderByComparator); 4870 } 4871 4872 /** 4873 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4874 * 4875 * @param groupId the group ID 4876 * @param nodeId the node ID 4877 * @param title the title 4878 * @param head the head 4879 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4880 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 4881 * @throws SystemException if a system exception occurred 4882 */ 4883 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_First( 4884 long groupId, long nodeId, java.lang.String title, boolean head, 4885 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4886 throws com.liferay.portal.kernel.exception.SystemException { 4887 return getPersistence() 4888 .fetchByG_N_T_H_First(groupId, nodeId, title, head, 4889 orderByComparator); 4890 } 4891 4892 /** 4893 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4894 * 4895 * @param groupId the group ID 4896 * @param nodeId the node ID 4897 * @param title the title 4898 * @param head the head 4899 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4900 * @return the last matching wiki page 4901 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4902 * @throws SystemException if a system exception occurred 4903 */ 4904 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_Last( 4905 long groupId, long nodeId, java.lang.String title, boolean head, 4906 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4907 throws com.liferay.portal.kernel.exception.SystemException, 4908 com.liferay.portlet.wiki.NoSuchPageException { 4909 return getPersistence() 4910 .findByG_N_T_H_Last(groupId, nodeId, title, head, 4911 orderByComparator); 4912 } 4913 4914 /** 4915 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4916 * 4917 * @param groupId the group ID 4918 * @param nodeId the node ID 4919 * @param title the title 4920 * @param head the head 4921 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4922 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 4923 * @throws SystemException if a system exception occurred 4924 */ 4925 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_Last( 4926 long groupId, long nodeId, java.lang.String title, boolean head, 4927 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4928 throws com.liferay.portal.kernel.exception.SystemException { 4929 return getPersistence() 4930 .fetchByG_N_T_H_Last(groupId, nodeId, title, head, 4931 orderByComparator); 4932 } 4933 4934 /** 4935 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4936 * 4937 * @param pageId the primary key of the current wiki page 4938 * @param groupId the group ID 4939 * @param nodeId the node ID 4940 * @param title the title 4941 * @param head the head 4942 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4943 * @return the previous, current, and next wiki page 4944 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4945 * @throws SystemException if a system exception occurred 4946 */ 4947 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_T_H_PrevAndNext( 4948 long pageId, long groupId, long nodeId, java.lang.String title, 4949 boolean head, 4950 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4951 throws com.liferay.portal.kernel.exception.SystemException, 4952 com.liferay.portlet.wiki.NoSuchPageException { 4953 return getPersistence() 4954 .findByG_N_T_H_PrevAndNext(pageId, groupId, nodeId, title, 4955 head, orderByComparator); 4956 } 4957 4958 /** 4959 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 4960 * 4961 * @param groupId the group ID 4962 * @param nodeId the node ID 4963 * @param title the title 4964 * @param head the head 4965 * @return the matching wiki pages that the user has permission to view 4966 * @throws SystemException if a system exception occurred 4967 */ 4968 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H( 4969 long groupId, long nodeId, java.lang.String title, boolean head) 4970 throws com.liferay.portal.kernel.exception.SystemException { 4971 return getPersistence().filterFindByG_N_T_H(groupId, nodeId, title, head); 4972 } 4973 4974 /** 4975 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 4976 * 4977 * <p> 4978 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4979 * </p> 4980 * 4981 * @param groupId the group ID 4982 * @param nodeId the node ID 4983 * @param title the title 4984 * @param head the head 4985 * @param start the lower bound of the range of wiki pages 4986 * @param end the upper bound of the range of wiki pages (not inclusive) 4987 * @return the range of matching wiki pages that the user has permission to view 4988 * @throws SystemException if a system exception occurred 4989 */ 4990 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H( 4991 long groupId, long nodeId, java.lang.String title, boolean head, 4992 int start, int end) 4993 throws com.liferay.portal.kernel.exception.SystemException { 4994 return getPersistence() 4995 .filterFindByG_N_T_H(groupId, nodeId, title, head, start, end); 4996 } 4997 4998 /** 4999 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and title = ? and head = ?. 5000 * 5001 * <p> 5002 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5003 * </p> 5004 * 5005 * @param groupId the group ID 5006 * @param nodeId the node ID 5007 * @param title the title 5008 * @param head the head 5009 * @param start the lower bound of the range of wiki pages 5010 * @param end the upper bound of the range of wiki pages (not inclusive) 5011 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5012 * @return the ordered range of matching wiki pages that the user has permission to view 5013 * @throws SystemException if a system exception occurred 5014 */ 5015 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H( 5016 long groupId, long nodeId, java.lang.String title, boolean head, 5017 int start, int end, 5018 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5019 throws com.liferay.portal.kernel.exception.SystemException { 5020 return getPersistence() 5021 .filterFindByG_N_T_H(groupId, nodeId, title, head, start, 5022 end, orderByComparator); 5023 } 5024 5025 /** 5026 * 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 = ?. 5027 * 5028 * @param pageId the primary key of the current wiki page 5029 * @param groupId the group ID 5030 * @param nodeId the node ID 5031 * @param title the title 5032 * @param head the head 5033 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5034 * @return the previous, current, and next wiki page 5035 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5036 * @throws SystemException if a system exception occurred 5037 */ 5038 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_T_H_PrevAndNext( 5039 long pageId, long groupId, long nodeId, java.lang.String title, 5040 boolean head, 5041 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5042 throws com.liferay.portal.kernel.exception.SystemException, 5043 com.liferay.portlet.wiki.NoSuchPageException { 5044 return getPersistence() 5045 .filterFindByG_N_T_H_PrevAndNext(pageId, groupId, nodeId, 5046 title, head, orderByComparator); 5047 } 5048 5049 /** 5050 * Removes all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ? from the database. 5051 * 5052 * @param groupId the group ID 5053 * @param nodeId the node ID 5054 * @param title the title 5055 * @param head the head 5056 * @throws SystemException if a system exception occurred 5057 */ 5058 public static void removeByG_N_T_H(long groupId, long nodeId, 5059 java.lang.String title, boolean head) 5060 throws com.liferay.portal.kernel.exception.SystemException { 5061 getPersistence().removeByG_N_T_H(groupId, nodeId, title, head); 5062 } 5063 5064 /** 5065 * Returns the number of wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 5066 * 5067 * @param groupId the group ID 5068 * @param nodeId the node ID 5069 * @param title the title 5070 * @param head the head 5071 * @return the number of matching wiki pages 5072 * @throws SystemException if a system exception occurred 5073 */ 5074 public static int countByG_N_T_H(long groupId, long nodeId, 5075 java.lang.String title, boolean head) 5076 throws com.liferay.portal.kernel.exception.SystemException { 5077 return getPersistence().countByG_N_T_H(groupId, nodeId, title, head); 5078 } 5079 5080 /** 5081 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 5082 * 5083 * @param groupId the group ID 5084 * @param nodeId the node ID 5085 * @param title the title 5086 * @param head the head 5087 * @return the number of matching wiki pages that the user has permission to view 5088 * @throws SystemException if a system exception occurred 5089 */ 5090 public static int filterCountByG_N_T_H(long groupId, long nodeId, 5091 java.lang.String title, boolean head) 5092 throws com.liferay.portal.kernel.exception.SystemException { 5093 return getPersistence() 5094 .filterCountByG_N_T_H(groupId, nodeId, title, head); 5095 } 5096 5097 /** 5098 * Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 5099 * 5100 * @param groupId the group ID 5101 * @param nodeId the node ID 5102 * @param head the head 5103 * @param status the status 5104 * @return the matching wiki pages 5105 * @throws SystemException if a system exception occurred 5106 */ 5107 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S( 5108 long groupId, long nodeId, boolean head, int status) 5109 throws com.liferay.portal.kernel.exception.SystemException { 5110 return getPersistence().findByG_N_H_S(groupId, nodeId, head, status); 5111 } 5112 5113 /** 5114 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 5115 * 5116 * <p> 5117 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5118 * </p> 5119 * 5120 * @param groupId the group ID 5121 * @param nodeId the node ID 5122 * @param head the head 5123 * @param status the status 5124 * @param start the lower bound of the range of wiki pages 5125 * @param end the upper bound of the range of wiki pages (not inclusive) 5126 * @return the range of matching wiki pages 5127 * @throws SystemException if a system exception occurred 5128 */ 5129 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S( 5130 long groupId, long nodeId, boolean head, int status, int start, int end) 5131 throws com.liferay.portal.kernel.exception.SystemException { 5132 return getPersistence() 5133 .findByG_N_H_S(groupId, nodeId, head, status, start, end); 5134 } 5135 5136 /** 5137 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 5138 * 5139 * <p> 5140 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5141 * </p> 5142 * 5143 * @param groupId the group ID 5144 * @param nodeId the node ID 5145 * @param head the head 5146 * @param status the status 5147 * @param start the lower bound of the range of wiki pages 5148 * @param end the upper bound of the range of wiki pages (not inclusive) 5149 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5150 * @return the ordered range of matching wiki pages 5151 * @throws SystemException if a system exception occurred 5152 */ 5153 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S( 5154 long groupId, long nodeId, boolean head, int status, int start, 5155 int end, 5156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5157 throws com.liferay.portal.kernel.exception.SystemException { 5158 return getPersistence() 5159 .findByG_N_H_S(groupId, nodeId, head, status, start, end, 5160 orderByComparator); 5161 } 5162 5163 /** 5164 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 5165 * 5166 * @param groupId the group ID 5167 * @param nodeId the node ID 5168 * @param head the head 5169 * @param status the status 5170 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5171 * @return the first matching wiki page 5172 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5173 * @throws SystemException if a system exception occurred 5174 */ 5175 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_First( 5176 long groupId, long nodeId, boolean head, int status, 5177 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5178 throws com.liferay.portal.kernel.exception.SystemException, 5179 com.liferay.portlet.wiki.NoSuchPageException { 5180 return getPersistence() 5181 .findByG_N_H_S_First(groupId, nodeId, head, status, 5182 orderByComparator); 5183 } 5184 5185 /** 5186 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 5187 * 5188 * @param groupId the group ID 5189 * @param nodeId the node ID 5190 * @param head the head 5191 * @param status the status 5192 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5193 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 5194 * @throws SystemException if a system exception occurred 5195 */ 5196 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_First( 5197 long groupId, long nodeId, boolean head, int status, 5198 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5199 throws com.liferay.portal.kernel.exception.SystemException { 5200 return getPersistence() 5201 .fetchByG_N_H_S_First(groupId, nodeId, head, status, 5202 orderByComparator); 5203 } 5204 5205 /** 5206 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 5207 * 5208 * @param groupId the group ID 5209 * @param nodeId the node ID 5210 * @param head the head 5211 * @param status the status 5212 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5213 * @return the last matching wiki page 5214 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5215 * @throws SystemException if a system exception occurred 5216 */ 5217 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_Last( 5218 long groupId, long nodeId, boolean head, int status, 5219 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5220 throws com.liferay.portal.kernel.exception.SystemException, 5221 com.liferay.portlet.wiki.NoSuchPageException { 5222 return getPersistence() 5223 .findByG_N_H_S_Last(groupId, nodeId, head, status, 5224 orderByComparator); 5225 } 5226 5227 /** 5228 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 5229 * 5230 * @param groupId the group ID 5231 * @param nodeId the node ID 5232 * @param head the head 5233 * @param status the status 5234 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5235 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 5236 * @throws SystemException if a system exception occurred 5237 */ 5238 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_Last( 5239 long groupId, long nodeId, boolean head, int status, 5240 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5241 throws com.liferay.portal.kernel.exception.SystemException { 5242 return getPersistence() 5243 .fetchByG_N_H_S_Last(groupId, nodeId, head, status, 5244 orderByComparator); 5245 } 5246 5247 /** 5248 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 5249 * 5250 * @param pageId the primary key of the current wiki page 5251 * @param groupId the group ID 5252 * @param nodeId the node ID 5253 * @param head the head 5254 * @param status the status 5255 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5256 * @return the previous, current, and next wiki page 5257 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5258 * @throws SystemException if a system exception occurred 5259 */ 5260 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_S_PrevAndNext( 5261 long pageId, long groupId, long nodeId, boolean head, int status, 5262 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5263 throws com.liferay.portal.kernel.exception.SystemException, 5264 com.liferay.portlet.wiki.NoSuchPageException { 5265 return getPersistence() 5266 .findByG_N_H_S_PrevAndNext(pageId, groupId, nodeId, head, 5267 status, orderByComparator); 5268 } 5269 5270 /** 5271 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 5272 * 5273 * @param groupId the group ID 5274 * @param nodeId the node ID 5275 * @param head the head 5276 * @param status the status 5277 * @return the matching wiki pages that the user has permission to view 5278 * @throws SystemException if a system exception occurred 5279 */ 5280 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S( 5281 long groupId, long nodeId, boolean head, int status) 5282 throws com.liferay.portal.kernel.exception.SystemException { 5283 return getPersistence() 5284 .filterFindByG_N_H_S(groupId, nodeId, head, status); 5285 } 5286 5287 /** 5288 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 5289 * 5290 * <p> 5291 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5292 * </p> 5293 * 5294 * @param groupId the group ID 5295 * @param nodeId the node ID 5296 * @param head the head 5297 * @param status the status 5298 * @param start the lower bound of the range of wiki pages 5299 * @param end the upper bound of the range of wiki pages (not inclusive) 5300 * @return the range of matching wiki pages that the user has permission to view 5301 * @throws SystemException if a system exception occurred 5302 */ 5303 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S( 5304 long groupId, long nodeId, boolean head, int status, int start, int end) 5305 throws com.liferay.portal.kernel.exception.SystemException { 5306 return getPersistence() 5307 .filterFindByG_N_H_S(groupId, nodeId, head, status, start, 5308 end); 5309 } 5310 5311 /** 5312 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and status = ?. 5313 * 5314 * <p> 5315 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5316 * </p> 5317 * 5318 * @param groupId the group ID 5319 * @param nodeId the node ID 5320 * @param head the head 5321 * @param status the status 5322 * @param start the lower bound of the range of wiki pages 5323 * @param end the upper bound of the range of wiki pages (not inclusive) 5324 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5325 * @return the ordered range of matching wiki pages that the user has permission to view 5326 * @throws SystemException if a system exception occurred 5327 */ 5328 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S( 5329 long groupId, long nodeId, boolean head, int status, int start, 5330 int end, 5331 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5332 throws com.liferay.portal.kernel.exception.SystemException { 5333 return getPersistence() 5334 .filterFindByG_N_H_S(groupId, nodeId, head, status, start, 5335 end, orderByComparator); 5336 } 5337 5338 /** 5339 * 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 = ?. 5340 * 5341 * @param pageId the primary key of the current wiki page 5342 * @param groupId the group ID 5343 * @param nodeId the node ID 5344 * @param head the head 5345 * @param status the status 5346 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5347 * @return the previous, current, and next wiki page 5348 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5349 * @throws SystemException if a system exception occurred 5350 */ 5351 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_S_PrevAndNext( 5352 long pageId, long groupId, long nodeId, boolean head, int status, 5353 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5354 throws com.liferay.portal.kernel.exception.SystemException, 5355 com.liferay.portlet.wiki.NoSuchPageException { 5356 return getPersistence() 5357 .filterFindByG_N_H_S_PrevAndNext(pageId, groupId, nodeId, 5358 head, status, orderByComparator); 5359 } 5360 5361 /** 5362 * Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ? from the database. 5363 * 5364 * @param groupId the group ID 5365 * @param nodeId the node ID 5366 * @param head the head 5367 * @param status the status 5368 * @throws SystemException if a system exception occurred 5369 */ 5370 public static void removeByG_N_H_S(long groupId, long nodeId, boolean head, 5371 int status) throws com.liferay.portal.kernel.exception.SystemException { 5372 getPersistence().removeByG_N_H_S(groupId, nodeId, head, status); 5373 } 5374 5375 /** 5376 * Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 5377 * 5378 * @param groupId the group ID 5379 * @param nodeId the node ID 5380 * @param head the head 5381 * @param status the status 5382 * @return the number of matching wiki pages 5383 * @throws SystemException if a system exception occurred 5384 */ 5385 public static int countByG_N_H_S(long groupId, long nodeId, boolean head, 5386 int status) throws com.liferay.portal.kernel.exception.SystemException { 5387 return getPersistence().countByG_N_H_S(groupId, nodeId, head, status); 5388 } 5389 5390 /** 5391 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 5392 * 5393 * @param groupId the group ID 5394 * @param nodeId the node ID 5395 * @param head the head 5396 * @param status the status 5397 * @return the number of matching wiki pages that the user has permission to view 5398 * @throws SystemException if a system exception occurred 5399 */ 5400 public static int filterCountByG_N_H_S(long groupId, long nodeId, 5401 boolean head, int status) 5402 throws com.liferay.portal.kernel.exception.SystemException { 5403 return getPersistence() 5404 .filterCountByG_N_H_S(groupId, nodeId, head, status); 5405 } 5406 5407 /** 5408 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5409 * 5410 * @param nodeId the node ID 5411 * @param head the head 5412 * @param parentTitle the parent title 5413 * @param status the status 5414 * @return the matching wiki pages 5415 * @throws SystemException if a system exception occurred 5416 */ 5417 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 5418 long nodeId, boolean head, java.lang.String parentTitle, int status) 5419 throws com.liferay.portal.kernel.exception.SystemException { 5420 return getPersistence().findByN_H_P_S(nodeId, head, parentTitle, status); 5421 } 5422 5423 /** 5424 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5425 * 5426 * <p> 5427 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5428 * </p> 5429 * 5430 * @param nodeId the node ID 5431 * @param head the head 5432 * @param parentTitle the parent title 5433 * @param status the status 5434 * @param start the lower bound of the range of wiki pages 5435 * @param end the upper bound of the range of wiki pages (not inclusive) 5436 * @return the range of matching wiki pages 5437 * @throws SystemException if a system exception occurred 5438 */ 5439 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 5440 long nodeId, boolean head, java.lang.String parentTitle, int status, 5441 int start, int end) 5442 throws com.liferay.portal.kernel.exception.SystemException { 5443 return getPersistence() 5444 .findByN_H_P_S(nodeId, head, parentTitle, status, start, end); 5445 } 5446 5447 /** 5448 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5449 * 5450 * <p> 5451 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5452 * </p> 5453 * 5454 * @param nodeId the node ID 5455 * @param head the head 5456 * @param parentTitle the parent title 5457 * @param status the status 5458 * @param start the lower bound of the range of wiki pages 5459 * @param end the upper bound of the range of wiki pages (not inclusive) 5460 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5461 * @return the ordered range of matching wiki pages 5462 * @throws SystemException if a system exception occurred 5463 */ 5464 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 5465 long nodeId, boolean head, java.lang.String parentTitle, int status, 5466 int start, int end, 5467 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5468 throws com.liferay.portal.kernel.exception.SystemException { 5469 return getPersistence() 5470 .findByN_H_P_S(nodeId, head, parentTitle, status, start, 5471 end, orderByComparator); 5472 } 5473 5474 /** 5475 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5476 * 5477 * @param nodeId the node ID 5478 * @param head the head 5479 * @param parentTitle the parent title 5480 * @param status the status 5481 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5482 * @return the first matching wiki page 5483 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5484 * @throws SystemException if a system exception occurred 5485 */ 5486 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First( 5487 long nodeId, boolean head, java.lang.String parentTitle, int status, 5488 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5489 throws com.liferay.portal.kernel.exception.SystemException, 5490 com.liferay.portlet.wiki.NoSuchPageException { 5491 return getPersistence() 5492 .findByN_H_P_S_First(nodeId, head, parentTitle, status, 5493 orderByComparator); 5494 } 5495 5496 /** 5497 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5498 * 5499 * @param nodeId the node ID 5500 * @param head the head 5501 * @param parentTitle the parent title 5502 * @param status the status 5503 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5504 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 5505 * @throws SystemException if a system exception occurred 5506 */ 5507 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_First( 5508 long nodeId, boolean head, java.lang.String parentTitle, int status, 5509 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5510 throws com.liferay.portal.kernel.exception.SystemException { 5511 return getPersistence() 5512 .fetchByN_H_P_S_First(nodeId, head, parentTitle, status, 5513 orderByComparator); 5514 } 5515 5516 /** 5517 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5518 * 5519 * @param nodeId the node ID 5520 * @param head the head 5521 * @param parentTitle the parent title 5522 * @param status the status 5523 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5524 * @return the last matching wiki page 5525 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5526 * @throws SystemException if a system exception occurred 5527 */ 5528 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last( 5529 long nodeId, boolean head, java.lang.String parentTitle, int status, 5530 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5531 throws com.liferay.portal.kernel.exception.SystemException, 5532 com.liferay.portlet.wiki.NoSuchPageException { 5533 return getPersistence() 5534 .findByN_H_P_S_Last(nodeId, head, parentTitle, status, 5535 orderByComparator); 5536 } 5537 5538 /** 5539 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5540 * 5541 * @param nodeId the node ID 5542 * @param head the head 5543 * @param parentTitle the parent title 5544 * @param status the status 5545 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5546 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 5547 * @throws SystemException if a system exception occurred 5548 */ 5549 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_Last( 5550 long nodeId, boolean head, java.lang.String parentTitle, int status, 5551 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5552 throws com.liferay.portal.kernel.exception.SystemException { 5553 return getPersistence() 5554 .fetchByN_H_P_S_Last(nodeId, head, parentTitle, status, 5555 orderByComparator); 5556 } 5557 5558 /** 5559 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5560 * 5561 * @param pageId the primary key of the current wiki page 5562 * @param nodeId the node ID 5563 * @param head the head 5564 * @param parentTitle the parent title 5565 * @param status the status 5566 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5567 * @return the previous, current, and next wiki page 5568 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5569 * @throws SystemException if a system exception occurred 5570 */ 5571 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext( 5572 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 5573 int status, 5574 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5575 throws com.liferay.portal.kernel.exception.SystemException, 5576 com.liferay.portlet.wiki.NoSuchPageException { 5577 return getPersistence() 5578 .findByN_H_P_S_PrevAndNext(pageId, nodeId, head, 5579 parentTitle, status, orderByComparator); 5580 } 5581 5582 /** 5583 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ? from the database. 5584 * 5585 * @param nodeId the node ID 5586 * @param head the head 5587 * @param parentTitle the parent title 5588 * @param status the status 5589 * @throws SystemException if a system exception occurred 5590 */ 5591 public static void removeByN_H_P_S(long nodeId, boolean head, 5592 java.lang.String parentTitle, int status) 5593 throws com.liferay.portal.kernel.exception.SystemException { 5594 getPersistence().removeByN_H_P_S(nodeId, head, parentTitle, status); 5595 } 5596 5597 /** 5598 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5599 * 5600 * @param nodeId the node ID 5601 * @param head the head 5602 * @param parentTitle the parent title 5603 * @param status the status 5604 * @return the number of matching wiki pages 5605 * @throws SystemException if a system exception occurred 5606 */ 5607 public static int countByN_H_P_S(long nodeId, boolean head, 5608 java.lang.String parentTitle, int status) 5609 throws com.liferay.portal.kernel.exception.SystemException { 5610 return getPersistence().countByN_H_P_S(nodeId, head, parentTitle, status); 5611 } 5612 5613 /** 5614 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5615 * 5616 * @param nodeId the node ID 5617 * @param head the head 5618 * @param parentTitle the parent title 5619 * @param status the status 5620 * @return the matching wiki pages 5621 * @throws SystemException if a system exception occurred 5622 */ 5623 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS( 5624 long nodeId, boolean head, java.lang.String parentTitle, int status) 5625 throws com.liferay.portal.kernel.exception.SystemException { 5626 return getPersistence() 5627 .findByN_H_P_NotS(nodeId, head, parentTitle, status); 5628 } 5629 5630 /** 5631 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5632 * 5633 * <p> 5634 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5635 * </p> 5636 * 5637 * @param nodeId the node ID 5638 * @param head the head 5639 * @param parentTitle the parent title 5640 * @param status the status 5641 * @param start the lower bound of the range of wiki pages 5642 * @param end the upper bound of the range of wiki pages (not inclusive) 5643 * @return the range of matching wiki pages 5644 * @throws SystemException if a system exception occurred 5645 */ 5646 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS( 5647 long nodeId, boolean head, java.lang.String parentTitle, int status, 5648 int start, int end) 5649 throws com.liferay.portal.kernel.exception.SystemException { 5650 return getPersistence() 5651 .findByN_H_P_NotS(nodeId, head, parentTitle, status, start, 5652 end); 5653 } 5654 5655 /** 5656 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5657 * 5658 * <p> 5659 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5660 * </p> 5661 * 5662 * @param nodeId the node ID 5663 * @param head the head 5664 * @param parentTitle the parent title 5665 * @param status the status 5666 * @param start the lower bound of the range of wiki pages 5667 * @param end the upper bound of the range of wiki pages (not inclusive) 5668 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5669 * @return the ordered range of matching wiki pages 5670 * @throws SystemException if a system exception occurred 5671 */ 5672 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS( 5673 long nodeId, boolean head, java.lang.String parentTitle, int status, 5674 int start, int end, 5675 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5676 throws com.liferay.portal.kernel.exception.SystemException { 5677 return getPersistence() 5678 .findByN_H_P_NotS(nodeId, head, parentTitle, status, start, 5679 end, orderByComparator); 5680 } 5681 5682 /** 5683 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5684 * 5685 * @param nodeId the node ID 5686 * @param head the head 5687 * @param parentTitle the parent title 5688 * @param status the status 5689 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5690 * @return the first matching wiki page 5691 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5692 * @throws SystemException if a system exception occurred 5693 */ 5694 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_NotS_First( 5695 long nodeId, boolean head, java.lang.String parentTitle, int status, 5696 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5697 throws com.liferay.portal.kernel.exception.SystemException, 5698 com.liferay.portlet.wiki.NoSuchPageException { 5699 return getPersistence() 5700 .findByN_H_P_NotS_First(nodeId, head, parentTitle, status, 5701 orderByComparator); 5702 } 5703 5704 /** 5705 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5706 * 5707 * @param nodeId the node ID 5708 * @param head the head 5709 * @param parentTitle the parent title 5710 * @param status the status 5711 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5712 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 5713 * @throws SystemException if a system exception occurred 5714 */ 5715 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_NotS_First( 5716 long nodeId, boolean head, java.lang.String parentTitle, int status, 5717 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5718 throws com.liferay.portal.kernel.exception.SystemException { 5719 return getPersistence() 5720 .fetchByN_H_P_NotS_First(nodeId, head, parentTitle, status, 5721 orderByComparator); 5722 } 5723 5724 /** 5725 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5726 * 5727 * @param nodeId the node ID 5728 * @param head the head 5729 * @param parentTitle the parent title 5730 * @param status the status 5731 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5732 * @return the last matching wiki page 5733 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5734 * @throws SystemException if a system exception occurred 5735 */ 5736 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_NotS_Last( 5737 long nodeId, boolean head, java.lang.String parentTitle, int status, 5738 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5739 throws com.liferay.portal.kernel.exception.SystemException, 5740 com.liferay.portlet.wiki.NoSuchPageException { 5741 return getPersistence() 5742 .findByN_H_P_NotS_Last(nodeId, head, parentTitle, status, 5743 orderByComparator); 5744 } 5745 5746 /** 5747 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5748 * 5749 * @param nodeId the node ID 5750 * @param head the head 5751 * @param parentTitle the parent title 5752 * @param status the status 5753 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5754 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 5755 * @throws SystemException if a system exception occurred 5756 */ 5757 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_NotS_Last( 5758 long nodeId, boolean head, java.lang.String parentTitle, int status, 5759 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5760 throws com.liferay.portal.kernel.exception.SystemException { 5761 return getPersistence() 5762 .fetchByN_H_P_NotS_Last(nodeId, head, parentTitle, status, 5763 orderByComparator); 5764 } 5765 5766 /** 5767 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5768 * 5769 * @param pageId the primary key of the current wiki page 5770 * @param nodeId the node ID 5771 * @param head the head 5772 * @param parentTitle the parent title 5773 * @param status the status 5774 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5775 * @return the previous, current, and next wiki page 5776 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5777 * @throws SystemException if a system exception occurred 5778 */ 5779 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_NotS_PrevAndNext( 5780 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 5781 int status, 5782 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5783 throws com.liferay.portal.kernel.exception.SystemException, 5784 com.liferay.portlet.wiki.NoSuchPageException { 5785 return getPersistence() 5786 .findByN_H_P_NotS_PrevAndNext(pageId, nodeId, head, 5787 parentTitle, status, orderByComparator); 5788 } 5789 5790 /** 5791 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ? from the database. 5792 * 5793 * @param nodeId the node ID 5794 * @param head the head 5795 * @param parentTitle the parent title 5796 * @param status the status 5797 * @throws SystemException if a system exception occurred 5798 */ 5799 public static void removeByN_H_P_NotS(long nodeId, boolean head, 5800 java.lang.String parentTitle, int status) 5801 throws com.liferay.portal.kernel.exception.SystemException { 5802 getPersistence().removeByN_H_P_NotS(nodeId, head, parentTitle, status); 5803 } 5804 5805 /** 5806 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5807 * 5808 * @param nodeId the node ID 5809 * @param head the head 5810 * @param parentTitle the parent title 5811 * @param status the status 5812 * @return the number of matching wiki pages 5813 * @throws SystemException if a system exception occurred 5814 */ 5815 public static int countByN_H_P_NotS(long nodeId, boolean head, 5816 java.lang.String parentTitle, int status) 5817 throws com.liferay.portal.kernel.exception.SystemException { 5818 return getPersistence() 5819 .countByN_H_P_NotS(nodeId, head, parentTitle, status); 5820 } 5821 5822 /** 5823 * Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5824 * 5825 * @param nodeId the node ID 5826 * @param head the head 5827 * @param redirectTitle the redirect title 5828 * @param status the status 5829 * @return the matching wiki pages 5830 * @throws SystemException if a system exception occurred 5831 */ 5832 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S( 5833 long nodeId, boolean head, java.lang.String redirectTitle, int status) 5834 throws com.liferay.portal.kernel.exception.SystemException { 5835 return getPersistence() 5836 .findByN_H_R_S(nodeId, head, redirectTitle, status); 5837 } 5838 5839 /** 5840 * Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5841 * 5842 * <p> 5843 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5844 * </p> 5845 * 5846 * @param nodeId the node ID 5847 * @param head the head 5848 * @param redirectTitle the redirect title 5849 * @param status the status 5850 * @param start the lower bound of the range of wiki pages 5851 * @param end the upper bound of the range of wiki pages (not inclusive) 5852 * @return the range of matching wiki pages 5853 * @throws SystemException if a system exception occurred 5854 */ 5855 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S( 5856 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5857 int start, int end) 5858 throws com.liferay.portal.kernel.exception.SystemException { 5859 return getPersistence() 5860 .findByN_H_R_S(nodeId, head, redirectTitle, status, start, 5861 end); 5862 } 5863 5864 /** 5865 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5866 * 5867 * <p> 5868 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5869 * </p> 5870 * 5871 * @param nodeId the node ID 5872 * @param head the head 5873 * @param redirectTitle the redirect title 5874 * @param status the status 5875 * @param start the lower bound of the range of wiki pages 5876 * @param end the upper bound of the range of wiki pages (not inclusive) 5877 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5878 * @return the ordered range of matching wiki pages 5879 * @throws SystemException if a system exception occurred 5880 */ 5881 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S( 5882 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5883 int start, int end, 5884 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5885 throws com.liferay.portal.kernel.exception.SystemException { 5886 return getPersistence() 5887 .findByN_H_R_S(nodeId, head, redirectTitle, status, start, 5888 end, orderByComparator); 5889 } 5890 5891 /** 5892 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5893 * 5894 * @param nodeId the node ID 5895 * @param head the head 5896 * @param redirectTitle the redirect title 5897 * @param status the status 5898 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5899 * @return the first matching wiki page 5900 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5901 * @throws SystemException if a system exception occurred 5902 */ 5903 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_S_First( 5904 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5905 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5906 throws com.liferay.portal.kernel.exception.SystemException, 5907 com.liferay.portlet.wiki.NoSuchPageException { 5908 return getPersistence() 5909 .findByN_H_R_S_First(nodeId, head, redirectTitle, status, 5910 orderByComparator); 5911 } 5912 5913 /** 5914 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5915 * 5916 * @param nodeId the node ID 5917 * @param head the head 5918 * @param redirectTitle the redirect title 5919 * @param status the status 5920 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5921 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 5922 * @throws SystemException if a system exception occurred 5923 */ 5924 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_S_First( 5925 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5926 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5927 throws com.liferay.portal.kernel.exception.SystemException { 5928 return getPersistence() 5929 .fetchByN_H_R_S_First(nodeId, head, redirectTitle, status, 5930 orderByComparator); 5931 } 5932 5933 /** 5934 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5935 * 5936 * @param nodeId the node ID 5937 * @param head the head 5938 * @param redirectTitle the redirect title 5939 * @param status the status 5940 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5941 * @return the last matching wiki page 5942 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5943 * @throws SystemException if a system exception occurred 5944 */ 5945 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_S_Last( 5946 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5947 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5948 throws com.liferay.portal.kernel.exception.SystemException, 5949 com.liferay.portlet.wiki.NoSuchPageException { 5950 return getPersistence() 5951 .findByN_H_R_S_Last(nodeId, head, redirectTitle, status, 5952 orderByComparator); 5953 } 5954 5955 /** 5956 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5957 * 5958 * @param nodeId the node ID 5959 * @param head the head 5960 * @param redirectTitle the redirect title 5961 * @param status the status 5962 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5963 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 5964 * @throws SystemException if a system exception occurred 5965 */ 5966 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_S_Last( 5967 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5968 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5969 throws com.liferay.portal.kernel.exception.SystemException { 5970 return getPersistence() 5971 .fetchByN_H_R_S_Last(nodeId, head, redirectTitle, status, 5972 orderByComparator); 5973 } 5974 5975 /** 5976 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5977 * 5978 * @param pageId the primary key of the current wiki page 5979 * @param nodeId the node ID 5980 * @param head the head 5981 * @param redirectTitle the redirect title 5982 * @param status the status 5983 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5984 * @return the previous, current, and next wiki page 5985 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5986 * @throws SystemException if a system exception occurred 5987 */ 5988 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_S_PrevAndNext( 5989 long pageId, long nodeId, boolean head, java.lang.String redirectTitle, 5990 int status, 5991 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5992 throws com.liferay.portal.kernel.exception.SystemException, 5993 com.liferay.portlet.wiki.NoSuchPageException { 5994 return getPersistence() 5995 .findByN_H_R_S_PrevAndNext(pageId, nodeId, head, 5996 redirectTitle, status, orderByComparator); 5997 } 5998 5999 /** 6000 * Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ? from the database. 6001 * 6002 * @param nodeId the node ID 6003 * @param head the head 6004 * @param redirectTitle the redirect title 6005 * @param status the status 6006 * @throws SystemException if a system exception occurred 6007 */ 6008 public static void removeByN_H_R_S(long nodeId, boolean head, 6009 java.lang.String redirectTitle, int status) 6010 throws com.liferay.portal.kernel.exception.SystemException { 6011 getPersistence().removeByN_H_R_S(nodeId, head, redirectTitle, status); 6012 } 6013 6014 /** 6015 * Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 6016 * 6017 * @param nodeId the node ID 6018 * @param head the head 6019 * @param redirectTitle the redirect title 6020 * @param status the status 6021 * @return the number of matching wiki pages 6022 * @throws SystemException if a system exception occurred 6023 */ 6024 public static int countByN_H_R_S(long nodeId, boolean head, 6025 java.lang.String redirectTitle, int status) 6026 throws com.liferay.portal.kernel.exception.SystemException { 6027 return getPersistence() 6028 .countByN_H_R_S(nodeId, head, redirectTitle, status); 6029 } 6030 6031 /** 6032 * Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 6033 * 6034 * @param nodeId the node ID 6035 * @param head the head 6036 * @param redirectTitle the redirect title 6037 * @param status the status 6038 * @return the matching wiki pages 6039 * @throws SystemException if a system exception occurred 6040 */ 6041 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS( 6042 long nodeId, boolean head, java.lang.String redirectTitle, int status) 6043 throws com.liferay.portal.kernel.exception.SystemException { 6044 return getPersistence() 6045 .findByN_H_R_NotS(nodeId, head, redirectTitle, status); 6046 } 6047 6048 /** 6049 * Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 6050 * 6051 * <p> 6052 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6053 * </p> 6054 * 6055 * @param nodeId the node ID 6056 * @param head the head 6057 * @param redirectTitle the redirect title 6058 * @param status the status 6059 * @param start the lower bound of the range of wiki pages 6060 * @param end the upper bound of the range of wiki pages (not inclusive) 6061 * @return the range of matching wiki pages 6062 * @throws SystemException if a system exception occurred 6063 */ 6064 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS( 6065 long nodeId, boolean head, java.lang.String redirectTitle, int status, 6066 int start, int end) 6067 throws com.liferay.portal.kernel.exception.SystemException { 6068 return getPersistence() 6069 .findByN_H_R_NotS(nodeId, head, redirectTitle, status, 6070 start, end); 6071 } 6072 6073 /** 6074 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 6075 * 6076 * <p> 6077 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6078 * </p> 6079 * 6080 * @param nodeId the node ID 6081 * @param head the head 6082 * @param redirectTitle the redirect title 6083 * @param status the status 6084 * @param start the lower bound of the range of wiki pages 6085 * @param end the upper bound of the range of wiki pages (not inclusive) 6086 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6087 * @return the ordered range of matching wiki pages 6088 * @throws SystemException if a system exception occurred 6089 */ 6090 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS( 6091 long nodeId, boolean head, java.lang.String redirectTitle, int status, 6092 int start, int end, 6093 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6094 throws com.liferay.portal.kernel.exception.SystemException { 6095 return getPersistence() 6096 .findByN_H_R_NotS(nodeId, head, redirectTitle, status, 6097 start, end, orderByComparator); 6098 } 6099 6100 /** 6101 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 6102 * 6103 * @param nodeId the node ID 6104 * @param head the head 6105 * @param redirectTitle the redirect title 6106 * @param status the status 6107 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6108 * @return the first matching wiki page 6109 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 6110 * @throws SystemException if a system exception occurred 6111 */ 6112 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_NotS_First( 6113 long nodeId, boolean head, java.lang.String redirectTitle, int status, 6114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6115 throws com.liferay.portal.kernel.exception.SystemException, 6116 com.liferay.portlet.wiki.NoSuchPageException { 6117 return getPersistence() 6118 .findByN_H_R_NotS_First(nodeId, head, redirectTitle, status, 6119 orderByComparator); 6120 } 6121 6122 /** 6123 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 6124 * 6125 * @param nodeId the node ID 6126 * @param head the head 6127 * @param redirectTitle the redirect title 6128 * @param status the status 6129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6130 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 6131 * @throws SystemException if a system exception occurred 6132 */ 6133 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_NotS_First( 6134 long nodeId, boolean head, java.lang.String redirectTitle, int status, 6135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6136 throws com.liferay.portal.kernel.exception.SystemException { 6137 return getPersistence() 6138 .fetchByN_H_R_NotS_First(nodeId, head, redirectTitle, 6139 status, orderByComparator); 6140 } 6141 6142 /** 6143 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 6144 * 6145 * @param nodeId the node ID 6146 * @param head the head 6147 * @param redirectTitle the redirect title 6148 * @param status the status 6149 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6150 * @return the last matching wiki page 6151 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 6152 * @throws SystemException if a system exception occurred 6153 */ 6154 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_NotS_Last( 6155 long nodeId, boolean head, java.lang.String redirectTitle, int status, 6156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6157 throws com.liferay.portal.kernel.exception.SystemException, 6158 com.liferay.portlet.wiki.NoSuchPageException { 6159 return getPersistence() 6160 .findByN_H_R_NotS_Last(nodeId, head, redirectTitle, status, 6161 orderByComparator); 6162 } 6163 6164 /** 6165 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 6166 * 6167 * @param nodeId the node ID 6168 * @param head the head 6169 * @param redirectTitle the redirect title 6170 * @param status the status 6171 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6172 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 6173 * @throws SystemException if a system exception occurred 6174 */ 6175 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_NotS_Last( 6176 long nodeId, boolean head, java.lang.String redirectTitle, int status, 6177 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6178 throws com.liferay.portal.kernel.exception.SystemException { 6179 return getPersistence() 6180 .fetchByN_H_R_NotS_Last(nodeId, head, redirectTitle, status, 6181 orderByComparator); 6182 } 6183 6184 /** 6185 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 6186 * 6187 * @param pageId the primary key of the current wiki page 6188 * @param nodeId the node ID 6189 * @param head the head 6190 * @param redirectTitle the redirect title 6191 * @param status the status 6192 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6193 * @return the previous, current, and next wiki page 6194 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 6195 * @throws SystemException if a system exception occurred 6196 */ 6197 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_NotS_PrevAndNext( 6198 long pageId, long nodeId, boolean head, java.lang.String redirectTitle, 6199 int status, 6200 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6201 throws com.liferay.portal.kernel.exception.SystemException, 6202 com.liferay.portlet.wiki.NoSuchPageException { 6203 return getPersistence() 6204 .findByN_H_R_NotS_PrevAndNext(pageId, nodeId, head, 6205 redirectTitle, status, orderByComparator); 6206 } 6207 6208 /** 6209 * Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ? from the database. 6210 * 6211 * @param nodeId the node ID 6212 * @param head the head 6213 * @param redirectTitle the redirect title 6214 * @param status the status 6215 * @throws SystemException if a system exception occurred 6216 */ 6217 public static void removeByN_H_R_NotS(long nodeId, boolean head, 6218 java.lang.String redirectTitle, int status) 6219 throws com.liferay.portal.kernel.exception.SystemException { 6220 getPersistence().removeByN_H_R_NotS(nodeId, head, redirectTitle, status); 6221 } 6222 6223 /** 6224 * Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 6225 * 6226 * @param nodeId the node ID 6227 * @param head the head 6228 * @param redirectTitle the redirect title 6229 * @param status the status 6230 * @return the number of matching wiki pages 6231 * @throws SystemException if a system exception occurred 6232 */ 6233 public static int countByN_H_R_NotS(long nodeId, boolean head, 6234 java.lang.String redirectTitle, int status) 6235 throws com.liferay.portal.kernel.exception.SystemException { 6236 return getPersistence() 6237 .countByN_H_R_NotS(nodeId, head, redirectTitle, status); 6238 } 6239 6240 /** 6241 * Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6242 * 6243 * @param groupId the group ID 6244 * @param nodeId the node ID 6245 * @param head the head 6246 * @param parentTitle the parent title 6247 * @param status the status 6248 * @return the matching wiki pages 6249 * @throws SystemException if a system exception occurred 6250 */ 6251 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S( 6252 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6253 int status) throws com.liferay.portal.kernel.exception.SystemException { 6254 return getPersistence() 6255 .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status); 6256 } 6257 6258 /** 6259 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6260 * 6261 * <p> 6262 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6263 * </p> 6264 * 6265 * @param groupId the group ID 6266 * @param nodeId the node ID 6267 * @param head the head 6268 * @param parentTitle the parent title 6269 * @param status the status 6270 * @param start the lower bound of the range of wiki pages 6271 * @param end the upper bound of the range of wiki pages (not inclusive) 6272 * @return the range of matching wiki pages 6273 * @throws SystemException if a system exception occurred 6274 */ 6275 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S( 6276 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6277 int status, int start, int end) 6278 throws com.liferay.portal.kernel.exception.SystemException { 6279 return getPersistence() 6280 .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status, 6281 start, end); 6282 } 6283 6284 /** 6285 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6286 * 6287 * <p> 6288 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6289 * </p> 6290 * 6291 * @param groupId the group ID 6292 * @param nodeId the node ID 6293 * @param head the head 6294 * @param parentTitle the parent title 6295 * @param status the status 6296 * @param start the lower bound of the range of wiki pages 6297 * @param end the upper bound of the range of wiki pages (not inclusive) 6298 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6299 * @return the ordered range of matching wiki pages 6300 * @throws SystemException if a system exception occurred 6301 */ 6302 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S( 6303 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6304 int status, int start, int end, 6305 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6306 throws com.liferay.portal.kernel.exception.SystemException { 6307 return getPersistence() 6308 .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status, 6309 start, end, orderByComparator); 6310 } 6311 6312 /** 6313 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6314 * 6315 * @param groupId the group ID 6316 * @param nodeId the node ID 6317 * @param head the head 6318 * @param parentTitle the parent title 6319 * @param status the status 6320 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6321 * @return the first matching wiki page 6322 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 6323 * @throws SystemException if a system exception occurred 6324 */ 6325 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_First( 6326 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6327 int status, 6328 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6329 throws com.liferay.portal.kernel.exception.SystemException, 6330 com.liferay.portlet.wiki.NoSuchPageException { 6331 return getPersistence() 6332 .findByG_N_H_P_S_First(groupId, nodeId, head, parentTitle, 6333 status, orderByComparator); 6334 } 6335 6336 /** 6337 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6338 * 6339 * @param groupId the group ID 6340 * @param nodeId the node ID 6341 * @param head the head 6342 * @param parentTitle the parent title 6343 * @param status the status 6344 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6345 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 6346 * @throws SystemException if a system exception occurred 6347 */ 6348 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_First( 6349 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6350 int status, 6351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6352 throws com.liferay.portal.kernel.exception.SystemException { 6353 return getPersistence() 6354 .fetchByG_N_H_P_S_First(groupId, nodeId, head, parentTitle, 6355 status, orderByComparator); 6356 } 6357 6358 /** 6359 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6360 * 6361 * @param groupId the group ID 6362 * @param nodeId the node ID 6363 * @param head the head 6364 * @param parentTitle the parent title 6365 * @param status the status 6366 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6367 * @return the last matching wiki page 6368 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 6369 * @throws SystemException if a system exception occurred 6370 */ 6371 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_Last( 6372 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6373 int status, 6374 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6375 throws com.liferay.portal.kernel.exception.SystemException, 6376 com.liferay.portlet.wiki.NoSuchPageException { 6377 return getPersistence() 6378 .findByG_N_H_P_S_Last(groupId, nodeId, head, parentTitle, 6379 status, orderByComparator); 6380 } 6381 6382 /** 6383 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6384 * 6385 * @param groupId the group ID 6386 * @param nodeId the node ID 6387 * @param head the head 6388 * @param parentTitle the parent title 6389 * @param status the status 6390 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6391 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 6392 * @throws SystemException if a system exception occurred 6393 */ 6394 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_Last( 6395 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6396 int status, 6397 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6398 throws com.liferay.portal.kernel.exception.SystemException { 6399 return getPersistence() 6400 .fetchByG_N_H_P_S_Last(groupId, nodeId, head, parentTitle, 6401 status, orderByComparator); 6402 } 6403 6404 /** 6405 * 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 = ?. 6406 * 6407 * @param pageId the primary key of the current wiki page 6408 * @param groupId the group ID 6409 * @param nodeId the node ID 6410 * @param head the head 6411 * @param parentTitle the parent title 6412 * @param status the status 6413 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6414 * @return the previous, current, and next wiki page 6415 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 6416 * @throws SystemException if a system exception occurred 6417 */ 6418 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_P_S_PrevAndNext( 6419 long pageId, long groupId, long nodeId, boolean head, 6420 java.lang.String parentTitle, int status, 6421 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6422 throws com.liferay.portal.kernel.exception.SystemException, 6423 com.liferay.portlet.wiki.NoSuchPageException { 6424 return getPersistence() 6425 .findByG_N_H_P_S_PrevAndNext(pageId, groupId, nodeId, head, 6426 parentTitle, status, orderByComparator); 6427 } 6428 6429 /** 6430 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6431 * 6432 * @param groupId the group ID 6433 * @param nodeId the node ID 6434 * @param head the head 6435 * @param parentTitle the parent title 6436 * @param status the status 6437 * @return the matching wiki pages that the user has permission to view 6438 * @throws SystemException if a system exception occurred 6439 */ 6440 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S( 6441 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6442 int status) throws com.liferay.portal.kernel.exception.SystemException { 6443 return getPersistence() 6444 .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle, 6445 status); 6446 } 6447 6448 /** 6449 * 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 = ?. 6450 * 6451 * <p> 6452 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6453 * </p> 6454 * 6455 * @param groupId the group ID 6456 * @param nodeId the node ID 6457 * @param head the head 6458 * @param parentTitle the parent title 6459 * @param status the status 6460 * @param start the lower bound of the range of wiki pages 6461 * @param end the upper bound of the range of wiki pages (not inclusive) 6462 * @return the range of matching wiki pages that the user has permission to view 6463 * @throws SystemException if a system exception occurred 6464 */ 6465 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S( 6466 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6467 int status, int start, int end) 6468 throws com.liferay.portal.kernel.exception.SystemException { 6469 return getPersistence() 6470 .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle, 6471 status, start, end); 6472 } 6473 6474 /** 6475 * 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 = ?. 6476 * 6477 * <p> 6478 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6479 * </p> 6480 * 6481 * @param groupId the group ID 6482 * @param nodeId the node ID 6483 * @param head the head 6484 * @param parentTitle the parent title 6485 * @param status the status 6486 * @param start the lower bound of the range of wiki pages 6487 * @param end the upper bound of the range of wiki pages (not inclusive) 6488 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6489 * @return the ordered range of matching wiki pages that the user has permission to view 6490 * @throws SystemException if a system exception occurred 6491 */ 6492 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S( 6493 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 6494 int status, int start, int end, 6495 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6496 throws com.liferay.portal.kernel.exception.SystemException { 6497 return getPersistence() 6498 .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle, 6499 status, start, end, orderByComparator); 6500 } 6501 6502 /** 6503 * 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 = ?. 6504 * 6505 * @param pageId the primary key of the current wiki page 6506 * @param groupId the group ID 6507 * @param nodeId the node ID 6508 * @param head the head 6509 * @param parentTitle the parent title 6510 * @param status the status 6511 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6512 * @return the previous, current, and next wiki page 6513 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 6514 * @throws SystemException if a system exception occurred 6515 */ 6516 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_P_S_PrevAndNext( 6517 long pageId, long groupId, long nodeId, boolean head, 6518 java.lang.String parentTitle, int status, 6519 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6520 throws com.liferay.portal.kernel.exception.SystemException, 6521 com.liferay.portlet.wiki.NoSuchPageException { 6522 return getPersistence() 6523 .filterFindByG_N_H_P_S_PrevAndNext(pageId, groupId, nodeId, 6524 head, parentTitle, status, orderByComparator); 6525 } 6526 6527 /** 6528 * Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ? from the database. 6529 * 6530 * @param groupId the group ID 6531 * @param nodeId the node ID 6532 * @param head the head 6533 * @param parentTitle the parent title 6534 * @param status the status 6535 * @throws SystemException if a system exception occurred 6536 */ 6537 public static void removeByG_N_H_P_S(long groupId, long nodeId, 6538 boolean head, java.lang.String parentTitle, int status) 6539 throws com.liferay.portal.kernel.exception.SystemException { 6540 getPersistence() 6541 .removeByG_N_H_P_S(groupId, nodeId, head, parentTitle, status); 6542 } 6543 6544 /** 6545 * Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6546 * 6547 * @param groupId the group ID 6548 * @param nodeId the node ID 6549 * @param head the head 6550 * @param parentTitle the parent title 6551 * @param status the status 6552 * @return the number of matching wiki pages 6553 * @throws SystemException if a system exception occurred 6554 */ 6555 public static int countByG_N_H_P_S(long groupId, long nodeId, boolean head, 6556 java.lang.String parentTitle, int status) 6557 throws com.liferay.portal.kernel.exception.SystemException { 6558 return getPersistence() 6559 .countByG_N_H_P_S(groupId, nodeId, head, parentTitle, status); 6560 } 6561 6562 /** 6563 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6564 * 6565 * @param groupId the group ID 6566 * @param nodeId the node ID 6567 * @param head the head 6568 * @param parentTitle the parent title 6569 * @param status the status 6570 * @return the number of matching wiki pages that the user has permission to view 6571 * @throws SystemException if a system exception occurred 6572 */ 6573 public static int filterCountByG_N_H_P_S(long groupId, long nodeId, 6574 boolean head, java.lang.String parentTitle, int status) 6575 throws com.liferay.portal.kernel.exception.SystemException { 6576 return getPersistence() 6577 .filterCountByG_N_H_P_S(groupId, nodeId, head, parentTitle, 6578 status); 6579 } 6580 6581 /** 6582 * Caches the wiki page in the entity cache if it is enabled. 6583 * 6584 * @param wikiPage the wiki page 6585 */ 6586 public static void cacheResult( 6587 com.liferay.portlet.wiki.model.WikiPage wikiPage) { 6588 getPersistence().cacheResult(wikiPage); 6589 } 6590 6591 /** 6592 * Caches the wiki pages in the entity cache if it is enabled. 6593 * 6594 * @param wikiPages the wiki pages 6595 */ 6596 public static void cacheResult( 6597 java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages) { 6598 getPersistence().cacheResult(wikiPages); 6599 } 6600 6601 /** 6602 * Creates a new wiki page with the primary key. Does not add the wiki page to the database. 6603 * 6604 * @param pageId the primary key for the new wiki page 6605 * @return the new wiki page 6606 */ 6607 public static com.liferay.portlet.wiki.model.WikiPage create(long pageId) { 6608 return getPersistence().create(pageId); 6609 } 6610 6611 /** 6612 * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners. 6613 * 6614 * @param pageId the primary key of the wiki page 6615 * @return the wiki page that was removed 6616 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 6617 * @throws SystemException if a system exception occurred 6618 */ 6619 public static com.liferay.portlet.wiki.model.WikiPage remove(long pageId) 6620 throws com.liferay.portal.kernel.exception.SystemException, 6621 com.liferay.portlet.wiki.NoSuchPageException { 6622 return getPersistence().remove(pageId); 6623 } 6624 6625 public static com.liferay.portlet.wiki.model.WikiPage updateImpl( 6626 com.liferay.portlet.wiki.model.WikiPage wikiPage) 6627 throws com.liferay.portal.kernel.exception.SystemException { 6628 return getPersistence().updateImpl(wikiPage); 6629 } 6630 6631 /** 6632 * Returns the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 6633 * 6634 * @param pageId the primary key of the wiki page 6635 * @return the wiki page 6636 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 6637 * @throws SystemException if a system exception occurred 6638 */ 6639 public static com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey( 6640 long pageId) 6641 throws com.liferay.portal.kernel.exception.SystemException, 6642 com.liferay.portlet.wiki.NoSuchPageException { 6643 return getPersistence().findByPrimaryKey(pageId); 6644 } 6645 6646 /** 6647 * Returns the wiki page with the primary key or returns <code>null</code> if it could not be found. 6648 * 6649 * @param pageId the primary key of the wiki page 6650 * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found 6651 * @throws SystemException if a system exception occurred 6652 */ 6653 public static com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey( 6654 long pageId) throws com.liferay.portal.kernel.exception.SystemException { 6655 return getPersistence().fetchByPrimaryKey(pageId); 6656 } 6657 6658 /** 6659 * Returns all the wiki pages. 6660 * 6661 * @return the wiki pages 6662 * @throws SystemException if a system exception occurred 6663 */ 6664 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll() 6665 throws com.liferay.portal.kernel.exception.SystemException { 6666 return getPersistence().findAll(); 6667 } 6668 6669 /** 6670 * Returns a range of all the wiki pages. 6671 * 6672 * <p> 6673 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6674 * </p> 6675 * 6676 * @param start the lower bound of the range of wiki pages 6677 * @param end the upper bound of the range of wiki pages (not inclusive) 6678 * @return the range of wiki pages 6679 * @throws SystemException if a system exception occurred 6680 */ 6681 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 6682 int start, int end) 6683 throws com.liferay.portal.kernel.exception.SystemException { 6684 return getPersistence().findAll(start, end); 6685 } 6686 6687 /** 6688 * Returns an ordered range of all the wiki pages. 6689 * 6690 * <p> 6691 * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6692 * </p> 6693 * 6694 * @param start the lower bound of the range of wiki pages 6695 * @param end the upper bound of the range of wiki pages (not inclusive) 6696 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6697 * @return the ordered range of wiki pages 6698 * @throws SystemException if a system exception occurred 6699 */ 6700 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 6701 int start, int end, 6702 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6703 throws com.liferay.portal.kernel.exception.SystemException { 6704 return getPersistence().findAll(start, end, orderByComparator); 6705 } 6706 6707 /** 6708 * Removes all the wiki pages from the database. 6709 * 6710 * @throws SystemException if a system exception occurred 6711 */ 6712 public static void removeAll() 6713 throws com.liferay.portal.kernel.exception.SystemException { 6714 getPersistence().removeAll(); 6715 } 6716 6717 /** 6718 * Returns the number of wiki pages. 6719 * 6720 * @return the number of wiki pages 6721 * @throws SystemException if a system exception occurred 6722 */ 6723 public static int countAll() 6724 throws com.liferay.portal.kernel.exception.SystemException { 6725 return getPersistence().countAll(); 6726 } 6727 6728 public static WikiPagePersistence getPersistence() { 6729 if (_persistence == null) { 6730 _persistence = (WikiPagePersistence)PortalBeanLocatorUtil.locate(WikiPagePersistence.class.getName()); 6731 6732 ReferenceRegistry.registerReference(WikiPageUtil.class, 6733 "_persistence"); 6734 } 6735 6736 return _persistence; 6737 } 6738 6739 /** 6740 * @deprecated As of 6.2.0 6741 */ 6742 public void setPersistence(WikiPagePersistence persistence) { 6743 } 6744 6745 private static WikiPagePersistence _persistence; 6746 }