Liferay 6.2-ce-ga5

com.liferay.portlet.softwarecatalog.service.persistence
Interface SCFrameworkVersionPersistence

All Superinterfaces:
BasePersistence<SCFrameworkVersion>
All Known Implementing Classes:
SCFrameworkVersionPersistenceImpl

@ProviderType
public interface SCFrameworkVersionPersistence
extends BasePersistence<SCFrameworkVersion>

The persistence interface for the s c framework version service.

Caching information and settings can be found in portal.properties

See Also:
SCFrameworkVersionPersistenceImpl, SCFrameworkVersionUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 void addSCProductVersion(long pk, long scProductVersionPK)
          Adds an association between the s c framework version and the s c product version.
 void addSCProductVersion(long pk, SCProductVersion scProductVersion)
          Adds an association between the s c framework version and the s c product version.
 void addSCProductVersions(long pk, List<SCProductVersion> scProductVersions)
          Adds an association between the s c framework version and the s c product versions.
 void addSCProductVersions(long pk, long[] scProductVersionPKs)
          Adds an association between the s c framework version and the s c product versions.
 void cacheResult(List<SCFrameworkVersion> scFrameworkVersions)
          Caches the s c framework versions in the entity cache if it is enabled.
 void cacheResult(SCFrameworkVersion scFrameworkVersion)
          Caches the s c framework version in the entity cache if it is enabled.
 void clearSCProductVersions(long pk)
          Clears all associations between the s c framework version and its s c product versions.
 boolean containsSCProductVersion(long pk, long scProductVersionPK)
          Returns true if the s c product version is associated with the s c framework version.
 boolean containsSCProductVersions(long pk)
          Returns true if the s c framework version has any s c product versions associated with it.
 int countAll()
          Returns the number of s c framework versions.
 int countByCompanyId(long companyId)
          Returns the number of s c framework versions where companyId = ?.
 int countByG_A(long groupId, boolean active)
          Returns the number of s c framework versions where groupId = ? and active = ?.
 int countByGroupId(long groupId)
          Returns the number of s c framework versions where groupId = ?.
 SCFrameworkVersion create(long frameworkVersionId)
          Creates a new s c framework version with the primary key.
 SCFrameworkVersion fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first s c framework version in the ordered set where companyId = ?.
 SCFrameworkVersion fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last s c framework version in the ordered set where companyId = ?.
 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 = ?.
 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 = ?.
 SCFrameworkVersion fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first s c framework version in the ordered set where groupId = ?.
 SCFrameworkVersion fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last s c framework version in the ordered set where groupId = ?.
 SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
          Returns the s c framework version with the primary key or returns null if it could not be found.
 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 = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of s c framework versions that the user has permission to view where groupId = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 List<SCFrameworkVersion> filterFindByGroupId(long groupId)
          Returns all the s c framework versions that the user has permission to view where groupId = ?.
 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 = ?.
 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 = ?.
 List<SCFrameworkVersion> findAll()
          Returns all the s c framework versions.
 List<SCFrameworkVersion> findAll(int start, int end)
          Returns a range of all the s c framework versions.
 List<SCFrameworkVersion> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the s c framework versions.
 SCFrameworkVersion findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first s c framework version in the ordered set where companyId = ?.
 SCFrameworkVersion findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last s c framework version in the ordered set where companyId = ?.
 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 = ?.
 List<SCFrameworkVersion> findByCompanyId(long companyId)
          Returns all the s c framework versions where companyId = ?.
 List<SCFrameworkVersion> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the s c framework versions where companyId = ?.
 List<SCFrameworkVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the s c framework versions where companyId = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 List<SCFrameworkVersion> findByG_A(long groupId, boolean active)
          Returns all the s c framework versions where groupId = ? and active = ?.
 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 = ?.
 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 = ?.
 SCFrameworkVersion findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first s c framework version in the ordered set where groupId = ?.
 SCFrameworkVersion findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last s c framework version in the ordered set where groupId = ?.
 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 = ?.
 List<SCFrameworkVersion> findByGroupId(long groupId)
          Returns all the s c framework versions where groupId = ?.
 List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end)
          Returns a range of all the s c framework versions where groupId = ?.
 List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the s c framework versions where groupId = ?.
 SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
          Returns the s c framework version with the primary key or throws a NoSuchFrameworkVersionException if it could not be found.
 List<SCProductVersion> getSCProductVersions(long pk)
          Returns all the s c product versions associated with the s c framework version.
 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.
 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.
 int getSCProductVersionsSize(long pk)
          Returns the number of s c product versions associated with the s c framework version.
 SCFrameworkVersion remove(long frameworkVersionId)
          Removes the s c framework version with the primary key from the database.
 void removeAll()
          Removes all the s c framework versions from the database.
 void removeByCompanyId(long companyId)
          Removes all the s c framework versions where companyId = ? from the database.
 void removeByG_A(long groupId, boolean active)
          Removes all the s c framework versions where groupId = ? and active = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the s c framework versions where groupId = ? from the database.
 void removeSCProductVersion(long pk, long scProductVersionPK)
          Removes the association between the s c framework version and the s c product version.
 void removeSCProductVersion(long pk, SCProductVersion scProductVersion)
          Removes the association between the s c framework version and the s c product version.
 void removeSCProductVersions(long pk, List<SCProductVersion> scProductVersions)
          Removes the association between the s c framework version and the s c product versions.
 void removeSCProductVersions(long pk, long[] scProductVersionPKs)
          Removes the association between the s c framework version and the s c product versions.
 void setSCProductVersions(long pk, List<SCProductVersion> scProductVersions)
          Sets the s c product versions associated with the s c framework version, removing and adding associations as necessary.
 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.
 SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByGroupId

