|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<SCFrameworkVersion>
com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistenceImpl
public class SCFrameworkVersionPersistenceImpl
The persistence implementation for the s c framework version service.
Caching information and settings can be found in portal.properties
SCFrameworkVersionPersistence,
SCFrameworkVersionUtil| Nested Class Summary | |
|---|---|
protected class |
SCFrameworkVersionPersistenceImpl.AddSCProductVersion
|
protected class |
SCFrameworkVersionPersistenceImpl.ClearSCProductVersions
|
protected class |
SCFrameworkVersionPersistenceImpl.ContainsSCProductVersion
|
protected class |
SCFrameworkVersionPersistenceImpl.RemoveSCProductVersion
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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(List<SCFrameworkVersion> scFrameworkVersions)
Clears the cache for a List instances of this model. |
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)
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. |
void |
destroy()
|
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. |
SCFrameworkVersion |
fetchByPrimaryKey(Serializable primaryKey)
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 = ?. |
protected SCFrameworkVersion |
filterGetByG_A_PrevAndNext(Session session,
SCFrameworkVersion scFrameworkVersion,
long groupId,
boolean active,
OrderByComparator orderByComparator,
boolean previous)
|
protected SCFrameworkVersion |
filterGetByGroupId_PrevAndNext(Session session,
SCFrameworkVersion scFrameworkVersion,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
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. |
SCFrameworkVersion |
findByPrimaryKey(Serializable primaryKey)
Returns 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)
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. |
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)
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, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| 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 |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A
public static final FinderPath FINDER_PATH_COUNT_BY_G_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS
public static final FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_SCPRODUCTVERSION
@BeanReference(type=SCFrameworkVersionPersistence.class) protected SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=SCLicensePersistence.class) protected SCLicensePersistence scLicensePersistence
@BeanReference(type=SCProductEntryPersistence.class) protected SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=SCProductScreenshotPersistence.class) protected SCProductScreenshotPersistence scProductScreenshotPersistence
@BeanReference(type=SCProductVersionPersistence.class) protected SCProductVersionPersistence scProductVersionPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
protected SCFrameworkVersionPersistenceImpl.ContainsSCProductVersion containsSCProductVersion
protected SCFrameworkVersionPersistenceImpl.AddSCProductVersion addSCProductVersion
protected SCFrameworkVersionPersistenceImpl.ClearSCProductVersions clearSCProductVersions
protected SCFrameworkVersionPersistenceImpl.RemoveSCProductVersion removeSCProductVersion
| Constructor Detail |
|---|
public SCFrameworkVersionPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(SCFrameworkVersion scFrameworkVersion)
cacheResult in interface SCFrameworkVersionPersistencescFrameworkVersion - the s c framework versionpublic void cacheResult(List<SCFrameworkVersion> scFrameworkVersions)
cacheResult in interface SCFrameworkVersionPersistencescFrameworkVersions - the s c framework versionspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<SCFrameworkVersion>clearCache in class BasePersistenceImpl<SCFrameworkVersion>public void clearCache(SCFrameworkVersion scFrameworkVersion)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<SCFrameworkVersion>clearCache in class BasePersistenceImpl<SCFrameworkVersion>scFrameworkVersion - the instance of this model to clear the cache forpublic void clearCache(List<SCFrameworkVersion> scFrameworkVersions)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<SCFrameworkVersion>clearCache in class BasePersistenceImpl<SCFrameworkVersion>scFrameworkVersions - the List instances of this model to clear the cache forpublic SCFrameworkVersion create(long frameworkVersionId)
create in interface SCFrameworkVersionPersistenceframeworkVersionId - the primary key for the new s c framework version
public SCFrameworkVersion remove(long frameworkVersionId)
throws NoSuchFrameworkVersionException,
SystemException
remove in interface SCFrameworkVersionPersistenceframeworkVersionId - the primary key of the s c framework version
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion remove(Serializable primaryKey)
throws NoSuchFrameworkVersionException,
SystemException
remove in interface BasePersistence<SCFrameworkVersion>remove in class BasePersistenceImpl<SCFrameworkVersion>primaryKey - the primary key of the s c framework version
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
protected SCFrameworkVersion removeImpl(SCFrameworkVersion scFrameworkVersion)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<SCFrameworkVersion>scFrameworkVersion - the model instance to remove
SystemException - if a system exception occurred
public SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface SCFrameworkVersionPersistenceupdateImpl in class BasePersistenceImpl<SCFrameworkVersion>scFrameworkVersion - the model instance to update
SystemException - if a system exception occurredprotected SCFrameworkVersion toUnwrappedModel(SCFrameworkVersion scFrameworkVersion)
public SCFrameworkVersion findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<SCFrameworkVersion>findByPrimaryKey in class BasePersistenceImpl<SCFrameworkVersion>primaryKey - the primary key of the s c framework version
NoSuchModelException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
throws NoSuchFrameworkVersionException,
SystemException
NoSuchFrameworkVersionException if it could not be found.
findByPrimaryKey in interface SCFrameworkVersionPersistenceframeworkVersionId - the primary key of the s c framework version
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<SCFrameworkVersion>fetchByPrimaryKey in class BasePersistenceImpl<SCFrameworkVersion>primaryKey - the primary key of the s c framework version
null if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface SCFrameworkVersionPersistenceframeworkVersionId - the primary key of the s c framework version
null if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public List<SCFrameworkVersion> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface SCFrameworkVersionPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<SCFrameworkVersion> findByGroupId(long groupId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByGroupId in interface SCFrameworkVersionPersistencegroupId - the group IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)
SystemException - if a system exception occurred
public List<SCFrameworkVersion> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByGroupId in interface SCFrameworkVersionPersistencegroupId - the group IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public SCFrameworkVersion findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
findByGroupId_First in interface SCFrameworkVersionPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_First in interface SCFrameworkVersionPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
findByGroupId_Last in interface SCFrameworkVersionPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_Last in interface SCFrameworkVersionPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
findByGroupId_PrevAndNext in interface SCFrameworkVersionPersistenceframeworkVersionId - the primary key of the current s c framework versiongroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
protected SCFrameworkVersion getByGroupId_PrevAndNext(Session session,
SCFrameworkVersion scFrameworkVersion,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<SCFrameworkVersion> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface SCFrameworkVersionPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<SCFrameworkVersion> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByGroupId in interface SCFrameworkVersionPersistencegroupId - the group IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)
SystemException - if a system exception occurred
public List<SCFrameworkVersion> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByGroupId in interface SCFrameworkVersionPersistencegroupId - the group IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public SCFrameworkVersion[] filterFindByGroupId_PrevAndNext(long frameworkVersionId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
filterFindByGroupId_PrevAndNext in interface SCFrameworkVersionPersistenceframeworkVersionId - the primary key of the current s c framework versiongroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
protected SCFrameworkVersion filterGetByGroupId_PrevAndNext(Session session,
SCFrameworkVersion scFrameworkVersion,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<SCFrameworkVersion> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface SCFrameworkVersionPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public List<SCFrameworkVersion> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByCompanyId in interface SCFrameworkVersionPersistencecompanyId - the company IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)
SystemException - if a system exception occurred
public List<SCFrameworkVersion> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByCompanyId in interface SCFrameworkVersionPersistencecompanyId - the company IDstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public SCFrameworkVersion findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
findByCompanyId_First in interface SCFrameworkVersionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_First in interface SCFrameworkVersionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
findByCompanyId_Last in interface SCFrameworkVersionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_Last in interface SCFrameworkVersionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
findByCompanyId_PrevAndNext in interface SCFrameworkVersionPersistenceframeworkVersionId - the primary key of the current s c framework versioncompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
protected SCFrameworkVersion getByCompanyId_PrevAndNext(Session session,
SCFrameworkVersion scFrameworkVersion,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public List<SCFrameworkVersion> findByG_A(long groupId,
boolean active)
throws SystemException
findByG_A in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the active
SystemException - if a system exception occurred
public List<SCFrameworkVersion> findByG_A(long groupId,
boolean active,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_A in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the activestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)
SystemException - if a system exception occurred
public List<SCFrameworkVersion> findByG_A(long groupId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_A in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the activestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public SCFrameworkVersion findByG_A_First(long groupId,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
findByG_A_First in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion fetchByG_A_First(long groupId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_A_First in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion findByG_A_Last(long groupId,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
findByG_A_Last in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion fetchByG_A_Last(long groupId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_A_Last in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c framework version could not be found
SystemException - if a system exception occurred
public SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId,
long groupId,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
findByG_A_PrevAndNext in interface SCFrameworkVersionPersistenceframeworkVersionId - the primary key of the current s c framework versiongroupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
protected SCFrameworkVersion getByG_A_PrevAndNext(Session session,
SCFrameworkVersion scFrameworkVersion,
long groupId,
boolean active,
OrderByComparator orderByComparator,
boolean previous)
public List<SCFrameworkVersion> filterFindByG_A(long groupId,
boolean active)
throws SystemException
filterFindByG_A in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the active
SystemException - if a system exception occurred
public List<SCFrameworkVersion> filterFindByG_A(long groupId,
boolean active,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_A in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the activestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)
SystemException - if a system exception occurred
public List<SCFrameworkVersion> filterFindByG_A(long groupId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_A in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the activestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public SCFrameworkVersion[] filterFindByG_A_PrevAndNext(long frameworkVersionId,
long groupId,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchFrameworkVersionException,
SystemException
filterFindByG_A_PrevAndNext in interface SCFrameworkVersionPersistenceframeworkVersionId - the primary key of the current s c framework versiongroupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
protected SCFrameworkVersion filterGetByG_A_PrevAndNext(Session session,
SCFrameworkVersion scFrameworkVersion,
long groupId,
boolean active,
OrderByComparator orderByComparator,
boolean previous)
public List<SCFrameworkVersion> findAll()
throws SystemException
findAll in interface SCFrameworkVersionPersistenceSystemException - if a system exception occurred
public List<SCFrameworkVersion> findAll(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface SCFrameworkVersionPersistencestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)
SystemException - if a system exception occurred
public List<SCFrameworkVersion> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface SCFrameworkVersionPersistencestart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface SCFrameworkVersionPersistencegroupId - the group ID
SystemException - if a system exception occurred
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface SCFrameworkVersionPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public void removeByG_A(long groupId,
boolean active)
throws SystemException
removeByG_A in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the active
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface SCFrameworkVersionPersistenceSystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface SCFrameworkVersionPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface SCFrameworkVersionPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface SCFrameworkVersionPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public int countByG_A(long groupId,
boolean active)
throws SystemException
countByG_A in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the active
SystemException - if a system exception occurred
public int filterCountByG_A(long groupId,
boolean active)
throws SystemException
filterCountByG_A in interface SCFrameworkVersionPersistencegroupId - the group IDactive - the active
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface SCFrameworkVersionPersistenceSystemException - if a system exception occurred
public List<SCProductVersion> getSCProductVersions(long pk)
throws SystemException
getSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework version
SystemException - if a system exception occurred
public List<SCProductVersion> getSCProductVersions(long pk,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)
SystemException - if a system exception occurred
public List<SCProductVersion> getSCProductVersions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionstart - the lower bound of the range of s c framework versionsend - the upper bound of the range of s c framework versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public int getSCProductVersionsSize(long pk)
throws SystemException
getSCProductVersionsSize in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework version
SystemException - if a system exception occurred
public boolean containsSCProductVersion(long pk,
long scProductVersionPK)
throws SystemException
true if the s c product version is associated with the s c framework version.
containsSCProductVersion in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersionPK - the primary key of the s c product version
true if the s c product version is associated with the s c framework version; false otherwise
SystemException - if a system exception occurred
public boolean containsSCProductVersions(long pk)
throws SystemException
true if the s c framework version has any s c product versions associated with it.
containsSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework version to check for associations with s c product versions
true if the s c framework version has any s c product versions associated with it; false otherwise
SystemException - if a system exception occurred
public void addSCProductVersion(long pk,
long scProductVersionPK)
throws SystemException
addSCProductVersion in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersionPK - the primary key of the s c product version
SystemException - if a system exception occurred
public void addSCProductVersion(long pk,
SCProductVersion scProductVersion)
throws SystemException
addSCProductVersion in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersion - the s c product version
SystemException - if a system exception occurred
public void addSCProductVersions(long pk,
long[] scProductVersionPKs)
throws SystemException
addSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersionPKs - the primary keys of the s c product versions
SystemException - if a system exception occurred
public void addSCProductVersions(long pk,
List<SCProductVersion> scProductVersions)
throws SystemException
addSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersions - the s c product versions
SystemException - if a system exception occurred
public void clearSCProductVersions(long pk)
throws SystemException
clearSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework version to clear the associated s c product versions from
SystemException - if a system exception occurred
public void removeSCProductVersion(long pk,
long scProductVersionPK)
throws SystemException
removeSCProductVersion in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersionPK - the primary key of the s c product version
SystemException - if a system exception occurred
public void removeSCProductVersion(long pk,
SCProductVersion scProductVersion)
throws SystemException
removeSCProductVersion in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersion - the s c product version
SystemException - if a system exception occurred
public void removeSCProductVersions(long pk,
long[] scProductVersionPKs)
throws SystemException
removeSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersionPKs - the primary keys of the s c product versions
SystemException - if a system exception occurred
public void removeSCProductVersions(long pk,
List<SCProductVersion> scProductVersions)
throws SystemException
removeSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersions - the s c product versions
SystemException - if a system exception occurred
public void setSCProductVersions(long pk,
long[] scProductVersionPKs)
throws SystemException
setSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersionPKs - the primary keys of the s c product versions to be associated with the s c framework version
SystemException - if a system exception occurred
public void setSCProductVersions(long pk,
List<SCProductVersion> scProductVersions)
throws SystemException
setSCProductVersions in interface SCFrameworkVersionPersistencepk - the primary key of the s c framework versionscProductVersions - the s c product versions to be associated with the s c framework version
SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||