com.liferay.portlet.softwarecatalog.service.persistence
Class SCProductVersionPersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistenceImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, SCProductVersionPersistence
- public class SCProductVersionPersistenceImpl
- extends BasePersistence
- implements SCProductVersionPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
void |
addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
void |
addSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
|
void |
addSCFrameworkVersions(long pk,
java.util.List scFrameworkVersions)
|
void |
addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
void |
clearSCFrameworkVersions(long pk)
|
boolean |
containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
boolean |
containsSCFrameworkVersions(long pk)
|
int |
countAll()
|
int |
countByProductEntryId(long productEntryId)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
create(long productVersionId)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
fetchByPrimaryKey(long productVersionId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
findByPrimaryKey(long productVersionId)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion[] |
findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByProductEntryId(long productEntryId)
|
java.util.List |
findByProductEntryId(long productEntryId,
int begin,
int end)
|
java.util.List |
findByProductEntryId(long productEntryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List |
getSCFrameworkVersions(long pk)
|
java.util.List |
getSCFrameworkVersions(long pk,
int begin,
int end)
|
java.util.List |
getSCFrameworkVersions(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getSCFrameworkVersionsSize(long pk)
|
protected void |
initDao()
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
remove(long productVersionId)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
remove(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
|
void |
removeAll()
|
void |
removeByProductEntryId(long productEntryId)
|
void |
removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
|
void |
removeSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
|
void |
removeSCFrameworkVersions(long pk,
java.util.List scFrameworkVersions)
|
void |
removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
void |
setSCFrameworkVersions(long pk,
java.util.List scFrameworkVersions)
|
void |
setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
update(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
|
com.liferay.portlet.softwarecatalog.model.SCProductVersion |
update(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
boolean merge)
|
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
containsSCFrameworkVersion
protected SCProductVersionPersistenceImpl.ContainsSCFrameworkVersion containsSCFrameworkVersion
addSCFrameworkVersion
protected SCProductVersionPersistenceImpl.AddSCFrameworkVersion addSCFrameworkVersion
clearSCFrameworkVersions
protected SCProductVersionPersistenceImpl.ClearSCFrameworkVersions clearSCFrameworkVersions
removeSCFrameworkVersion
protected SCProductVersionPersistenceImpl.RemoveSCFrameworkVersion removeSCFrameworkVersion
SCProductVersionPersistenceImpl
public SCProductVersionPersistenceImpl()
create
public com.liferay.portlet.softwarecatalog.model.SCProductVersion create(long productVersionId)
- Specified by:
create
in interface SCProductVersionPersistence
remove
public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(long productVersionId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.softwarecatalog.model.SCProductVersion update(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.softwarecatalog.model.SCProductVersion update(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(long productVersionId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(long productVersionId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
public java.util.List findByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Specified by:
findByProductEntryId
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
public java.util.List findByProductEntryId(long productEntryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByProductEntryId
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
public java.util.List findByProductEntryId(long productEntryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByProductEntryId
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
findByProductEntryId_First
public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.SystemException
- Specified by:
findByProductEntryId_First
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portal.SystemException
findByProductEntryId_Last
public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.SystemException
- Specified by:
findByProductEntryId_Last
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portal.SystemException
findByProductEntryId_PrevAndNext
public com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.SystemException
- Specified by:
findByProductEntryId_PrevAndNext
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
removeByProductEntryId
public void removeByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Specified by:
removeByProductEntryId
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
countByProductEntryId
public int countByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Specified by:
countByProductEntryId
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
getSCFrameworkVersions
public java.util.List getSCFrameworkVersions(long pk)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.SystemException
- Specified by:
getSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portal.SystemException
getSCFrameworkVersions
public java.util.List getSCFrameworkVersions(long pk,
int begin,
int end)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.SystemException
- Specified by:
getSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portal.SystemException
getSCFrameworkVersions
public java.util.List getSCFrameworkVersions(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.SystemException
- Specified by:
getSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portal.SystemException
getSCFrameworkVersionsSize
public int getSCFrameworkVersionsSize(long pk)
throws com.liferay.portal.SystemException
- Specified by:
getSCFrameworkVersionsSize
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
containsSCFrameworkVersion
public boolean containsSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portal.SystemException
- Specified by:
containsSCFrameworkVersion
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
containsSCFrameworkVersions
public boolean containsSCFrameworkVersions(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portal.SystemException
addSCFrameworkVersion
public void addSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
addSCFrameworkVersion
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
addSCFrameworkVersion
public void addSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
addSCFrameworkVersion
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
addSCFrameworkVersions
public void addSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
addSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
addSCFrameworkVersions
public void addSCFrameworkVersions(long pk,
java.util.List scFrameworkVersions)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
addSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
clearSCFrameworkVersions
public void clearSCFrameworkVersions(long pk)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portal.SystemException
- Specified by:
clearSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portal.SystemException
removeSCFrameworkVersion
public void removeSCFrameworkVersion(long pk,
long scFrameworkVersionPK)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
removeSCFrameworkVersion
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
removeSCFrameworkVersion
public void removeSCFrameworkVersion(long pk,
com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
removeSCFrameworkVersion
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
removeSCFrameworkVersions
public void removeSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
removeSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
removeSCFrameworkVersions
public void removeSCFrameworkVersions(long pk,
java.util.List scFrameworkVersions)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
removeSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
setSCFrameworkVersions
public void setSCFrameworkVersions(long pk,
long[] scFrameworkVersionPKs)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
setSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
setSCFrameworkVersions
public void setSCFrameworkVersions(long pk,
java.util.List scFrameworkVersions)
throws com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException,
com.liferay.portal.SystemException
- Specified by:
setSCFrameworkVersions
in interface SCProductVersionPersistence
- Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
com.liferay.portal.SystemException
initDao
protected void initDao()