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