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

java.lang.Object
  extended bycom.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotUtil

public class SCProductScreenshotUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SCProductScreenshotUtil()
           
 
Method Summary
static int countAll()
           
static int countByP_P(long productEntryId, int priority)
           
static int countByProductEntryId(long productEntryId)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot create(long productScreenshotId)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(long productEntryId, int priority)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByP_P(long productEntryId, int priority)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(long productScreenshotId)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_First(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_Last(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId, long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByProductEntryId(long productEntryId)
           
static java.util.List findByProductEntryId(long productEntryId, int begin, int end)
           
static java.util.List findByProductEntryId(long productEntryId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static SCProductScreenshotPersistence getPersistence()
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(long productScreenshotId)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
           
static void removeAll()
           
static void removeByP_P(long productEntryId, int priority)
           
static void removeByProductEntryId(long productEntryId)
           
 void setPersistence(SCProductScreenshotPersistence persistence)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
           
static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCProductScreenshotUtil

public SCProductScreenshotUtil()
Method Detail

create

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

remove

public static 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 static 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 static 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 static 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 static 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 static com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
                                                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProductEntryId

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

findByProductEntryId

public static java.util.List findByProductEntryId(long productEntryId,
                                                  int begin,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProductEntryId

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

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

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

findAll

public static java.util.List findAll(int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static 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 static void removeByProductEntryId(long productEntryId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByP_P

public static 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 static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByProductEntryId

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

countByP_P

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

countAll

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

getPersistence

public static SCProductScreenshotPersistence getPersistence()

setPersistence

public void setPersistence(SCProductScreenshotPersistence persistence)