Liferay 6.0.5

com.liferay.portlet.softwarecatalog.service.persistence
Class SCFrameworkVersionPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SCFrameworkVersion>
      extended by com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<SCFrameworkVersion>, SCFrameworkVersionPersistence

public class SCFrameworkVersionPersistenceImpl
extends BasePersistenceImpl<SCFrameworkVersion>
implements SCFrameworkVersionPersistence

The persistence implementation for the s c framework version service.

Never modify or reference this class directly. Always use SCFrameworkVersionUtil to access the s c framework version persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.

Caching information and settings can be found in portal.properties

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

Nested Class Summary
protected  class SCFrameworkVersionPersistenceImpl.AddSCProductVersion
           
protected  class SCFrameworkVersionPersistenceImpl.ClearSCProductVersions
           
protected  class SCFrameworkVersionPersistenceImpl.ContainsSCProductVersion
           
protected  class SCFrameworkVersionPersistenceImpl.RemoveSCProductVersion
           
 
Field Summary
protected  SCFrameworkVersionPersistenceImpl.AddSCProductVersion addSCProductVersion
           
protected  SCFrameworkVersionPersistenceImpl.ClearSCProductVersions clearSCProductVersions
           
protected  SCFrameworkVersionPersistenceImpl.ContainsSCProductVersion containsSCProductVersion
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_CONTAINS_SCPRODUCTVERSION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_A
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_FIND_BY_G_A
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS
           
static FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS_SIZE
           
protected  SCFrameworkVersionPersistenceImpl.RemoveSCProductVersion removeSCProductVersion
           
protected  ResourcePersistence resourcePersistence
           
protected  SCFrameworkVersionPersistence scFrameworkVersionPersistence
           
protected  SCLicensePersistence scLicensePersistence
           
protected  SCProductEntryPersistence scProductEntryPersistence
           
protected  SCProductScreenshotPersistence scProductScreenshotPersistence
           
