com.liferay.portlet.softwarecatalog.service.persistence
Class SCProductScreenshotPersistenceImpl

java.lang.Object
  extended byorg.springframework.dao.support.DaoSupport
      extended byorg.springframework.jdbc.core.support.JdbcDaoSupport
          extended bycom.liferay.portal.service.persistence.BasePersistence
              extended bycom.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, SCProductScreenshotPersistence

public class SCProductScreenshotPersistenceImpl
extends BasePersistence
implements SCProductScreenshotPersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
SCProductScreenshotPersistenceImpl()
           
 
Method Summary
 int countAll()
           
 int countByP_P(long productEntryId, int priority)
           
 int countByProductEntryId(long productEntryId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot create(long productScreenshotId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(long productEntryId, int priority)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
           
 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.SCProductScreenshot findByP_P(long productEntryId, int priority)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(long productScreenshotId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_First(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_Last(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId, 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)
           
protected  void initDao()
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(long productScreenshotId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
           
 void removeAll()
           
 void removeByP_P(long productEntryId, int priority)
           
 void removeByProductEntryId(long productEntryId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
           
 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.BasePersistence
closeSession, getDialect, getSessionFactory, openSession, openSession, setSessionFactory
 
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
 

Constructor Detail

SCProductScreenshotPersistenceImpl

public SCProductScreenshotPersistenceImpl()
Method Detail

create

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot create(long productScreenshotId)
Specified by:
create in interface SCProductScreenshotPersistence

remove

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(long productScreenshotId)
                                                                     throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
                                                                            com.liferay.portal.SystemException
Specified by:
remove in interface SCProductScreenshotPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
com.liferay.portal.SystemException

remove

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
                                                                     throws com.liferay.portal.SystemException
Specified by:
remove in interface SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
                                                                     throws com.liferay.portal.SystemException
Specified by:
update in interface SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
                                                                            boolean merge)
                                                                     throws com.liferay.portal.SystemException
Specified by:
update in interface SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(long productScreenshotId)
                                                                               throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
                                                                                      com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface SCProductScreenshotPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
                                                                                throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

findByProductEntryId

public java.util.List findByProductEntryId(long productEntryId)
                                    throws com.liferay.portal.SystemException
Specified by:
findByProductEntryId in interface SCProductScreenshotPersistence
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 SCProductScreenshotPersistence
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 SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

findByProductEntryId_First

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_First(long productEntryId,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                         throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
                                                                                                com.liferay.portal.SystemException
Specified by:
findByProductEntryId_First in interface SCProductScreenshotPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
com.liferay.portal.SystemException

findByProductEntryId_Last

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_Last(long productEntryId,
                                                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                        throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
                                                                                               com.liferay.portal.SystemException
Specified by:
findByProductEntryId_Last in interface SCProductScreenshotPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
com.liferay.portal.SystemException

findByProductEntryId_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId,
                                                                                                        long productEntryId,
                                                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                                 throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
                                                                                                        com.liferay.portal.SystemException
Specified by:
findByProductEntryId_PrevAndNext in interface SCProductScreenshotPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
com.liferay.portal.SystemException

findByP_P

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByP_P(long productEntryId,
                                                                               int priority)
                                                                        throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
                                                                               com.liferay.portal.SystemException
Specified by:
findByP_P in interface SCProductScreenshotPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
com.liferay.portal.SystemException

fetchByP_P

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(long productEntryId,
                                                                                int priority)
                                                                         throws com.liferay.portal.SystemException
Specified by:
fetchByP_P in interface SCProductScreenshotPersistence
Throws:
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 SCProductScreenshotPersistence
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 SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Specified by:
findAll in interface SCProductScreenshotPersistence
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 SCProductScreenshotPersistence
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 SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

removeByProductEntryId

public void removeByProductEntryId(long productEntryId)
                            throws com.liferay.portal.SystemException
Specified by:
removeByProductEntryId in interface SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

removeByP_P

public void removeByP_P(long productEntryId,
                        int priority)
                 throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
                        com.liferay.portal.SystemException
Specified by:
removeByP_P in interface SCProductScreenshotPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

countByProductEntryId

public int countByProductEntryId(long productEntryId)
                          throws com.liferay.portal.SystemException
Specified by:
countByProductEntryId in interface SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

countByP_P

public int countByP_P(long productEntryId,
                      int priority)
               throws com.liferay.portal.SystemException
Specified by:
countByP_P in interface SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface SCProductScreenshotPersistence
Throws:
com.liferay.portal.SystemException

initDao

protected void initDao()