|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SCProductVersionPersistence
The persistence interface for the s c product version service.
Never modify this interface directly. Modify service.xml and rerun ServiceBuilder to regnerate this interface.
SCProductVersionPersistenceImpl,
SCProductVersionUtil| Method Summary | |
|---|---|
void |
addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
Adds an association between the s c product version and the s c framework version. |
void |
addSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
Adds an association between the s c product version and the s c framework version. |
void |
addSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
Adds an association between the s c product version and the s c framework versions. |
void |
addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
Adds an association between the s c product version and the s c framework versions. |
void |
cacheResult(List<SCProductVersion> scProductVersions)
Caches the s c product versions in the entity cache if it is enabled. |
void |
cacheResult(SCProductVersion scProductVersion)
Caches the s c product version in the entity cache if it is enabled. |
void |
clearSCFrameworkVersions(long pk)
Clears all associations between the s c product version and its s c framework versions. |
boolean |
containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
Determines whether the s c framework version is associated with the s c product version. |
boolean |
containsSCFrameworkVersions(long pk)
Determines whether the s c product version has any s c framework versions associated with it. |
int |
countAll()
Counts all the s c product versions. |
int |
countByDirectDownloadURL(String directDownloadURL)
Counts all the s c product versions where directDownloadURL = ?. |
int |
countByProductEntryId(long productEntryId)
Counts all the s c product versions where productEntryId = ?. |
SCProductVersion |
create(long productVersionId)
Creates a new s c product version with the primary key. |
SCProductVersion |
fetchByDirectDownloadURL(String directDownloadURL)
Finds the s c product version where directDownloadURL = ? or returns null if it could not be found. |
SCProductVersion |
fetchByDirectDownloadURL(String directDownloadURL,
boolean retrieveFromCache)
Finds the s c product version where directDownloadURL = ? or returns null if it could not be found, optionally using the finder cache. |
SCProductVersion |
fetchByPrimaryKey(long productVersionId)
Finds the s c product version with the primary key or returns null if it could not be found. |
List<SCProductVersion> |
findAll()
Finds all the s c product versions. |
List<SCProductVersion> |
findAll(int start,
int end)
Finds a range of all the s c product versions. |
List<SCProductVersion> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the s c product versions. |
SCProductVersion |
findByDirectDownloadURL(String directDownloadURL)
Finds the s c product version where directDownloadURL = ? or throws a NoSuchProductVersionException if it could not be found. |
SCProductVersion |
findByPrimaryKey(long productVersionId)
Finds the s c product version with the primary key or throws a NoSuchProductVersionException if it could not be found. |
SCProductVersion |
findByProductEntryId_First(long productEntryId,
OrderByComparator orderByComparator)
Finds the first s c product version in the ordered set where productEntryId = ?. |
SCProductVersion |
findByProductEntryId_Last(long productEntryId,
OrderByComparator orderByComparator)
Finds the last s c product version in the ordered set where productEntryId = ?. |
SCProductVersion[] |
findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
OrderByComparator orderByComparator)
Finds the s c product versions before and after the current s c product version in the ordered set where productEntryId = ?. |
List<SCProductVersion> |
findByProductEntryId(long productEntryId)
Finds all the s c product versions where productEntryId = ?. |
List<SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end)
Finds a range of all the s c product versions where productEntryId = ?. |
List<SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the s c product versions where productEntryId = ?. |
List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk)
Gets all the s c framework versions associated with the s c product version. |
List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end)
Gets a range of all the s c framework versions associated with the s c product version. |
List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the s c framework versions associated with the s c product version. |
int |
getSCFrameworkVersionsSize(long pk)
Gets the number of s c framework versions associated with the s c product version. |
SCProductVersion |
remove(long productVersionId)
Removes the s c product version with the primary key from the database. |
void |
removeAll()
Removes all the s c product versions from the database. |
void |
removeByDirectDownloadURL(String directDownloadURL)
Removes the s c product version where directDownloadURL = ? from the database. |
void |
removeByProductEntryId(long productEntryId)
Removes all the s c product versions where productEntryId = ? from the database. |
void |
removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
Removes the association between the s c product version and the s c framework version. |
void |
removeSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
Removes the association between the s c product version and the s c framework version. |
void |
removeSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
Removes the association between the s c product version and the s c framework versions. |
void |
removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
Removes the association between the s c product version and the s c framework versions. |
void |
setSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
Sets the s c framework versions associated with the s c product version, removing and adding associations as necessary. |
void |
setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
Sets the s c framework versions associated with the s c product version, removing and adding associations as necessary. |
SCProductVersion |
updateImpl(SCProductVersion scProductVersion,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
| Method Detail |
|---|
void cacheResult(SCProductVersion scProductVersion)
scProductVersion - the s c product version to cachevoid cacheResult(List<SCProductVersion> scProductVersions)
scProductVersions - the s c product versions to cacheSCProductVersion create(long productVersionId)
productVersionId - the primary key for the new s c product version
SCProductVersion remove(long productVersionId)
throws SystemException,
NoSuchProductVersionException
productVersionId - the primary key of the s c product version to remove
NoSuchProductVersionException - if a s c product version with the primary key could not be found
SystemException - if a system exception occurred
SCProductVersion updateImpl(SCProductVersion scProductVersion,
boolean merge)
throws SystemException
SystemException
SCProductVersion findByPrimaryKey(long productVersionId)
throws SystemException,
NoSuchProductVersionException
NoSuchProductVersionException if it could not be found.
productVersionId - the primary key of the s c product version to find
NoSuchProductVersionException - if a s c product version with the primary key could not be found
SystemException - if a system exception occurred
SCProductVersion fetchByPrimaryKey(long productVersionId)
throws SystemException
null if it could not be found.
productVersionId - the primary key of the s c product version to find
null if a s c product version with the primary key could not be found
SystemException - if a system exception occurred
List<SCProductVersion> findByProductEntryId(long productEntryId)
throws SystemException
productEntryId - the product entry id to search with
SystemException - if a system exception occurred
List<SCProductVersion> findByProductEntryId(long productEntryId,
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.
productEntryId - the product entry id to search withstart - the lower bound of the range of s c product versions to returnend - the upper bound of the range of s c product versions to return (not inclusive)
SystemException - if a system exception occurred
List<SCProductVersion> findByProductEntryId(long productEntryId,
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.
productEntryId - the product entry id to search withstart - the lower bound of the range of s c product versions to returnend - the upper bound of the range of s c product versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
SCProductVersion findByProductEntryId_First(long productEntryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProductVersionException
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.
productEntryId - the product entry id to search withorderByComparator - the comparator to order the set by
NoSuchProductVersionException - if a matching s c product version could not be found
SystemException - if a system exception occurred
SCProductVersion findByProductEntryId_Last(long productEntryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProductVersionException
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.
productEntryId - the product entry id to search withorderByComparator - the comparator to order the set by
NoSuchProductVersionException - if a matching s c product version could not be found
SystemException - if a system exception occurred
SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProductVersionException
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.
productVersionId - the primary key of the current s c product versionproductEntryId - the product entry id to search withorderByComparator - the comparator to order the set by
NoSuchProductVersionException - if a s c product version with the primary key could not be found
SystemException - if a system exception occurred
SCProductVersion findByDirectDownloadURL(String directDownloadURL)
throws SystemException,
NoSuchProductVersionException
NoSuchProductVersionException if it could not be found.
directDownloadURL - the direct download u r l to search with
NoSuchProductVersionException - if a matching s c product version could not be found
SystemException - if a system exception occurred
SCProductVersion fetchByDirectDownloadURL(String directDownloadURL)
throws SystemException
null if it could not be found. Uses the finder cache.
directDownloadURL - the direct download u r l to search with
null if a matching s c product version could not be found
SystemException - if a system exception occurred
SCProductVersion fetchByDirectDownloadURL(String directDownloadURL,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
directDownloadURL - the direct download u r l to search with
null if a matching s c product version could not be found
SystemException - if a system exception occurred
List<SCProductVersion> findAll()
throws SystemException
SystemException - if a system exception occurred
List<SCProductVersion> 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.
start - the lower bound of the range of s c product versions to returnend - the upper bound of the range of s c product versions to return (not inclusive)
SystemException - if a system exception occurred
List<SCProductVersion> 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.
start - the lower bound of the range of s c product versions to returnend - the upper bound of the range of s c product versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
void removeByProductEntryId(long productEntryId)
throws SystemException
productEntryId - the product entry id to search with
SystemException - if a system exception occurred
void removeByDirectDownloadURL(String directDownloadURL)
throws SystemException,
NoSuchProductVersionException
directDownloadURL - the direct download u r l to search with
SystemException - if a system exception occurred
NoSuchProductVersionException
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countByProductEntryId(long productEntryId)
throws SystemException
productEntryId - the product entry id to search with
SystemException - if a system exception occurred
int countByDirectDownloadURL(String directDownloadURL)
throws SystemException
directDownloadURL - the direct download u r l to search with
SystemException - if a system exception occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
throws SystemException
pk - the primary key of the s c product version to get the associated s c framework versions for
SystemException - if a system exception occurred
List<SCFrameworkVersion> getSCFrameworkVersions(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.
pk - the primary key of the s c product version to get the associated s c framework versions forstart - the lower bound of the range of s c product versions to returnend - the upper bound of the range of s c product versions to return (not inclusive)
SystemException - if a system exception occurred
List<SCFrameworkVersion> getSCFrameworkVersions(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.
pk - the primary key of the s c product version to get the associated s c framework versions forstart - the lower bound of the range of s c product versions to returnend - the upper bound of the range of s c product versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
int getSCFrameworkVersionsSize(long pk)
throws SystemException
pk - the primary key of the s c product version to get the number of associated s c framework versions for
SystemException - if a system exception occurred
boolean containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws SystemException
pk - the primary key of the s c product versionscFrameworkVersionPK - the primary key of the s c framework version
SystemException - if a system exception occurred
boolean containsSCFrameworkVersions(long pk)
throws SystemException
pk - the primary key of the s c product version to check for associations with s c framework versions
SystemException - if a system exception occurred
void addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws SystemException
pk - the primary key of the s c product versionscFrameworkVersionPK - the primary key of the s c framework version
SystemException - if a system exception occurred
void addSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
throws SystemException
pk - the primary key of the s c product versionscFrameworkVersion - the s c framework version
SystemException - if a system exception occurred
void addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws SystemException
pk - the primary key of the s c product versionscFrameworkVersionPKs - the primary keys of the s c framework versions
SystemException - if a system exception occurred
void addSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
throws SystemException
pk - the primary key of the s c product versionscFrameworkVersions - the s c framework versions
SystemException - if a system exception occurred
void clearSCFrameworkVersions(long pk)
throws SystemException
pk - the primary key of the s c product version to clear the associated s c framework versions from
SystemException - if a system exception occurred
void removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws SystemException
pk - the primary key of the s c product versionscFrameworkVersionPK - the primary key of the s c framework version
SystemException - if a system exception occurred
void removeSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
throws SystemException
pk - the primary key of the s c product versionscFrameworkVersion - the s c framework version
SystemException - if a system exception occurred
void removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws SystemException
pk - the primary key of the s c product versionscFrameworkVersionPKs - the primary keys of the s c framework versions
SystemException - if a system exception occurred
void removeSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
throws SystemException
pk - the primary key of the s c product versionscFrameworkVersions - the s c framework versions
SystemException - if a system exception occurred
void setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws SystemException
pk - the primary key of the s c product version to set the associations forscFrameworkVersionPKs - the primary keys of the s c framework versions to be associated with the s c product version
SystemException - if a system exception occurred
void setSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
throws SystemException
pk - the primary key of the s c product version to set the associations forscFrameworkVersions - the s c framework versions to be associated with the s c product version
SystemException - if a system exception occurred
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||