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