List<SCFrameworkVersion> findByGroupId(long groupId)
                                       throws SystemException
Returns all the s c framework versions where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByGroupId

List<SCFrameworkVersion> findByGroupId(long groupId,
                                       int start,
                                       int end)
                                       throws SystemException
Returns a range of all the s c framework versions where groupId = ?.

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.

Parameters:
groupId - the group ID
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
Returns:
the range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByGroupId

List<SCFrameworkVersion> findByGroupId(long groupId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the s c framework versions where groupId = ?.

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.

Parameters:
groupId - the group ID
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByGroupId_First

SCFrameworkVersion findByGroupId_First(long groupId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchFrameworkVersionException
Returns the first s c framework version in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c framework version
Throws:
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

SCFrameworkVersion fetchByGroupId_First(long groupId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first s c framework version in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c framework version, or null if a matching s c framework version could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

SCFrameworkVersion findByGroupId_Last(long groupId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchFrameworkVersionException
Returns the last s c framework version in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c framework version
Throws:
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

SCFrameworkVersion fetchByGroupId_Last(long groupId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last s c framework version in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c framework version, or null if a matching s c framework version could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId,
                                               long groupId,
                                               OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchFrameworkVersionException
Returns the s c framework versions before and after the current s c framework version in the ordered set where groupId = ?.

Parameters:
frameworkVersionId - the primary key of the current s c framework version
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c framework version
Throws:
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

filterFindByGroupId

List<SCFrameworkVersion> filterFindByGroupId(long groupId)
                                             throws SystemException
Returns all the s c framework versions that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<SCFrameworkVersion> filterFindByGroupId(long groupId,
                                             int start,
                                             int end)
                                             throws SystemException
Returns a range of all the s c framework versions that the user has permission to view where groupId = ?.

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.

Parameters:
groupId - the group ID
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
Returns:
the range of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<SCFrameworkVersion> filterFindByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Returns an ordered range of all the s c framework versions that the user has permissions to view where groupId = ?.

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.

Parameters:
groupId - the group ID
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

SCFrameworkVersion[] filterFindByGroupId_PrevAndNext(long frameworkVersionId,
                                                     long groupId,
                                                     OrderByComparator orderByComparator)
                                                     throws SystemException,
                                                            NoSuchFrameworkVersionException
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 = ?.

Parameters:
frameworkVersionId - the primary key of the current s c framework version
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c framework version
Throws:
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Removes all the s c framework versions where groupId = ? from the database.

Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Returns the number of s c framework versions where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching s c framework versions
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Returns the number of s c framework versions that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<SCFrameworkVersion> findByCompanyId(long companyId)
                                         throws SystemException
Returns all the s c framework versions where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<SCFrameworkVersion> findByCompanyId(long companyId,
                                         int start,
                                         int end)
                                         throws SystemException
Returns a range of all the s c framework versions where companyId = ?.

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.

Parameters:
companyId - the company ID
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
Returns:
the range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<SCFrameworkVersion> findByCompanyId(long companyId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the s c framework versions where companyId = ?.

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.

Parameters:
companyId - the company ID
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

SCFrameworkVersion findByCompanyId_First(long companyId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchFrameworkVersionException
Returns the first s c framework version in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c framework version
Throws:
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred

fetchByCompanyId_First

SCFrameworkVersion fetchByCompanyId_First(long companyId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first s c framework version in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c framework version, or null if a matching s c framework version could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_Last

SCFrameworkVersion findByCompanyId_Last(long companyId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchFrameworkVersionException
Returns the last s c framework version in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c framework version
Throws:
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred

fetchByCompanyId_Last

SCFrameworkVersion fetchByCompanyId_Last(long companyId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last s c framework version in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c framework version, or null if a matching s c framework version could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId,
                                                 long companyId,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchFrameworkVersionException
Returns the s c framework versions before and after the current s c framework version in the ordered set where companyId = ?.

Parameters:
frameworkVersionId - the primary key of the current s c framework version
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c framework version
Throws:
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Removes all the s c framework versions where companyId = ? from the database.

Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Returns the number of s c framework versions where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the number of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByG_A

List<SCFrameworkVersion> findByG_A(long groupId,
                                   boolean active)
                                   throws SystemException
Returns all the s c framework versions where groupId = ? and active = ?.

Parameters:
groupId - the group ID
active - the active
Returns:
the matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByG_A

List<SCFrameworkVersion> findByG_A(long groupId,
                                   boolean active,
                                   int start,
                                   int end)
                                   throws SystemException
Returns a range of all the s c framework versions where groupId = ? and active = ?.

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.

Parameters:
groupId - the group ID
active - the active
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
Returns:
the range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByG_A

List<SCFrameworkVersion> findByG_A(long groupId,
                                   boolean active,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the s c framework versions where groupId = ? and active = ?.

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.

Parameters:
groupId - the group ID
active - the active
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByG_A_First

SCFrameworkVersion findByG_A_First(long groupId,
                                   boolean active,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchFrameworkVersionException
Returns the first s c framework version in the ordered set where groupId = ? and active = ?.

Parameters:
groupId - the group ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c framework version
Throws:
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred

fetchByG_A_First

SCFrameworkVersion fetchByG_A_First(long groupId,
                                    boolean active,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns the first s c framework version in the ordered set where groupId = ? and active = ?.

Parameters:
groupId - the group ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c framework version, or null if a matching s c framework version could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_Last

SCFrameworkVersion findByG_A_Last(long groupId,
                                  boolean active,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchFrameworkVersionException
Returns the last s c framework version in the ordered set where groupId = ? and active = ?.

Parameters:
groupId - the group ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c framework version
Throws:
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred

fetchByG_A_Last

SCFrameworkVersion fetchByG_A_Last(long groupId,
                                   boolean active,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns the last s c framework version in the ordered set where groupId = ? and active = ?.

Parameters:
groupId - the group ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c framework version, or null if a matching s c framework version could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_PrevAndNext

SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId,
                                           long groupId,
                                           boolean active,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchFrameworkVersionException
Returns the s c framework versions before and after the current s c framework version in the ordered set where groupId = ? and active = ?.

Parameters:
frameworkVersionId - the primary key of the current s c framework version
groupId - the group ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c framework version
Throws:
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_A

List<SCFrameworkVersion> filterFindByG_A(long groupId,
                                         boolean active)
                                         throws SystemException
Returns all the s c framework versions that the user has permission to view where groupId = ? and active = ?.

Parameters:
groupId - the group ID
active - the active
Returns:
the matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A

List<SCFrameworkVersion> filterFindByG_A(long groupId,
                                         boolean active,
                                         int start,
                                         int end)
                                         throws SystemException
Returns a range of all the s c framework versions that the user has permission to view where groupId = ? and active = ?.

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.

Parameters:
groupId - the group ID
active - the active
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
Returns:
the range of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A

List<SCFrameworkVersion> filterFindByG_A(long groupId,
                                         boolean active,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the s c framework versions that the user has permissions to view where groupId = ? and active = ?.

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.

Parameters:
groupId - the group ID
active - the active
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_PrevAndNext

SCFrameworkVersion[] filterFindByG_A_PrevAndNext(long frameworkVersionId,
                                                 long groupId,
                                                 boolean active,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchFrameworkVersionException
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 = ?.

Parameters:
frameworkVersionId - the primary key of the current s c framework version
groupId - the group ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c framework version
Throws:
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

removeByG_A

void removeByG_A(long groupId,
                 boolean active)
                 throws SystemException
Removes all the s c framework versions where groupId = ? and active = ? from the database.

Parameters:
groupId - the group ID
active - the active
Throws:
SystemException - if a system exception occurred

countByG_A

int countByG_A(long groupId,
               boolean active)
               throws SystemException
Returns the number of s c framework versions where groupId = ? and active = ?.

Parameters:
groupId - the group ID
active - the active
Returns:
the number of matching s c framework versions
Throws:
SystemException - if a system exception occurred

filterCountByG_A

int filterCountByG_A(long groupId,
                     boolean active)
                     throws SystemException
Returns the number of s c framework versions that the user has permission to view where groupId = ? and active = ?.

Parameters:
groupId - the group ID
active - the active
Returns:
the number of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

cacheResult

void cacheResult(SCFrameworkVersion scFrameworkVersion)
Caches the s c framework version in the entity cache if it is enabled.

Parameters:
scFrameworkVersion - the s c framework version

cacheResult

void cacheResult(List<SCFrameworkVersion> scFrameworkVersions)
Caches the s c framework versions in the entity cache if it is enabled.

Parameters:
scFrameworkVersions - the s c framework versions

create

SCFrameworkVersion create(long frameworkVersionId)
Creates a new s c framework version with the primary key. Does not add the s c framework version to the database.

Parameters:
frameworkVersionId - the primary key for the new s c framework version
Returns:
the new s c framework version

remove

SCFrameworkVersion remove(long frameworkVersionId)
                          throws SystemException,
                                 NoSuchFrameworkVersionException
Removes the s c framework version with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
frameworkVersionId - the primary key of the s c framework version
Returns:
the s c framework version that was removed
Throws:
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion)
                              throws SystemException
Throws:
SystemException

findByPrimaryKey

SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
                                    throws SystemException,
                                           NoSuchFrameworkVersionException
Returns the s c framework version with the primary key or throws a NoSuchFrameworkVersionException if it could not be found.

Parameters:
frameworkVersionId - the primary key of the s c framework version
Returns:
the s c framework version
Throws:
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
                                     throws SystemException
Returns the s c framework version with the primary key or returns null if it could not be found.

Parameters:
frameworkVersionId - the primary key of the s c framework version
Returns:
the s c framework version, or null if a s c framework version with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

List<SCFrameworkVersion> findAll()
                                 throws SystemException
Returns all the s c framework versions.

Returns:
the s c framework versions
Throws:
SystemException - if a system exception occurred

findAll

List<SCFrameworkVersion> findAll(int start,
                                 int end)
                                 throws SystemException
Returns a range of all the s c framework versions.

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.

Parameters:
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
Returns:
the range of s c framework versions
Throws:
SystemException - if a system exception occurred

findAll

List<SCFrameworkVersion> findAll(int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the s c framework versions.

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.

Parameters:
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of s c framework versions
Throws:
SystemException - if a system exception occurred

removeAll

void removeAll()
               throws SystemException
Removes all the s c framework versions from the database.

Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Returns the number of s c framework versions.

Returns:
the number of s c framework versions
Throws:
SystemException - if a system exception occurred

getSCProductVersions

List<SCProductVersion> getSCProductVersions(long pk)
                                            throws SystemException
Returns all the s c product versions associated with the s c framework version.

Parameters:
pk - the primary key of the s c framework version
Returns:
the s c product versions associated with the s c framework version
Throws:
SystemException - if a system exception occurred

getSCProductVersions

List<SCProductVersion> getSCProductVersions(long pk,
                                            int start,
                                            int end)
                                            throws SystemException
Returns a range of all the s c product versions associated with the s c framework version.

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.

Parameters:
pk - the primary key of the s c framework version
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
Returns:
the range of s c product versions associated with the s c framework version
Throws:
SystemException - if a system exception occurred

getSCProductVersions

List<SCProductVersion> getSCProductVersions(long pk,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the s c product versions associated with the s c framework version.

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.

Parameters:
pk - the primary key of the s c framework version
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of s c product versions associated with the s c framework version
Throws:
SystemException - if a system exception occurred

getSCProductVersionsSize

int getSCProductVersionsSize(long pk)
                             throws SystemException
Returns the number of s c product versions associated with the s c framework version.

Parameters:
pk - the primary key of the s c framework version
Returns:
the number of s c product versions associated with the s c framework version
Throws:
SystemException - if a system exception occurred

containsSCProductVersion

boolean containsSCProductVersion(long pk,
                                 long scProductVersionPK)
                                 throws SystemException
Returns true if the s c product version is associated with the s c framework version.

Parameters:
pk - the primary key of the s c framework version
scProductVersionPK - the primary key of the s c product version
Returns:
true if the s c product version is associated with the s c framework version; false otherwise
Throws:
SystemException - if a system exception occurred

containsSCProductVersions

boolean containsSCProductVersions(long pk)
                                  throws SystemException
Returns true if the s c framework version has any s c product versions associated with it.

Parameters:
pk - the primary key of the s c framework version to check for associations with s c product versions
Returns:
true if the s c framework version has any s c product versions associated with it; false otherwise
Throws:
SystemException - if a system exception occurred

addSCProductVersion

void addSCProductVersion(long pk,
                         long scProductVersionPK)
                         throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersionPK - the primary key of the s c product version
Throws:
SystemException - if a system exception occurred

addSCProductVersion

void addSCProductVersion(long pk,
                         SCProductVersion scProductVersion)
                         throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersion - the s c product version
Throws:
SystemException - if a system exception occurred

addSCProductVersions

void addSCProductVersions(long pk,
                          long[] scProductVersionPKs)
                          throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersionPKs - the primary keys of the s c product versions
Throws:
SystemException - if a system exception occurred

addSCProductVersions

void addSCProductVersions(long pk,
                          List<SCProductVersion> scProductVersions)
                          throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersions - the s c product versions
Throws:
SystemException - if a system exception occurred

clearSCProductVersions

void clearSCProductVersions(long pk)
                            throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version to clear the associated s c product versions from
Throws:
SystemException - if a system exception occurred

removeSCProductVersion

void removeSCProductVersion(long pk,
                            long scProductVersionPK)
                            throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersionPK - the primary key of the s c product version
Throws:
SystemException - if a system exception occurred

removeSCProductVersion

void removeSCProductVersion(long pk,
                            SCProductVersion scProductVersion)
                            throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersion - the s c product version
Throws:
SystemException - if a system exception occurred

removeSCProductVersions

void removeSCProductVersions(long pk,
                             long[] scProductVersionPKs)
                             throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersionPKs - the primary keys of the s c product versions
Throws:
SystemException - if a system exception occurred

removeSCProductVersions

void removeSCProductVersions(long pk,
                             List<SCProductVersion> scProductVersions)
                             throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersions - the s c product versions
Throws:
SystemException - if a system exception occurred

setSCProductVersions

void setSCProductVersions(long pk,
                          long[] scProductVersionPKs)
                          throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersionPKs - the primary keys of the s c product versions to be associated with the s c framework version
Throws:
SystemException - if a system exception occurred

setSCProductVersions

void setSCProductVersions(long pk,
                          List<SCProductVersion> scProductVersions)
                          throws SystemException
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.

Parameters:
pk - the primary key of the s c framework version
scProductVersions - the s c product versions to be associated with the s c framework version
Throws:
SystemException - if a system exception occurred

Liferay 6.2-ce-ga5