protected  SCProductVersionPersistence scProductVersionPersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
SCFrameworkVersionPersistenceImpl()
           
 
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 afterPropertiesSet()
          Initializes the s c framework version persistence.
 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 clearCache()
          Clears the cache for all s c framework versions.
 void clearCache(SCFrameworkVersion scFrameworkVersion)
          Clears the cache for the s c framework version.
 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)
          Determines whether the s c product version is associated with the s c framework version.
 boolean containsSCProductVersions(long pk)
          Determines whether the s c framework version has any s c product versions associated with it.
 int countAll()
          Counts all the s c framework versions.
 int countByCompanyId(long companyId)
          Counts all the s c framework versions where companyId = ?.
 int countByG_A(long groupId, boolean active)
          Counts all the s c framework versions where groupId = ? and active = ?.
 int countByGroupId(long groupId)
          Counts all the s c framework versions where groupId = ?.
 SCFrameworkVersion create(long frameworkVersionId)
          Creates a new s c framework version with the primary key.
 SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
          Finds the s c framework version with the primary key or returns null if it could not be found.
 SCFrameworkVersion fetchByPrimaryKey(Serializable primaryKey)
          Finds 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)
          Filters by the user's permissions and counts all the s c framework versions where groupId = ? and active = ?.
 int filterCountByGroupId(long groupId)
          Filters by the user's permissions and counts all the s c framework versions where groupId = ?.
 List<SCFrameworkVersion> filterFindByG_A(long groupId, boolean active)
          Filters by the user's permissions and finds all the s c framework versions where groupId = ? and active = ?.
 List<SCFrameworkVersion> filterFindByG_A(long groupId, boolean active, int start, int end)
          Filters by the user's permissions and finds a range of all the s c framework versions where groupId = ? and active = ?.
 List<SCFrameworkVersion> filterFindByG_A(long groupId, boolean active, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the s c framework versions where groupId = ? and active = ?.
 List<SCFrameworkVersion> filterFindByGroupId(long groupId)
          Filters by the user's permissions and finds all the s c framework versions where groupId = ?.
 List<SCFrameworkVersion> filterFindByGroupId(long groupId, int start, int end)
          Filters by the user's permissions and finds a range of all the s c framework versions where groupId = ?.
 List<SCFrameworkVersion> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the s c framework versions where groupId = ?.
 List<SCFrameworkVersion> findAll()
          Finds all the s c framework versions.
 List<SCFrameworkVersion> findAll(int start, int end)
          Finds a range of all the s c framework versions.
 List<SCFrameworkVersion> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the s c framework versions.
 SCFrameworkVersion findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Finds the first s c framework version in the ordered set where companyId = ?.
 SCFrameworkVersion findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Finds the last s c framework version in the ordered set where companyId = ?.
 SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId, long companyId, OrderByComparator orderByComparator)
          Finds 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)
          Finds all the s c framework versions where companyId = ?.
 List<SCFrameworkVersion> findByCompanyId(long companyId, int start, int end)
          Finds a range of all the s c framework versions where companyId = ?.
 List<SCFrameworkVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the s c framework versions where companyId = ?.
 SCFrameworkVersion findByG_A_First(long groupId, boolean active, OrderByComparator orderByComparator)
          Finds the first s c framework version in the ordered set where groupId = ? and active = ?.
 SCFrameworkVersion findByG_A_Last(long groupId, boolean active, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the s c framework versions where groupId = ? and active = ?.
 List<SCFrameworkVersion> findByG_A(long groupId, boolean active, int start, int end)
          Finds 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)
          Finds an ordered range of all the s c framework versions where groupId = ? and active = ?.
 SCFrameworkVersion findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Finds the first s c framework version in the ordered set where groupId = ?.
 SCFrameworkVersion findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Finds the last s c framework version in the ordered set where groupId = ?.
 SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId, long groupId, OrderByComparator orderByComparator)
          Finds 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)
          Finds all the s c framework versions where groupId = ?.
 List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end)
          Finds a range of all the s c framework versions where groupId = ?.
 List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the s c framework versions where groupId = ?.
 SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
          Finds the s c framework version with the primary key or throws a NoSuchFrameworkVersionException if it could not be found.
 SCFrameworkVersion findByPrimaryKey(Serializable primaryKey)
          Finds the s c framework version with the primary key or throws a NoSuchModelException if it could not be found.
protected  SCFrameworkVersion getByCompanyId_PrevAndNext(Session session, SCFrameworkVersion scFrameworkVersion, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  SCFrameworkVersion getByG_A_PrevAndNext(Session session, SCFrameworkVersion scFrameworkVersion, long groupId, boolean active, OrderByComparator orderByComparator, boolean previous)
           
protected  SCFrameworkVersion getByGroupId_PrevAndNext(Session session, SCFrameworkVersion scFrameworkVersion, long groupId, OrderByComparator orderByComparator, boolean previous)
           
 List<SCProductVersion> getSCProductVersions(long pk)
          Gets all the s c product versions associated with the s c framework version.
 List<SCProductVersion> getSCProductVersions(long pk, int start, int end)
          Gets 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)
          Gets an ordered range of all the s c product versions associated with the s c framework version.
 int getSCProductVersionsSize(long pk)
          Gets 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.
 SCFrameworkVersion remove(Serializable primaryKey)
          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.
protected  SCFrameworkVersion removeImpl(SCFrameworkVersion scFrameworkVersion)
          Removes the model instance 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.
protected  SCFrameworkVersion toUnwrappedModel(SCFrameworkVersion scFrameworkVersion)
           
 SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FIND_BY_G_A

public static final FinderPath FINDER_PATH_FIND_BY_G_A

FINDER_PATH_COUNT_BY_G_A

public static final FinderPath FINDER_PATH_COUNT_BY_G_A

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_SCPRODUCTVERSIONS

public static final FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS

FINDER_PATH_GET_SCPRODUCTVERSIONS_SIZE

public static final FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS_SIZE

FINDER_PATH_CONTAINS_SCPRODUCTVERSION

public static final FinderPath FINDER_PATH_CONTAINS_SCPRODUCTVERSION

scLicensePersistence

@BeanReference(type=SCLicensePersistence.class)
protected SCLicensePersistence scLicensePersistence

