@ProviderType
public class SCFrameworkVersionUtil
extends java.lang.Object
SCFrameworkVersionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
SCFrameworkVersionPersistence,
SCFrameworkVersionPersistenceImpl| Constructor and Description |
|---|
SCFrameworkVersionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addSCProductVersion(long pk,
long scProductVersionPK)
Adds an association between the s c framework version and the s c product version.
|
static void |
addSCProductVersion(long pk,
SCProductVersion scProductVersion)
Adds an association between the s c framework version and the s c product version.
|
static void |
addSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
Adds an association between the s c framework version and the s c product versions.
|
static void |
addSCProductVersions(long pk,
long[] scProductVersionPKs)
Adds an association between the s c framework version and the s c product versions.
|
static void |
cacheResult(java.util.List<SCFrameworkVersion> scFrameworkVersions)
Caches the s c framework versions in the entity cache if it is enabled.
|
static void |
cacheResult(SCFrameworkVersion scFrameworkVersion)
Caches the s c framework version in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SCFrameworkVersion scFrameworkVersion) |
static void |
clearSCProductVersions(long pk)
Clears all associations between the s c framework version and its s c product versions.
|
static boolean |
containsSCProductVersion(long pk,
long scProductVersionPK)
Returns
true if the s c product version is associated with the s c framework version. |
static boolean |
containsSCProductVersions(long pk)
Returns
true if the s c framework version has any s c product versions associated with it. |
static int |
countAll()
Returns the number of s c framework versions.
|
static int |
countByCompanyId(long companyId)
Returns the number of s c framework versions where companyId = ?.
|
static int |
countByG_A(long groupId,
boolean active)
Returns the number of s c framework versions where groupId = ? and active = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of s c framework versions where groupId = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static SCFrameworkVersion |
create(long frameworkVersionId)
Creates a new s c framework version with the primary key.
|
static SCFrameworkVersion |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first s c framework version in the ordered set where companyId = ?.
|
static SCFrameworkVersion |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last s c framework version in the ordered set where companyId = ?.
|
static SCFrameworkVersion |
fetchByG_A_First(long groupId,
boolean active,
OrderByComparator orderByComparator)
Returns the first s c framework version in the ordered set where groupId = ? and active = ?.
|
static SCFrameworkVersion |
fetchByG_A_Last(long groupId,
boolean active,
OrderByComparator orderByComparator)
Returns the last s c framework version in the ordered set where groupId = ? and active = ?.
|
static SCFrameworkVersion |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first s c framework version in the ordered set where groupId = ?.
|
static SCFrameworkVersion |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last s c framework version in the ordered set where groupId = ?.
|
static SCFrameworkVersion |
fetchByPrimaryKey(long frameworkVersionId)
Returns the s c framework version with the primary key or returns
null if it could not be found. |
static int |
filterCountByG_A(long groupId,
boolean active)
Returns the number of s c framework versions that the user has permission to view where groupId = ? and active = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of s c framework versions that the user has permission to view where groupId = ?.
|
static SCFrameworkVersion[] |
filterFindByG_A_PrevAndNext(long frameworkVersionId,
long groupId,
boolean active,
OrderByComparator orderByComparator)
Returns the s c framework versions before and after the current s c framework version in the ordered set of s c framework versions that the user has permission to view where groupId = ? and active = ?.
|
static java.util.List<SCFrameworkVersion> |
filterFindByG_A(long groupId,
boolean active)
Returns all the s c framework versions that the user has permission to view where groupId = ? and active = ?.
|
static java.util.List<SCFrameworkVersion> |
filterFindByG_A(long groupId,
boolean active,
int start,
int end)
Returns a range of all the s c framework versions that the user has permission to view where groupId = ? and active = ?.
|
static java.util.List<SCFrameworkVersion> |
filterFindByG_A(long groupId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c framework versions that the user has permissions to view where groupId = ? and active = ?.
|
static SCFrameworkVersion[] |
filterFindByGroupId_PrevAndNext(long frameworkVersionId,
long groupId,
OrderByComparator orderByComparator)
Returns the s c framework versions before and after the current s c framework version in the ordered set of s c framework versions that the user has permission to view where groupId = ?.
|
static java.util.List<SCFrameworkVersion> |
filterFindByGroupId(long groupId)
Returns all the s c framework versions that the user has permission to view where groupId = ?.
|
static java.util.List<SCFrameworkVersion> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the s c framework versions that the user has permission to view where groupId = ?.
|
static java.util.List<SCFrameworkVersion> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c framework versions that the user has permissions to view where groupId = ?.
|
static java.util.List<SCFrameworkVersion> |
findAll()
Returns all the s c framework versions.
|
static java.util.List<SCFrameworkVersion> |
findAll(int start,
int end)
Returns a range of all the s c framework versions.
|
static java.util.List<SCFrameworkVersion> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c framework versions.
|
static SCFrameworkVersion |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first s c framework version in the ordered set where companyId = ?.
|
static SCFrameworkVersion |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last s c framework version in the ordered set where companyId = ?.
|
static SCFrameworkVersion[] |
findByCompanyId_PrevAndNext(long frameworkVersionId,
long companyId,
OrderByComparator orderByComparator)
Returns the s c framework versions before and after the current s c framework version in the ordered set where companyId = ?.
|
static java.util.List<SCFrameworkVersion> |
findByCompanyId(long companyId)
Returns all the s c framework versions where companyId = ?.
|
static java.util.List<SCFrameworkVersion> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the s c framework versions where companyId = ?.
|
static java.util.List<SCFrameworkVersion> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c framework versions where companyId = ?.
|
static SCFrameworkVersion |
findByG_A_First(long groupId,
boolean active,
OrderByComparator orderByComparator)
Returns the first s c framework version in the ordered set where groupId = ? and active = ?.
|
static SCFrameworkVersion |
findByG_A_Last(long groupId,
boolean active,
OrderByComparator orderByComparator)
Returns the last s c framework version in the ordered set where groupId = ? and active = ?.
|
static SCFrameworkVersion[] |
findByG_A_PrevAndNext(long frameworkVersionId,
long groupId,
boolean active,
OrderByComparator orderByComparator)
Returns the s c framework versions before and after the current s c framework version in the ordered set where groupId = ? and active = ?.
|
static java.util.List<SCFrameworkVersion> |
findByG_A(long groupId,
boolean active)
Returns all the s c framework versions where groupId = ? and active = ?.
|
static java.util.List<SCFrameworkVersion> |
findByG_A(long groupId,
boolean active,
int start,
int end)
Returns a range of all the s c framework versions where groupId = ? and active = ?.
|
static java.util.List<SCFrameworkVersion> |
findByG_A(long groupId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c framework versions where groupId = ? and active = ?.
|
static SCFrameworkVersion |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first s c framework version in the ordered set where groupId = ?.
|
static SCFrameworkVersion |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last s c framework version in the ordered set where groupId = ?.
|
static SCFrameworkVersion[] |
findByGroupId_PrevAndNext(long frameworkVersionId,
long groupId,
OrderByComparator orderByComparator)
Returns the s c framework versions before and after the current s c framework version in the ordered set where groupId = ?.
|
static java.util.List<SCFrameworkVersion> |
findByGroupId(long groupId)
Returns all the s c framework versions where groupId = ?.
|
static java.util.List<SCFrameworkVersion> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the s c framework versions where groupId = ?.
|
static java.util.List<SCFrameworkVersion> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c framework versions where groupId = ?.
|
static SCFrameworkVersion |
findByPrimaryKey(long frameworkVersionId)
Returns the s c framework version with the primary key or throws a
NoSuchFrameworkVersionException if it could not be found. |
static java.util.List<SCFrameworkVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<SCFrameworkVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SCFrameworkVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator) |
static SCFrameworkVersionPersistence |
getPersistence() |
static java.util.List<SCProductVersion> |
getSCProductVersions(long pk)
Returns all the s c product versions associated with the s c framework version.
|
static java.util.List<SCProductVersion> |
getSCProductVersions(long pk,
int start,
int end)
Returns a range of all the s c product versions associated with the s c framework version.
|
static java.util.List<SCProductVersion> |
getSCProductVersions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c product versions associated with the s c framework version.
|
static int |
getSCProductVersionsSize(long pk)
Returns the number of s c product versions associated with the s c framework version.
|
static SCFrameworkVersion |
remove(long frameworkVersionId)
Removes the s c framework version with the primary key from the database.
|
static void |
removeAll()
Removes all the s c framework versions from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the s c framework versions where companyId = ? from the database.
|
static void |
removeByG_A(long groupId,
boolean active)
Removes all the s c framework versions where groupId = ? and active = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the s c framework versions where groupId = ? from the database.
|
static void |
removeSCProductVersion(long pk,
long scProductVersionPK)
Removes the association between the s c framework version and the s c product version.
|
static void |
removeSCProductVersion(long pk,
SCProductVersion scProductVersion)
Removes the association between the s c framework version and the s c product version.
|
static void |
removeSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
Removes the association between the s c framework version and the s c product versions.
|
static void |
removeSCProductVersions(long pk,
long[] scProductVersionPKs)
Removes the association between the s c framework version and the s c product versions.
|
void |
setPersistence(SCFrameworkVersionPersistence persistence)
Deprecated.
As of 6.2.0
|
static void |
setSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
Sets the s c product versions associated with the s c framework version, removing and adding associations as necessary.
|
static void |
setSCProductVersions(long pk,
long[] scProductVersionPKs)
Sets the s c product versions associated with the s c framework version, removing and adding associations as necessary.
|
static SCFrameworkVersion |
update(SCFrameworkVersion scFrameworkVersion) |
static SCFrameworkVersion |
update(SCFrameworkVersion scFrameworkVersion,
ServiceContext serviceContext) |
static SCFrameworkVersion |
updateImpl(SCFrameworkVersion scFrameworkVersion) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(SCFrameworkVersion scFrameworkVersion)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.List<SCFrameworkVersion> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<SCFrameworkVersion> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
public static java.util.List<SCFrameworkVersion> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
public static SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion) throws SystemException
public static SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion, ServiceContext serviceContext) throws SystemException
public static java.util.List<SCFrameworkVersion> findByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
groupId - the group IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
groupId - the group IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static SCFrameworkVersion findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
frameworkVersionId - the primary key of the current s c framework versiongroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> filterFindByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
groupId - the group IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
groupId - the group IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static SCFrameworkVersion[] filterFindByGroupId_PrevAndNext(long frameworkVersionId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
frameworkVersionId - the primary key of the current s c framework versiongroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int countByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findByCompanyId(long companyId) throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
companyId - the company IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
companyId - the company IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static SCFrameworkVersion findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
frameworkVersionId - the primary key of the current s c framework versioncompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static int countByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findByG_A(long groupId, boolean active) throws SystemException
groupId - the group IDactive - the activeSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findByG_A(long groupId, boolean active, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
groupId - the group IDactive - the activestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findByG_A(long groupId, boolean active, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
groupId - the group IDactive - the activestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static SCFrameworkVersion findByG_A_First(long groupId, boolean active, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion fetchByG_A_First(long groupId, boolean active, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion findByG_A_Last(long groupId, boolean active, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion fetchByG_A_Last(long groupId, boolean active, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching s c framework version could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId, long groupId, boolean active, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
frameworkVersionId - the primary key of the current s c framework versiongroupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> filterFindByG_A(long groupId, boolean active) throws SystemException
groupId - the group IDactive - the activeSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> filterFindByG_A(long groupId, boolean active, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
groupId - the group IDactive - the activestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> filterFindByG_A(long groupId, boolean active, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
groupId - the group IDactive - the activestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static SCFrameworkVersion[] filterFindByG_A_PrevAndNext(long frameworkVersionId, long groupId, boolean active, OrderByComparator orderByComparator) throws SystemException, NoSuchFrameworkVersionException
frameworkVersionId - the primary key of the current s c framework versiongroupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByG_A(long groupId,
boolean active)
throws SystemException
groupId - the group IDactive - the activeSystemException - if a system exception occurredpublic static int countByG_A(long groupId,
boolean active)
throws SystemException
groupId - the group IDactive - the activeSystemException - if a system exception occurredpublic static int filterCountByG_A(long groupId,
boolean active)
throws SystemException
groupId - the group IDactive - the activeSystemException - if a system exception occurredpublic static void cacheResult(SCFrameworkVersion scFrameworkVersion)
scFrameworkVersion - the s c framework versionpublic static void cacheResult(java.util.List<SCFrameworkVersion> scFrameworkVersions)
scFrameworkVersions - the s c framework versionspublic static SCFrameworkVersion create(long frameworkVersionId)
frameworkVersionId - the primary key for the new s c framework versionpublic static SCFrameworkVersion remove(long frameworkVersionId) throws SystemException, NoSuchFrameworkVersionException
frameworkVersionId - the primary key of the s c framework versionNoSuchFrameworkVersionException - if a s c framework version with the primary key could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion) throws SystemException
SystemExceptionpublic static SCFrameworkVersion findByPrimaryKey(long frameworkVersionId) throws SystemException, NoSuchFrameworkVersionException
NoSuchFrameworkVersionException if it could not be found.frameworkVersionId - the primary key of the s c framework versionNoSuchFrameworkVersionException - if a s c framework version with the primary key could not be foundSystemException - if a system exception occurredpublic static SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId) throws SystemException
null if it could not be found.frameworkVersionId - the primary key of the s c framework versionnull if a s c framework version with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findAll() throws SystemException
SystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
start - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<SCFrameworkVersion> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
start - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeAll()
throws SystemException
SystemException - if a system exception occurredpublic static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static java.util.List<SCProductVersion> getSCProductVersions(long pk) throws SystemException
pk - the primary key of the s c framework versionSystemException - if a system exception occurredpublic static java.util.List<SCProductVersion> getSCProductVersions(long pk, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
pk - the primary key of the s c framework versionstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<SCProductVersion> getSCProductVersions(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCFrameworkVersionModelImpl. If both orderByComparator 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.
pk - the primary key of the s c framework versionstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static int getSCProductVersionsSize(long pk)
throws SystemException
pk - the primary key of the s c framework versionSystemException - if a system exception occurredpublic static boolean containsSCProductVersion(long pk,
long scProductVersionPK)
throws SystemException
true if the s c product version is associated with the s c framework version.pk - the primary key of the s c framework versionscProductVersionPK - the primary key of the s c product versiontrue if the s c product version is associated with the s c framework version; false otherwiseSystemException - if a system exception occurredpublic static boolean containsSCProductVersions(long pk)
throws SystemException
true if the s c framework version has any s c product versions associated with it.pk - the primary key of the s c framework version to check for associations with s c product versionstrue if the s c framework version has any s c product versions associated with it; false otherwiseSystemException - if a system exception occurredpublic static void addSCProductVersion(long pk,
long scProductVersionPK)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPK - the primary key of the s c product versionSystemException - if a system exception occurredpublic static void addSCProductVersion(long pk,
SCProductVersion scProductVersion)
throws SystemException
pk - the primary key of the s c framework versionscProductVersion - the s c product versionSystemException - if a system exception occurredpublic static void addSCProductVersions(long pk,
long[] scProductVersionPKs)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPKs - the primary keys of the s c product versionsSystemException - if a system exception occurredpublic static void addSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
throws SystemException
pk - the primary key of the s c framework versionscProductVersions - the s c product versionsSystemException - if a system exception occurredpublic static void clearSCProductVersions(long pk)
throws SystemException
pk - the primary key of the s c framework version to clear the associated s c product versions fromSystemException - if a system exception occurredpublic static void removeSCProductVersion(long pk,
long scProductVersionPK)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPK - the primary key of the s c product versionSystemException - if a system exception occurredpublic static void removeSCProductVersion(long pk,
SCProductVersion scProductVersion)
throws SystemException
pk - the primary key of the s c framework versionscProductVersion - the s c product versionSystemException - if a system exception occurredpublic static void removeSCProductVersions(long pk,
long[] scProductVersionPKs)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPKs - the primary keys of the s c product versionsSystemException - if a system exception occurredpublic static void removeSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
throws SystemException
pk - the primary key of the s c framework versionscProductVersions - the s c product versionsSystemException - if a system exception occurredpublic static void setSCProductVersions(long pk,
long[] scProductVersionPKs)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPKs - the primary keys of the s c product versions to be associated with the s c framework versionSystemException - if a system exception occurredpublic static void setSCProductVersions(long pk,
java.util.List<SCProductVersion> scProductVersions)
throws SystemException
pk - the primary key of the s c framework versionscProductVersions - the s c product versions to be associated with the s c framework versionSystemException - if a system exception occurredpublic static SCFrameworkVersionPersistence getPersistence()
public void setPersistence(SCFrameworkVersionPersistence persistence)