001 /** 002 * Copyright (c) 2000-2012 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.dynamicdatamapping.service.persistence; 016 017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 018 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 019 import com.liferay.portal.kernel.exception.SystemException; 020 import com.liferay.portal.kernel.util.OrderByComparator; 021 import com.liferay.portal.kernel.util.ReferenceRegistry; 022 import com.liferay.portal.service.ServiceContext; 023 024 import com.liferay.portlet.dynamicdatamapping.model.DDMStructure; 025 026 import java.util.List; 027 028 /** 029 * The persistence utility for the d d m structure service. This utility wraps {@link DDMStructurePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. 030 * 031 * <p> 032 * Caching information and settings can be found in <code>portal.properties</code> 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see DDMStructurePersistence 037 * @see DDMStructurePersistenceImpl 038 * @generated 039 */ 040 public class DDMStructureUtil { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 045 */ 046 047 /** 048 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 049 */ 050 public static void clearCache() { 051 getPersistence().clearCache(); 052 } 053 054 /** 055 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 056 */ 057 public static void clearCache(DDMStructure ddmStructure) { 058 getPersistence().clearCache(ddmStructure); 059 } 060 061 /** 062 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 063 */ 064 public long countWithDynamicQuery(DynamicQuery dynamicQuery) 065 throws SystemException { 066 return getPersistence().countWithDynamicQuery(dynamicQuery); 067 } 068 069 /** 070 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 071 */ 072 public static List<DDMStructure> findWithDynamicQuery( 073 DynamicQuery dynamicQuery) throws SystemException { 074 return getPersistence().findWithDynamicQuery(dynamicQuery); 075 } 076 077 /** 078 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 079 */ 080 public static List<DDMStructure> findWithDynamicQuery( 081 DynamicQuery dynamicQuery, int start, int end) 082 throws SystemException { 083 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 084 } 085 086 /** 087 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 088 */ 089 public static List<DDMStructure> findWithDynamicQuery( 090 DynamicQuery dynamicQuery, int start, int end, 091 OrderByComparator orderByComparator) throws SystemException { 092 return getPersistence() 093 .findWithDynamicQuery(dynamicQuery, start, end, 094 orderByComparator); 095 } 096 097 /** 098 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) 099 */ 100 public static DDMStructure update(DDMStructure ddmStructure) 101 throws SystemException { 102 return getPersistence().update(ddmStructure); 103 } 104 105 /** 106 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) 107 */ 108 public static DDMStructure update(DDMStructure ddmStructure, 109 ServiceContext serviceContext) throws SystemException { 110 return getPersistence().update(ddmStructure, serviceContext); 111 } 112 113 /** 114 * Caches the d d m structure in the entity cache if it is enabled. 115 * 116 * @param ddmStructure the d d m structure 117 */ 118 public static void cacheResult( 119 com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure) { 120 getPersistence().cacheResult(ddmStructure); 121 } 122 123 /** 124 * Caches the d d m structures in the entity cache if it is enabled. 125 * 126 * @param ddmStructures the d d m structures 127 */ 128 public static void cacheResult( 129 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures) { 130 getPersistence().cacheResult(ddmStructures); 131 } 132 133 /** 134 * Creates a new d d m structure with the primary key. Does not add the d d m structure to the database. 135 * 136 * @param structureId the primary key for the new d d m structure 137 * @return the new d d m structure 138 */ 139 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure create( 140 long structureId) { 141 return getPersistence().create(structureId); 142 } 143 144 /** 145 * Removes the d d m structure with the primary key from the database. Also notifies the appropriate model listeners. 146 * 147 * @param structureId the primary key of the d d m structure 148 * @return the d d m structure that was removed 149 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 150 * @throws SystemException if a system exception occurred 151 */ 152 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure remove( 153 long structureId) 154 throws com.liferay.portal.kernel.exception.SystemException, 155 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 156 return getPersistence().remove(structureId); 157 } 158 159 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateImpl( 160 com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure) 161 throws com.liferay.portal.kernel.exception.SystemException { 162 return getPersistence().updateImpl(ddmStructure); 163 } 164 165 /** 166 * Returns the d d m structure with the primary key or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStructureException} if it could not be found. 167 * 168 * @param structureId the primary key of the d d m structure 169 * @return the d d m structure 170 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 171 * @throws SystemException if a system exception occurred 172 */ 173 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByPrimaryKey( 174 long structureId) 175 throws com.liferay.portal.kernel.exception.SystemException, 176 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 177 return getPersistence().findByPrimaryKey(structureId); 178 } 179 180 /** 181 * Returns the d d m structure with the primary key or returns <code>null</code> if it could not be found. 182 * 183 * @param structureId the primary key of the d d m structure 184 * @return the d d m structure, or <code>null</code> if a d d m structure with the primary key could not be found 185 * @throws SystemException if a system exception occurred 186 */ 187 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByPrimaryKey( 188 long structureId) 189 throws com.liferay.portal.kernel.exception.SystemException { 190 return getPersistence().fetchByPrimaryKey(structureId); 191 } 192 193 /** 194 * Returns all the d d m structures where uuid = ?. 195 * 196 * @param uuid the uuid 197 * @return the matching d d m structures 198 * @throws SystemException if a system exception occurred 199 */ 200 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid( 201 java.lang.String uuid) 202 throws com.liferay.portal.kernel.exception.SystemException { 203 return getPersistence().findByUuid(uuid); 204 } 205 206 /** 207 * Returns a range of all the d d m structures where uuid = ?. 208 * 209 * <p> 210 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 211 * </p> 212 * 213 * @param uuid the uuid 214 * @param start the lower bound of the range of d d m structures 215 * @param end the upper bound of the range of d d m structures (not inclusive) 216 * @return the range of matching d d m structures 217 * @throws SystemException if a system exception occurred 218 */ 219 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid( 220 java.lang.String uuid, int start, int end) 221 throws com.liferay.portal.kernel.exception.SystemException { 222 return getPersistence().findByUuid(uuid, start, end); 223 } 224 225 /** 226 * Returns an ordered range of all the d d m structures where uuid = ?. 227 * 228 * <p> 229 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 230 * </p> 231 * 232 * @param uuid the uuid 233 * @param start the lower bound of the range of d d m structures 234 * @param end the upper bound of the range of d d m structures (not inclusive) 235 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 236 * @return the ordered range of matching d d m structures 237 * @throws SystemException if a system exception occurred 238 */ 239 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid( 240 java.lang.String uuid, int start, int end, 241 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 242 throws com.liferay.portal.kernel.exception.SystemException { 243 return getPersistence().findByUuid(uuid, start, end, orderByComparator); 244 } 245 246 /** 247 * Returns the first d d m structure in the ordered set where uuid = ?. 248 * 249 * @param uuid the uuid 250 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 251 * @return the first matching d d m structure 252 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 253 * @throws SystemException if a system exception occurred 254 */ 255 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUuid_First( 256 java.lang.String uuid, 257 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 258 throws com.liferay.portal.kernel.exception.SystemException, 259 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 260 return getPersistence().findByUuid_First(uuid, orderByComparator); 261 } 262 263 /** 264 * Returns the first d d m structure in the ordered set where uuid = ?. 265 * 266 * @param uuid the uuid 267 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 268 * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 269 * @throws SystemException if a system exception occurred 270 */ 271 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUuid_First( 272 java.lang.String uuid, 273 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 274 throws com.liferay.portal.kernel.exception.SystemException { 275 return getPersistence().fetchByUuid_First(uuid, orderByComparator); 276 } 277 278 /** 279 * Returns the last d d m structure in the ordered set where uuid = ?. 280 * 281 * @param uuid the uuid 282 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 283 * @return the last matching d d m structure 284 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 285 * @throws SystemException if a system exception occurred 286 */ 287 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUuid_Last( 288 java.lang.String uuid, 289 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 290 throws com.liferay.portal.kernel.exception.SystemException, 291 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 292 return getPersistence().findByUuid_Last(uuid, orderByComparator); 293 } 294 295 /** 296 * Returns the last d d m structure in the ordered set where uuid = ?. 297 * 298 * @param uuid the uuid 299 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 300 * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 301 * @throws SystemException if a system exception occurred 302 */ 303 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUuid_Last( 304 java.lang.String uuid, 305 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 306 throws com.liferay.portal.kernel.exception.SystemException { 307 return getPersistence().fetchByUuid_Last(uuid, orderByComparator); 308 } 309 310 /** 311 * Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ?. 312 * 313 * @param structureId the primary key of the current d d m structure 314 * @param uuid the uuid 315 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 316 * @return the previous, current, and next d d m structure 317 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 318 * @throws SystemException if a system exception occurred 319 */ 320 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByUuid_PrevAndNext( 321 long structureId, java.lang.String uuid, 322 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 323 throws com.liferay.portal.kernel.exception.SystemException, 324 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 325 return getPersistence() 326 .findByUuid_PrevAndNext(structureId, uuid, orderByComparator); 327 } 328 329 /** 330 * Returns the d d m structure where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStructureException} if it could not be found. 331 * 332 * @param uuid the uuid 333 * @param groupId the group ID 334 * @return the matching d d m structure 335 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 336 * @throws SystemException if a system exception occurred 337 */ 338 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUUID_G( 339 java.lang.String uuid, long groupId) 340 throws com.liferay.portal.kernel.exception.SystemException, 341 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 342 return getPersistence().findByUUID_G(uuid, groupId); 343 } 344 345 /** 346 * Returns the d d m structure where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 347 * 348 * @param uuid the uuid 349 * @param groupId the group ID 350 * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 351 * @throws SystemException if a system exception occurred 352 */ 353 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUUID_G( 354 java.lang.String uuid, long groupId) 355 throws com.liferay.portal.kernel.exception.SystemException { 356 return getPersistence().fetchByUUID_G(uuid, groupId); 357 } 358 359 /** 360 * Returns the d d m structure where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 361 * 362 * @param uuid the uuid 363 * @param groupId the group ID 364 * @param retrieveFromCache whether to use the finder cache 365 * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 366 * @throws SystemException if a system exception occurred 367 */ 368 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUUID_G( 369 java.lang.String uuid, long groupId, boolean retrieveFromCache) 370 throws com.liferay.portal.kernel.exception.SystemException { 371 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); 372 } 373 374 /** 375 * Returns all the d d m structures where uuid = ? and companyId = ?. 376 * 377 * @param uuid the uuid 378 * @param companyId the company ID 379 * @return the matching d d m structures 380 * @throws SystemException if a system exception occurred 381 */ 382 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid_C( 383 java.lang.String uuid, long companyId) 384 throws com.liferay.portal.kernel.exception.SystemException { 385 return getPersistence().findByUuid_C(uuid, companyId); 386 } 387 388 /** 389 * Returns a range of all the d d m structures where uuid = ? and companyId = ?. 390 * 391 * <p> 392 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 393 * </p> 394 * 395 * @param uuid the uuid 396 * @param companyId the company ID 397 * @param start the lower bound of the range of d d m structures 398 * @param end the upper bound of the range of d d m structures (not inclusive) 399 * @return the range of matching d d m structures 400 * @throws SystemException if a system exception occurred 401 */ 402 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid_C( 403 java.lang.String uuid, long companyId, int start, int end) 404 throws com.liferay.portal.kernel.exception.SystemException { 405 return getPersistence().findByUuid_C(uuid, companyId, start, end); 406 } 407 408 /** 409 * Returns an ordered range of all the d d m structures where uuid = ? and companyId = ?. 410 * 411 * <p> 412 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 413 * </p> 414 * 415 * @param uuid the uuid 416 * @param companyId the company ID 417 * @param start the lower bound of the range of d d m structures 418 * @param end the upper bound of the range of d d m structures (not inclusive) 419 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 420 * @return the ordered range of matching d d m structures 421 * @throws SystemException if a system exception occurred 422 */ 423 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid_C( 424 java.lang.String uuid, long companyId, int start, int end, 425 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 426 throws com.liferay.portal.kernel.exception.SystemException { 427 return getPersistence() 428 .findByUuid_C(uuid, companyId, start, end, orderByComparator); 429 } 430 431 /** 432 * Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?. 433 * 434 * @param uuid the uuid 435 * @param companyId the company ID 436 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 437 * @return the first matching d d m structure 438 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 439 * @throws SystemException if a system exception occurred 440 */ 441 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUuid_C_First( 442 java.lang.String uuid, long companyId, 443 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 444 throws com.liferay.portal.kernel.exception.SystemException, 445 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 446 return getPersistence() 447 .findByUuid_C_First(uuid, companyId, orderByComparator); 448 } 449 450 /** 451 * Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?. 452 * 453 * @param uuid the uuid 454 * @param companyId the company ID 455 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 456 * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 457 * @throws SystemException if a system exception occurred 458 */ 459 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUuid_C_First( 460 java.lang.String uuid, long companyId, 461 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 462 throws com.liferay.portal.kernel.exception.SystemException { 463 return getPersistence() 464 .fetchByUuid_C_First(uuid, companyId, orderByComparator); 465 } 466 467 /** 468 * Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?. 469 * 470 * @param uuid the uuid 471 * @param companyId the company ID 472 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 473 * @return the last matching d d m structure 474 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 475 * @throws SystemException if a system exception occurred 476 */ 477 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUuid_C_Last( 478 java.lang.String uuid, long companyId, 479 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 480 throws com.liferay.portal.kernel.exception.SystemException, 481 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 482 return getPersistence() 483 .findByUuid_C_Last(uuid, companyId, orderByComparator); 484 } 485 486 /** 487 * Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?. 488 * 489 * @param uuid the uuid 490 * @param companyId the company ID 491 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 492 * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 493 * @throws SystemException if a system exception occurred 494 */ 495 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUuid_C_Last( 496 java.lang.String uuid, long companyId, 497 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 498 throws com.liferay.portal.kernel.exception.SystemException { 499 return getPersistence() 500 .fetchByUuid_C_Last(uuid, companyId, orderByComparator); 501 } 502 503 /** 504 * Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ? and companyId = ?. 505 * 506 * @param structureId the primary key of the current d d m structure 507 * @param uuid the uuid 508 * @param companyId the company ID 509 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 510 * @return the previous, current, and next d d m structure 511 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 512 * @throws SystemException if a system exception occurred 513 */ 514 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByUuid_C_PrevAndNext( 515 long structureId, java.lang.String uuid, long companyId, 516 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 517 throws com.liferay.portal.kernel.exception.SystemException, 518 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 519 return getPersistence() 520 .findByUuid_C_PrevAndNext(structureId, uuid, companyId, 521 orderByComparator); 522 } 523 524 /** 525 * Returns all the d d m structures where groupId = ?. 526 * 527 * @param groupId the group ID 528 * @return the matching d d m structures 529 * @throws SystemException if a system exception occurred 530 */ 531 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId( 532 long groupId) 533 throws com.liferay.portal.kernel.exception.SystemException { 534 return getPersistence().findByGroupId(groupId); 535 } 536 537 /** 538 * Returns a range of all the d d m structures where groupId = ?. 539 * 540 * <p> 541 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 542 * </p> 543 * 544 * @param groupId the group ID 545 * @param start the lower bound of the range of d d m structures 546 * @param end the upper bound of the range of d d m structures (not inclusive) 547 * @return the range of matching d d m structures 548 * @throws SystemException if a system exception occurred 549 */ 550 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId( 551 long groupId, int start, int end) 552 throws com.liferay.portal.kernel.exception.SystemException { 553 return getPersistence().findByGroupId(groupId, start, end); 554 } 555 556 /** 557 * Returns an ordered range of all the d d m structures where groupId = ?. 558 * 559 * <p> 560 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 561 * </p> 562 * 563 * @param groupId the group ID 564 * @param start the lower bound of the range of d d m structures 565 * @param end the upper bound of the range of d d m structures (not inclusive) 566 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 567 * @return the ordered range of matching d d m structures 568 * @throws SystemException if a system exception occurred 569 */ 570 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId( 571 long groupId, int start, int end, 572 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 573 throws com.liferay.portal.kernel.exception.SystemException { 574 return getPersistence() 575 .findByGroupId(groupId, start, end, orderByComparator); 576 } 577 578 /** 579 * Returns the first d d m structure in the ordered set where groupId = ?. 580 * 581 * @param groupId the group ID 582 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 583 * @return the first matching d d m structure 584 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 585 * @throws SystemException if a system exception occurred 586 */ 587 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByGroupId_First( 588 long groupId, 589 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 590 throws com.liferay.portal.kernel.exception.SystemException, 591 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 592 return getPersistence().findByGroupId_First(groupId, orderByComparator); 593 } 594 595 /** 596 * Returns the first d d m structure in the ordered set where groupId = ?. 597 * 598 * @param groupId the group ID 599 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 600 * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 601 * @throws SystemException if a system exception occurred 602 */ 603 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByGroupId_First( 604 long groupId, 605 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 606 throws com.liferay.portal.kernel.exception.SystemException { 607 return getPersistence().fetchByGroupId_First(groupId, orderByComparator); 608 } 609 610 /** 611 * Returns the last d d m structure in the ordered set where groupId = ?. 612 * 613 * @param groupId the group ID 614 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 615 * @return the last matching d d m structure 616 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 617 * @throws SystemException if a system exception occurred 618 */ 619 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByGroupId_Last( 620 long groupId, 621 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 622 throws com.liferay.portal.kernel.exception.SystemException, 623 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 624 return getPersistence().findByGroupId_Last(groupId, orderByComparator); 625 } 626 627 /** 628 * Returns the last d d m structure in the ordered set where groupId = ?. 629 * 630 * @param groupId the group ID 631 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 632 * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 633 * @throws SystemException if a system exception occurred 634 */ 635 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByGroupId_Last( 636 long groupId, 637 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 638 throws com.liferay.portal.kernel.exception.SystemException { 639 return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); 640 } 641 642 /** 643 * Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ?. 644 * 645 * @param structureId the primary key of the current d d m structure 646 * @param groupId the group ID 647 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 648 * @return the previous, current, and next d d m structure 649 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 650 * @throws SystemException if a system exception occurred 651 */ 652 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByGroupId_PrevAndNext( 653 long structureId, long groupId, 654 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 655 throws com.liferay.portal.kernel.exception.SystemException, 656 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 657 return getPersistence() 658 .findByGroupId_PrevAndNext(structureId, groupId, 659 orderByComparator); 660 } 661 662 /** 663 * Returns all the d d m structures where groupId = any ?. 664 * 665 * <p> 666 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 667 * </p> 668 * 669 * @param groupIds the group IDs 670 * @return the matching d d m structures 671 * @throws SystemException if a system exception occurred 672 */ 673 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId( 674 long[] groupIds) 675 throws com.liferay.portal.kernel.exception.SystemException { 676 return getPersistence().findByGroupId(groupIds); 677 } 678 679 /** 680 * Returns a range of all the d d m structures where groupId = any ?. 681 * 682 * <p> 683 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 684 * </p> 685 * 686 * @param groupIds the group IDs 687 * @param start the lower bound of the range of d d m structures 688 * @param end the upper bound of the range of d d m structures (not inclusive) 689 * @return the range of matching d d m structures 690 * @throws SystemException if a system exception occurred 691 */ 692 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId( 693 long[] groupIds, int start, int end) 694 throws com.liferay.portal.kernel.exception.SystemException { 695 return getPersistence().findByGroupId(groupIds, start, end); 696 } 697 698 /** 699 * Returns an ordered range of all the d d m structures where groupId = any ?. 700 * 701 * <p> 702 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 703 * </p> 704 * 705 * @param groupIds the group IDs 706 * @param start the lower bound of the range of d d m structures 707 * @param end the upper bound of the range of d d m structures (not inclusive) 708 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 709 * @return the ordered range of matching d d m structures 710 * @throws SystemException if a system exception occurred 711 */ 712 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId( 713 long[] groupIds, int start, int end, 714 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 715 throws com.liferay.portal.kernel.exception.SystemException { 716 return getPersistence() 717 .findByGroupId(groupIds, start, end, orderByComparator); 718 } 719 720 /** 721 * Returns all the d d m structures that the user has permission to view where groupId = ?. 722 * 723 * @param groupId the group ID 724 * @return the matching d d m structures that the user has permission to view 725 * @throws SystemException if a system exception occurred 726 */ 727 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId( 728 long groupId) 729 throws com.liferay.portal.kernel.exception.SystemException { 730 return getPersistence().filterFindByGroupId(groupId); 731 } 732 733 /** 734 * Returns a range of all the d d m structures that the user has permission to view where groupId = ?. 735 * 736 * <p> 737 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 738 * </p> 739 * 740 * @param groupId the group ID 741 * @param start the lower bound of the range of d d m structures 742 * @param end the upper bound of the range of d d m structures (not inclusive) 743 * @return the range of matching d d m structures that the user has permission to view 744 * @throws SystemException if a system exception occurred 745 */ 746 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId( 747 long groupId, int start, int end) 748 throws com.liferay.portal.kernel.exception.SystemException { 749 return getPersistence().filterFindByGroupId(groupId, start, end); 750 } 751 752 /** 753 * Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ?. 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. 757 * </p> 758 * 759 * @param groupId the group ID 760 * @param start the lower bound of the range of d d m structures 761 * @param end the upper bound of the range of d d m structures (not inclusive) 762 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 763 * @return the ordered range of matching d d m structures that the user has permission to view 764 * @throws SystemException if a system exception occurred 765 */ 766 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId( 767 long groupId, int start, int end, 768 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 769 throws com.liferay.portal.kernel.exception.SystemException { 770 return getPersistence() 771 .filterFindByGroupId(groupId, start, end, orderByComparator); 772 } 773 774 /** 775 * Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ?. 776 * 777 * @param structureId the primary key of the current d d m structure 778 * @param groupId the group ID 779 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 780 * @return the previous, current, and next d d m structure 781 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 782 * @throws SystemException if a system exception occurred 783 */ 784 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByGroupId_PrevAndNext( 785 long structureId, long groupId, 786 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 787 throws com.liferay.portal.kernel.exception.SystemException, 788 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 789 return getPersistence() 790 .filterFindByGroupId_PrevAndNext(structureId, groupId, 791 orderByComparator); 792 } 793 794 /** 795 * Returns all the d d m structures that the user has permission to view where groupId = any ?. 796 * 797 * @param groupIds the group IDs 798 * @return the matching d d m structures that the user has permission to view 799 * @throws SystemException if a system exception occurred 800 */ 801 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId( 802 long[] groupIds) 803 throws com.liferay.portal.kernel.exception.SystemException { 804 return getPersistence().filterFindByGroupId(groupIds); 805 } 806 807 /** 808 * Returns a range of all the d d m structures that the user has permission to view where groupId = any ?. 809 * 810 * <p> 811 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 812 * </p> 813 * 814 * @param groupIds the group IDs 815 * @param start the lower bound of the range of d d m structures 816 * @param end the upper bound of the range of d d m structures (not inclusive) 817 * @return the range of matching d d m structures that the user has permission to view 818 * @throws SystemException if a system exception occurred 819 */ 820 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId( 821 long[] groupIds, int start, int end) 822 throws com.liferay.portal.kernel.exception.SystemException { 823 return getPersistence().filterFindByGroupId(groupIds, start, end); 824 } 825 826 /** 827 * Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any ?. 828 * 829 * <p> 830 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 831 * </p> 832 * 833 * @param groupIds the group IDs 834 * @param start the lower bound of the range of d d m structures 835 * @param end the upper bound of the range of d d m structures (not inclusive) 836 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 837 * @return the ordered range of matching d d m structures that the user has permission to view 838 * @throws SystemException if a system exception occurred 839 */ 840 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId( 841 long[] groupIds, int start, int end, 842 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 843 throws com.liferay.portal.kernel.exception.SystemException { 844 return getPersistence() 845 .filterFindByGroupId(groupIds, start, end, orderByComparator); 846 } 847 848 /** 849 * Returns all the d d m structures where classNameId = ?. 850 * 851 * @param classNameId the class name ID 852 * @return the matching d d m structures 853 * @throws SystemException if a system exception occurred 854 */ 855 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByClassNameId( 856 long classNameId) 857 throws com.liferay.portal.kernel.exception.SystemException { 858 return getPersistence().findByClassNameId(classNameId); 859 } 860 861 /** 862 * Returns a range of all the d d m structures where classNameId = ?. 863 * 864 * <p> 865 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 866 * </p> 867 * 868 * @param classNameId the class name ID 869 * @param start the lower bound of the range of d d m structures 870 * @param end the upper bound of the range of d d m structures (not inclusive) 871 * @return the range of matching d d m structures 872 * @throws SystemException if a system exception occurred 873 */ 874 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByClassNameId( 875 long classNameId, int start, int end) 876 throws com.liferay.portal.kernel.exception.SystemException { 877 return getPersistence().findByClassNameId(classNameId, start, end); 878 } 879 880 /** 881 * Returns an ordered range of all the d d m structures where classNameId = ?. 882 * 883 * <p> 884 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 885 * </p> 886 * 887 * @param classNameId the class name ID 888 * @param start the lower bound of the range of d d m structures 889 * @param end the upper bound of the range of d d m structures (not inclusive) 890 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 891 * @return the ordered range of matching d d m structures 892 * @throws SystemException if a system exception occurred 893 */ 894 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByClassNameId( 895 long classNameId, int start, int end, 896 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 897 throws com.liferay.portal.kernel.exception.SystemException { 898 return getPersistence() 899 .findByClassNameId(classNameId, start, end, orderByComparator); 900 } 901 902 /** 903 * Returns the first d d m structure in the ordered set where classNameId = ?. 904 * 905 * @param classNameId the class name ID 906 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 907 * @return the first matching d d m structure 908 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 909 * @throws SystemException if a system exception occurred 910 */ 911 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByClassNameId_First( 912 long classNameId, 913 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 914 throws com.liferay.portal.kernel.exception.SystemException, 915 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 916 return getPersistence() 917 .findByClassNameId_First(classNameId, orderByComparator); 918 } 919 920 /** 921 * Returns the first d d m structure in the ordered set where classNameId = ?. 922 * 923 * @param classNameId the class name ID 924 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 925 * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 926 * @throws SystemException if a system exception occurred 927 */ 928 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByClassNameId_First( 929 long classNameId, 930 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 931 throws com.liferay.portal.kernel.exception.SystemException { 932 return getPersistence() 933 .fetchByClassNameId_First(classNameId, orderByComparator); 934 } 935 936 /** 937 * Returns the last d d m structure in the ordered set where classNameId = ?. 938 * 939 * @param classNameId the class name ID 940 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 941 * @return the last matching d d m structure 942 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 943 * @throws SystemException if a system exception occurred 944 */ 945 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByClassNameId_Last( 946 long classNameId, 947 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 948 throws com.liferay.portal.kernel.exception.SystemException, 949 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 950 return getPersistence() 951 .findByClassNameId_Last(classNameId, orderByComparator); 952 } 953 954 /** 955 * Returns the last d d m structure in the ordered set where classNameId = ?. 956 * 957 * @param classNameId the class name ID 958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 959 * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 960 * @throws SystemException if a system exception occurred 961 */ 962 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByClassNameId_Last( 963 long classNameId, 964 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 965 throws com.liferay.portal.kernel.exception.SystemException { 966 return getPersistence() 967 .fetchByClassNameId_Last(classNameId, orderByComparator); 968 } 969 970 /** 971 * Returns the d d m structures before and after the current d d m structure in the ordered set where classNameId = ?. 972 * 973 * @param structureId the primary key of the current d d m structure 974 * @param classNameId the class name ID 975 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 976 * @return the previous, current, and next d d m structure 977 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 978 * @throws SystemException if a system exception occurred 979 */ 980 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByClassNameId_PrevAndNext( 981 long structureId, long classNameId, 982 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 983 throws com.liferay.portal.kernel.exception.SystemException, 984 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 985 return getPersistence() 986 .findByClassNameId_PrevAndNext(structureId, classNameId, 987 orderByComparator); 988 } 989 990 /** 991 * Returns the d d m structure where groupId = ? and structureKey = ? or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStructureException} if it could not be found. 992 * 993 * @param groupId the group ID 994 * @param structureKey the structure key 995 * @return the matching d d m structure 996 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 997 * @throws SystemException if a system exception occurred 998 */ 999 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_S( 1000 long groupId, java.lang.String structureKey) 1001 throws com.liferay.portal.kernel.exception.SystemException, 1002 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1003 return getPersistence().findByG_S(groupId, structureKey); 1004 } 1005 1006 /** 1007 * Returns the d d m structure where groupId = ? and structureKey = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1008 * 1009 * @param groupId the group ID 1010 * @param structureKey the structure key 1011 * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 1012 * @throws SystemException if a system exception occurred 1013 */ 1014 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_S( 1015 long groupId, java.lang.String structureKey) 1016 throws com.liferay.portal.kernel.exception.SystemException { 1017 return getPersistence().fetchByG_S(groupId, structureKey); 1018 } 1019 1020 /** 1021 * Returns the d d m structure where groupId = ? and structureKey = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1022 * 1023 * @param groupId the group ID 1024 * @param structureKey the structure key 1025 * @param retrieveFromCache whether to use the finder cache 1026 * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 1027 * @throws SystemException if a system exception occurred 1028 */ 1029 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_S( 1030 long groupId, java.lang.String structureKey, boolean retrieveFromCache) 1031 throws com.liferay.portal.kernel.exception.SystemException { 1032 return getPersistence() 1033 .fetchByG_S(groupId, structureKey, retrieveFromCache); 1034 } 1035 1036 /** 1037 * Returns all the d d m structures where companyId = ? and classNameId = ?. 1038 * 1039 * @param companyId the company ID 1040 * @param classNameId the class name ID 1041 * @return the matching d d m structures 1042 * @throws SystemException if a system exception occurred 1043 */ 1044 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C( 1045 long companyId, long classNameId) 1046 throws com.liferay.portal.kernel.exception.SystemException { 1047 return getPersistence().findByC_C(companyId, classNameId); 1048 } 1049 1050 /** 1051 * Returns a range of all the d d m structures where companyId = ? and classNameId = ?. 1052 * 1053 * <p> 1054 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1055 * </p> 1056 * 1057 * @param companyId the company ID 1058 * @param classNameId the class name ID 1059 * @param start the lower bound of the range of d d m structures 1060 * @param end the upper bound of the range of d d m structures (not inclusive) 1061 * @return the range of matching d d m structures 1062 * @throws SystemException if a system exception occurred 1063 */ 1064 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C( 1065 long companyId, long classNameId, int start, int end) 1066 throws com.liferay.portal.kernel.exception.SystemException { 1067 return getPersistence().findByC_C(companyId, classNameId, start, end); 1068 } 1069 1070 /** 1071 * Returns an ordered range of all the d d m structures where companyId = ? and classNameId = ?. 1072 * 1073 * <p> 1074 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1075 * </p> 1076 * 1077 * @param companyId the company ID 1078 * @param classNameId the class name ID 1079 * @param start the lower bound of the range of d d m structures 1080 * @param end the upper bound of the range of d d m structures (not inclusive) 1081 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1082 * @return the ordered range of matching d d m structures 1083 * @throws SystemException if a system exception occurred 1084 */ 1085 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C( 1086 long companyId, long classNameId, int start, int end, 1087 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1088 throws com.liferay.portal.kernel.exception.SystemException { 1089 return getPersistence() 1090 .findByC_C(companyId, classNameId, start, end, 1091 orderByComparator); 1092 } 1093 1094 /** 1095 * Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?. 1096 * 1097 * @param companyId the company ID 1098 * @param classNameId the class name ID 1099 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1100 * @return the first matching d d m structure 1101 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 1102 * @throws SystemException if a system exception occurred 1103 */ 1104 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByC_C_First( 1105 long companyId, long classNameId, 1106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1107 throws com.liferay.portal.kernel.exception.SystemException, 1108 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1109 return getPersistence() 1110 .findByC_C_First(companyId, classNameId, orderByComparator); 1111 } 1112 1113 /** 1114 * Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?. 1115 * 1116 * @param companyId the company ID 1117 * @param classNameId the class name ID 1118 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1119 * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 1120 * @throws SystemException if a system exception occurred 1121 */ 1122 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByC_C_First( 1123 long companyId, long classNameId, 1124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1125 throws com.liferay.portal.kernel.exception.SystemException { 1126 return getPersistence() 1127 .fetchByC_C_First(companyId, classNameId, orderByComparator); 1128 } 1129 1130 /** 1131 * Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?. 1132 * 1133 * @param companyId the company ID 1134 * @param classNameId the class name ID 1135 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1136 * @return the last matching d d m structure 1137 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 1138 * @throws SystemException if a system exception occurred 1139 */ 1140 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByC_C_Last( 1141 long companyId, long classNameId, 1142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1143 throws com.liferay.portal.kernel.exception.SystemException, 1144 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1145 return getPersistence() 1146 .findByC_C_Last(companyId, classNameId, orderByComparator); 1147 } 1148 1149 /** 1150 * Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?. 1151 * 1152 * @param companyId the company ID 1153 * @param classNameId the class name ID 1154 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1155 * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 1156 * @throws SystemException if a system exception occurred 1157 */ 1158 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByC_C_Last( 1159 long companyId, long classNameId, 1160 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1161 throws com.liferay.portal.kernel.exception.SystemException { 1162 return getPersistence() 1163 .fetchByC_C_Last(companyId, classNameId, orderByComparator); 1164 } 1165 1166 /** 1167 * Returns the d d m structures before and after the current d d m structure in the ordered set where companyId = ? and classNameId = ?. 1168 * 1169 * @param structureId the primary key of the current d d m structure 1170 * @param companyId the company ID 1171 * @param classNameId the class name ID 1172 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1173 * @return the previous, current, and next d d m structure 1174 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 1175 * @throws SystemException if a system exception occurred 1176 */ 1177 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByC_C_PrevAndNext( 1178 long structureId, long companyId, long classNameId, 1179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1180 throws com.liferay.portal.kernel.exception.SystemException, 1181 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1182 return getPersistence() 1183 .findByC_C_PrevAndNext(structureId, companyId, classNameId, 1184 orderByComparator); 1185 } 1186 1187 /** 1188 * Returns all the d d m structures where groupId = ? and name = ? and description = ?. 1189 * 1190 * @param groupId the group ID 1191 * @param name the name 1192 * @param description the description 1193 * @return the matching d d m structures 1194 * @throws SystemException if a system exception occurred 1195 */ 1196 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D( 1197 long groupId, java.lang.String name, java.lang.String description) 1198 throws com.liferay.portal.kernel.exception.SystemException { 1199 return getPersistence().findByG_N_D(groupId, name, description); 1200 } 1201 1202 /** 1203 * Returns a range of all the d d m structures where groupId = ? and name = ? and description = ?. 1204 * 1205 * <p> 1206 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1207 * </p> 1208 * 1209 * @param groupId the group ID 1210 * @param name the name 1211 * @param description the description 1212 * @param start the lower bound of the range of d d m structures 1213 * @param end the upper bound of the range of d d m structures (not inclusive) 1214 * @return the range of matching d d m structures 1215 * @throws SystemException if a system exception occurred 1216 */ 1217 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D( 1218 long groupId, java.lang.String name, java.lang.String description, 1219 int start, int end) 1220 throws com.liferay.portal.kernel.exception.SystemException { 1221 return getPersistence() 1222 .findByG_N_D(groupId, name, description, start, end); 1223 } 1224 1225 /** 1226 * Returns an ordered range of all the d d m structures where groupId = ? and name = ? and description = ?. 1227 * 1228 * <p> 1229 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1230 * </p> 1231 * 1232 * @param groupId the group ID 1233 * @param name the name 1234 * @param description the description 1235 * @param start the lower bound of the range of d d m structures 1236 * @param end the upper bound of the range of d d m structures (not inclusive) 1237 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1238 * @return the ordered range of matching d d m structures 1239 * @throws SystemException if a system exception occurred 1240 */ 1241 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D( 1242 long groupId, java.lang.String name, java.lang.String description, 1243 int start, int end, 1244 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1245 throws com.liferay.portal.kernel.exception.SystemException { 1246 return getPersistence() 1247 .findByG_N_D(groupId, name, description, start, end, 1248 orderByComparator); 1249 } 1250 1251 /** 1252 * Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?. 1253 * 1254 * @param groupId the group ID 1255 * @param name the name 1256 * @param description the description 1257 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1258 * @return the first matching d d m structure 1259 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 1260 * @throws SystemException if a system exception occurred 1261 */ 1262 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_N_D_First( 1263 long groupId, java.lang.String name, java.lang.String description, 1264 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1265 throws com.liferay.portal.kernel.exception.SystemException, 1266 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1267 return getPersistence() 1268 .findByG_N_D_First(groupId, name, description, 1269 orderByComparator); 1270 } 1271 1272 /** 1273 * Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?. 1274 * 1275 * @param groupId the group ID 1276 * @param name the name 1277 * @param description the description 1278 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1279 * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 1280 * @throws SystemException if a system exception occurred 1281 */ 1282 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_N_D_First( 1283 long groupId, java.lang.String name, java.lang.String description, 1284 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1285 throws com.liferay.portal.kernel.exception.SystemException { 1286 return getPersistence() 1287 .fetchByG_N_D_First(groupId, name, description, 1288 orderByComparator); 1289 } 1290 1291 /** 1292 * Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?. 1293 * 1294 * @param groupId the group ID 1295 * @param name the name 1296 * @param description the description 1297 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1298 * @return the last matching d d m structure 1299 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found 1300 * @throws SystemException if a system exception occurred 1301 */ 1302 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_N_D_Last( 1303 long groupId, java.lang.String name, java.lang.String description, 1304 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1305 throws com.liferay.portal.kernel.exception.SystemException, 1306 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1307 return getPersistence() 1308 .findByG_N_D_Last(groupId, name, description, 1309 orderByComparator); 1310 } 1311 1312 /** 1313 * Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?. 1314 * 1315 * @param groupId the group ID 1316 * @param name the name 1317 * @param description the description 1318 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1319 * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found 1320 * @throws SystemException if a system exception occurred 1321 */ 1322 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_N_D_Last( 1323 long groupId, java.lang.String name, java.lang.String description, 1324 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1325 throws com.liferay.portal.kernel.exception.SystemException { 1326 return getPersistence() 1327 .fetchByG_N_D_Last(groupId, name, description, 1328 orderByComparator); 1329 } 1330 1331 /** 1332 * Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and name = ? and description = ?. 1333 * 1334 * @param structureId the primary key of the current d d m structure 1335 * @param groupId the group ID 1336 * @param name the name 1337 * @param description the description 1338 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1339 * @return the previous, current, and next d d m structure 1340 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 1341 * @throws SystemException if a system exception occurred 1342 */ 1343 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByG_N_D_PrevAndNext( 1344 long structureId, long groupId, java.lang.String name, 1345 java.lang.String description, 1346 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1347 throws com.liferay.portal.kernel.exception.SystemException, 1348 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1349 return getPersistence() 1350 .findByG_N_D_PrevAndNext(structureId, groupId, name, 1351 description, orderByComparator); 1352 } 1353 1354 /** 1355 * Returns all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?. 1356 * 1357 * @param groupId the group ID 1358 * @param name the name 1359 * @param description the description 1360 * @return the matching d d m structures that the user has permission to view 1361 * @throws SystemException if a system exception occurred 1362 */ 1363 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_N_D( 1364 long groupId, java.lang.String name, java.lang.String description) 1365 throws com.liferay.portal.kernel.exception.SystemException { 1366 return getPersistence().filterFindByG_N_D(groupId, name, description); 1367 } 1368 1369 /** 1370 * Returns a range of all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?. 1371 * 1372 * <p> 1373 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1374 * </p> 1375 * 1376 * @param groupId the group ID 1377 * @param name the name 1378 * @param description the description 1379 * @param start the lower bound of the range of d d m structures 1380 * @param end the upper bound of the range of d d m structures (not inclusive) 1381 * @return the range of matching d d m structures that the user has permission to view 1382 * @throws SystemException if a system exception occurred 1383 */ 1384 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_N_D( 1385 long groupId, java.lang.String name, java.lang.String description, 1386 int start, int end) 1387 throws com.liferay.portal.kernel.exception.SystemException { 1388 return getPersistence() 1389 .filterFindByG_N_D(groupId, name, description, start, end); 1390 } 1391 1392 /** 1393 * Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ? and name = ? and description = ?. 1394 * 1395 * <p> 1396 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1397 * </p> 1398 * 1399 * @param groupId the group ID 1400 * @param name the name 1401 * @param description the description 1402 * @param start the lower bound of the range of d d m structures 1403 * @param end the upper bound of the range of d d m structures (not inclusive) 1404 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1405 * @return the ordered range of matching d d m structures that the user has permission to view 1406 * @throws SystemException if a system exception occurred 1407 */ 1408 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_N_D( 1409 long groupId, java.lang.String name, java.lang.String description, 1410 int start, int end, 1411 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1412 throws com.liferay.portal.kernel.exception.SystemException { 1413 return getPersistence() 1414 .filterFindByG_N_D(groupId, name, description, start, end, 1415 orderByComparator); 1416 } 1417 1418 /** 1419 * Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?. 1420 * 1421 * @param structureId the primary key of the current d d m structure 1422 * @param groupId the group ID 1423 * @param name the name 1424 * @param description the description 1425 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1426 * @return the previous, current, and next d d m structure 1427 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found 1428 * @throws SystemException if a system exception occurred 1429 */ 1430 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByG_N_D_PrevAndNext( 1431 long structureId, long groupId, java.lang.String name, 1432 java.lang.String description, 1433 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1434 throws com.liferay.portal.kernel.exception.SystemException, 1435 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1436 return getPersistence() 1437 .filterFindByG_N_D_PrevAndNext(structureId, groupId, name, 1438 description, orderByComparator); 1439 } 1440 1441 /** 1442 * Returns all the d d m structures. 1443 * 1444 * @return the d d m structures 1445 * @throws SystemException if a system exception occurred 1446 */ 1447 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll() 1448 throws com.liferay.portal.kernel.exception.SystemException { 1449 return getPersistence().findAll(); 1450 } 1451 1452 /** 1453 * Returns a range of all the d d m structures. 1454 * 1455 * <p> 1456 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1457 * </p> 1458 * 1459 * @param start the lower bound of the range of d d m structures 1460 * @param end the upper bound of the range of d d m structures (not inclusive) 1461 * @return the range of d d m structures 1462 * @throws SystemException if a system exception occurred 1463 */ 1464 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll( 1465 int start, int end) 1466 throws com.liferay.portal.kernel.exception.SystemException { 1467 return getPersistence().findAll(start, end); 1468 } 1469 1470 /** 1471 * Returns an ordered range of all the d d m structures. 1472 * 1473 * <p> 1474 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1475 * </p> 1476 * 1477 * @param start the lower bound of the range of d d m structures 1478 * @param end the upper bound of the range of d d m structures (not inclusive) 1479 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1480 * @return the ordered range of d d m structures 1481 * @throws SystemException if a system exception occurred 1482 */ 1483 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll( 1484 int start, int end, 1485 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1486 throws com.liferay.portal.kernel.exception.SystemException { 1487 return getPersistence().findAll(start, end, orderByComparator); 1488 } 1489 1490 /** 1491 * Removes all the d d m structures where uuid = ? from the database. 1492 * 1493 * @param uuid the uuid 1494 * @throws SystemException if a system exception occurred 1495 */ 1496 public static void removeByUuid(java.lang.String uuid) 1497 throws com.liferay.portal.kernel.exception.SystemException { 1498 getPersistence().removeByUuid(uuid); 1499 } 1500 1501 /** 1502 * Removes the d d m structure where uuid = ? and groupId = ? from the database. 1503 * 1504 * @param uuid the uuid 1505 * @param groupId the group ID 1506 * @return the d d m structure that was removed 1507 * @throws SystemException if a system exception occurred 1508 */ 1509 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure removeByUUID_G( 1510 java.lang.String uuid, long groupId) 1511 throws com.liferay.portal.kernel.exception.SystemException, 1512 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1513 return getPersistence().removeByUUID_G(uuid, groupId); 1514 } 1515 1516 /** 1517 * Removes all the d d m structures where uuid = ? and companyId = ? from the database. 1518 * 1519 * @param uuid the uuid 1520 * @param companyId the company ID 1521 * @throws SystemException if a system exception occurred 1522 */ 1523 public static void removeByUuid_C(java.lang.String uuid, long companyId) 1524 throws com.liferay.portal.kernel.exception.SystemException { 1525 getPersistence().removeByUuid_C(uuid, companyId); 1526 } 1527 1528 /** 1529 * Removes all the d d m structures where groupId = ? from the database. 1530 * 1531 * @param groupId the group ID 1532 * @throws SystemException if a system exception occurred 1533 */ 1534 public static void removeByGroupId(long groupId) 1535 throws com.liferay.portal.kernel.exception.SystemException { 1536 getPersistence().removeByGroupId(groupId); 1537 } 1538 1539 /** 1540 * Removes all the d d m structures where classNameId = ? from the database. 1541 * 1542 * @param classNameId the class name ID 1543 * @throws SystemException if a system exception occurred 1544 */ 1545 public static void removeByClassNameId(long classNameId) 1546 throws com.liferay.portal.kernel.exception.SystemException { 1547 getPersistence().removeByClassNameId(classNameId); 1548 } 1549 1550 /** 1551 * Removes the d d m structure where groupId = ? and structureKey = ? from the database. 1552 * 1553 * @param groupId the group ID 1554 * @param structureKey the structure key 1555 * @return the d d m structure that was removed 1556 * @throws SystemException if a system exception occurred 1557 */ 1558 public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure removeByG_S( 1559 long groupId, java.lang.String structureKey) 1560 throws com.liferay.portal.kernel.exception.SystemException, 1561 com.liferay.portlet.dynamicdatamapping.NoSuchStructureException { 1562 return getPersistence().removeByG_S(groupId, structureKey); 1563 } 1564 1565 /** 1566 * Removes all the d d m structures where companyId = ? and classNameId = ? from the database. 1567 * 1568 * @param companyId the company ID 1569 * @param classNameId the class name ID 1570 * @throws SystemException if a system exception occurred 1571 */ 1572 public static void removeByC_C(long companyId, long classNameId) 1573 throws com.liferay.portal.kernel.exception.SystemException { 1574 getPersistence().removeByC_C(companyId, classNameId); 1575 } 1576 1577 /** 1578 * Removes all the d d m structures where groupId = ? and name = ? and description = ? from the database. 1579 * 1580 * @param groupId the group ID 1581 * @param name the name 1582 * @param description the description 1583 * @throws SystemException if a system exception occurred 1584 */ 1585 public static void removeByG_N_D(long groupId, java.lang.String name, 1586 java.lang.String description) 1587 throws com.liferay.portal.kernel.exception.SystemException { 1588 getPersistence().removeByG_N_D(groupId, name, description); 1589 } 1590 1591 /** 1592 * Removes all the d d m structures from the database. 1593 * 1594 * @throws SystemException if a system exception occurred 1595 */ 1596 public static void removeAll() 1597 throws com.liferay.portal.kernel.exception.SystemException { 1598 getPersistence().removeAll(); 1599 } 1600 1601 /** 1602 * Returns the number of d d m structures where uuid = ?. 1603 * 1604 * @param uuid the uuid 1605 * @return the number of matching d d m structures 1606 * @throws SystemException if a system exception occurred 1607 */ 1608 public static int countByUuid(java.lang.String uuid) 1609 throws com.liferay.portal.kernel.exception.SystemException { 1610 return getPersistence().countByUuid(uuid); 1611 } 1612 1613 /** 1614 * Returns the number of d d m structures where uuid = ? and groupId = ?. 1615 * 1616 * @param uuid the uuid 1617 * @param groupId the group ID 1618 * @return the number of matching d d m structures 1619 * @throws SystemException if a system exception occurred 1620 */ 1621 public static int countByUUID_G(java.lang.String uuid, long groupId) 1622 throws com.liferay.portal.kernel.exception.SystemException { 1623 return getPersistence().countByUUID_G(uuid, groupId); 1624 } 1625 1626 /** 1627 * Returns the number of d d m structures where uuid = ? and companyId = ?. 1628 * 1629 * @param uuid the uuid 1630 * @param companyId the company ID 1631 * @return the number of matching d d m structures 1632 * @throws SystemException if a system exception occurred 1633 */ 1634 public static int countByUuid_C(java.lang.String uuid, long companyId) 1635 throws com.liferay.portal.kernel.exception.SystemException { 1636 return getPersistence().countByUuid_C(uuid, companyId); 1637 } 1638 1639 /** 1640 * Returns the number of d d m structures where groupId = ?. 1641 * 1642 * @param groupId the group ID 1643 * @return the number of matching d d m structures 1644 * @throws SystemException if a system exception occurred 1645 */ 1646 public static int countByGroupId(long groupId) 1647 throws com.liferay.portal.kernel.exception.SystemException { 1648 return getPersistence().countByGroupId(groupId); 1649 } 1650 1651 /** 1652 * Returns the number of d d m structures where groupId = any ?. 1653 * 1654 * @param groupIds the group IDs 1655 * @return the number of matching d d m structures 1656 * @throws SystemException if a system exception occurred 1657 */ 1658 public static int countByGroupId(long[] groupIds) 1659 throws com.liferay.portal.kernel.exception.SystemException { 1660 return getPersistence().countByGroupId(groupIds); 1661 } 1662 1663 /** 1664 * Returns the number of d d m structures that the user has permission to view where groupId = ?. 1665 * 1666 * @param groupId the group ID 1667 * @return the number of matching d d m structures that the user has permission to view 1668 * @throws SystemException if a system exception occurred 1669 */ 1670 public static int filterCountByGroupId(long groupId) 1671 throws com.liferay.portal.kernel.exception.SystemException { 1672 return getPersistence().filterCountByGroupId(groupId); 1673 } 1674 1675 /** 1676 * Returns the number of d d m structures that the user has permission to view where groupId = any ?. 1677 * 1678 * @param groupIds the group IDs 1679 * @return the number of matching d d m structures that the user has permission to view 1680 * @throws SystemException if a system exception occurred 1681 */ 1682 public static int filterCountByGroupId(long[] groupIds) 1683 throws com.liferay.portal.kernel.exception.SystemException { 1684 return getPersistence().filterCountByGroupId(groupIds); 1685 } 1686 1687 /** 1688 * Returns the number of d d m structures where classNameId = ?. 1689 * 1690 * @param classNameId the class name ID 1691 * @return the number of matching d d m structures 1692 * @throws SystemException if a system exception occurred 1693 */ 1694 public static int countByClassNameId(long classNameId) 1695 throws com.liferay.portal.kernel.exception.SystemException { 1696 return getPersistence().countByClassNameId(classNameId); 1697 } 1698 1699 /** 1700 * Returns the number of d d m structures where groupId = ? and structureKey = ?. 1701 * 1702 * @param groupId the group ID 1703 * @param structureKey the structure key 1704 * @return the number of matching d d m structures 1705 * @throws SystemException if a system exception occurred 1706 */ 1707 public static int countByG_S(long groupId, java.lang.String structureKey) 1708 throws com.liferay.portal.kernel.exception.SystemException { 1709 return getPersistence().countByG_S(groupId, structureKey); 1710 } 1711 1712 /** 1713 * Returns the number of d d m structures where companyId = ? and classNameId = ?. 1714 * 1715 * @param companyId the company ID 1716 * @param classNameId the class name ID 1717 * @return the number of matching d d m structures 1718 * @throws SystemException if a system exception occurred 1719 */ 1720 public static int countByC_C(long companyId, long classNameId) 1721 throws com.liferay.portal.kernel.exception.SystemException { 1722 return getPersistence().countByC_C(companyId, classNameId); 1723 } 1724 1725 /** 1726 * Returns the number of d d m structures where groupId = ? and name = ? and description = ?. 1727 * 1728 * @param groupId the group ID 1729 * @param name the name 1730 * @param description the description 1731 * @return the number of matching d d m structures 1732 * @throws SystemException if a system exception occurred 1733 */ 1734 public static int countByG_N_D(long groupId, java.lang.String name, 1735 java.lang.String description) 1736 throws com.liferay.portal.kernel.exception.SystemException { 1737 return getPersistence().countByG_N_D(groupId, name, description); 1738 } 1739 1740 /** 1741 * Returns the number of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?. 1742 * 1743 * @param groupId the group ID 1744 * @param name the name 1745 * @param description the description 1746 * @return the number of matching d d m structures that the user has permission to view 1747 * @throws SystemException if a system exception occurred 1748 */ 1749 public static int filterCountByG_N_D(long groupId, java.lang.String name, 1750 java.lang.String description) 1751 throws com.liferay.portal.kernel.exception.SystemException { 1752 return getPersistence().filterCountByG_N_D(groupId, name, description); 1753 } 1754 1755 /** 1756 * Returns the number of d d m structures. 1757 * 1758 * @return the number of d d m structures 1759 * @throws SystemException if a system exception occurred 1760 */ 1761 public static int countAll() 1762 throws com.liferay.portal.kernel.exception.SystemException { 1763 return getPersistence().countAll(); 1764 } 1765 1766 public static DDMStructurePersistence getPersistence() { 1767 if (_persistence == null) { 1768 _persistence = (DDMStructurePersistence)PortalBeanLocatorUtil.locate(DDMStructurePersistence.class.getName()); 1769 1770 ReferenceRegistry.registerReference(DDMStructureUtil.class, 1771 "_persistence"); 1772 } 1773 1774 return _persistence; 1775 } 1776 1777 /** 1778 * @deprecated 1779 */ 1780 public void setPersistence(DDMStructurePersistence persistence) { 1781 } 1782 1783 private static DDMStructurePersistence _persistence; 1784 }