scFrameworkVersionPersistence

@BeanReference(type=SCFrameworkVersionPersistence.class)
protected SCFrameworkVersionPersistence scFrameworkVersionPersistence

scProductEntryPersistence

@BeanReference(type=SCProductEntryPersistence.class)
protected SCProductEntryPersistence scProductEntryPersistence

scProductScreenshotPersistence

@BeanReference(type=SCProductScreenshotPersistence.class)
protected SCProductScreenshotPersistence scProductScreenshotPersistence

scProductVersionPersistence

@BeanReference(type=SCProductVersionPersistence.class)
protected SCProductVersionPersistence scProductVersionPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

containsSCProductVersion

protected SCFrameworkVersionPersistenceImpl.ContainsSCProductVersion containsSCProductVersion

addSCProductVersion

protected SCFrameworkVersionPersistenceImpl.AddSCProductVersion addSCProductVersion

clearSCProductVersions

protected SCFrameworkVersionPersistenceImpl.ClearSCProductVersions clearSCProductVersions

removeSCProductVersion

protected SCFrameworkVersionPersistenceImpl.RemoveSCProductVersion removeSCProductVersion
Constructor Detail

SCFrameworkVersionPersistenceImpl

public SCFrameworkVersionPersistenceImpl()
Method Detail

cacheResult

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

Specified by:
cacheResult in interface SCFrameworkVersionPersistence
Parameters:
scFrameworkVersion - the s c framework version to cache

cacheResult

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

Specified by:
cacheResult in interface SCFrameworkVersionPersistence
Parameters:
scFrameworkVersions - the s c framework versions to cache

clearCache

public void clearCache()
Clears the cache for all s c framework versions.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<SCFrameworkVersion>
Overrides:
clearCache in class BasePersistenceImpl<SCFrameworkVersion>

clearCache

public void clearCache(SCFrameworkVersion scFrameworkVersion)
Clears the cache for the s c framework version.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<SCFrameworkVersion>
Overrides:
clearCache in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
scFrameworkVersion - the instance of this model to clear the cache for

create

public 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.

Specified by:
create in interface SCFrameworkVersionPersistence
Parameters:
frameworkVersionId - the primary key for the new s c framework version
Returns:
the new s c framework version

remove

public SCFrameworkVersion remove(Serializable primaryKey)
                          throws NoSuchModelException,
                                 SystemException
Removes the s c framework version with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<SCFrameworkVersion>
Overrides:
remove in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
primaryKey - the primary key of the s c framework version to remove
Returns:
the s c framework version that was removed
Throws:
NoSuchModelException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

remove

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

Specified by:
remove in interface SCFrameworkVersionPersistence
Parameters:
frameworkVersionId - the primary key of the s c framework version to remove
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

removeImpl

protected SCFrameworkVersion removeImpl(SCFrameworkVersion scFrameworkVersion)
                                 throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
scFrameworkVersion - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion,
                                     boolean merge)
                              throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface SCFrameworkVersionPersistence
Overrides:
updateImpl in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
scFrameworkVersion - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected SCFrameworkVersion toUnwrappedModel(SCFrameworkVersion scFrameworkVersion)

findByPrimaryKey

public SCFrameworkVersion findByPrimaryKey(Serializable primaryKey)
                                    throws NoSuchModelException,
                                           SystemException
Finds the s c framework version with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<SCFrameworkVersion>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
primaryKey - the primary key of the s c framework version to find
Returns:
the s c framework version
Throws:
NoSuchModelException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface SCFrameworkVersionPersistence
Parameters:
frameworkVersionId - the primary key of the s c framework version to find
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

public SCFrameworkVersion fetchByPrimaryKey(Serializable primaryKey)
                                     throws SystemException
Finds the s c framework version with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<SCFrameworkVersion>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
primaryKey - the primary key of the s c framework version to find
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

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface SCFrameworkVersionPersistence
Parameters:
frameworkVersionId - the primary key of the s c framework version to find
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

findByGroupId

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

Specified by:
findByGroupId in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
Returns:
the matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<SCFrameworkVersion> findByGroupId(long groupId,
                                              int start,
                                              int end)
                                       throws SystemException
