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