001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portlet.softwarecatalog.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion; 020 021 /** 022 * The persistence interface for the s c framework version service. 023 * 024 * <p> 025 * Never modify or reference this interface directly. Always use {@link SCFrameworkVersionUtil} to access the s c framework version persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 026 * </p> 027 * 028 * <p> 029 * Caching information and settings can be found in <code>portal.properties</code> 030 * </p> 031 * 032 * @author Brian Wing Shun Chan 033 * @see SCFrameworkVersionPersistenceImpl 034 * @see SCFrameworkVersionUtil 035 * @generated 036 */ 037 public interface SCFrameworkVersionPersistence extends BasePersistence<SCFrameworkVersion> { 038 /** 039 * Caches the s c framework version in the entity cache if it is enabled. 040 * 041 * @param scFrameworkVersion the s c framework version to cache 042 */ 043 public void cacheResult( 044 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion); 045 046 /** 047 * Caches the s c framework versions in the entity cache if it is enabled. 048 * 049 * @param scFrameworkVersions the s c framework versions to cache 050 */ 051 public void cacheResult( 052 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions); 053 054 /** 055 * Creates a new s c framework version with the primary key. Does not add the s c framework version to the database. 056 * 057 * @param frameworkVersionId the primary key for the new s c framework version 058 * @return the new s c framework version 059 */ 060 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create( 061 long frameworkVersionId); 062 063 /** 064 * Removes the s c framework version with the primary key from the database. Also notifies the appropriate model listeners. 065 * 066 * @param frameworkVersionId the primary key of the s c framework version to remove 067 * @return the s c framework version that was removed 068 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found 069 * @throws SystemException if a system exception occurred 070 */ 071 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove( 072 long frameworkVersionId) 073 throws com.liferay.portal.kernel.exception.SystemException, 074 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 075 076 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl( 077 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion, 078 boolean merge) 079 throws com.liferay.portal.kernel.exception.SystemException; 080 081 /** 082 * Finds the s c framework version with the primary key or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException} if it could not be found. 083 * 084 * @param frameworkVersionId the primary key of the s c framework version to find 085 * @return the s c framework version 086 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found 087 * @throws SystemException if a system exception occurred 088 */ 089 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey( 090 long frameworkVersionId) 091 throws com.liferay.portal.kernel.exception.SystemException, 092 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 093 094 /** 095 * Finds the s c framework version with the primary key or returns <code>null</code> if it could not be found. 096 * 097 * @param frameworkVersionId the primary key of the s c framework version to find 098 * @return the s c framework version, or <code>null</code> if a s c framework version with the primary key could not be found 099 * @throws SystemException if a system exception occurred 100 */ 101 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey( 102 long frameworkVersionId) 103 throws com.liferay.portal.kernel.exception.SystemException; 104 105 /** 106 * Finds all the s c framework versions where groupId = ?. 107 * 108 * @param groupId the group id to search with 109 * @return the matching s c framework versions 110 * @throws SystemException if a system exception occurred 111 */ 112 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId( 113 long groupId) 114 throws com.liferay.portal.kernel.exception.SystemException; 115 116 /** 117 * Finds a range of all the s c framework versions where groupId = ?. 118 * 119 * <p> 120 * 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. 121 * </p> 122 * 123 * @param groupId the group id to search with 124 * @param start the lower bound of the range of s c framework versions to return 125 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 126 * @return the range of matching s c framework versions 127 * @throws SystemException if a system exception occurred 128 */ 129 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId( 130 long groupId, int start, int end) 131 throws com.liferay.portal.kernel.exception.SystemException; 132 133 /** 134 * Finds an ordered range of all the s c framework versions where groupId = ?. 135 * 136 * <p> 137 * 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. 138 * </p> 139 * 140 * @param groupId the group id to search with 141 * @param start the lower bound of the range of s c framework versions to return 142 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 143 * @param orderByComparator the comparator to order the results by 144 * @return the ordered range of matching s c framework versions 145 * @throws SystemException if a system exception occurred 146 */ 147 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId( 148 long groupId, int start, int end, 149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 150 throws com.liferay.portal.kernel.exception.SystemException; 151 152 /** 153 * Finds the first s c framework version in the ordered set where groupId = ?. 154 * 155 * <p> 156 * 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. 157 * </p> 158 * 159 * @param groupId the group id to search with 160 * @param orderByComparator the comparator to order the set by 161 * @return the first matching s c framework version 162 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found 163 * @throws SystemException if a system exception occurred 164 */ 165 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_First( 166 long groupId, 167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 168 throws com.liferay.portal.kernel.exception.SystemException, 169 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 170 171 /** 172 * Finds the last s c framework version in the ordered set where groupId = ?. 173 * 174 * <p> 175 * 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. 176 * </p> 177 * 178 * @param groupId the group id to search with 179 * @param orderByComparator the comparator to order the set by 180 * @return the last matching s c framework version 181 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found 182 * @throws SystemException if a system exception occurred 183 */ 184 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last( 185 long groupId, 186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 187 throws com.liferay.portal.kernel.exception.SystemException, 188 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 189 190 /** 191 * Finds the s c framework versions before and after the current s c framework version in the ordered set where groupId = ?. 192 * 193 * <p> 194 * 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. 195 * </p> 196 * 197 * @param frameworkVersionId the primary key of the current s c framework version 198 * @param groupId the group id to search with 199 * @param orderByComparator the comparator to order the set by 200 * @return the previous, current, and next s c framework version 201 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found 202 * @throws SystemException if a system exception occurred 203 */ 204 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext( 205 long frameworkVersionId, long groupId, 206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 207 throws com.liferay.portal.kernel.exception.SystemException, 208 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 209 210 /** 211 * Filters by the user's permissions and finds all the s c framework versions where groupId = ?. 212 * 213 * @param groupId the group id to search with 214 * @return the matching s c framework versions that the user has permission to view 215 * @throws SystemException if a system exception occurred 216 */ 217 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId( 218 long groupId) 219 throws com.liferay.portal.kernel.exception.SystemException; 220 221 /** 222 * Filters by the user's permissions and finds a range of all the s c framework versions where groupId = ?. 223 * 224 * <p> 225 * 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. 226 * </p> 227 * 228 * @param groupId the group id to search with 229 * @param start the lower bound of the range of s c framework versions to return 230 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 231 * @return the range of matching s c framework versions that the user has permission to view 232 * @throws SystemException if a system exception occurred 233 */ 234 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId( 235 long groupId, int start, int end) 236 throws com.liferay.portal.kernel.exception.SystemException; 237 238 /** 239 * Filters by the user's permissions and finds an ordered range of all the s c framework versions where groupId = ?. 240 * 241 * <p> 242 * 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. 243 * </p> 244 * 245 * @param groupId the group id to search with 246 * @param start the lower bound of the range of s c framework versions to return 247 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 248 * @param orderByComparator the comparator to order the results by 249 * @return the ordered range of matching s c framework versions that the user has permission to view 250 * @throws SystemException if a system exception occurred 251 */ 252 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByGroupId( 253 long groupId, int start, int end, 254 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 255 throws com.liferay.portal.kernel.exception.SystemException; 256 257 /** 258 * Finds all the s c framework versions where companyId = ?. 259 * 260 * @param companyId the company id to search with 261 * @return the matching s c framework versions 262 * @throws SystemException if a system exception occurred 263 */ 264 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId( 265 long companyId) 266 throws com.liferay.portal.kernel.exception.SystemException; 267 268 /** 269 * Finds a range of all the s c framework versions where companyId = ?. 270 * 271 * <p> 272 * 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. 273 * </p> 274 * 275 * @param companyId the company id to search with 276 * @param start the lower bound of the range of s c framework versions to return 277 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 278 * @return the range of matching s c framework versions 279 * @throws SystemException if a system exception occurred 280 */ 281 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId( 282 long companyId, int start, int end) 283 throws com.liferay.portal.kernel.exception.SystemException; 284 285 /** 286 * Finds an ordered range of all the s c framework versions where companyId = ?. 287 * 288 * <p> 289 * 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. 290 * </p> 291 * 292 * @param companyId the company id to search with 293 * @param start the lower bound of the range of s c framework versions to return 294 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 295 * @param orderByComparator the comparator to order the results by 296 * @return the ordered range of matching s c framework versions 297 * @throws SystemException if a system exception occurred 298 */ 299 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId( 300 long companyId, int start, int end, 301 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 302 throws com.liferay.portal.kernel.exception.SystemException; 303 304 /** 305 * Finds the first s c framework version in the ordered set where companyId = ?. 306 * 307 * <p> 308 * 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. 309 * </p> 310 * 311 * @param companyId the company id to search with 312 * @param orderByComparator the comparator to order the set by 313 * @return the first matching s c framework version 314 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found 315 * @throws SystemException if a system exception occurred 316 */ 317 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First( 318 long companyId, 319 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 320 throws com.liferay.portal.kernel.exception.SystemException, 321 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 322 323 /** 324 * Finds the last s c framework version in the ordered set where companyId = ?. 325 * 326 * <p> 327 * 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. 328 * </p> 329 * 330 * @param companyId the company id to search with 331 * @param orderByComparator the comparator to order the set by 332 * @return the last matching s c framework version 333 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found 334 * @throws SystemException if a system exception occurred 335 */ 336 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last( 337 long companyId, 338 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 339 throws com.liferay.portal.kernel.exception.SystemException, 340 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 341 342 /** 343 * Finds the s c framework versions before and after the current s c framework version in the ordered set where companyId = ?. 344 * 345 * <p> 346 * 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. 347 * </p> 348 * 349 * @param frameworkVersionId the primary key of the current s c framework version 350 * @param companyId the company id to search with 351 * @param orderByComparator the comparator to order the set by 352 * @return the previous, current, and next s c framework version 353 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found 354 * @throws SystemException if a system exception occurred 355 */ 356 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext( 357 long frameworkVersionId, long companyId, 358 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 359 throws com.liferay.portal.kernel.exception.SystemException, 360 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 361 362 /** 363 * Finds all the s c framework versions where groupId = ? and active = ?. 364 * 365 * @param groupId the group id to search with 366 * @param active the active to search with 367 * @return the matching s c framework versions 368 * @throws SystemException if a system exception occurred 369 */ 370 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A( 371 long groupId, boolean active) 372 throws com.liferay.portal.kernel.exception.SystemException; 373 374 /** 375 * Finds a range of all the s c framework versions where groupId = ? and active = ?. 376 * 377 * <p> 378 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 379 * </p> 380 * 381 * @param groupId the group id to search with 382 * @param active the active to search with 383 * @param start the lower bound of the range of s c framework versions to return 384 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 385 * @return the range of matching s c framework versions 386 * @throws SystemException if a system exception occurred 387 */ 388 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A( 389 long groupId, boolean active, int start, int end) 390 throws com.liferay.portal.kernel.exception.SystemException; 391 392 /** 393 * Finds an ordered range of all the s c framework versions where groupId = ? and active = ?. 394 * 395 * <p> 396 * 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. 397 * </p> 398 * 399 * @param groupId the group id to search with 400 * @param active the active to search with 401 * @param start the lower bound of the range of s c framework versions to return 402 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 403 * @param orderByComparator the comparator to order the results by 404 * @return the ordered range of matching s c framework versions 405 * @throws SystemException if a system exception occurred 406 */ 407 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A( 408 long groupId, boolean active, int start, int end, 409 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 410 throws com.liferay.portal.kernel.exception.SystemException; 411 412 /** 413 * Finds the first s c framework version in the ordered set where groupId = ? and active = ?. 414 * 415 * <p> 416 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 417 * </p> 418 * 419 * @param groupId the group id to search with 420 * @param active the active to search with 421 * @param orderByComparator the comparator to order the set by 422 * @return the first matching s c framework version 423 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found 424 * @throws SystemException if a system exception occurred 425 */ 426 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First( 427 long groupId, boolean active, 428 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 429 throws com.liferay.portal.kernel.exception.SystemException, 430 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 431 432 /** 433 * Finds the last s c framework version in the ordered set where groupId = ? and active = ?. 434 * 435 * <p> 436 * 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. 437 * </p> 438 * 439 * @param groupId the group id to search with 440 * @param active the active to search with 441 * @param orderByComparator the comparator to order the set by 442 * @return the last matching s c framework version 443 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a matching s c framework version could not be found 444 * @throws SystemException if a system exception occurred 445 */ 446 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last( 447 long groupId, boolean active, 448 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 449 throws com.liferay.portal.kernel.exception.SystemException, 450 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 451 452 /** 453 * Finds the s c framework versions before and after the current s c framework version in the ordered set where groupId = ? and active = ?. 454 * 455 * <p> 456 * 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. 457 * </p> 458 * 459 * @param frameworkVersionId the primary key of the current s c framework version 460 * @param groupId the group id to search with 461 * @param active the active to search with 462 * @param orderByComparator the comparator to order the set by 463 * @return the previous, current, and next s c framework version 464 * @throws com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException if a s c framework version with the primary key could not be found 465 * @throws SystemException if a system exception occurred 466 */ 467 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext( 468 long frameworkVersionId, long groupId, boolean active, 469 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 470 throws com.liferay.portal.kernel.exception.SystemException, 471 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException; 472 473 /** 474 * Filters by the user's permissions and finds all the s c framework versions where groupId = ? and active = ?. 475 * 476 * @param groupId the group id to search with 477 * @param active the active to search with 478 * @return the matching s c framework versions that the user has permission to view 479 * @throws SystemException if a system exception occurred 480 */ 481 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A( 482 long groupId, boolean active) 483 throws com.liferay.portal.kernel.exception.SystemException; 484 485 /** 486 * Filters by the user's permissions and finds a range of all the s c framework versions where groupId = ? and active = ?. 487 * 488 * <p> 489 * 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. 490 * </p> 491 * 492 * @param groupId the group id to search with 493 * @param active the active to search with 494 * @param start the lower bound of the range of s c framework versions to return 495 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 496 * @return the range of matching s c framework versions that the user has permission to view 497 * @throws SystemException if a system exception occurred 498 */ 499 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A( 500 long groupId, boolean active, int start, int end) 501 throws com.liferay.portal.kernel.exception.SystemException; 502 503 /** 504 * Filters by the user's permissions and finds an ordered range of all the s c framework versions where groupId = ? and active = ?. 505 * 506 * <p> 507 * 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. 508 * </p> 509 * 510 * @param groupId the group id to search with 511 * @param active the active to search with 512 * @param start the lower bound of the range of s c framework versions to return 513 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 514 * @param orderByComparator the comparator to order the results by 515 * @return the ordered range of matching s c framework versions that the user has permission to view 516 * @throws SystemException if a system exception occurred 517 */ 518 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> filterFindByG_A( 519 long groupId, boolean active, int start, int end, 520 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 521 throws com.liferay.portal.kernel.exception.SystemException; 522 523 /** 524 * Finds all the s c framework versions. 525 * 526 * @return the s c framework versions 527 * @throws SystemException if a system exception occurred 528 */ 529 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll() 530 throws com.liferay.portal.kernel.exception.SystemException; 531 532 /** 533 * Finds a range of all the s c framework versions. 534 * 535 * <p> 536 * 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. 537 * </p> 538 * 539 * @param start the lower bound of the range of s c framework versions to return 540 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 541 * @return the range of s c framework versions 542 * @throws SystemException if a system exception occurred 543 */ 544 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll( 545 int start, int end) 546 throws com.liferay.portal.kernel.exception.SystemException; 547 548 /** 549 * Finds an ordered range of all the s c framework versions. 550 * 551 * <p> 552 * 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. 553 * </p> 554 * 555 * @param start the lower bound of the range of s c framework versions to return 556 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 557 * @param orderByComparator the comparator to order the results by 558 * @return the ordered range of s c framework versions 559 * @throws SystemException if a system exception occurred 560 */ 561 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll( 562 int start, int end, 563 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 564 throws com.liferay.portal.kernel.exception.SystemException; 565 566 /** 567 * Removes all the s c framework versions where groupId = ? from the database. 568 * 569 * @param groupId the group id to search with 570 * @throws SystemException if a system exception occurred 571 */ 572 public void removeByGroupId(long groupId) 573 throws com.liferay.portal.kernel.exception.SystemException; 574 575 /** 576 * Removes all the s c framework versions where companyId = ? from the database. 577 * 578 * @param companyId the company id to search with 579 * @throws SystemException if a system exception occurred 580 */ 581 public void removeByCompanyId(long companyId) 582 throws com.liferay.portal.kernel.exception.SystemException; 583 584 /** 585 * Removes all the s c framework versions where groupId = ? and active = ? from the database. 586 * 587 * @param groupId the group id to search with 588 * @param active the active to search with 589 * @throws SystemException if a system exception occurred 590 */ 591 public void removeByG_A(long groupId, boolean active) 592 throws com.liferay.portal.kernel.exception.SystemException; 593 594 /** 595 * Removes all the s c framework versions from the database. 596 * 597 * @throws SystemException if a system exception occurred 598 */ 599 public void removeAll() 600 throws com.liferay.portal.kernel.exception.SystemException; 601 602 /** 603 * Counts all the s c framework versions where groupId = ?. 604 * 605 * @param groupId the group id to search with 606 * @return the number of matching s c framework versions 607 * @throws SystemException if a system exception occurred 608 */ 609 public int countByGroupId(long groupId) 610 throws com.liferay.portal.kernel.exception.SystemException; 611 612 /** 613 * Filters by the user's permissions and counts all the s c framework versions where groupId = ?. 614 * 615 * @param groupId the group id to search with 616 * @return the number of matching s c framework versions that the user has permission to view 617 * @throws SystemException if a system exception occurred 618 */ 619 public int filterCountByGroupId(long groupId) 620 throws com.liferay.portal.kernel.exception.SystemException; 621 622 /** 623 * Counts all the s c framework versions where companyId = ?. 624 * 625 * @param companyId the company id to search with 626 * @return the number of matching s c framework versions 627 * @throws SystemException if a system exception occurred 628 */ 629 public int countByCompanyId(long companyId) 630 throws com.liferay.portal.kernel.exception.SystemException; 631 632 /** 633 * Counts all the s c framework versions where groupId = ? and active = ?. 634 * 635 * @param groupId the group id to search with 636 * @param active the active to search with 637 * @return the number of matching s c framework versions 638 * @throws SystemException if a system exception occurred 639 */ 640 public int countByG_A(long groupId, boolean active) 641 throws com.liferay.portal.kernel.exception.SystemException; 642 643 /** 644 * Filters by the user's permissions and counts all the s c framework versions where groupId = ? and active = ?. 645 * 646 * @param groupId the group id to search with 647 * @param active the active to search with 648 * @return the number of matching s c framework versions that the user has permission to view 649 * @throws SystemException if a system exception occurred 650 */ 651 public int filterCountByG_A(long groupId, boolean active) 652 throws com.liferay.portal.kernel.exception.SystemException; 653 654 /** 655 * Counts all the s c framework versions. 656 * 657 * @return the number of s c framework versions 658 * @throws SystemException if a system exception occurred 659 */ 660 public int countAll() 661 throws com.liferay.portal.kernel.exception.SystemException; 662 663 /** 664 * Gets all the s c product versions associated with the s c framework version. 665 * 666 * @param pk the primary key of the s c framework version to get the associated s c product versions for 667 * @return the s c product versions associated with the s c framework version 668 * @throws SystemException if a system exception occurred 669 */ 670 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions( 671 long pk) throws com.liferay.portal.kernel.exception.SystemException; 672 673 /** 674 * Gets a range of all the s c product versions associated with the s c framework version. 675 * 676 * <p> 677 * 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. 678 * </p> 679 * 680 * @param pk the primary key of the s c framework version to get the associated s c product versions for 681 * @param start the lower bound of the range of s c framework versions to return 682 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 683 * @return the range of s c product versions associated with the s c framework version 684 * @throws SystemException if a system exception occurred 685 */ 686 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions( 687 long pk, int start, int end) 688 throws com.liferay.portal.kernel.exception.SystemException; 689 690 /** 691 * Gets an ordered range of all the s c product versions associated with the s c framework version. 692 * 693 * <p> 694 * 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. 695 * </p> 696 * 697 * @param pk the primary key of the s c framework version to get the associated s c product versions for 698 * @param start the lower bound of the range of s c framework versions to return 699 * @param end the upper bound of the range of s c framework versions to return (not inclusive) 700 * @param orderByComparator the comparator to order the results by 701 * @return the ordered range of s c product versions associated with the s c framework version 702 * @throws SystemException if a system exception occurred 703 */ 704 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions( 705 long pk, int start, int end, 706 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 707 throws com.liferay.portal.kernel.exception.SystemException; 708 709 /** 710 * Gets the number of s c product versions associated with the s c framework version. 711 * 712 * @param pk the primary key of the s c framework version to get the number of associated s c product versions for 713 * @return the number of s c product versions associated with the s c framework version 714 * @throws SystemException if a system exception occurred 715 */ 716 public int getSCProductVersionsSize(long pk) 717 throws com.liferay.portal.kernel.exception.SystemException; 718 719 /** 720 * Determines whether the s c product version is associated with the s c framework version. 721 * 722 * @param pk the primary key of the s c framework version 723 * @param scProductVersionPK the primary key of the s c product version 724 * @return whether the s c product version is associated with the s c framework version 725 * @throws SystemException if a system exception occurred 726 */ 727 public boolean containsSCProductVersion(long pk, long scProductVersionPK) 728 throws com.liferay.portal.kernel.exception.SystemException; 729 730 /** 731 * Determines whether the s c framework version has any s c product versions associated with it. 732 * 733 * @param pk the primary key of the s c framework version to check for associations with s c product versions 734 * @return whether the s c framework version has any s c product versions associated with it 735 * @throws SystemException if a system exception occurred 736 */ 737 public boolean containsSCProductVersions(long pk) 738 throws com.liferay.portal.kernel.exception.SystemException; 739 740 /** 741 * Adds an association between the s c framework version and the s c product version. Also notifies the appropriate model listeners and clears the mapping table finder cache. 742 * 743 * @param pk the primary key of the s c framework version 744 * @param scProductVersionPK the primary key of the s c product version 745 * @throws SystemException if a system exception occurred 746 */ 747 public void addSCProductVersion(long pk, long scProductVersionPK) 748 throws com.liferay.portal.kernel.exception.SystemException; 749 750 /** 751 * Adds an association between the s c framework version and the s c product version. Also notifies the appropriate model listeners and clears the mapping table finder cache. 752 * 753 * @param pk the primary key of the s c framework version 754 * @param scProductVersion the s c product version 755 * @throws SystemException if a system exception occurred 756 */ 757 public void addSCProductVersion(long pk, 758 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion) 759 throws com.liferay.portal.kernel.exception.SystemException; 760 761 /** 762 * Adds an association between the s c framework version and the s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache. 763 * 764 * @param pk the primary key of the s c framework version 765 * @param scProductVersionPKs the primary keys of the s c product versions 766 * @throws SystemException if a system exception occurred 767 */ 768 public void addSCProductVersions(long pk, long[] scProductVersionPKs) 769 throws com.liferay.portal.kernel.exception.SystemException; 770 771 /** 772 * Adds an association between the s c framework version and the s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache. 773 * 774 * @param pk the primary key of the s c framework version 775 * @param scProductVersions the s c product versions 776 * @throws SystemException if a system exception occurred 777 */ 778 public void addSCProductVersions(long pk, 779 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions) 780 throws com.liferay.portal.kernel.exception.SystemException; 781 782 /** 783 * Clears all associations between the s c framework version and its s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache. 784 * 785 * @param pk the primary key of the s c framework version to clear the associated s c product versions from 786 * @throws SystemException if a system exception occurred 787 */ 788 public void clearSCProductVersions(long pk) 789 throws com.liferay.portal.kernel.exception.SystemException; 790 791 /** 792 * Removes the association between the s c framework version and the s c product version. Also notifies the appropriate model listeners and clears the mapping table finder cache. 793 * 794 * @param pk the primary key of the s c framework version 795 * @param scProductVersionPK the primary key of the s c product version 796 * @throws SystemException if a system exception occurred 797 */ 798 public void removeSCProductVersion(long pk, long scProductVersionPK) 799 throws com.liferay.portal.kernel.exception.SystemException; 800 801 /** 802 * Removes the association between the s c framework version and the s c product version. Also notifies the appropriate model listeners and clears the mapping table finder cache. 803 * 804 * @param pk the primary key of the s c framework version 805 * @param scProductVersion the s c product version 806 * @throws SystemException if a system exception occurred 807 */ 808 public void removeSCProductVersion(long pk, 809 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion) 810 throws com.liferay.portal.kernel.exception.SystemException; 811 812 /** 813 * Removes the association between the s c framework version and the s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache. 814 * 815 * @param pk the primary key of the s c framework version 816 * @param scProductVersionPKs the primary keys of the s c product versions 817 * @throws SystemException if a system exception occurred 818 */ 819 public void removeSCProductVersions(long pk, long[] scProductVersionPKs) 820 throws com.liferay.portal.kernel.exception.SystemException; 821 822 /** 823 * Removes the association between the s c framework version and the s c product versions. Also notifies the appropriate model listeners and clears the mapping table finder cache. 824 * 825 * @param pk the primary key of the s c framework version 826 * @param scProductVersions the s c product versions 827 * @throws SystemException if a system exception occurred 828 */ 829 public void removeSCProductVersions(long pk, 830 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions) 831 throws com.liferay.portal.kernel.exception.SystemException; 832 833 /** 834 * Sets the s c product versions associated with the s c framework version, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 835 * 836 * @param pk the primary key of the s c framework version to set the associations for 837 * @param scProductVersionPKs the primary keys of the s c product versions to be associated with the s c framework version 838 * @throws SystemException if a system exception occurred 839 */ 840 public void setSCProductVersions(long pk, long[] scProductVersionPKs) 841 throws com.liferay.portal.kernel.exception.SystemException; 842 843 /** 844 * Sets the s c product versions associated with the s c framework version, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 845 * 846 * @param pk the primary key of the s c framework version to set the associations for 847 * @param scProductVersions the s c product versions to be associated with the s c framework version 848 * @throws SystemException if a system exception occurred 849 */ 850 public void setSCProductVersions(long pk, 851 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions) 852 throws com.liferay.portal.kernel.exception.SystemException; 853 }