Finds 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.

Specified by:
findByGroupId in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
Returns:
the range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<SCFrameworkVersion> findByGroupId(long groupId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Finds 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.

Specified by:
findByGroupId in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public SCFrameworkVersion findByGroupId_First(long groupId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchFrameworkVersionException,
                                              SystemException
Finds the first s c framework version in the ordered set 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.

Specified by:
findByGroupId_First in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
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

findByGroupId_Last

public SCFrameworkVersion findByGroupId_Last(long groupId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchFrameworkVersionException,
                                             SystemException
Finds the last s c framework version in the ordered set 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.

Specified by:
findByGroupId_Last in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
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

findByGroupId_PrevAndNext

public SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId,
                                                      long groupId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchFrameworkVersionException,
                                                      SystemException
Finds the s c framework versions before and after the current s c framework version in the ordered set 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.

Specified by:
findByGroupId_PrevAndNext in interface SCFrameworkVersionPersistence
Parameters:
frameworkVersionId - the primary key of the current s c framework version
groupId - the group id to search with
orderByComparator - the comparator to order the set by
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

getByGroupId_PrevAndNext

protected SCFrameworkVersion getByGroupId_PrevAndNext(Session session,
                                                      SCFrameworkVersion scFrameworkVersion,
                                                      long groupId,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

filterFindByGroupId

public List<SCFrameworkVersion> filterFindByGroupId(long groupId)
                                             throws SystemException
Filters by the user's permissions and finds all the s c framework versions where groupId = ?.

Specified by:
filterFindByGroupId in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
Returns:
the matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<SCFrameworkVersion> filterFindByGroupId(long groupId,
                                                    int start,
                                                    int end)
                                             throws SystemException
Filters by the user's permissions and finds 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.

Specified by:
filterFindByGroupId in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (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

public List<SCFrameworkVersion> filterFindByGroupId(long groupId,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Filters by the user's permissions and finds 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.

Specified by:
filterFindByGroupId in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByCompanyId

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

Specified by:
findByCompanyId in interface SCFrameworkVersionPersistence
Parameters:
companyId - the company id to search with
Returns:
the matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByCompanyId

public List<SCFrameworkVersion> findByCompanyId(long companyId,
                                                int start,
                                                int end)
                                         throws SystemException
Finds 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.

Specified by:
findByCompanyId in interface SCFrameworkVersionPersistence
Parameters:
companyId - the company id to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
Returns:
the range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByCompanyId

public List<SCFrameworkVersion> findByCompanyId(long companyId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Finds 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.

Specified by:
findByCompanyId in interface SCFrameworkVersionPersistence
Parameters:
companyId - the company id to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

public SCFrameworkVersion findByCompanyId_First(long companyId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchFrameworkVersionException,
                                                SystemException
Finds the first s c framework version in the ordered set 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.

Specified by:
findByCompanyId_First in interface SCFrameworkVersionPersistence
Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
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

findByCompanyId_Last

public SCFrameworkVersion findByCompanyId_Last(long companyId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchFrameworkVersionException,
                                               SystemException
Finds the last s c framework version in the ordered set 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.

Specified by:
findByCompanyId_Last in interface SCFrameworkVersionPersistence
Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
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

findByCompanyId_PrevAndNext

public SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId,
                                                        long companyId,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchFrameworkVersionException,
                                                        SystemException
Finds the s c framework versions before and after the current s c framework version in the ordered set 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.

Specified by:
findByCompanyId_PrevAndNext in interface SCFrameworkVersionPersistence
Parameters:
frameworkVersionId - the primary key of the current s c framework version
companyId - the company id to search with
orderByComparator - the comparator to order the set by
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

getByCompanyId_PrevAndNext

protected SCFrameworkVersion getByCompanyId_PrevAndNext(Session session,
                                                        SCFrameworkVersion scFrameworkVersion,
                                                        long companyId,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

findByG_A

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

Specified by:
findByG_A in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
Returns:
the matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByG_A

public List<SCFrameworkVersion> findByG_A(long groupId,
                                          boolean active,
                                          int start,
                                          int end)
                                   throws SystemException
Finds 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.

Specified by:
findByG_A in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
Returns:
the range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByG_A

public List<SCFrameworkVersion> findByG_A(long groupId,
                                          boolean active,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Finds 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.

Specified by:
findByG_A in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching s c framework versions
Throws:
SystemException - if a system exception occurred

findByG_A_First

public SCFrameworkVersion findByG_A_First(long groupId,
                                          boolean active,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchFrameworkVersionException,
                                          SystemException
Finds the first s c framework version in the ordered set 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.

Specified by:
findByG_A_First in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
orderByComparator - the comparator to order the set by
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

findByG_A_Last

public SCFrameworkVersion findByG_A_Last(long groupId,
                                         boolean active,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchFrameworkVersionException,
                                         SystemException
Finds the last s c framework version in the ordered set 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.

Specified by:
findByG_A_Last in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
orderByComparator - the comparator to order the set by
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

findByG_A_PrevAndNext

public SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId,
                                                  long groupId,
                                                  boolean active,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchFrameworkVersionException,
                                                  SystemException
Finds the s c framework versions before and after the current s c framework version in the ordered set 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.

Specified by:
findByG_A_PrevAndNext in interface SCFrameworkVersionPersistence
Parameters:
frameworkVersionId - the primary key of the current s c framework version
groupId - the group id to search with
active - the active to search with
orderByComparator - the comparator to order the set by
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

getByG_A_PrevAndNext

protected SCFrameworkVersion getByG_A_PrevAndNext(Session session,
                                                  SCFrameworkVersion scFrameworkVersion,
                                                  long groupId,
                                                  boolean active,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

filterFindByG_A

public List<SCFrameworkVersion> filterFindByG_A(long groupId,
                                                boolean active)
                                         throws SystemException
Filters by the user's permissions and finds all the s c framework versions where groupId = ? and active = ?.

Specified by:
filterFindByG_A in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
Returns:
the matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A

public List<SCFrameworkVersion> filterFindByG_A(long groupId,
                                                boolean active,
                                                int start,
                                                int end)
                                         throws SystemException
Filters by the user's permissions and finds 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.

Specified by:
filterFindByG_A in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (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

public List<SCFrameworkVersion> filterFindByG_A(long groupId,
                                                boolean active,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Filters by the user's permissions and finds 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.

Specified by:
filterFindByG_A in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

findAll

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

Specified by:
findAll in interface SCFrameworkVersionPersistence
Returns:
the s c framework versions
Throws:
SystemException - if a system exception occurred

findAll

public List<SCFrameworkVersion> findAll(int start,
                                        int end)
                                 throws SystemException
Finds 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.

Specified by:
findAll in interface SCFrameworkVersionPersistence
Parameters:
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
Returns:
the range of s c framework versions
Throws:
SystemException - if a system exception occurred

findAll

public List<SCFrameworkVersion> findAll(int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Finds 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.

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

removeByGroupId

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

Specified by:
removeByGroupId in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred

removeByCompanyId

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

Specified by:
removeByCompanyId in interface SCFrameworkVersionPersistence
Parameters:
companyId - the company id to search with
Throws:
SystemException - if a system exception occurred

removeByG_A

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

Specified by:
removeByG_A in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
Throws:
SystemException - if a system exception occurred

removeAll

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

Specified by:
removeAll in interface SCFrameworkVersionPersistence
Throws:
SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Counts all the s c framework versions where groupId = ?.

Specified by:
countByGroupId in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
Returns:
the number of matching s c framework versions
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Filters by the user's permissions and counts all the s c framework versions where groupId = ?.

Specified by:
filterCountByGroupId in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
Returns:
the number of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
Counts all the s c framework versions where companyId = ?.

Specified by:
countByCompanyId in interface SCFrameworkVersionPersistence
Parameters:
companyId - the company id to search with
Returns:
the number of matching s c framework versions
Throws:
SystemException - if a system exception occurred

countByG_A

public int countByG_A(long groupId,
                      boolean active)
               throws SystemException
Counts all the s c framework versions where groupId = ? and active = ?.

Specified by:
countByG_A in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
Returns:
the number of matching s c framework versions
Throws:
SystemException - if a system exception occurred

filterCountByG_A

public int filterCountByG_A(long groupId,
                            boolean active)
                     throws SystemException
Filters by the user's permissions and counts all the s c framework versions where groupId = ? and active = ?.

Specified by:
filterCountByG_A in interface SCFrameworkVersionPersistence
Parameters:
groupId - the group id to search with
active - the active to search with
Returns:
the number of matching s c framework versions that the user has permission to view
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Counts all the s c framework versions.

Specified by:
countAll in interface SCFrameworkVersionPersistence
Returns:
the number of s c framework versions
Throws:
SystemException - if a system exception occurred

getSCProductVersions

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

Specified by:
getSCProductVersions in interface SCFrameworkVersionPersistence
Parameters:
pk - the primary key of the s c framework version to get the associated s c product versions for
Returns:
the s c product versions associated with the s c framework version
Throws:
SystemException - if a system exception occurred

getSCProductVersions

public List<SCProductVersion> getSCProductVersions(long pk,
                                                   int start,
                                                   int end)
                                            throws SystemException
Gets 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.

Specified by:
getSCProductVersions in interface SCFrameworkVersionPersistence
Parameters:
pk - the primary key of the s c framework version to get the associated s c product versions for
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (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

public List<SCProductVersion> getSCProductVersions(long pk,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Gets 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.

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

getSCProductVersionsSize

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

Specified by:
getSCProductVersionsSize in interface SCFrameworkVersionPersistence
Parameters:
pk - the primary key of the s c framework version to get the number of associated s c product versions for
Returns:
the number of s c product versions associated with the s c framework version
Throws:
SystemException - if a system exception occurred

containsSCProductVersion

public boolean containsSCProductVersion(long pk,
                                        long scProductVersionPK)
                                 throws SystemException
Determines whether the s c product version is associated with the s c framework version.

Specified by:
containsSCProductVersion in interface SCFrameworkVersionPersistence
Parameters:
pk - the primary key of the s c framework version
scProductVersionPK - the primary key of the s c product version
Returns:
whether the s c product version is associated with the s c framework version
Throws:
SystemException - if a system exception occurred

containsSCProductVersions

public boolean containsSCProductVersions(long pk)
                                  throws SystemException
Determines whether the s c framework version has any s c product versions associated with it.

Specified by:
containsSCProductVersions in interface SCFrameworkVersionPersistence
Parameters:
pk - the primary key of the s c framework version to check for associations with s c product versions
Returns:
whether the s c framework version has any s c product versions associated with it
Throws:
SystemException - if a system exception occurred

addSCProductVersion

public 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.

Specified by:
addSCProductVersion in interface SCFrameworkVersionPersistence
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

public 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.

Specified by:
addSCProductVersion in interface SCFrameworkVersionPersistence
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

public 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.

Specified by:
addSCProductVersions in interface SCFrameworkVersionPersistence
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

public 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.

Specified by:
addSCProductVersions in interface SCFrameworkVersionPersistence
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

public 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.

Specified by:
clearSCProductVersions in interface SCFrameworkVersionPersistence
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

public 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.

Specified by:
removeSCProductVersion in interface SCFrameworkVersionPersistence
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

public 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.

Specified by:
removeSCProductVersion in interface SCFrameworkVersionPersistence
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

public 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.

Specified by:
removeSCProductVersions in interface SCFrameworkVersionPersistence
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

public 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.

Specified by:
removeSCProductVersions in interface SCFrameworkVersionPersistence
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

public 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.

Specified by:
setSCProductVersions in interface SCFrameworkVersionPersistence
Parameters:
pk - the primary key of the s c framework version to set the associations for
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

public 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.

Specified by:
setSCProductVersions in interface SCFrameworkVersionPersistence
Parameters:
pk - the primary key of the s c framework version to set the associations for
scProductVersions - the s c product versions to be associated with the s c framework version
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the s c framework version persistence.


Liferay 6.0.5