|
Liferay 6.0.3 | |||||||||
| 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<SCProductVersion>
com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceImpl
public class SCProductVersionPersistenceImpl
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)
|
void |
addSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
|
void |
addSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
|
void |
addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
void |
afterPropertiesSet()
|
void |
cacheResult(List<SCProductVersion> scProductVersions)
|
void |
cacheResult(SCProductVersion scProductVersion)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(SCProductVersion scProductVersion)
Clears the cache for one instance of this model. |
void |
clearSCFrameworkVersions(long pk)
|
boolean |
containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
boolean |
containsSCFrameworkVersions(long pk)
|
int |
countAll()
|
int |
countByDirectDownloadURL(String directDownloadURL)
|
int |
countByProductEntryId(long productEntryId)
|
SCProductVersion |
create(long productVersionId)
|
SCProductVersion |
fetchByDirectDownloadURL(String directDownloadURL)
|
SCProductVersion |
fetchByDirectDownloadURL(String directDownloadURL,
boolean retrieveFromCache)
|
SCProductVersion |
fetchByPrimaryKey(long productVersionId)
|
SCProductVersion |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
List<SCProductVersion> |
findAll()
|
List<SCProductVersion> |
findAll(int start,
int end)
|
List<SCProductVersion> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
SCProductVersion |
findByDirectDownloadURL(String directDownloadURL)
|
SCProductVersion |
findByPrimaryKey(long productVersionId)
|
SCProductVersion |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
SCProductVersion |
findByProductEntryId_First(long productEntryId,
OrderByComparator orderByComparator)
|
SCProductVersion |
findByProductEntryId_Last(long productEntryId,
OrderByComparator orderByComparator)
|
SCProductVersion[] |
findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
OrderByComparator orderByComparator)
|
List<SCProductVersion> |
findByProductEntryId(long productEntryId)
|
List<SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end)
|
List<SCProductVersion> |
findByProductEntryId(long productEntryId,
int start,
int end,
OrderByComparator orderByComparator)
|
protected SCProductVersion |
getByProductEntryId_PrevAndNext(Session session,
SCProductVersion scProductVersion,
long productEntryId,
OrderByComparator orderByComparator,
boolean previous)
|
List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk)
|
List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end)
|
List<SCFrameworkVersion> |
getSCFrameworkVersions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getSCFrameworkVersionsSize(long pk)
|
SCProductVersion |
remove(long productVersionId)
|
SCProductVersion |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByDirectDownloadURL(String directDownloadURL)
|
void |
removeByProductEntryId(long productEntryId)
|
protected SCProductVersion |
removeImpl(SCProductVersion scProductVersion)
Removes the model instance from the database. |
void |
removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
void |
removeSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
|
void |
removeSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
|
void |
removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
void |
setSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
|
void |
setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
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 SCProductVersionPersistencepublic void cacheResult(List<SCProductVersion> scProductVersions)
cacheResult in interface SCProductVersionPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<SCProductVersion>clearCache in class BasePersistenceImpl<SCProductVersion>public void clearCache(SCProductVersion scProductVersion)
BasePersistence
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
public SCProductVersion remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<SCProductVersion>remove in class BasePersistenceImpl<SCProductVersion>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public SCProductVersion remove(long productVersionId)
throws NoSuchProductVersionException,
SystemException
remove in interface SCProductVersionPersistenceNoSuchProductVersionException
SystemException
protected SCProductVersion removeImpl(SCProductVersion scProductVersion)
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<SCProductVersion>scProductVersion - the model instance to remove
SystemException - if a system exception occurred
public SCProductVersion updateImpl(SCProductVersion scProductVersion,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface SCProductVersionPersistenceupdateImpl 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
BasePersistence
findByPrimaryKey in interface BasePersistence<SCProductVersion>findByPrimaryKey in class BasePersistenceImpl<SCProductVersion>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public SCProductVersion findByPrimaryKey(long productVersionId)
throws NoSuchProductVersionException,
SystemException
findByPrimaryKey in interface SCProductVersionPersistenceNoSuchProductVersionException
SystemException
public SCProductVersion fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<SCProductVersion>fetchByPrimaryKey in class BasePersistenceImpl<SCProductVersion>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public SCProductVersion fetchByPrimaryKey(long productVersionId)
throws SystemException
fetchByPrimaryKey in interface SCProductVersionPersistenceSystemException
public List<SCProductVersion> findByProductEntryId(long productEntryId)
throws SystemException
findByProductEntryId in interface SCProductVersionPersistenceSystemException
public List<SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end)
throws SystemException
findByProductEntryId in interface SCProductVersionPersistenceSystemException
public List<SCProductVersion> findByProductEntryId(long productEntryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByProductEntryId in interface SCProductVersionPersistenceSystemException
public SCProductVersion findByProductEntryId_First(long productEntryId,
OrderByComparator orderByComparator)
throws NoSuchProductVersionException,
SystemException
findByProductEntryId_First in interface SCProductVersionPersistenceNoSuchProductVersionException
SystemException
public SCProductVersion findByProductEntryId_Last(long productEntryId,
OrderByComparator orderByComparator)
throws NoSuchProductVersionException,
SystemException
findByProductEntryId_Last in interface SCProductVersionPersistenceNoSuchProductVersionException
SystemException
public SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
OrderByComparator orderByComparator)
throws NoSuchProductVersionException,
SystemException
findByProductEntryId_PrevAndNext in interface SCProductVersionPersistenceNoSuchProductVersionException
SystemException
protected SCProductVersion getByProductEntryId_PrevAndNext(Session session,
SCProductVersion scProductVersion,
long productEntryId,
OrderByComparator orderByComparator,
boolean previous)
public SCProductVersion findByDirectDownloadURL(String directDownloadURL)
throws NoSuchProductVersionException,
SystemException
findByDirectDownloadURL in interface SCProductVersionPersistenceNoSuchProductVersionException
SystemException
public SCProductVersion fetchByDirectDownloadURL(String directDownloadURL)
throws SystemException
fetchByDirectDownloadURL in interface SCProductVersionPersistenceSystemException
public SCProductVersion fetchByDirectDownloadURL(String directDownloadURL,
boolean retrieveFromCache)
throws SystemException
fetchByDirectDownloadURL in interface SCProductVersionPersistenceSystemException
public List<SCProductVersion> findAll()
throws SystemException
findAll in interface SCProductVersionPersistenceSystemException
public List<SCProductVersion> findAll(int start,
int end)
throws SystemException
findAll in interface SCProductVersionPersistenceSystemException
public List<SCProductVersion> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface SCProductVersionPersistenceSystemException
public void removeByProductEntryId(long productEntryId)
throws SystemException
removeByProductEntryId in interface SCProductVersionPersistenceSystemException
public void removeByDirectDownloadURL(String directDownloadURL)
throws NoSuchProductVersionException,
SystemException
removeByDirectDownloadURL in interface SCProductVersionPersistenceNoSuchProductVersionException
SystemException
public void removeAll()
throws SystemException
removeAll in interface SCProductVersionPersistenceSystemException
public int countByProductEntryId(long productEntryId)
throws SystemException
countByProductEntryId in interface SCProductVersionPersistenceSystemException
public int countByDirectDownloadURL(String directDownloadURL)
throws SystemException
countByDirectDownloadURL in interface SCProductVersionPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface SCProductVersionPersistenceSystemException
public List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
throws SystemException
getSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end)
throws SystemException
getSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public int getSCFrameworkVersionsSize(long pk)
throws SystemException
getSCFrameworkVersionsSize in interface SCProductVersionPersistenceSystemException
public boolean containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws SystemException
containsSCFrameworkVersion in interface SCProductVersionPersistenceSystemException
public boolean containsSCFrameworkVersions(long pk)
throws SystemException
containsSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public void addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws SystemException
addSCFrameworkVersion in interface SCProductVersionPersistenceSystemException
public void addSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
throws SystemException
addSCFrameworkVersion in interface SCProductVersionPersistenceSystemException
public void addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws SystemException
addSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public void addSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
throws SystemException
addSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public void clearSCFrameworkVersions(long pk)
throws SystemException
clearSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public void removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws SystemException
removeSCFrameworkVersion in interface SCProductVersionPersistenceSystemException
public void removeSCFrameworkVersion(long pk,
SCFrameworkVersion scFrameworkVersion)
throws SystemException
removeSCFrameworkVersion in interface SCProductVersionPersistenceSystemException
public void removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws SystemException
removeSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public void removeSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
throws SystemException
removeSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public void setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws SystemException
setSCFrameworkVersions in interface SCProductVersionPersistenceSystemException
public void setSCFrameworkVersions(long pk,
List<SCFrameworkVersion> scFrameworkVersions)
throws SystemException
setSCFrameworkVersions in interface SCProductVersionPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||