com.liferay.portlet.softwarecatalog.service.persistence
Interface SCProductScreenshotPersistence

All Known Implementing Classes:
SCProductScreenshotPersistenceImpl

public interface SCProductScreenshotPersistence

View Source

Author:
Brian Wing Shun Chan

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)
           
 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)
           
 

Method Detail

create

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot create(long productScreenshotId)

remove

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

remove

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
                                                                     throws com.liferay.portal.SystemException
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
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
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
                                                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProductEntryId

public java.util.List findByProductEntryId(long productEntryId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProductEntryId

public java.util.List findByProductEntryId(long productEntryId,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
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
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.portal.SystemException,
                                                                                                com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException

findByProductEntryId_Last

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

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.portal.SystemException,
                                                                                                        com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException

findByP_P

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

fetchByP_P

public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(long productEntryId,
                                                                                int priority)
                                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.SystemException

removeByProductEntryId

public void removeByProductEntryId(long productEntryId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByP_P

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

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByProductEntryId

public int countByProductEntryId(long productEntryId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByP_P

public int countByP_P(long productEntryId,
                      int priority)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException