001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.asset.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.asset.model.AssetCategory; 022 023 /** 024 * The persistence interface for the asset category service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see AssetCategoryPersistenceImpl 032 * @see AssetCategoryUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface AssetCategoryPersistence extends BasePersistence<AssetCategory> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. Always use {@link AssetCategoryUtil} to access the asset category persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 041 */ 042 043 /** 044 * Returns all the asset categories where uuid = ?. 045 * 046 * @param uuid the uuid 047 * @return the matching asset categories 048 * @throws SystemException if a system exception occurred 049 */ 050 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid( 051 java.lang.String uuid) 052 throws com.liferay.portal.kernel.exception.SystemException; 053 054 /** 055 * Returns a range of all the asset categories where uuid = ?. 056 * 057 * <p> 058 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 059 * </p> 060 * 061 * @param uuid the uuid 062 * @param start the lower bound of the range of asset categories 063 * @param end the upper bound of the range of asset categories (not inclusive) 064 * @return the range of matching asset categories 065 * @throws SystemException if a system exception occurred 066 */ 067 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid( 068 java.lang.String uuid, int start, int end) 069 throws com.liferay.portal.kernel.exception.SystemException; 070 071 /** 072 * Returns an ordered range of all the asset categories where uuid = ?. 073 * 074 * <p> 075 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 076 * </p> 077 * 078 * @param uuid the uuid 079 * @param start the lower bound of the range of asset categories 080 * @param end the upper bound of the range of asset categories (not inclusive) 081 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 082 * @return the ordered range of matching asset categories 083 * @throws SystemException if a system exception occurred 084 */ 085 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid( 086 java.lang.String uuid, int start, int end, 087 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 088 throws com.liferay.portal.kernel.exception.SystemException; 089 090 /** 091 * Returns the first asset category in the ordered set where uuid = ?. 092 * 093 * @param uuid the uuid 094 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 095 * @return the first matching asset category 096 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 097 * @throws SystemException if a system exception occurred 098 */ 099 public com.liferay.portlet.asset.model.AssetCategory findByUuid_First( 100 java.lang.String uuid, 101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 102 throws com.liferay.portal.kernel.exception.SystemException, 103 com.liferay.portlet.asset.NoSuchCategoryException; 104 105 /** 106 * Returns the first asset category in the ordered set where uuid = ?. 107 * 108 * @param uuid the uuid 109 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 110 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 111 * @throws SystemException if a system exception occurred 112 */ 113 public com.liferay.portlet.asset.model.AssetCategory fetchByUuid_First( 114 java.lang.String uuid, 115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns the last asset category in the ordered set where uuid = ?. 120 * 121 * @param uuid the uuid 122 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 123 * @return the last matching asset category 124 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 125 * @throws SystemException if a system exception occurred 126 */ 127 public com.liferay.portlet.asset.model.AssetCategory findByUuid_Last( 128 java.lang.String uuid, 129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 130 throws com.liferay.portal.kernel.exception.SystemException, 131 com.liferay.portlet.asset.NoSuchCategoryException; 132 133 /** 134 * Returns the last asset category in the ordered set where uuid = ?. 135 * 136 * @param uuid the uuid 137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 138 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 139 * @throws SystemException if a system exception occurred 140 */ 141 public com.liferay.portlet.asset.model.AssetCategory fetchByUuid_Last( 142 java.lang.String uuid, 143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 144 throws com.liferay.portal.kernel.exception.SystemException; 145 146 /** 147 * Returns the asset categories before and after the current asset category in the ordered set where uuid = ?. 148 * 149 * @param categoryId the primary key of the current asset category 150 * @param uuid the uuid 151 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 152 * @return the previous, current, and next asset category 153 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 154 * @throws SystemException if a system exception occurred 155 */ 156 public com.liferay.portlet.asset.model.AssetCategory[] findByUuid_PrevAndNext( 157 long categoryId, java.lang.String uuid, 158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 159 throws com.liferay.portal.kernel.exception.SystemException, 160 com.liferay.portlet.asset.NoSuchCategoryException; 161 162 /** 163 * Removes all the asset categories where uuid = ? from the database. 164 * 165 * @param uuid the uuid 166 * @throws SystemException if a system exception occurred 167 */ 168 public void removeByUuid(java.lang.String uuid) 169 throws com.liferay.portal.kernel.exception.SystemException; 170 171 /** 172 * Returns the number of asset categories where uuid = ?. 173 * 174 * @param uuid the uuid 175 * @return the number of matching asset categories 176 * @throws SystemException if a system exception occurred 177 */ 178 public int countByUuid(java.lang.String uuid) 179 throws com.liferay.portal.kernel.exception.SystemException; 180 181 /** 182 * Returns the asset category where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.asset.NoSuchCategoryException} if it could not be found. 183 * 184 * @param uuid the uuid 185 * @param groupId the group ID 186 * @return the matching asset category 187 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 188 * @throws SystemException if a system exception occurred 189 */ 190 public com.liferay.portlet.asset.model.AssetCategory findByUUID_G( 191 java.lang.String uuid, long groupId) 192 throws com.liferay.portal.kernel.exception.SystemException, 193 com.liferay.portlet.asset.NoSuchCategoryException; 194 195 /** 196 * Returns the asset category where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 197 * 198 * @param uuid the uuid 199 * @param groupId the group ID 200 * @return the matching asset category, or <code>null</code> if a matching asset category could not be found 201 * @throws SystemException if a system exception occurred 202 */ 203 public com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G( 204 java.lang.String uuid, long groupId) 205 throws com.liferay.portal.kernel.exception.SystemException; 206 207 /** 208 * Returns the asset category where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 209 * 210 * @param uuid the uuid 211 * @param groupId the group ID 212 * @param retrieveFromCache whether to use the finder cache 213 * @return the matching asset category, or <code>null</code> if a matching asset category could not be found 214 * @throws SystemException if a system exception occurred 215 */ 216 public com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G( 217 java.lang.String uuid, long groupId, boolean retrieveFromCache) 218 throws com.liferay.portal.kernel.exception.SystemException; 219 220 /** 221 * Removes the asset category where uuid = ? and groupId = ? from the database. 222 * 223 * @param uuid the uuid 224 * @param groupId the group ID 225 * @return the asset category that was removed 226 * @throws SystemException if a system exception occurred 227 */ 228 public com.liferay.portlet.asset.model.AssetCategory removeByUUID_G( 229 java.lang.String uuid, long groupId) 230 throws com.liferay.portal.kernel.exception.SystemException, 231 com.liferay.portlet.asset.NoSuchCategoryException; 232 233 /** 234 * Returns the number of asset categories where uuid = ? and groupId = ?. 235 * 236 * @param uuid the uuid 237 * @param groupId the group ID 238 * @return the number of matching asset categories 239 * @throws SystemException if a system exception occurred 240 */ 241 public int countByUUID_G(java.lang.String uuid, long groupId) 242 throws com.liferay.portal.kernel.exception.SystemException; 243 244 /** 245 * Returns all the asset categories where uuid = ? and companyId = ?. 246 * 247 * @param uuid the uuid 248 * @param companyId the company ID 249 * @return the matching asset categories 250 * @throws SystemException if a system exception occurred 251 */ 252 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid_C( 253 java.lang.String uuid, long companyId) 254 throws com.liferay.portal.kernel.exception.SystemException; 255 256 /** 257 * Returns a range of all the asset categories where uuid = ? and companyId = ?. 258 * 259 * <p> 260 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 261 * </p> 262 * 263 * @param uuid the uuid 264 * @param companyId the company ID 265 * @param start the lower bound of the range of asset categories 266 * @param end the upper bound of the range of asset categories (not inclusive) 267 * @return the range of matching asset categories 268 * @throws SystemException if a system exception occurred 269 */ 270 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid_C( 271 java.lang.String uuid, long companyId, int start, int end) 272 throws com.liferay.portal.kernel.exception.SystemException; 273 274 /** 275 * Returns an ordered range of all the asset categories where uuid = ? and companyId = ?. 276 * 277 * <p> 278 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 279 * </p> 280 * 281 * @param uuid the uuid 282 * @param companyId the company ID 283 * @param start the lower bound of the range of asset categories 284 * @param end the upper bound of the range of asset categories (not inclusive) 285 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 286 * @return the ordered range of matching asset categories 287 * @throws SystemException if a system exception occurred 288 */ 289 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid_C( 290 java.lang.String uuid, long companyId, int start, int end, 291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 292 throws com.liferay.portal.kernel.exception.SystemException; 293 294 /** 295 * Returns the first asset category in the ordered set where uuid = ? and companyId = ?. 296 * 297 * @param uuid the uuid 298 * @param companyId the company ID 299 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 300 * @return the first matching asset category 301 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 302 * @throws SystemException if a system exception occurred 303 */ 304 public com.liferay.portlet.asset.model.AssetCategory findByUuid_C_First( 305 java.lang.String uuid, long companyId, 306 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 307 throws com.liferay.portal.kernel.exception.SystemException, 308 com.liferay.portlet.asset.NoSuchCategoryException; 309 310 /** 311 * Returns the first asset category in the ordered set where uuid = ? and companyId = ?. 312 * 313 * @param uuid the uuid 314 * @param companyId the company ID 315 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 316 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 317 * @throws SystemException if a system exception occurred 318 */ 319 public com.liferay.portlet.asset.model.AssetCategory fetchByUuid_C_First( 320 java.lang.String uuid, long companyId, 321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 322 throws com.liferay.portal.kernel.exception.SystemException; 323 324 /** 325 * Returns the last asset category in the ordered set where uuid = ? and companyId = ?. 326 * 327 * @param uuid the uuid 328 * @param companyId the company ID 329 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 330 * @return the last matching asset category 331 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 332 * @throws SystemException if a system exception occurred 333 */ 334 public com.liferay.portlet.asset.model.AssetCategory findByUuid_C_Last( 335 java.lang.String uuid, long companyId, 336 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 337 throws com.liferay.portal.kernel.exception.SystemException, 338 com.liferay.portlet.asset.NoSuchCategoryException; 339 340 /** 341 * Returns the last asset category in the ordered set where uuid = ? and companyId = ?. 342 * 343 * @param uuid the uuid 344 * @param companyId the company ID 345 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 346 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 347 * @throws SystemException if a system exception occurred 348 */ 349 public com.liferay.portlet.asset.model.AssetCategory fetchByUuid_C_Last( 350 java.lang.String uuid, long companyId, 351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 352 throws com.liferay.portal.kernel.exception.SystemException; 353 354 /** 355 * Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?. 356 * 357 * @param categoryId the primary key of the current asset category 358 * @param uuid the uuid 359 * @param companyId the company ID 360 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 361 * @return the previous, current, and next asset category 362 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 363 * @throws SystemException if a system exception occurred 364 */ 365 public com.liferay.portlet.asset.model.AssetCategory[] findByUuid_C_PrevAndNext( 366 long categoryId, java.lang.String uuid, long companyId, 367 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 368 throws com.liferay.portal.kernel.exception.SystemException, 369 com.liferay.portlet.asset.NoSuchCategoryException; 370 371 /** 372 * Removes all the asset categories where uuid = ? and companyId = ? from the database. 373 * 374 * @param uuid the uuid 375 * @param companyId the company ID 376 * @throws SystemException if a system exception occurred 377 */ 378 public void removeByUuid_C(java.lang.String uuid, long companyId) 379 throws com.liferay.portal.kernel.exception.SystemException; 380 381 /** 382 * Returns the number of asset categories where uuid = ? and companyId = ?. 383 * 384 * @param uuid the uuid 385 * @param companyId the company ID 386 * @return the number of matching asset categories 387 * @throws SystemException if a system exception occurred 388 */ 389 public int countByUuid_C(java.lang.String uuid, long companyId) 390 throws com.liferay.portal.kernel.exception.SystemException; 391 392 /** 393 * Returns all the asset categories where groupId = ?. 394 * 395 * @param groupId the group ID 396 * @return the matching asset categories 397 * @throws SystemException if a system exception occurred 398 */ 399 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId( 400 long groupId) 401 throws com.liferay.portal.kernel.exception.SystemException; 402 403 /** 404 * Returns a range of all the asset categories where groupId = ?. 405 * 406 * <p> 407 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 408 * </p> 409 * 410 * @param groupId the group ID 411 * @param start the lower bound of the range of asset categories 412 * @param end the upper bound of the range of asset categories (not inclusive) 413 * @return the range of matching asset categories 414 * @throws SystemException if a system exception occurred 415 */ 416 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId( 417 long groupId, int start, int end) 418 throws com.liferay.portal.kernel.exception.SystemException; 419 420 /** 421 * Returns an ordered range of all the asset categories where groupId = ?. 422 * 423 * <p> 424 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 425 * </p> 426 * 427 * @param groupId the group ID 428 * @param start the lower bound of the range of asset categories 429 * @param end the upper bound of the range of asset categories (not inclusive) 430 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 431 * @return the ordered range of matching asset categories 432 * @throws SystemException if a system exception occurred 433 */ 434 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId( 435 long groupId, int start, int end, 436 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 437 throws com.liferay.portal.kernel.exception.SystemException; 438 439 /** 440 * Returns the first asset category in the ordered set where groupId = ?. 441 * 442 * @param groupId the group ID 443 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 444 * @return the first matching asset category 445 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 446 * @throws SystemException if a system exception occurred 447 */ 448 public com.liferay.portlet.asset.model.AssetCategory findByGroupId_First( 449 long groupId, 450 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 451 throws com.liferay.portal.kernel.exception.SystemException, 452 com.liferay.portlet.asset.NoSuchCategoryException; 453 454 /** 455 * Returns the first asset category in the ordered set where groupId = ?. 456 * 457 * @param groupId the group ID 458 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 459 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 460 * @throws SystemException if a system exception occurred 461 */ 462 public com.liferay.portlet.asset.model.AssetCategory fetchByGroupId_First( 463 long groupId, 464 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 465 throws com.liferay.portal.kernel.exception.SystemException; 466 467 /** 468 * Returns the last asset category in the ordered set where groupId = ?. 469 * 470 * @param groupId the group ID 471 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 472 * @return the last matching asset category 473 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 474 * @throws SystemException if a system exception occurred 475 */ 476 public com.liferay.portlet.asset.model.AssetCategory findByGroupId_Last( 477 long groupId, 478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 479 throws com.liferay.portal.kernel.exception.SystemException, 480 com.liferay.portlet.asset.NoSuchCategoryException; 481 482 /** 483 * Returns the last asset category in the ordered set where groupId = ?. 484 * 485 * @param groupId the group ID 486 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 487 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 488 * @throws SystemException if a system exception occurred 489 */ 490 public com.liferay.portlet.asset.model.AssetCategory fetchByGroupId_Last( 491 long groupId, 492 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 493 throws com.liferay.portal.kernel.exception.SystemException; 494 495 /** 496 * Returns the asset categories before and after the current asset category in the ordered set where groupId = ?. 497 * 498 * @param categoryId the primary key of the current asset category 499 * @param groupId the group ID 500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 501 * @return the previous, current, and next asset category 502 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 503 * @throws SystemException if a system exception occurred 504 */ 505 public com.liferay.portlet.asset.model.AssetCategory[] findByGroupId_PrevAndNext( 506 long categoryId, long groupId, 507 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 508 throws com.liferay.portal.kernel.exception.SystemException, 509 com.liferay.portlet.asset.NoSuchCategoryException; 510 511 /** 512 * Returns all the asset categories that the user has permission to view where groupId = ?. 513 * 514 * @param groupId the group ID 515 * @return the matching asset categories that the user has permission to view 516 * @throws SystemException if a system exception occurred 517 */ 518 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId( 519 long groupId) 520 throws com.liferay.portal.kernel.exception.SystemException; 521 522 /** 523 * Returns a range of all the asset categories that the user has permission to view where groupId = ?. 524 * 525 * <p> 526 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 527 * </p> 528 * 529 * @param groupId the group ID 530 * @param start the lower bound of the range of asset categories 531 * @param end the upper bound of the range of asset categories (not inclusive) 532 * @return the range of matching asset categories that the user has permission to view 533 * @throws SystemException if a system exception occurred 534 */ 535 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId( 536 long groupId, int start, int end) 537 throws com.liferay.portal.kernel.exception.SystemException; 538 539 /** 540 * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?. 541 * 542 * <p> 543 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 544 * </p> 545 * 546 * @param groupId the group ID 547 * @param start the lower bound of the range of asset categories 548 * @param end the upper bound of the range of asset categories (not inclusive) 549 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 550 * @return the ordered range of matching asset categories that the user has permission to view 551 * @throws SystemException if a system exception occurred 552 */ 553 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId( 554 long groupId, int start, int end, 555 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 556 throws com.liferay.portal.kernel.exception.SystemException; 557 558 /** 559 * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ?. 560 * 561 * @param categoryId the primary key of the current asset category 562 * @param groupId the group ID 563 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 564 * @return the previous, current, and next asset category 565 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 566 * @throws SystemException if a system exception occurred 567 */ 568 public com.liferay.portlet.asset.model.AssetCategory[] filterFindByGroupId_PrevAndNext( 569 long categoryId, long groupId, 570 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 571 throws com.liferay.portal.kernel.exception.SystemException, 572 com.liferay.portlet.asset.NoSuchCategoryException; 573 574 /** 575 * Removes all the asset categories where groupId = ? from the database. 576 * 577 * @param groupId the group ID 578 * @throws SystemException if a system exception occurred 579 */ 580 public void removeByGroupId(long groupId) 581 throws com.liferay.portal.kernel.exception.SystemException; 582 583 /** 584 * Returns the number of asset categories where groupId = ?. 585 * 586 * @param groupId the group ID 587 * @return the number of matching asset categories 588 * @throws SystemException if a system exception occurred 589 */ 590 public int countByGroupId(long groupId) 591 throws com.liferay.portal.kernel.exception.SystemException; 592 593 /** 594 * Returns the number of asset categories that the user has permission to view where groupId = ?. 595 * 596 * @param groupId the group ID 597 * @return the number of matching asset categories that the user has permission to view 598 * @throws SystemException if a system exception occurred 599 */ 600 public int filterCountByGroupId(long groupId) 601 throws com.liferay.portal.kernel.exception.SystemException; 602 603 /** 604 * Returns all the asset categories where parentCategoryId = ?. 605 * 606 * @param parentCategoryId the parent category ID 607 * @return the matching asset categories 608 * @throws SystemException if a system exception occurred 609 */ 610 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId( 611 long parentCategoryId) 612 throws com.liferay.portal.kernel.exception.SystemException; 613 614 /** 615 * Returns a range of all the asset categories where parentCategoryId = ?. 616 * 617 * <p> 618 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 619 * </p> 620 * 621 * @param parentCategoryId the parent category ID 622 * @param start the lower bound of the range of asset categories 623 * @param end the upper bound of the range of asset categories (not inclusive) 624 * @return the range of matching asset categories 625 * @throws SystemException if a system exception occurred 626 */ 627 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId( 628 long parentCategoryId, int start, int end) 629 throws com.liferay.portal.kernel.exception.SystemException; 630 631 /** 632 * Returns an ordered range of all the asset categories where parentCategoryId = ?. 633 * 634 * <p> 635 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 636 * </p> 637 * 638 * @param parentCategoryId the parent category ID 639 * @param start the lower bound of the range of asset categories 640 * @param end the upper bound of the range of asset categories (not inclusive) 641 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 642 * @return the ordered range of matching asset categories 643 * @throws SystemException if a system exception occurred 644 */ 645 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId( 646 long parentCategoryId, int start, int end, 647 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 648 throws com.liferay.portal.kernel.exception.SystemException; 649 650 /** 651 * Returns the first asset category in the ordered set where parentCategoryId = ?. 652 * 653 * @param parentCategoryId the parent category ID 654 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 655 * @return the first matching asset category 656 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 657 * @throws SystemException if a system exception occurred 658 */ 659 public com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_First( 660 long parentCategoryId, 661 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 662 throws com.liferay.portal.kernel.exception.SystemException, 663 com.liferay.portlet.asset.NoSuchCategoryException; 664 665 /** 666 * Returns the first asset category in the ordered set where parentCategoryId = ?. 667 * 668 * @param parentCategoryId the parent category ID 669 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 670 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 671 * @throws SystemException if a system exception occurred 672 */ 673 public com.liferay.portlet.asset.model.AssetCategory fetchByParentCategoryId_First( 674 long parentCategoryId, 675 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 676 throws com.liferay.portal.kernel.exception.SystemException; 677 678 /** 679 * Returns the last asset category in the ordered set where parentCategoryId = ?. 680 * 681 * @param parentCategoryId the parent category ID 682 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 683 * @return the last matching asset category 684 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 685 * @throws SystemException if a system exception occurred 686 */ 687 public com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_Last( 688 long parentCategoryId, 689 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 690 throws com.liferay.portal.kernel.exception.SystemException, 691 com.liferay.portlet.asset.NoSuchCategoryException; 692 693 /** 694 * Returns the last asset category in the ordered set where parentCategoryId = ?. 695 * 696 * @param parentCategoryId the parent category ID 697 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 698 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 699 * @throws SystemException if a system exception occurred 700 */ 701 public com.liferay.portlet.asset.model.AssetCategory fetchByParentCategoryId_Last( 702 long parentCategoryId, 703 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 704 throws com.liferay.portal.kernel.exception.SystemException; 705 706 /** 707 * Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?. 708 * 709 * @param categoryId the primary key of the current asset category 710 * @param parentCategoryId the parent category ID 711 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 712 * @return the previous, current, and next asset category 713 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 714 * @throws SystemException if a system exception occurred 715 */ 716 public com.liferay.portlet.asset.model.AssetCategory[] findByParentCategoryId_PrevAndNext( 717 long categoryId, long parentCategoryId, 718 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 719 throws com.liferay.portal.kernel.exception.SystemException, 720 com.liferay.portlet.asset.NoSuchCategoryException; 721 722 /** 723 * Removes all the asset categories where parentCategoryId = ? from the database. 724 * 725 * @param parentCategoryId the parent category ID 726 * @throws SystemException if a system exception occurred 727 */ 728 public void removeByParentCategoryId(long parentCategoryId) 729 throws com.liferay.portal.kernel.exception.SystemException; 730 731 /** 732 * Returns the number of asset categories where parentCategoryId = ?. 733 * 734 * @param parentCategoryId the parent category ID 735 * @return the number of matching asset categories 736 * @throws SystemException if a system exception occurred 737 */ 738 public int countByParentCategoryId(long parentCategoryId) 739 throws com.liferay.portal.kernel.exception.SystemException; 740 741 /** 742 * Returns all the asset categories where vocabularyId = ?. 743 * 744 * @param vocabularyId the vocabulary ID 745 * @return the matching asset categories 746 * @throws SystemException if a system exception occurred 747 */ 748 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId( 749 long vocabularyId) 750 throws com.liferay.portal.kernel.exception.SystemException; 751 752 /** 753 * Returns a range of all the asset categories where vocabularyId = ?. 754 * 755 * <p> 756 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 757 * </p> 758 * 759 * @param vocabularyId the vocabulary ID 760 * @param start the lower bound of the range of asset categories 761 * @param end the upper bound of the range of asset categories (not inclusive) 762 * @return the range of matching asset categories 763 * @throws SystemException if a system exception occurred 764 */ 765 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId( 766 long vocabularyId, int start, int end) 767 throws com.liferay.portal.kernel.exception.SystemException; 768 769 /** 770 * Returns an ordered range of all the asset categories where vocabularyId = ?. 771 * 772 * <p> 773 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 774 * </p> 775 * 776 * @param vocabularyId the vocabulary ID 777 * @param start the lower bound of the range of asset categories 778 * @param end the upper bound of the range of asset categories (not inclusive) 779 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 780 * @return the ordered range of matching asset categories 781 * @throws SystemException if a system exception occurred 782 */ 783 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId( 784 long vocabularyId, int start, int end, 785 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 786 throws com.liferay.portal.kernel.exception.SystemException; 787 788 /** 789 * Returns the first asset category in the ordered set where vocabularyId = ?. 790 * 791 * @param vocabularyId the vocabulary ID 792 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 793 * @return the first matching asset category 794 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 795 * @throws SystemException if a system exception occurred 796 */ 797 public com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_First( 798 long vocabularyId, 799 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 800 throws com.liferay.portal.kernel.exception.SystemException, 801 com.liferay.portlet.asset.NoSuchCategoryException; 802 803 /** 804 * Returns the first asset category in the ordered set where vocabularyId = ?. 805 * 806 * @param vocabularyId the vocabulary ID 807 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 808 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 809 * @throws SystemException if a system exception occurred 810 */ 811 public com.liferay.portlet.asset.model.AssetCategory fetchByVocabularyId_First( 812 long vocabularyId, 813 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 814 throws com.liferay.portal.kernel.exception.SystemException; 815 816 /** 817 * Returns the last asset category in the ordered set where vocabularyId = ?. 818 * 819 * @param vocabularyId the vocabulary ID 820 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 821 * @return the last matching asset category 822 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 823 * @throws SystemException if a system exception occurred 824 */ 825 public com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_Last( 826 long vocabularyId, 827 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 828 throws com.liferay.portal.kernel.exception.SystemException, 829 com.liferay.portlet.asset.NoSuchCategoryException; 830 831 /** 832 * Returns the last asset category in the ordered set where vocabularyId = ?. 833 * 834 * @param vocabularyId the vocabulary ID 835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 836 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 837 * @throws SystemException if a system exception occurred 838 */ 839 public com.liferay.portlet.asset.model.AssetCategory fetchByVocabularyId_Last( 840 long vocabularyId, 841 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 842 throws com.liferay.portal.kernel.exception.SystemException; 843 844 /** 845 * Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?. 846 * 847 * @param categoryId the primary key of the current asset category 848 * @param vocabularyId the vocabulary ID 849 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 850 * @return the previous, current, and next asset category 851 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 852 * @throws SystemException if a system exception occurred 853 */ 854 public com.liferay.portlet.asset.model.AssetCategory[] findByVocabularyId_PrevAndNext( 855 long categoryId, long vocabularyId, 856 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 857 throws com.liferay.portal.kernel.exception.SystemException, 858 com.liferay.portlet.asset.NoSuchCategoryException; 859 860 /** 861 * Removes all the asset categories where vocabularyId = ? from the database. 862 * 863 * @param vocabularyId the vocabulary ID 864 * @throws SystemException if a system exception occurred 865 */ 866 public void removeByVocabularyId(long vocabularyId) 867 throws com.liferay.portal.kernel.exception.SystemException; 868 869 /** 870 * Returns the number of asset categories where vocabularyId = ?. 871 * 872 * @param vocabularyId the vocabulary ID 873 * @return the number of matching asset categories 874 * @throws SystemException if a system exception occurred 875 */ 876 public int countByVocabularyId(long vocabularyId) 877 throws com.liferay.portal.kernel.exception.SystemException; 878 879 /** 880 * Returns all the asset categories where groupId = ? and vocabularyId = ?. 881 * 882 * @param groupId the group ID 883 * @param vocabularyId the vocabulary ID 884 * @return the matching asset categories 885 * @throws SystemException if a system exception occurred 886 */ 887 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V( 888 long groupId, long vocabularyId) 889 throws com.liferay.portal.kernel.exception.SystemException; 890 891 /** 892 * Returns a range of all the asset categories where groupId = ? and vocabularyId = ?. 893 * 894 * <p> 895 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 896 * </p> 897 * 898 * @param groupId the group ID 899 * @param vocabularyId the vocabulary ID 900 * @param start the lower bound of the range of asset categories 901 * @param end the upper bound of the range of asset categories (not inclusive) 902 * @return the range of matching asset categories 903 * @throws SystemException if a system exception occurred 904 */ 905 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V( 906 long groupId, long vocabularyId, int start, int end) 907 throws com.liferay.portal.kernel.exception.SystemException; 908 909 /** 910 * Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?. 911 * 912 * <p> 913 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 914 * </p> 915 * 916 * @param groupId the group ID 917 * @param vocabularyId the vocabulary ID 918 * @param start the lower bound of the range of asset categories 919 * @param end the upper bound of the range of asset categories (not inclusive) 920 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 921 * @return the ordered range of matching asset categories 922 * @throws SystemException if a system exception occurred 923 */ 924 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V( 925 long groupId, long vocabularyId, int start, int end, 926 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 927 throws com.liferay.portal.kernel.exception.SystemException; 928 929 /** 930 * Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?. 931 * 932 * @param groupId the group ID 933 * @param vocabularyId the vocabulary ID 934 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 935 * @return the first matching asset category 936 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 937 * @throws SystemException if a system exception occurred 938 */ 939 public com.liferay.portlet.asset.model.AssetCategory findByG_V_First( 940 long groupId, long vocabularyId, 941 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 942 throws com.liferay.portal.kernel.exception.SystemException, 943 com.liferay.portlet.asset.NoSuchCategoryException; 944 945 /** 946 * Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?. 947 * 948 * @param groupId the group ID 949 * @param vocabularyId the vocabulary ID 950 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 951 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 952 * @throws SystemException if a system exception occurred 953 */ 954 public com.liferay.portlet.asset.model.AssetCategory fetchByG_V_First( 955 long groupId, long vocabularyId, 956 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 957 throws com.liferay.portal.kernel.exception.SystemException; 958 959 /** 960 * Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?. 961 * 962 * @param groupId the group ID 963 * @param vocabularyId the vocabulary ID 964 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 965 * @return the last matching asset category 966 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 967 * @throws SystemException if a system exception occurred 968 */ 969 public com.liferay.portlet.asset.model.AssetCategory findByG_V_Last( 970 long groupId, long vocabularyId, 971 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 972 throws com.liferay.portal.kernel.exception.SystemException, 973 com.liferay.portlet.asset.NoSuchCategoryException; 974 975 /** 976 * Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?. 977 * 978 * @param groupId the group ID 979 * @param vocabularyId the vocabulary ID 980 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 981 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 982 * @throws SystemException if a system exception occurred 983 */ 984 public com.liferay.portlet.asset.model.AssetCategory fetchByG_V_Last( 985 long groupId, long vocabularyId, 986 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 987 throws com.liferay.portal.kernel.exception.SystemException; 988 989 /** 990 * Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?. 991 * 992 * @param categoryId the primary key of the current asset category 993 * @param groupId the group ID 994 * @param vocabularyId the vocabulary ID 995 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 996 * @return the previous, current, and next asset category 997 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 998 * @throws SystemException if a system exception occurred 999 */ 1000 public com.liferay.portlet.asset.model.AssetCategory[] findByG_V_PrevAndNext( 1001 long categoryId, long groupId, long vocabularyId, 1002 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1003 throws com.liferay.portal.kernel.exception.SystemException, 1004 com.liferay.portlet.asset.NoSuchCategoryException; 1005 1006 /** 1007 * Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. 1008 * 1009 * @param groupId the group ID 1010 * @param vocabularyId the vocabulary ID 1011 * @return the matching asset categories that the user has permission to view 1012 * @throws SystemException if a system exception occurred 1013 */ 1014 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V( 1015 long groupId, long vocabularyId) 1016 throws com.liferay.portal.kernel.exception.SystemException; 1017 1018 /** 1019 * Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1023 * </p> 1024 * 1025 * @param groupId the group ID 1026 * @param vocabularyId the vocabulary ID 1027 * @param start the lower bound of the range of asset categories 1028 * @param end the upper bound of the range of asset categories (not inclusive) 1029 * @return the range of matching asset categories that the user has permission to view 1030 * @throws SystemException if a system exception occurred 1031 */ 1032 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V( 1033 long groupId, long vocabularyId, int start, int end) 1034 throws com.liferay.portal.kernel.exception.SystemException; 1035 1036 /** 1037 * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1041 * </p> 1042 * 1043 * @param groupId the group ID 1044 * @param vocabularyId the vocabulary ID 1045 * @param start the lower bound of the range of asset categories 1046 * @param end the upper bound of the range of asset categories (not inclusive) 1047 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1048 * @return the ordered range of matching asset categories that the user has permission to view 1049 * @throws SystemException if a system exception occurred 1050 */ 1051 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V( 1052 long groupId, long vocabularyId, int start, int end, 1053 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1054 throws com.liferay.portal.kernel.exception.SystemException; 1055 1056 /** 1057 * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. 1058 * 1059 * @param categoryId the primary key of the current asset category 1060 * @param groupId the group ID 1061 * @param vocabularyId the vocabulary ID 1062 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1063 * @return the previous, current, and next asset category 1064 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 1065 * @throws SystemException if a system exception occurred 1066 */ 1067 public com.liferay.portlet.asset.model.AssetCategory[] filterFindByG_V_PrevAndNext( 1068 long categoryId, long groupId, long vocabularyId, 1069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1070 throws com.liferay.portal.kernel.exception.SystemException, 1071 com.liferay.portlet.asset.NoSuchCategoryException; 1072 1073 /** 1074 * Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?. 1075 * 1076 * @param groupId the group ID 1077 * @param vocabularyIds the vocabulary IDs 1078 * @return the matching asset categories that the user has permission to view 1079 * @throws SystemException if a system exception occurred 1080 */ 1081 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V( 1082 long groupId, long[] vocabularyIds) 1083 throws com.liferay.portal.kernel.exception.SystemException; 1084 1085 /** 1086 * Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?. 1087 * 1088 * <p> 1089 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1090 * </p> 1091 * 1092 * @param groupId the group ID 1093 * @param vocabularyIds the vocabulary IDs 1094 * @param start the lower bound of the range of asset categories 1095 * @param end the upper bound of the range of asset categories (not inclusive) 1096 * @return the range of matching asset categories that the user has permission to view 1097 * @throws SystemException if a system exception occurred 1098 */ 1099 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V( 1100 long groupId, long[] vocabularyIds, int start, int end) 1101 throws com.liferay.portal.kernel.exception.SystemException; 1102 1103 /** 1104 * Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?. 1105 * 1106 * <p> 1107 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1108 * </p> 1109 * 1110 * @param groupId the group ID 1111 * @param vocabularyIds the vocabulary IDs 1112 * @param start the lower bound of the range of asset categories 1113 * @param end the upper bound of the range of asset categories (not inclusive) 1114 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1115 * @return the ordered range of matching asset categories that the user has permission to view 1116 * @throws SystemException if a system exception occurred 1117 */ 1118 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V( 1119 long groupId, long[] vocabularyIds, int start, int end, 1120 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1121 throws com.liferay.portal.kernel.exception.SystemException; 1122 1123 /** 1124 * Returns all the asset categories where groupId = ? and vocabularyId = any ?. 1125 * 1126 * <p> 1127 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1128 * </p> 1129 * 1130 * @param groupId the group ID 1131 * @param vocabularyIds the vocabulary IDs 1132 * @return the matching asset categories 1133 * @throws SystemException if a system exception occurred 1134 */ 1135 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V( 1136 long groupId, long[] vocabularyIds) 1137 throws com.liferay.portal.kernel.exception.SystemException; 1138 1139 /** 1140 * Returns a range of all the asset categories where groupId = ? and vocabularyId = any ?. 1141 * 1142 * <p> 1143 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1144 * </p> 1145 * 1146 * @param groupId the group ID 1147 * @param vocabularyIds the vocabulary IDs 1148 * @param start the lower bound of the range of asset categories 1149 * @param end the upper bound of the range of asset categories (not inclusive) 1150 * @return the range of matching asset categories 1151 * @throws SystemException if a system exception occurred 1152 */ 1153 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V( 1154 long groupId, long[] vocabularyIds, int start, int end) 1155 throws com.liferay.portal.kernel.exception.SystemException; 1156 1157 /** 1158 * Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = any ?. 1159 * 1160 * <p> 1161 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1162 * </p> 1163 * 1164 * @param groupId the group ID 1165 * @param vocabularyIds the vocabulary IDs 1166 * @param start the lower bound of the range of asset categories 1167 * @param end the upper bound of the range of asset categories (not inclusive) 1168 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1169 * @return the ordered range of matching asset categories 1170 * @throws SystemException if a system exception occurred 1171 */ 1172 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V( 1173 long groupId, long[] vocabularyIds, int start, int end, 1174 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1175 throws com.liferay.portal.kernel.exception.SystemException; 1176 1177 /** 1178 * Removes all the asset categories where groupId = ? and vocabularyId = ? from the database. 1179 * 1180 * @param groupId the group ID 1181 * @param vocabularyId the vocabulary ID 1182 * @throws SystemException if a system exception occurred 1183 */ 1184 public void removeByG_V(long groupId, long vocabularyId) 1185 throws com.liferay.portal.kernel.exception.SystemException; 1186 1187 /** 1188 * Returns the number of asset categories where groupId = ? and vocabularyId = ?. 1189 * 1190 * @param groupId the group ID 1191 * @param vocabularyId the vocabulary ID 1192 * @return the number of matching asset categories 1193 * @throws SystemException if a system exception occurred 1194 */ 1195 public int countByG_V(long groupId, long vocabularyId) 1196 throws com.liferay.portal.kernel.exception.SystemException; 1197 1198 /** 1199 * Returns the number of asset categories where groupId = ? and vocabularyId = any ?. 1200 * 1201 * @param groupId the group ID 1202 * @param vocabularyIds the vocabulary IDs 1203 * @return the number of matching asset categories 1204 * @throws SystemException if a system exception occurred 1205 */ 1206 public int countByG_V(long groupId, long[] vocabularyIds) 1207 throws com.liferay.portal.kernel.exception.SystemException; 1208 1209 /** 1210 * Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. 1211 * 1212 * @param groupId the group ID 1213 * @param vocabularyId the vocabulary ID 1214 * @return the number of matching asset categories that the user has permission to view 1215 * @throws SystemException if a system exception occurred 1216 */ 1217 public int filterCountByG_V(long groupId, long vocabularyId) 1218 throws com.liferay.portal.kernel.exception.SystemException; 1219 1220 /** 1221 * Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?. 1222 * 1223 * @param groupId the group ID 1224 * @param vocabularyIds the vocabulary IDs 1225 * @return the number of matching asset categories that the user has permission to view 1226 * @throws SystemException if a system exception occurred 1227 */ 1228 public int filterCountByG_V(long groupId, long[] vocabularyIds) 1229 throws com.liferay.portal.kernel.exception.SystemException; 1230 1231 /** 1232 * Returns all the asset categories where parentCategoryId = ? and name = ?. 1233 * 1234 * @param parentCategoryId the parent category ID 1235 * @param name the name 1236 * @return the matching asset categories 1237 * @throws SystemException if a system exception occurred 1238 */ 1239 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N( 1240 long parentCategoryId, java.lang.String name) 1241 throws com.liferay.portal.kernel.exception.SystemException; 1242 1243 /** 1244 * Returns a range of all the asset categories where parentCategoryId = ? and name = ?. 1245 * 1246 * <p> 1247 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1248 * </p> 1249 * 1250 * @param parentCategoryId the parent category ID 1251 * @param name the name 1252 * @param start the lower bound of the range of asset categories 1253 * @param end the upper bound of the range of asset categories (not inclusive) 1254 * @return the range of matching asset categories 1255 * @throws SystemException if a system exception occurred 1256 */ 1257 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N( 1258 long parentCategoryId, java.lang.String name, int start, int end) 1259 throws com.liferay.portal.kernel.exception.SystemException; 1260 1261 /** 1262 * Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?. 1263 * 1264 * <p> 1265 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1266 * </p> 1267 * 1268 * @param parentCategoryId the parent category ID 1269 * @param name the name 1270 * @param start the lower bound of the range of asset categories 1271 * @param end the upper bound of the range of asset categories (not inclusive) 1272 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1273 * @return the ordered range of matching asset categories 1274 * @throws SystemException if a system exception occurred 1275 */ 1276 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N( 1277 long parentCategoryId, java.lang.String name, int start, int end, 1278 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1279 throws com.liferay.portal.kernel.exception.SystemException; 1280 1281 /** 1282 * Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?. 1283 * 1284 * @param parentCategoryId the parent category ID 1285 * @param name the name 1286 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1287 * @return the first matching asset category 1288 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 1289 * @throws SystemException if a system exception occurred 1290 */ 1291 public com.liferay.portlet.asset.model.AssetCategory findByP_N_First( 1292 long parentCategoryId, java.lang.String name, 1293 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1294 throws com.liferay.portal.kernel.exception.SystemException, 1295 com.liferay.portlet.asset.NoSuchCategoryException; 1296 1297 /** 1298 * Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?. 1299 * 1300 * @param parentCategoryId the parent category ID 1301 * @param name the name 1302 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1303 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 1304 * @throws SystemException if a system exception occurred 1305 */ 1306 public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_First( 1307 long parentCategoryId, java.lang.String name, 1308 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1309 throws com.liferay.portal.kernel.exception.SystemException; 1310 1311 /** 1312 * Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?. 1313 * 1314 * @param parentCategoryId the parent category ID 1315 * @param name the name 1316 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1317 * @return the last matching asset category 1318 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 1319 * @throws SystemException if a system exception occurred 1320 */ 1321 public com.liferay.portlet.asset.model.AssetCategory findByP_N_Last( 1322 long parentCategoryId, java.lang.String name, 1323 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1324 throws com.liferay.portal.kernel.exception.SystemException, 1325 com.liferay.portlet.asset.NoSuchCategoryException; 1326 1327 /** 1328 * Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?. 1329 * 1330 * @param parentCategoryId the parent category ID 1331 * @param name the name 1332 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1333 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 1334 * @throws SystemException if a system exception occurred 1335 */ 1336 public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_Last( 1337 long parentCategoryId, java.lang.String name, 1338 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1339 throws com.liferay.portal.kernel.exception.SystemException; 1340 1341 /** 1342 * Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?. 1343 * 1344 * @param categoryId the primary key of the current asset category 1345 * @param parentCategoryId the parent category ID 1346 * @param name the name 1347 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1348 * @return the previous, current, and next asset category 1349 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 1350 * @throws SystemException if a system exception occurred 1351 */ 1352 public com.liferay.portlet.asset.model.AssetCategory[] findByP_N_PrevAndNext( 1353 long categoryId, long parentCategoryId, java.lang.String name, 1354 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1355 throws com.liferay.portal.kernel.exception.SystemException, 1356 com.liferay.portlet.asset.NoSuchCategoryException; 1357 1358 /** 1359 * Removes all the asset categories where parentCategoryId = ? and name = ? from the database. 1360 * 1361 * @param parentCategoryId the parent category ID 1362 * @param name the name 1363 * @throws SystemException if a system exception occurred 1364 */ 1365 public void removeByP_N(long parentCategoryId, java.lang.String name) 1366 throws com.liferay.portal.kernel.exception.SystemException; 1367 1368 /** 1369 * Returns the number of asset categories where parentCategoryId = ? and name = ?. 1370 * 1371 * @param parentCategoryId the parent category ID 1372 * @param name the name 1373 * @return the number of matching asset categories 1374 * @throws SystemException if a system exception occurred 1375 */ 1376 public int countByP_N(long parentCategoryId, java.lang.String name) 1377 throws com.liferay.portal.kernel.exception.SystemException; 1378 1379 /** 1380 * Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?. 1381 * 1382 * @param parentCategoryId the parent category ID 1383 * @param vocabularyId the vocabulary ID 1384 * @return the matching asset categories 1385 * @throws SystemException if a system exception occurred 1386 */ 1387 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V( 1388 long parentCategoryId, long vocabularyId) 1389 throws com.liferay.portal.kernel.exception.SystemException; 1390 1391 /** 1392 * Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. 1393 * 1394 * <p> 1395 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1396 * </p> 1397 * 1398 * @param parentCategoryId the parent category ID 1399 * @param vocabularyId the vocabulary ID 1400 * @param start the lower bound of the range of asset categories 1401 * @param end the upper bound of the range of asset categories (not inclusive) 1402 * @return the range of matching asset categories 1403 * @throws SystemException if a system exception occurred 1404 */ 1405 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V( 1406 long parentCategoryId, long vocabularyId, int start, int end) 1407 throws com.liferay.portal.kernel.exception.SystemException; 1408 1409 /** 1410 * Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. 1411 * 1412 * <p> 1413 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1414 * </p> 1415 * 1416 * @param parentCategoryId the parent category ID 1417 * @param vocabularyId the vocabulary ID 1418 * @param start the lower bound of the range of asset categories 1419 * @param end the upper bound of the range of asset categories (not inclusive) 1420 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1421 * @return the ordered range of matching asset categories 1422 * @throws SystemException if a system exception occurred 1423 */ 1424 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V( 1425 long parentCategoryId, long vocabularyId, int start, int end, 1426 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1427 throws com.liferay.portal.kernel.exception.SystemException; 1428 1429 /** 1430 * Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. 1431 * 1432 * @param parentCategoryId the parent category ID 1433 * @param vocabularyId the vocabulary ID 1434 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1435 * @return the first matching asset category 1436 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 1437 * @throws SystemException if a system exception occurred 1438 */ 1439 public com.liferay.portlet.asset.model.AssetCategory findByP_V_First( 1440 long parentCategoryId, long vocabularyId, 1441 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1442 throws com.liferay.portal.kernel.exception.SystemException, 1443 com.liferay.portlet.asset.NoSuchCategoryException; 1444 1445 /** 1446 * Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. 1447 * 1448 * @param parentCategoryId the parent category ID 1449 * @param vocabularyId the vocabulary ID 1450 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1451 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 1452 * @throws SystemException if a system exception occurred 1453 */ 1454 public com.liferay.portlet.asset.model.AssetCategory fetchByP_V_First( 1455 long parentCategoryId, long vocabularyId, 1456 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1457 throws com.liferay.portal.kernel.exception.SystemException; 1458 1459 /** 1460 * Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. 1461 * 1462 * @param parentCategoryId the parent category ID 1463 * @param vocabularyId the vocabulary ID 1464 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1465 * @return the last matching asset category 1466 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 1467 * @throws SystemException if a system exception occurred 1468 */ 1469 public com.liferay.portlet.asset.model.AssetCategory findByP_V_Last( 1470 long parentCategoryId, long vocabularyId, 1471 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1472 throws com.liferay.portal.kernel.exception.SystemException, 1473 com.liferay.portlet.asset.NoSuchCategoryException; 1474 1475 /** 1476 * Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. 1477 * 1478 * @param parentCategoryId the parent category ID 1479 * @param vocabularyId the vocabulary ID 1480 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1481 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 1482 * @throws SystemException if a system exception occurred 1483 */ 1484 public com.liferay.portlet.asset.model.AssetCategory fetchByP_V_Last( 1485 long parentCategoryId, long vocabularyId, 1486 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1487 throws com.liferay.portal.kernel.exception.SystemException; 1488 1489 /** 1490 * Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. 1491 * 1492 * @param categoryId the primary key of the current asset category 1493 * @param parentCategoryId the parent category ID 1494 * @param vocabularyId the vocabulary ID 1495 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1496 * @return the previous, current, and next asset category 1497 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 1498 * @throws SystemException if a system exception occurred 1499 */ 1500 public com.liferay.portlet.asset.model.AssetCategory[] findByP_V_PrevAndNext( 1501 long categoryId, long parentCategoryId, long vocabularyId, 1502 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1503 throws com.liferay.portal.kernel.exception.SystemException, 1504 com.liferay.portlet.asset.NoSuchCategoryException; 1505 1506 /** 1507 * Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database. 1508 * 1509 * @param parentCategoryId the parent category ID 1510 * @param vocabularyId the vocabulary ID 1511 * @throws SystemException if a system exception occurred 1512 */ 1513 public void removeByP_V(long parentCategoryId, long vocabularyId) 1514 throws com.liferay.portal.kernel.exception.SystemException; 1515 1516 /** 1517 * Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?. 1518 * 1519 * @param parentCategoryId the parent category ID 1520 * @param vocabularyId the vocabulary ID 1521 * @return the number of matching asset categories 1522 * @throws SystemException if a system exception occurred 1523 */ 1524 public int countByP_V(long parentCategoryId, long vocabularyId) 1525 throws com.liferay.portal.kernel.exception.SystemException; 1526 1527 /** 1528 * Returns all the asset categories where name = ? and vocabularyId = ?. 1529 * 1530 * @param name the name 1531 * @param vocabularyId the vocabulary ID 1532 * @return the matching asset categories 1533 * @throws SystemException if a system exception occurred 1534 */ 1535 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V( 1536 java.lang.String name, long vocabularyId) 1537 throws com.liferay.portal.kernel.exception.SystemException; 1538 1539 /** 1540 * Returns a range of all the asset categories where name = ? and vocabularyId = ?. 1541 * 1542 * <p> 1543 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1544 * </p> 1545 * 1546 * @param name the name 1547 * @param vocabularyId the vocabulary ID 1548 * @param start the lower bound of the range of asset categories 1549 * @param end the upper bound of the range of asset categories (not inclusive) 1550 * @return the range of matching asset categories 1551 * @throws SystemException if a system exception occurred 1552 */ 1553 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V( 1554 java.lang.String name, long vocabularyId, int start, int end) 1555 throws com.liferay.portal.kernel.exception.SystemException; 1556 1557 /** 1558 * Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?. 1559 * 1560 * <p> 1561 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1562 * </p> 1563 * 1564 * @param name the name 1565 * @param vocabularyId the vocabulary ID 1566 * @param start the lower bound of the range of asset categories 1567 * @param end the upper bound of the range of asset categories (not inclusive) 1568 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1569 * @return the ordered range of matching asset categories 1570 * @throws SystemException if a system exception occurred 1571 */ 1572 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V( 1573 java.lang.String name, long vocabularyId, int start, int end, 1574 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1575 throws com.liferay.portal.kernel.exception.SystemException; 1576 1577 /** 1578 * Returns the first asset category in the ordered set where name = ? and vocabularyId = ?. 1579 * 1580 * @param name the name 1581 * @param vocabularyId the vocabulary ID 1582 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1583 * @return the first matching asset category 1584 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 1585 * @throws SystemException if a system exception occurred 1586 */ 1587 public com.liferay.portlet.asset.model.AssetCategory findByN_V_First( 1588 java.lang.String name, long vocabularyId, 1589 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1590 throws com.liferay.portal.kernel.exception.SystemException, 1591 com.liferay.portlet.asset.NoSuchCategoryException; 1592 1593 /** 1594 * Returns the first asset category in the ordered set where name = ? and vocabularyId = ?. 1595 * 1596 * @param name the name 1597 * @param vocabularyId the vocabulary ID 1598 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1599 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 1600 * @throws SystemException if a system exception occurred 1601 */ 1602 public com.liferay.portlet.asset.model.AssetCategory fetchByN_V_First( 1603 java.lang.String name, long vocabularyId, 1604 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1605 throws com.liferay.portal.kernel.exception.SystemException; 1606 1607 /** 1608 * Returns the last asset category in the ordered set where name = ? and vocabularyId = ?. 1609 * 1610 * @param name the name 1611 * @param vocabularyId the vocabulary ID 1612 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1613 * @return the last matching asset category 1614 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 1615 * @throws SystemException if a system exception occurred 1616 */ 1617 public com.liferay.portlet.asset.model.AssetCategory findByN_V_Last( 1618 java.lang.String name, long vocabularyId, 1619 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1620 throws com.liferay.portal.kernel.exception.SystemException, 1621 com.liferay.portlet.asset.NoSuchCategoryException; 1622 1623 /** 1624 * Returns the last asset category in the ordered set where name = ? and vocabularyId = ?. 1625 * 1626 * @param name the name 1627 * @param vocabularyId the vocabulary ID 1628 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1629 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 1630 * @throws SystemException if a system exception occurred 1631 */ 1632 public com.liferay.portlet.asset.model.AssetCategory fetchByN_V_Last( 1633 java.lang.String name, long vocabularyId, 1634 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1635 throws com.liferay.portal.kernel.exception.SystemException; 1636 1637 /** 1638 * Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?. 1639 * 1640 * @param categoryId the primary key of the current asset category 1641 * @param name the name 1642 * @param vocabularyId the vocabulary ID 1643 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1644 * @return the previous, current, and next asset category 1645 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 1646 * @throws SystemException if a system exception occurred 1647 */ 1648 public com.liferay.portlet.asset.model.AssetCategory[] findByN_V_PrevAndNext( 1649 long categoryId, java.lang.String name, long vocabularyId, 1650 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1651 throws com.liferay.portal.kernel.exception.SystemException, 1652 com.liferay.portlet.asset.NoSuchCategoryException; 1653 1654 /** 1655 * Removes all the asset categories where name = ? and vocabularyId = ? from the database. 1656 * 1657 * @param name the name 1658 * @param vocabularyId the vocabulary ID 1659 * @throws SystemException if a system exception occurred 1660 */ 1661 public void removeByN_V(java.lang.String name, long vocabularyId) 1662 throws com.liferay.portal.kernel.exception.SystemException; 1663 1664 /** 1665 * Returns the number of asset categories where name = ? and vocabularyId = ?. 1666 * 1667 * @param name the name 1668 * @param vocabularyId the vocabulary ID 1669 * @return the number of matching asset categories 1670 * @throws SystemException if a system exception occurred 1671 */ 1672 public int countByN_V(java.lang.String name, long vocabularyId) 1673 throws com.liferay.portal.kernel.exception.SystemException; 1674 1675 /** 1676 * Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1677 * 1678 * @param groupId the group ID 1679 * @param parentCategoryId the parent category ID 1680 * @param vocabularyId the vocabulary ID 1681 * @return the matching asset categories 1682 * @throws SystemException if a system exception occurred 1683 */ 1684 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_V( 1685 long groupId, long parentCategoryId, long vocabularyId) 1686 throws com.liferay.portal.kernel.exception.SystemException; 1687 1688 /** 1689 * Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1690 * 1691 * <p> 1692 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1693 * </p> 1694 * 1695 * @param groupId the group ID 1696 * @param parentCategoryId the parent category ID 1697 * @param vocabularyId the vocabulary ID 1698 * @param start the lower bound of the range of asset categories 1699 * @param end the upper bound of the range of asset categories (not inclusive) 1700 * @return the range of matching asset categories 1701 * @throws SystemException if a system exception occurred 1702 */ 1703 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_V( 1704 long groupId, long parentCategoryId, long vocabularyId, int start, 1705 int end) throws com.liferay.portal.kernel.exception.SystemException; 1706 1707 /** 1708 * Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1709 * 1710 * <p> 1711 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1712 * </p> 1713 * 1714 * @param groupId the group ID 1715 * @param parentCategoryId the parent category ID 1716 * @param vocabularyId the vocabulary ID 1717 * @param start the lower bound of the range of asset categories 1718 * @param end the upper bound of the range of asset categories (not inclusive) 1719 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1720 * @return the ordered range of matching asset categories 1721 * @throws SystemException if a system exception occurred 1722 */ 1723 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_V( 1724 long groupId, long parentCategoryId, long vocabularyId, int start, 1725 int end, 1726 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1727 throws com.liferay.portal.kernel.exception.SystemException; 1728 1729 /** 1730 * Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1731 * 1732 * @param groupId the group ID 1733 * @param parentCategoryId the parent category ID 1734 * @param vocabularyId the vocabulary ID 1735 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1736 * @return the first matching asset category 1737 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 1738 * @throws SystemException if a system exception occurred 1739 */ 1740 public com.liferay.portlet.asset.model.AssetCategory findByG_P_V_First( 1741 long groupId, long parentCategoryId, long vocabularyId, 1742 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1743 throws com.liferay.portal.kernel.exception.SystemException, 1744 com.liferay.portlet.asset.NoSuchCategoryException; 1745 1746 /** 1747 * Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1748 * 1749 * @param groupId the group ID 1750 * @param parentCategoryId the parent category ID 1751 * @param vocabularyId the vocabulary ID 1752 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1753 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 1754 * @throws SystemException if a system exception occurred 1755 */ 1756 public com.liferay.portlet.asset.model.AssetCategory fetchByG_P_V_First( 1757 long groupId, long parentCategoryId, long vocabularyId, 1758 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1759 throws com.liferay.portal.kernel.exception.SystemException; 1760 1761 /** 1762 * Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1763 * 1764 * @param groupId the group ID 1765 * @param parentCategoryId the parent category ID 1766 * @param vocabularyId the vocabulary ID 1767 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1768 * @return the last matching asset category 1769 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 1770 * @throws SystemException if a system exception occurred 1771 */ 1772 public com.liferay.portlet.asset.model.AssetCategory findByG_P_V_Last( 1773 long groupId, long parentCategoryId, long vocabularyId, 1774 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1775 throws com.liferay.portal.kernel.exception.SystemException, 1776 com.liferay.portlet.asset.NoSuchCategoryException; 1777 1778 /** 1779 * Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1780 * 1781 * @param groupId the group ID 1782 * @param parentCategoryId the parent category ID 1783 * @param vocabularyId the vocabulary ID 1784 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1785 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 1786 * @throws SystemException if a system exception occurred 1787 */ 1788 public com.liferay.portlet.asset.model.AssetCategory fetchByG_P_V_Last( 1789 long groupId, long parentCategoryId, long vocabularyId, 1790 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1791 throws com.liferay.portal.kernel.exception.SystemException; 1792 1793 /** 1794 * Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1795 * 1796 * @param categoryId the primary key of the current asset category 1797 * @param groupId the group ID 1798 * @param parentCategoryId the parent category ID 1799 * @param vocabularyId the vocabulary ID 1800 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1801 * @return the previous, current, and next asset category 1802 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 1803 * @throws SystemException if a system exception occurred 1804 */ 1805 public com.liferay.portlet.asset.model.AssetCategory[] findByG_P_V_PrevAndNext( 1806 long categoryId, long groupId, long parentCategoryId, 1807 long vocabularyId, 1808 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1809 throws com.liferay.portal.kernel.exception.SystemException, 1810 com.liferay.portlet.asset.NoSuchCategoryException; 1811 1812 /** 1813 * Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1814 * 1815 * @param groupId the group ID 1816 * @param parentCategoryId the parent category ID 1817 * @param vocabularyId the vocabulary ID 1818 * @return the matching asset categories that the user has permission to view 1819 * @throws SystemException if a system exception occurred 1820 */ 1821 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_V( 1822 long groupId, long parentCategoryId, long vocabularyId) 1823 throws com.liferay.portal.kernel.exception.SystemException; 1824 1825 /** 1826 * Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1827 * 1828 * <p> 1829 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1830 * </p> 1831 * 1832 * @param groupId the group ID 1833 * @param parentCategoryId the parent category ID 1834 * @param vocabularyId the vocabulary ID 1835 * @param start the lower bound of the range of asset categories 1836 * @param end the upper bound of the range of asset categories (not inclusive) 1837 * @return the range of matching asset categories that the user has permission to view 1838 * @throws SystemException if a system exception occurred 1839 */ 1840 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_V( 1841 long groupId, long parentCategoryId, long vocabularyId, int start, 1842 int end) throws com.liferay.portal.kernel.exception.SystemException; 1843 1844 /** 1845 * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1846 * 1847 * <p> 1848 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1849 * </p> 1850 * 1851 * @param groupId the group ID 1852 * @param parentCategoryId the parent category ID 1853 * @param vocabularyId the vocabulary ID 1854 * @param start the lower bound of the range of asset categories 1855 * @param end the upper bound of the range of asset categories (not inclusive) 1856 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1857 * @return the ordered range of matching asset categories that the user has permission to view 1858 * @throws SystemException if a system exception occurred 1859 */ 1860 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_V( 1861 long groupId, long parentCategoryId, long vocabularyId, int start, 1862 int end, 1863 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1864 throws com.liferay.portal.kernel.exception.SystemException; 1865 1866 /** 1867 * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1868 * 1869 * @param categoryId the primary key of the current asset category 1870 * @param groupId the group ID 1871 * @param parentCategoryId the parent category ID 1872 * @param vocabularyId the vocabulary ID 1873 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1874 * @return the previous, current, and next asset category 1875 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 1876 * @throws SystemException if a system exception occurred 1877 */ 1878 public com.liferay.portlet.asset.model.AssetCategory[] filterFindByG_P_V_PrevAndNext( 1879 long categoryId, long groupId, long parentCategoryId, 1880 long vocabularyId, 1881 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1882 throws com.liferay.portal.kernel.exception.SystemException, 1883 com.liferay.portlet.asset.NoSuchCategoryException; 1884 1885 /** 1886 * Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database. 1887 * 1888 * @param groupId the group ID 1889 * @param parentCategoryId the parent category ID 1890 * @param vocabularyId the vocabulary ID 1891 * @throws SystemException if a system exception occurred 1892 */ 1893 public void removeByG_P_V(long groupId, long parentCategoryId, 1894 long vocabularyId) 1895 throws com.liferay.portal.kernel.exception.SystemException; 1896 1897 /** 1898 * Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1899 * 1900 * @param groupId the group ID 1901 * @param parentCategoryId the parent category ID 1902 * @param vocabularyId the vocabulary ID 1903 * @return the number of matching asset categories 1904 * @throws SystemException if a system exception occurred 1905 */ 1906 public int countByG_P_V(long groupId, long parentCategoryId, 1907 long vocabularyId) 1908 throws com.liferay.portal.kernel.exception.SystemException; 1909 1910 /** 1911 * Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. 1912 * 1913 * @param groupId the group ID 1914 * @param parentCategoryId the parent category ID 1915 * @param vocabularyId the vocabulary ID 1916 * @return the number of matching asset categories that the user has permission to view 1917 * @throws SystemException if a system exception occurred 1918 */ 1919 public int filterCountByG_P_V(long groupId, long parentCategoryId, 1920 long vocabularyId) 1921 throws com.liferay.portal.kernel.exception.SystemException; 1922 1923 /** 1924 * Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?. 1925 * 1926 * @param groupId the group ID 1927 * @param name the name 1928 * @param vocabularyId the vocabulary ID 1929 * @return the matching asset categories 1930 * @throws SystemException if a system exception occurred 1931 */ 1932 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V( 1933 long groupId, java.lang.String name, long vocabularyId) 1934 throws com.liferay.portal.kernel.exception.SystemException; 1935 1936 /** 1937 * Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?. 1938 * 1939 * <p> 1940 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1941 * </p> 1942 * 1943 * @param groupId the group ID 1944 * @param name the name 1945 * @param vocabularyId the vocabulary ID 1946 * @param start the lower bound of the range of asset categories 1947 * @param end the upper bound of the range of asset categories (not inclusive) 1948 * @return the range of matching asset categories 1949 * @throws SystemException if a system exception occurred 1950 */ 1951 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V( 1952 long groupId, java.lang.String name, long vocabularyId, int start, 1953 int end) throws com.liferay.portal.kernel.exception.SystemException; 1954 1955 /** 1956 * Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?. 1957 * 1958 * <p> 1959 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1960 * </p> 1961 * 1962 * @param groupId the group ID 1963 * @param name the name 1964 * @param vocabularyId the vocabulary ID 1965 * @param start the lower bound of the range of asset categories 1966 * @param end the upper bound of the range of asset categories (not inclusive) 1967 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1968 * @return the ordered range of matching asset categories 1969 * @throws SystemException if a system exception occurred 1970 */ 1971 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V( 1972 long groupId, java.lang.String name, long vocabularyId, int start, 1973 int end, 1974 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1975 throws com.liferay.portal.kernel.exception.SystemException; 1976 1977 /** 1978 * Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. 1979 * 1980 * @param groupId the group ID 1981 * @param name the name 1982 * @param vocabularyId the vocabulary ID 1983 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1984 * @return the first matching asset category 1985 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 1986 * @throws SystemException if a system exception occurred 1987 */ 1988 public com.liferay.portlet.asset.model.AssetCategory findByG_LikeN_V_First( 1989 long groupId, java.lang.String name, long vocabularyId, 1990 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1991 throws com.liferay.portal.kernel.exception.SystemException, 1992 com.liferay.portlet.asset.NoSuchCategoryException; 1993 1994 /** 1995 * Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. 1996 * 1997 * @param groupId the group ID 1998 * @param name the name 1999 * @param vocabularyId the vocabulary ID 2000 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2001 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 2002 * @throws SystemException if a system exception occurred 2003 */ 2004 public com.liferay.portlet.asset.model.AssetCategory fetchByG_LikeN_V_First( 2005 long groupId, java.lang.String name, long vocabularyId, 2006 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2007 throws com.liferay.portal.kernel.exception.SystemException; 2008 2009 /** 2010 * Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. 2011 * 2012 * @param groupId the group ID 2013 * @param name the name 2014 * @param vocabularyId the vocabulary ID 2015 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2016 * @return the last matching asset category 2017 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 2018 * @throws SystemException if a system exception occurred 2019 */ 2020 public com.liferay.portlet.asset.model.AssetCategory findByG_LikeN_V_Last( 2021 long groupId, java.lang.String name, long vocabularyId, 2022 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2023 throws com.liferay.portal.kernel.exception.SystemException, 2024 com.liferay.portlet.asset.NoSuchCategoryException; 2025 2026 /** 2027 * Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. 2028 * 2029 * @param groupId the group ID 2030 * @param name the name 2031 * @param vocabularyId the vocabulary ID 2032 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2033 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 2034 * @throws SystemException if a system exception occurred 2035 */ 2036 public com.liferay.portlet.asset.model.AssetCategory fetchByG_LikeN_V_Last( 2037 long groupId, java.lang.String name, long vocabularyId, 2038 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2039 throws com.liferay.portal.kernel.exception.SystemException; 2040 2041 /** 2042 * Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. 2043 * 2044 * @param categoryId the primary key of the current asset category 2045 * @param groupId the group ID 2046 * @param name the name 2047 * @param vocabularyId the vocabulary ID 2048 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2049 * @return the previous, current, and next asset category 2050 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 2051 * @throws SystemException if a system exception occurred 2052 */ 2053 public com.liferay.portlet.asset.model.AssetCategory[] findByG_LikeN_V_PrevAndNext( 2054 long categoryId, long groupId, java.lang.String name, 2055 long vocabularyId, 2056 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2057 throws com.liferay.portal.kernel.exception.SystemException, 2058 com.liferay.portlet.asset.NoSuchCategoryException; 2059 2060 /** 2061 * Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?. 2062 * 2063 * @param groupId the group ID 2064 * @param name the name 2065 * @param vocabularyId the vocabulary ID 2066 * @return the matching asset categories that the user has permission to view 2067 * @throws SystemException if a system exception occurred 2068 */ 2069 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V( 2070 long groupId, java.lang.String name, long vocabularyId) 2071 throws com.liferay.portal.kernel.exception.SystemException; 2072 2073 /** 2074 * Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?. 2075 * 2076 * <p> 2077 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2078 * </p> 2079 * 2080 * @param groupId the group ID 2081 * @param name the name 2082 * @param vocabularyId the vocabulary ID 2083 * @param start the lower bound of the range of asset categories 2084 * @param end the upper bound of the range of asset categories (not inclusive) 2085 * @return the range of matching asset categories that the user has permission to view 2086 * @throws SystemException if a system exception occurred 2087 */ 2088 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V( 2089 long groupId, java.lang.String name, long vocabularyId, int start, 2090 int end) throws com.liferay.portal.kernel.exception.SystemException; 2091 2092 /** 2093 * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?. 2094 * 2095 * <p> 2096 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2097 * </p> 2098 * 2099 * @param groupId the group ID 2100 * @param name the name 2101 * @param vocabularyId the vocabulary ID 2102 * @param start the lower bound of the range of asset categories 2103 * @param end the upper bound of the range of asset categories (not inclusive) 2104 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2105 * @return the ordered range of matching asset categories that the user has permission to view 2106 * @throws SystemException if a system exception occurred 2107 */ 2108 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V( 2109 long groupId, java.lang.String name, long vocabularyId, int start, 2110 int end, 2111 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2112 throws com.liferay.portal.kernel.exception.SystemException; 2113 2114 /** 2115 * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?. 2116 * 2117 * @param categoryId the primary key of the current asset category 2118 * @param groupId the group ID 2119 * @param name the name 2120 * @param vocabularyId the vocabulary ID 2121 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2122 * @return the previous, current, and next asset category 2123 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 2124 * @throws SystemException if a system exception occurred 2125 */ 2126 public com.liferay.portlet.asset.model.AssetCategory[] filterFindByG_LikeN_V_PrevAndNext( 2127 long categoryId, long groupId, java.lang.String name, 2128 long vocabularyId, 2129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2130 throws com.liferay.portal.kernel.exception.SystemException, 2131 com.liferay.portlet.asset.NoSuchCategoryException; 2132 2133 /** 2134 * Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?. 2135 * 2136 * @param groupId the group ID 2137 * @param name the name 2138 * @param vocabularyIds the vocabulary IDs 2139 * @return the matching asset categories that the user has permission to view 2140 * @throws SystemException if a system exception occurred 2141 */ 2142 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V( 2143 long groupId, java.lang.String name, long[] vocabularyIds) 2144 throws com.liferay.portal.kernel.exception.SystemException; 2145 2146 /** 2147 * Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?. 2148 * 2149 * <p> 2150 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2151 * </p> 2152 * 2153 * @param groupId the group ID 2154 * @param name the name 2155 * @param vocabularyIds the vocabulary IDs 2156 * @param start the lower bound of the range of asset categories 2157 * @param end the upper bound of the range of asset categories (not inclusive) 2158 * @return the range of matching asset categories that the user has permission to view 2159 * @throws SystemException if a system exception occurred 2160 */ 2161 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V( 2162 long groupId, java.lang.String name, long[] vocabularyIds, int start, 2163 int end) throws com.liferay.portal.kernel.exception.SystemException; 2164 2165 /** 2166 * Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?. 2167 * 2168 * <p> 2169 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2170 * </p> 2171 * 2172 * @param groupId the group ID 2173 * @param name the name 2174 * @param vocabularyIds the vocabulary IDs 2175 * @param start the lower bound of the range of asset categories 2176 * @param end the upper bound of the range of asset categories (not inclusive) 2177 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2178 * @return the ordered range of matching asset categories that the user has permission to view 2179 * @throws SystemException if a system exception occurred 2180 */ 2181 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_LikeN_V( 2182 long groupId, java.lang.String name, long[] vocabularyIds, int start, 2183 int end, 2184 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2185 throws com.liferay.portal.kernel.exception.SystemException; 2186 2187 /** 2188 * Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?. 2189 * 2190 * <p> 2191 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2192 * </p> 2193 * 2194 * @param groupId the group ID 2195 * @param name the name 2196 * @param vocabularyIds the vocabulary IDs 2197 * @return the matching asset categories 2198 * @throws SystemException if a system exception occurred 2199 */ 2200 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V( 2201 long groupId, java.lang.String name, long[] vocabularyIds) 2202 throws com.liferay.portal.kernel.exception.SystemException; 2203 2204 /** 2205 * Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?. 2206 * 2207 * <p> 2208 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2209 * </p> 2210 * 2211 * @param groupId the group ID 2212 * @param name the name 2213 * @param vocabularyIds the vocabulary IDs 2214 * @param start the lower bound of the range of asset categories 2215 * @param end the upper bound of the range of asset categories (not inclusive) 2216 * @return the range of matching asset categories 2217 * @throws SystemException if a system exception occurred 2218 */ 2219 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V( 2220 long groupId, java.lang.String name, long[] vocabularyIds, int start, 2221 int end) throws com.liferay.portal.kernel.exception.SystemException; 2222 2223 /** 2224 * Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?. 2225 * 2226 * <p> 2227 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2228 * </p> 2229 * 2230 * @param groupId the group ID 2231 * @param name the name 2232 * @param vocabularyIds the vocabulary IDs 2233 * @param start the lower bound of the range of asset categories 2234 * @param end the upper bound of the range of asset categories (not inclusive) 2235 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2236 * @return the ordered range of matching asset categories 2237 * @throws SystemException if a system exception occurred 2238 */ 2239 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_LikeN_V( 2240 long groupId, java.lang.String name, long[] vocabularyIds, int start, 2241 int end, 2242 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2243 throws com.liferay.portal.kernel.exception.SystemException; 2244 2245 /** 2246 * Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database. 2247 * 2248 * @param groupId the group ID 2249 * @param name the name 2250 * @param vocabularyId the vocabulary ID 2251 * @throws SystemException if a system exception occurred 2252 */ 2253 public void removeByG_LikeN_V(long groupId, java.lang.String name, 2254 long vocabularyId) 2255 throws com.liferay.portal.kernel.exception.SystemException; 2256 2257 /** 2258 * Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?. 2259 * 2260 * @param groupId the group ID 2261 * @param name the name 2262 * @param vocabularyId the vocabulary ID 2263 * @return the number of matching asset categories 2264 * @throws SystemException if a system exception occurred 2265 */ 2266 public int countByG_LikeN_V(long groupId, java.lang.String name, 2267 long vocabularyId) 2268 throws com.liferay.portal.kernel.exception.SystemException; 2269 2270 /** 2271 * Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?. 2272 * 2273 * @param groupId the group ID 2274 * @param name the name 2275 * @param vocabularyIds the vocabulary IDs 2276 * @return the number of matching asset categories 2277 * @throws SystemException if a system exception occurred 2278 */ 2279 public int countByG_LikeN_V(long groupId, java.lang.String name, 2280 long[] vocabularyIds) 2281 throws com.liferay.portal.kernel.exception.SystemException; 2282 2283 /** 2284 * Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?. 2285 * 2286 * @param groupId the group ID 2287 * @param name the name 2288 * @param vocabularyId the vocabulary ID 2289 * @return the number of matching asset categories that the user has permission to view 2290 * @throws SystemException if a system exception occurred 2291 */ 2292 public int filterCountByG_LikeN_V(long groupId, java.lang.String name, 2293 long vocabularyId) 2294 throws com.liferay.portal.kernel.exception.SystemException; 2295 2296 /** 2297 * Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?. 2298 * 2299 * @param groupId the group ID 2300 * @param name the name 2301 * @param vocabularyIds the vocabulary IDs 2302 * @return the number of matching asset categories that the user has permission to view 2303 * @throws SystemException if a system exception occurred 2304 */ 2305 public int filterCountByG_LikeN_V(long groupId, java.lang.String name, 2306 long[] vocabularyIds) 2307 throws com.liferay.portal.kernel.exception.SystemException; 2308 2309 /** 2310 * Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a {@link com.liferay.portlet.asset.NoSuchCategoryException} if it could not be found. 2311 * 2312 * @param parentCategoryId the parent category ID 2313 * @param name the name 2314 * @param vocabularyId the vocabulary ID 2315 * @return the matching asset category 2316 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 2317 * @throws SystemException if a system exception occurred 2318 */ 2319 public com.liferay.portlet.asset.model.AssetCategory findByP_N_V( 2320 long parentCategoryId, java.lang.String name, long vocabularyId) 2321 throws com.liferay.portal.kernel.exception.SystemException, 2322 com.liferay.portlet.asset.NoSuchCategoryException; 2323 2324 /** 2325 * Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 2326 * 2327 * @param parentCategoryId the parent category ID 2328 * @param name the name 2329 * @param vocabularyId the vocabulary ID 2330 * @return the matching asset category, or <code>null</code> if a matching asset category could not be found 2331 * @throws SystemException if a system exception occurred 2332 */ 2333 public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V( 2334 long parentCategoryId, java.lang.String name, long vocabularyId) 2335 throws com.liferay.portal.kernel.exception.SystemException; 2336 2337 /** 2338 * Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 2339 * 2340 * @param parentCategoryId the parent category ID 2341 * @param name the name 2342 * @param vocabularyId the vocabulary ID 2343 * @param retrieveFromCache whether to use the finder cache 2344 * @return the matching asset category, or <code>null</code> if a matching asset category could not be found 2345 * @throws SystemException if a system exception occurred 2346 */ 2347 public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V( 2348 long parentCategoryId, java.lang.String name, long vocabularyId, 2349 boolean retrieveFromCache) 2350 throws com.liferay.portal.kernel.exception.SystemException; 2351 2352 /** 2353 * Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database. 2354 * 2355 * @param parentCategoryId the parent category ID 2356 * @param name the name 2357 * @param vocabularyId the vocabulary ID 2358 * @return the asset category that was removed 2359 * @throws SystemException if a system exception occurred 2360 */ 2361 public com.liferay.portlet.asset.model.AssetCategory removeByP_N_V( 2362 long parentCategoryId, java.lang.String name, long vocabularyId) 2363 throws com.liferay.portal.kernel.exception.SystemException, 2364 com.liferay.portlet.asset.NoSuchCategoryException; 2365 2366 /** 2367 * Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?. 2368 * 2369 * @param parentCategoryId the parent category ID 2370 * @param name the name 2371 * @param vocabularyId the vocabulary ID 2372 * @return the number of matching asset categories 2373 * @throws SystemException if a system exception occurred 2374 */ 2375 public int countByP_N_V(long parentCategoryId, java.lang.String name, 2376 long vocabularyId) 2377 throws com.liferay.portal.kernel.exception.SystemException; 2378 2379 /** 2380 * Returns all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2381 * 2382 * @param groupId the group ID 2383 * @param parentCategoryId the parent category ID 2384 * @param name the name 2385 * @param vocabularyId the vocabulary ID 2386 * @return the matching asset categories 2387 * @throws SystemException if a system exception occurred 2388 */ 2389 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_N_V( 2390 long groupId, long parentCategoryId, java.lang.String name, 2391 long vocabularyId) 2392 throws com.liferay.portal.kernel.exception.SystemException; 2393 2394 /** 2395 * Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2396 * 2397 * <p> 2398 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2399 * </p> 2400 * 2401 * @param groupId the group ID 2402 * @param parentCategoryId the parent category ID 2403 * @param name the name 2404 * @param vocabularyId the vocabulary ID 2405 * @param start the lower bound of the range of asset categories 2406 * @param end the upper bound of the range of asset categories (not inclusive) 2407 * @return the range of matching asset categories 2408 * @throws SystemException if a system exception occurred 2409 */ 2410 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_N_V( 2411 long groupId, long parentCategoryId, java.lang.String name, 2412 long vocabularyId, int start, int end) 2413 throws com.liferay.portal.kernel.exception.SystemException; 2414 2415 /** 2416 * Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2417 * 2418 * <p> 2419 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2420 * </p> 2421 * 2422 * @param groupId the group ID 2423 * @param parentCategoryId the parent category ID 2424 * @param name the name 2425 * @param vocabularyId the vocabulary ID 2426 * @param start the lower bound of the range of asset categories 2427 * @param end the upper bound of the range of asset categories (not inclusive) 2428 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2429 * @return the ordered range of matching asset categories 2430 * @throws SystemException if a system exception occurred 2431 */ 2432 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_P_N_V( 2433 long groupId, long parentCategoryId, java.lang.String name, 2434 long vocabularyId, int start, int end, 2435 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2436 throws com.liferay.portal.kernel.exception.SystemException; 2437 2438 /** 2439 * Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2440 * 2441 * @param groupId the group ID 2442 * @param parentCategoryId the parent category ID 2443 * @param name the name 2444 * @param vocabularyId the vocabulary ID 2445 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2446 * @return the first matching asset category 2447 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 2448 * @throws SystemException if a system exception occurred 2449 */ 2450 public com.liferay.portlet.asset.model.AssetCategory findByG_P_N_V_First( 2451 long groupId, long parentCategoryId, java.lang.String name, 2452 long vocabularyId, 2453 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2454 throws com.liferay.portal.kernel.exception.SystemException, 2455 com.liferay.portlet.asset.NoSuchCategoryException; 2456 2457 /** 2458 * Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2459 * 2460 * @param groupId the group ID 2461 * @param parentCategoryId the parent category ID 2462 * @param name the name 2463 * @param vocabularyId the vocabulary ID 2464 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2465 * @return the first matching asset category, or <code>null</code> if a matching asset category could not be found 2466 * @throws SystemException if a system exception occurred 2467 */ 2468 public com.liferay.portlet.asset.model.AssetCategory fetchByG_P_N_V_First( 2469 long groupId, long parentCategoryId, java.lang.String name, 2470 long vocabularyId, 2471 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2472 throws com.liferay.portal.kernel.exception.SystemException; 2473 2474 /** 2475 * Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2476 * 2477 * @param groupId the group ID 2478 * @param parentCategoryId the parent category ID 2479 * @param name the name 2480 * @param vocabularyId the vocabulary ID 2481 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2482 * @return the last matching asset category 2483 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a matching asset category could not be found 2484 * @throws SystemException if a system exception occurred 2485 */ 2486 public com.liferay.portlet.asset.model.AssetCategory findByG_P_N_V_Last( 2487 long groupId, long parentCategoryId, java.lang.String name, 2488 long vocabularyId, 2489 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2490 throws com.liferay.portal.kernel.exception.SystemException, 2491 com.liferay.portlet.asset.NoSuchCategoryException; 2492 2493 /** 2494 * Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2495 * 2496 * @param groupId the group ID 2497 * @param parentCategoryId the parent category ID 2498 * @param name the name 2499 * @param vocabularyId the vocabulary ID 2500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2501 * @return the last matching asset category, or <code>null</code> if a matching asset category could not be found 2502 * @throws SystemException if a system exception occurred 2503 */ 2504 public com.liferay.portlet.asset.model.AssetCategory fetchByG_P_N_V_Last( 2505 long groupId, long parentCategoryId, java.lang.String name, 2506 long vocabularyId, 2507 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2508 throws com.liferay.portal.kernel.exception.SystemException; 2509 2510 /** 2511 * Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2512 * 2513 * @param categoryId the primary key of the current asset category 2514 * @param groupId the group ID 2515 * @param parentCategoryId the parent category ID 2516 * @param name the name 2517 * @param vocabularyId the vocabulary ID 2518 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2519 * @return the previous, current, and next asset category 2520 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 2521 * @throws SystemException if a system exception occurred 2522 */ 2523 public com.liferay.portlet.asset.model.AssetCategory[] findByG_P_N_V_PrevAndNext( 2524 long categoryId, long groupId, long parentCategoryId, 2525 java.lang.String name, long vocabularyId, 2526 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2527 throws com.liferay.portal.kernel.exception.SystemException, 2528 com.liferay.portlet.asset.NoSuchCategoryException; 2529 2530 /** 2531 * Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2532 * 2533 * @param groupId the group ID 2534 * @param parentCategoryId the parent category ID 2535 * @param name the name 2536 * @param vocabularyId the vocabulary ID 2537 * @return the matching asset categories that the user has permission to view 2538 * @throws SystemException if a system exception occurred 2539 */ 2540 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_N_V( 2541 long groupId, long parentCategoryId, java.lang.String name, 2542 long vocabularyId) 2543 throws com.liferay.portal.kernel.exception.SystemException; 2544 2545 /** 2546 * Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2547 * 2548 * <p> 2549 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2550 * </p> 2551 * 2552 * @param groupId the group ID 2553 * @param parentCategoryId the parent category ID 2554 * @param name the name 2555 * @param vocabularyId the vocabulary ID 2556 * @param start the lower bound of the range of asset categories 2557 * @param end the upper bound of the range of asset categories (not inclusive) 2558 * @return the range of matching asset categories that the user has permission to view 2559 * @throws SystemException if a system exception occurred 2560 */ 2561 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_N_V( 2562 long groupId, long parentCategoryId, java.lang.String name, 2563 long vocabularyId, int start, int end) 2564 throws com.liferay.portal.kernel.exception.SystemException; 2565 2566 /** 2567 * Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2568 * 2569 * <p> 2570 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2571 * </p> 2572 * 2573 * @param groupId the group ID 2574 * @param parentCategoryId the parent category ID 2575 * @param name the name 2576 * @param vocabularyId the vocabulary ID 2577 * @param start the lower bound of the range of asset categories 2578 * @param end the upper bound of the range of asset categories (not inclusive) 2579 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2580 * @return the ordered range of matching asset categories that the user has permission to view 2581 * @throws SystemException if a system exception occurred 2582 */ 2583 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_P_N_V( 2584 long groupId, long parentCategoryId, java.lang.String name, 2585 long vocabularyId, int start, int end, 2586 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2587 throws com.liferay.portal.kernel.exception.SystemException; 2588 2589 /** 2590 * Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2591 * 2592 * @param categoryId the primary key of the current asset category 2593 * @param groupId the group ID 2594 * @param parentCategoryId the parent category ID 2595 * @param name the name 2596 * @param vocabularyId the vocabulary ID 2597 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2598 * @return the previous, current, and next asset category 2599 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 2600 * @throws SystemException if a system exception occurred 2601 */ 2602 public com.liferay.portlet.asset.model.AssetCategory[] filterFindByG_P_N_V_PrevAndNext( 2603 long categoryId, long groupId, long parentCategoryId, 2604 java.lang.String name, long vocabularyId, 2605 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2606 throws com.liferay.portal.kernel.exception.SystemException, 2607 com.liferay.portlet.asset.NoSuchCategoryException; 2608 2609 /** 2610 * Removes all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ? from the database. 2611 * 2612 * @param groupId the group ID 2613 * @param parentCategoryId the parent category ID 2614 * @param name the name 2615 * @param vocabularyId the vocabulary ID 2616 * @throws SystemException if a system exception occurred 2617 */ 2618 public void removeByG_P_N_V(long groupId, long parentCategoryId, 2619 java.lang.String name, long vocabularyId) 2620 throws com.liferay.portal.kernel.exception.SystemException; 2621 2622 /** 2623 * Returns the number of asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2624 * 2625 * @param groupId the group ID 2626 * @param parentCategoryId the parent category ID 2627 * @param name the name 2628 * @param vocabularyId the vocabulary ID 2629 * @return the number of matching asset categories 2630 * @throws SystemException if a system exception occurred 2631 */ 2632 public int countByG_P_N_V(long groupId, long parentCategoryId, 2633 java.lang.String name, long vocabularyId) 2634 throws com.liferay.portal.kernel.exception.SystemException; 2635 2636 /** 2637 * Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. 2638 * 2639 * @param groupId the group ID 2640 * @param parentCategoryId the parent category ID 2641 * @param name the name 2642 * @param vocabularyId the vocabulary ID 2643 * @return the number of matching asset categories that the user has permission to view 2644 * @throws SystemException if a system exception occurred 2645 */ 2646 public int filterCountByG_P_N_V(long groupId, long parentCategoryId, 2647 java.lang.String name, long vocabularyId) 2648 throws com.liferay.portal.kernel.exception.SystemException; 2649 2650 /** 2651 * Caches the asset category in the entity cache if it is enabled. 2652 * 2653 * @param assetCategory the asset category 2654 */ 2655 public void cacheResult( 2656 com.liferay.portlet.asset.model.AssetCategory assetCategory); 2657 2658 /** 2659 * Caches the asset categories in the entity cache if it is enabled. 2660 * 2661 * @param assetCategories the asset categories 2662 */ 2663 public void cacheResult( 2664 java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories); 2665 2666 /** 2667 * Creates a new asset category with the primary key. Does not add the asset category to the database. 2668 * 2669 * @param categoryId the primary key for the new asset category 2670 * @return the new asset category 2671 */ 2672 public com.liferay.portlet.asset.model.AssetCategory create(long categoryId); 2673 2674 /** 2675 * Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners. 2676 * 2677 * @param categoryId the primary key of the asset category 2678 * @return the asset category that was removed 2679 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 2680 * @throws SystemException if a system exception occurred 2681 */ 2682 public com.liferay.portlet.asset.model.AssetCategory remove(long categoryId) 2683 throws com.liferay.portal.kernel.exception.SystemException, 2684 com.liferay.portlet.asset.NoSuchCategoryException; 2685 2686 public com.liferay.portlet.asset.model.AssetCategory updateImpl( 2687 com.liferay.portlet.asset.model.AssetCategory assetCategory) 2688 throws com.liferay.portal.kernel.exception.SystemException; 2689 2690 /** 2691 * Returns the asset category with the primary key or throws a {@link com.liferay.portlet.asset.NoSuchCategoryException} if it could not be found. 2692 * 2693 * @param categoryId the primary key of the asset category 2694 * @return the asset category 2695 * @throws com.liferay.portlet.asset.NoSuchCategoryException if a asset category with the primary key could not be found 2696 * @throws SystemException if a system exception occurred 2697 */ 2698 public com.liferay.portlet.asset.model.AssetCategory findByPrimaryKey( 2699 long categoryId) 2700 throws com.liferay.portal.kernel.exception.SystemException, 2701 com.liferay.portlet.asset.NoSuchCategoryException; 2702 2703 /** 2704 * Returns the asset category with the primary key or returns <code>null</code> if it could not be found. 2705 * 2706 * @param categoryId the primary key of the asset category 2707 * @return the asset category, or <code>null</code> if a asset category with the primary key could not be found 2708 * @throws SystemException if a system exception occurred 2709 */ 2710 public com.liferay.portlet.asset.model.AssetCategory fetchByPrimaryKey( 2711 long categoryId) 2712 throws com.liferay.portal.kernel.exception.SystemException; 2713 2714 /** 2715 * Returns all the asset categories. 2716 * 2717 * @return the asset categories 2718 * @throws SystemException if a system exception occurred 2719 */ 2720 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll() 2721 throws com.liferay.portal.kernel.exception.SystemException; 2722 2723 /** 2724 * Returns a range of all the asset categories. 2725 * 2726 * <p> 2727 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2728 * </p> 2729 * 2730 * @param start the lower bound of the range of asset categories 2731 * @param end the upper bound of the range of asset categories (not inclusive) 2732 * @return the range of asset categories 2733 * @throws SystemException if a system exception occurred 2734 */ 2735 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll( 2736 int start, int end) 2737 throws com.liferay.portal.kernel.exception.SystemException; 2738 2739 /** 2740 * Returns an ordered range of all the asset categories. 2741 * 2742 * <p> 2743 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2744 * </p> 2745 * 2746 * @param start the lower bound of the range of asset categories 2747 * @param end the upper bound of the range of asset categories (not inclusive) 2748 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2749 * @return the ordered range of asset categories 2750 * @throws SystemException if a system exception occurred 2751 */ 2752 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll( 2753 int start, int end, 2754 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2755 throws com.liferay.portal.kernel.exception.SystemException; 2756 2757 /** 2758 * Removes all the asset categories from the database. 2759 * 2760 * @throws SystemException if a system exception occurred 2761 */ 2762 public void removeAll() 2763 throws com.liferay.portal.kernel.exception.SystemException; 2764 2765 /** 2766 * Returns the number of asset categories. 2767 * 2768 * @return the number of asset categories 2769 * @throws SystemException if a system exception occurred 2770 */ 2771 public int countAll() 2772 throws com.liferay.portal.kernel.exception.SystemException; 2773 2774 /** 2775 * Returns all the asset entries associated with the asset category. 2776 * 2777 * @param pk the primary key of the asset category 2778 * @return the asset entries associated with the asset category 2779 * @throws SystemException if a system exception occurred 2780 */ 2781 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries( 2782 long pk) throws com.liferay.portal.kernel.exception.SystemException; 2783 2784 /** 2785 * Returns a range of all the asset entries associated with the asset category. 2786 * 2787 * <p> 2788 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2789 * </p> 2790 * 2791 * @param pk the primary key of the asset category 2792 * @param start the lower bound of the range of asset categories 2793 * @param end the upper bound of the range of asset categories (not inclusive) 2794 * @return the range of asset entries associated with the asset category 2795 * @throws SystemException if a system exception occurred 2796 */ 2797 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries( 2798 long pk, int start, int end) 2799 throws com.liferay.portal.kernel.exception.SystemException; 2800 2801 /** 2802 * Returns an ordered range of all the asset entries associated with the asset category. 2803 * 2804 * <p> 2805 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2806 * </p> 2807 * 2808 * @param pk the primary key of the asset category 2809 * @param start the lower bound of the range of asset categories 2810 * @param end the upper bound of the range of asset categories (not inclusive) 2811 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2812 * @return the ordered range of asset entries associated with the asset category 2813 * @throws SystemException if a system exception occurred 2814 */ 2815 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries( 2816 long pk, int start, int end, 2817 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2818 throws com.liferay.portal.kernel.exception.SystemException; 2819 2820 /** 2821 * Returns the number of asset entries associated with the asset category. 2822 * 2823 * @param pk the primary key of the asset category 2824 * @return the number of asset entries associated with the asset category 2825 * @throws SystemException if a system exception occurred 2826 */ 2827 public int getAssetEntriesSize(long pk) 2828 throws com.liferay.portal.kernel.exception.SystemException; 2829 2830 /** 2831 * Returns <code>true</code> if the asset entry is associated with the asset category. 2832 * 2833 * @param pk the primary key of the asset category 2834 * @param assetEntryPK the primary key of the asset entry 2835 * @return <code>true</code> if the asset entry is associated with the asset category; <code>false</code> otherwise 2836 * @throws SystemException if a system exception occurred 2837 */ 2838 public boolean containsAssetEntry(long pk, long assetEntryPK) 2839 throws com.liferay.portal.kernel.exception.SystemException; 2840 2841 /** 2842 * Returns <code>true</code> if the asset category has any asset entries associated with it. 2843 * 2844 * @param pk the primary key of the asset category to check for associations with asset entries 2845 * @return <code>true</code> if the asset category has any asset entries associated with it; <code>false</code> otherwise 2846 * @throws SystemException if a system exception occurred 2847 */ 2848 public boolean containsAssetEntries(long pk) 2849 throws com.liferay.portal.kernel.exception.SystemException; 2850 2851 /** 2852 * Adds an association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2853 * 2854 * @param pk the primary key of the asset category 2855 * @param assetEntryPK the primary key of the asset entry 2856 * @throws SystemException if a system exception occurred 2857 */ 2858 public void addAssetEntry(long pk, long assetEntryPK) 2859 throws com.liferay.portal.kernel.exception.SystemException; 2860 2861 /** 2862 * Adds an association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2863 * 2864 * @param pk the primary key of the asset category 2865 * @param assetEntry the asset entry 2866 * @throws SystemException if a system exception occurred 2867 */ 2868 public void addAssetEntry(long pk, 2869 com.liferay.portlet.asset.model.AssetEntry assetEntry) 2870 throws com.liferay.portal.kernel.exception.SystemException; 2871 2872 /** 2873 * Adds an association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2874 * 2875 * @param pk the primary key of the asset category 2876 * @param assetEntryPKs the primary keys of the asset entries 2877 * @throws SystemException if a system exception occurred 2878 */ 2879 public void addAssetEntries(long pk, long[] assetEntryPKs) 2880 throws com.liferay.portal.kernel.exception.SystemException; 2881 2882 /** 2883 * Adds an association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2884 * 2885 * @param pk the primary key of the asset category 2886 * @param assetEntries the asset entries 2887 * @throws SystemException if a system exception occurred 2888 */ 2889 public void addAssetEntries(long pk, 2890 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries) 2891 throws com.liferay.portal.kernel.exception.SystemException; 2892 2893 /** 2894 * Clears all associations between the asset category and its asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2895 * 2896 * @param pk the primary key of the asset category to clear the associated asset entries from 2897 * @throws SystemException if a system exception occurred 2898 */ 2899 public void clearAssetEntries(long pk) 2900 throws com.liferay.portal.kernel.exception.SystemException; 2901 2902 /** 2903 * Removes the association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2904 * 2905 * @param pk the primary key of the asset category 2906 * @param assetEntryPK the primary key of the asset entry 2907 * @throws SystemException if a system exception occurred 2908 */ 2909 public void removeAssetEntry(long pk, long assetEntryPK) 2910 throws com.liferay.portal.kernel.exception.SystemException; 2911 2912 /** 2913 * Removes the association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2914 * 2915 * @param pk the primary key of the asset category 2916 * @param assetEntry the asset entry 2917 * @throws SystemException if a system exception occurred 2918 */ 2919 public void removeAssetEntry(long pk, 2920 com.liferay.portlet.asset.model.AssetEntry assetEntry) 2921 throws com.liferay.portal.kernel.exception.SystemException; 2922 2923 /** 2924 * Removes the association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2925 * 2926 * @param pk the primary key of the asset category 2927 * @param assetEntryPKs the primary keys of the asset entries 2928 * @throws SystemException if a system exception occurred 2929 */ 2930 public void removeAssetEntries(long pk, long[] assetEntryPKs) 2931 throws com.liferay.portal.kernel.exception.SystemException; 2932 2933 /** 2934 * Removes the association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2935 * 2936 * @param pk the primary key of the asset category 2937 * @param assetEntries the asset entries 2938 * @throws SystemException if a system exception occurred 2939 */ 2940 public void removeAssetEntries(long pk, 2941 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries) 2942 throws com.liferay.portal.kernel.exception.SystemException; 2943 2944 /** 2945 * Sets the asset entries associated with the asset category, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2946 * 2947 * @param pk the primary key of the asset category 2948 * @param assetEntryPKs the primary keys of the asset entries to be associated with the asset category 2949 * @throws SystemException if a system exception occurred 2950 */ 2951 public void setAssetEntries(long pk, long[] assetEntryPKs) 2952 throws com.liferay.portal.kernel.exception.SystemException; 2953 2954 /** 2955 * Sets the asset entries associated with the asset category, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 2956 * 2957 * @param pk the primary key of the asset category 2958 * @param assetEntries the asset entries to be associated with the asset category 2959 * @throws SystemException if a system exception occurred 2960 */ 2961 public void setAssetEntries(long pk, 2962 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries) 2963 throws com.liferay.portal.kernel.exception.SystemException; 2964 2965 /** 2966 * Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm. 2967 * 2968 * <p> 2969 * Only call this method if the tree has become stale through operations other than normal CRUD. Under normal circumstances the tree is automatically rebuilt whenver necessary. 2970 * </p> 2971 * 2972 * @param groupId the ID of the scope 2973 * @param force whether to force the rebuild even if the tree is not stale 2974 */ 2975 public void rebuildTree(long groupId, boolean force) 2976 throws com.liferay.portal.kernel.exception.SystemException; 2977 2978 public void setRebuildTreeEnabled(boolean rebuildTreeEnabled); 2979 }