|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SCProductVersion> com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceImpl
public class SCProductVersionPersistenceImpl
The persistence implementation for the s c product version service.
Never modify or reference this class directly. Always use SCProductVersionUtil
to access the s c product version persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
SCProductVersionPersistence
,
SCProductVersionUtil
Nested Class Summary | |
---|---|
protected class |
SCProductVersionPersistenceImpl.AddSCFrameworkVersion
|
protected class |
SCProductVersionPersistenceImpl.ClearSCFrameworkVersions
|
protected class |
SCProductVersionPersistenceImpl.ContainsSCFrameworkVersion
|
protected class |
SCProductVersionPersistenceImpl.RemoveSCFrameworkVersion
|
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 | |
---|---|
SCProductVersionPersistenceImpl()
|
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 |
afterPropertiesSet()
Initializes the s c product version persistence. |
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 |
clearCache()
Clears the cache for all s c product versions. |
void |
clearCache(SCProductVersion scProductVersion)
Clears the cache for the s c product version. |
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. |
SCProductVersion |
fetchByPrimaryKey(Serializable primaryKey)
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 |
findByPrimaryKey(Serializable primaryKey)
Finds the s c product version with the primary key or throws a NoSuchModelException 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 = ?. |
protected SCProductVersion |
getByProductEntryId_PrevAndNext(Session session,
SCProductVersion scProductVersion,
long productEntryId,
OrderByComparator orderByComparator,
boolean previous)
|
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. |
SCProductVersion |
remove(Serializable primaryKey)
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. |
protected SCProductVersion |
removeImpl(SCProductVersion scProductVersion)
Removes the model instance 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. |
protected SCProductVersion |
toUnwrappedModel(SCProductVersion scProductVersion)
|
SCProductVersion |
updateImpl(SCProductVersion scProductVersion,
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 |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_PRODUCTENTRYID
public static final FinderPath FINDER_PATH_COUNT_BY_PRODUCTENTRYID
public static final FinderPath FINDER_PATH_FETCH_BY_DIRECTDOWNLOADURL
public static final FinderPath FINDER_PATH_COUNT_BY_DIRECTDOWNLOADURL
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_GET_SCFRAMEWORKVERSIONS
public static final FinderPath FINDER_PATH_GET_SCFRAMEWORKVERSIONS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_SCFRAMEWORKVERSION
@BeanReference(type=SCLicensePersistence.class) protected SCLicensePersistence scLicensePersistence
@BeanReference(type=SCFrameworkVersionPersistence.class) protected SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=SCProductEntryPersistence.class) protected SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=SCProductScreenshotPersistence.class) protected SCProductScreenshotPersistence scProductScreenshotPersistence
@BeanReference(type=SCProductVersionPersistence.class) protected SCProductVersionPersistence scProductVersionPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
protected SCProductVersionPersistenceImpl.ContainsSCFrameworkVersion containsSCFrameworkVersion
protected SCProductVersionPersistenceImpl.AddSCFrameworkVersion addSCFrameworkVersion
protected SCProductVersionPersistenceImpl.ClearSCFrameworkVersions clearSCFrameworkVersions
protected SCProductVersionPersistenceImpl.RemoveSCFrameworkVersion removeSCFrameworkVersion
Constructor Detail |
---|
public SCProductVersionPersistenceImpl()
Method Detail |
---|
public void cacheResult(SCProductVersion scProductVersion)
cacheResult
in interface SCProductVersionPersistence
scProductVersion
- the s c product version to cachepublic void cacheResult(List<SCProductVersion> scProductVersions)
cacheResult
in interface SCProductVersionPersistence
scProductVersions
- the s c product versions to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<SCProductVersion>
clearCache
in class BasePersistenceImpl<SCProductVersion>
public void clearCache(SCProductVersion scProductVersion)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<SCProductVersion>
clearCache
in class BasePersistenceImpl<SCProductVersion>
scProductVersion
- the instance of this model to clear the cache forpublic SCProductVersion create(long productVersionId)
create
in interface SCProductVersionPersistence
productVersionId
- the primary key for the new s c product version
public SCProductVersion remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<SCProductVersion>
remove
in class BasePersistenceImpl<SCProductVersion>
primaryKey
- the primary key of the s c product version to remove
NoSuchModelException
- if a s c product version with the primary key could not be found
SystemException
- if a system exception occurredpublic SCProductVersion remove(long productVersionId) throws NoSuchProductVersionException, SystemException
remove
in interface SCProductVersionPersistence
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 occurredprotected SCProductVersion removeImpl(SCProductVersion scProductVersion) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<SCProductVersion>
scProductVersion
- the model instance to remove
SystemException
- if a system exception occurredpublic SCProductVersion updateImpl(SCProductVersion scProductVersion, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface SCProductVersionPersistence
updateImpl
in class BasePersistenceImpl<SCProductVersion>
scProductVersion
- the model instance to updatemerge
- 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.
SystemException
- if a system exception occurredprotected SCProductVersion toUnwrappedModel(SCProductVersion scProductVersion)
public SCProductVersion findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<SCProductVersion>
findByPrimaryKey
in class BasePersistenceImpl<SCProductVersion>
primaryKey
- the primary key of the s c product version to find
NoSuchModelException
- if a s c product version with the primary key could not be found
SystemException
- if a system exception occurredpublic SCProductVersion findByPrimaryKey(long productVersionId) throws NoSuchProductVersionException, SystemException
NoSuchProductVersionException
if it could not be found.
findByPrimaryKey
in interface SCProductVersionPersistence
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 occurredpublic SCProductVersion fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<SCProductVersion>
fetchByPrimaryKey
in class BasePersistenceImpl<SCProductVersion>
primaryKey
- 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 occurredpublic SCProductVersion fetchByPrimaryKey(long productVersionId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface SCProductVersionPersistence
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 occurredpublic List<SCProductVersion> findByProductEntryId(long productEntryId) throws SystemException
findByProductEntryId
in interface SCProductVersionPersistence
productEntryId
- the product entry id to search with
SystemException
- if a system exception occurredpublic 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.
findByProductEntryId
in interface SCProductVersionPersistence
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 occurredpublic 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.
findByProductEntryId
in interface SCProductVersionPersistence
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 occurredpublic SCProductVersion findByProductEntryId_First(long productEntryId, OrderByComparator orderByComparator) throws NoSuchProductVersionException, 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.
findByProductEntryId_First
in interface SCProductVersionPersistence
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 occurredpublic SCProductVersion findByProductEntryId_Last(long productEntryId, OrderByComparator orderByComparator) throws NoSuchProductVersionException, 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.
findByProductEntryId_Last
in interface SCProductVersionPersistence
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 occurredpublic SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId, long productEntryId, OrderByComparator orderByComparator) throws NoSuchProductVersionException, 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.
findByProductEntryId_PrevAndNext
in interface SCProductVersionPersistence
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 occurredprotected SCProductVersion getByProductEntryId_PrevAndNext(Session session, SCProductVersion scProductVersion, long productEntryId, OrderByComparator orderByComparator, boolean previous)
public SCProductVersion findByDirectDownloadURL(String directDownloadURL) throws NoSuchProductVersionException, SystemException
NoSuchProductVersionException
if it could not be found.
findByDirectDownloadURL
in interface SCProductVersionPersistence
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 occurredpublic SCProductVersion fetchByDirectDownloadURL(String directDownloadURL) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByDirectDownloadURL
in interface SCProductVersionPersistence
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 occurredpublic SCProductVersion fetchByDirectDownloadURL(String directDownloadURL, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByDirectDownloadURL
in interface SCProductVersionPersistence
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 occurredpublic List<SCProductVersion> findAll() throws SystemException
findAll
in interface SCProductVersionPersistence
SystemException
- if a system exception occurredpublic 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.
findAll
in interface SCProductVersionPersistence
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 occurredpublic 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.
findAll
in interface SCProductVersionPersistence
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 occurredpublic void removeByProductEntryId(long productEntryId) throws SystemException
removeByProductEntryId
in interface SCProductVersionPersistence
productEntryId
- the product entry id to search with
SystemException
- if a system exception occurredpublic void removeByDirectDownloadURL(String directDownloadURL) throws NoSuchProductVersionException, SystemException
removeByDirectDownloadURL
in interface SCProductVersionPersistence
directDownloadURL
- the direct download u r l to search with
SystemException
- if a system exception occurred
NoSuchProductVersionException
public void removeAll() throws SystemException
removeAll
in interface SCProductVersionPersistence
SystemException
- if a system exception occurredpublic int countByProductEntryId(long productEntryId) throws SystemException
countByProductEntryId
in interface SCProductVersionPersistence
productEntryId
- the product entry id to search with
SystemException
- if a system exception occurredpublic int countByDirectDownloadURL(String directDownloadURL) throws SystemException
countByDirectDownloadURL
in interface SCProductVersionPersistence
directDownloadURL
- the direct download u r l to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface SCProductVersionPersistence
SystemException
- if a system exception occurredpublic List<SCFrameworkVersion> getSCFrameworkVersions(long pk) throws SystemException
getSCFrameworkVersions
in interface SCProductVersionPersistence
pk
- the primary key of the s c product version to get the associated s c framework versions for
SystemException
- if a system exception occurredpublic 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.
getSCFrameworkVersions
in interface SCProductVersionPersistence
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 occurredpublic 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.
getSCFrameworkVersions
in interface SCProductVersionPersistence
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 occurredpublic int getSCFrameworkVersionsSize(long pk) throws SystemException
getSCFrameworkVersionsSize
in interface SCProductVersionPersistence
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 occurredpublic boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK) throws SystemException
containsSCFrameworkVersion
in interface SCProductVersionPersistence
pk
- the primary key of the s c product versionscFrameworkVersionPK
- the primary key of the s c framework version
SystemException
- if a system exception occurredpublic boolean containsSCFrameworkVersions(long pk) throws SystemException
containsSCFrameworkVersions
in interface SCProductVersionPersistence
pk
- the primary key of the s c product version to check for associations with s c framework versions
SystemException
- if a system exception occurredpublic void addSCFrameworkVersion(long pk, long scFrameworkVersionPK) throws SystemException
addSCFrameworkVersion
in interface SCProductVersionPersistence
pk
- the primary key of the s c product versionscFrameworkVersionPK
- the primary key of the s c framework version
SystemException
- if a system exception occurredpublic void addSCFrameworkVersion(long pk, SCFrameworkVersion scFrameworkVersion) throws SystemException
addSCFrameworkVersion
in interface SCProductVersionPersistence
pk
- the primary key of the s c product versionscFrameworkVersion
- the s c framework version
SystemException
- if a system exception occurredpublic void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs) throws SystemException
addSCFrameworkVersions
in interface SCProductVersionPersistence
pk
- the primary key of the s c product versionscFrameworkVersionPKs
- the primary keys of the s c framework versions
SystemException
- if a system exception occurredpublic void addSCFrameworkVersions(long pk, List<SCFrameworkVersion> scFrameworkVersions) throws SystemException
addSCFrameworkVersions
in interface SCProductVersionPersistence
pk
- the primary key of the s c product versionscFrameworkVersions
- the s c framework versions
SystemException
- if a system exception occurredpublic void clearSCFrameworkVersions(long pk) throws SystemException
clearSCFrameworkVersions
in interface SCProductVersionPersistence
pk
- the primary key of the s c product version to clear the associated s c framework versions from
SystemException
- if a system exception occurredpublic void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK) throws SystemException
removeSCFrameworkVersion
in interface SCProductVersionPersistence
pk
- the primary key of the s c product versionscFrameworkVersionPK
- the primary key of the s c framework version
SystemException
- if a system exception occurredpublic void removeSCFrameworkVersion(long pk, SCFrameworkVersion scFrameworkVersion) throws SystemException
removeSCFrameworkVersion
in interface SCProductVersionPersistence
pk
- the primary key of the s c product versionscFrameworkVersion
- the s c framework version
SystemException
- if a system exception occurredpublic void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs) throws SystemException
removeSCFrameworkVersions
in interface SCProductVersionPersistence
pk
- the primary key of the s c product versionscFrameworkVersionPKs
- the primary keys of the s c framework versions
SystemException
- if a system exception occurredpublic void removeSCFrameworkVersions(long pk, List<SCFrameworkVersion> scFrameworkVersions) throws SystemException
removeSCFrameworkVersions
in interface SCProductVersionPersistence
pk
- the primary key of the s c product versionscFrameworkVersions
- the s c framework versions
SystemException
- if a system exception occurredpublic void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs) throws SystemException
setSCFrameworkVersions
in interface SCProductVersionPersistence
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 occurredpublic void setSCFrameworkVersions(long pk, List<SCFrameworkVersion> scFrameworkVersions) throws SystemException
setSCFrameworkVersions
in interface SCProductVersionPersistence
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 occurredpublic void afterPropertiesSet()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |