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