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

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

public class SCProductVersionUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SCProductVersionUtil()
           
 
Method Summary
static void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
           
static void addSCFrameworkVersion(long pk, SCFrameworkVersion scFrameworkVersion)
           
static void addSCFrameworkVersions(long pk, java.util.List scFrameworkVersions)
           
static void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
static void clearSCFrameworkVersions(long pk)
           
static boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK)
           
static boolean containsSCFrameworkVersions(long pk)
           
static int countAll()
           
static int countByDirectDownloadURL(java.lang.String directDownloadURL)
           
static int countByProductEntryId(long productEntryId)
           
static SCProductVersion create(long productVersionId)
           
static SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
           
static SCProductVersion fetchByPrimaryKey(long productVersionId)
           
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 SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
           
static SCProductVersion findByPrimaryKey(long productVersionId)
           
static SCProductVersion findByProductEntryId_First(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCProductVersion findByProductEntryId_Last(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId, 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 SCProductVersionPersistence getPersistence()
           
static java.util.List getSCFrameworkVersions(long pk)
           
static java.util.List getSCFrameworkVersions(long pk, int begin, int end)
           
static java.util.List getSCFrameworkVersions(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int getSCFrameworkVersionsSize(long pk)
           
static SCProductVersion remove(long productVersionId)
           
static SCProductVersion remove(SCProductVersion scProductVersion)
           
static void removeAll()
           
static void removeByDirectDownloadURL(java.lang.String directDownloadURL)
           
static void removeByProductEntryId(long productEntryId)
           
static void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
           
static void removeSCFrameworkVersion(long pk, SCFrameworkVersion scFrameworkVersion)
           
static void removeSCFrameworkVersions(long pk, java.util.List scFrameworkVersions)
           
static void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
 void setPersistence(SCProductVersionPersistence persistence)
           
static void setSCFrameworkVersions(long pk, java.util.List scFrameworkVersions)
           
static void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
static SCProductVersion update(SCProductVersion scProductVersion)
           
static SCProductVersion update(SCProductVersion scProductVersion, boolean merge)
           
static SCProductVersion updateImpl(SCProductVersion scProductVersion, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCProductVersionUtil

public SCProductVersionUtil()
Method Detail

create

public static SCProductVersion create(long productVersionId)

remove

public static SCProductVersion remove(long productVersionId)
                               throws com.liferay.portal.SystemException,
                                      NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

remove

public static SCProductVersion remove(SCProductVersion scProductVersion)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static SCProductVersion update(SCProductVersion scProductVersion)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static SCProductVersion update(SCProductVersion scProductVersion,
                                      boolean merge)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public static SCProductVersion updateImpl(SCProductVersion scProductVersion,
                                          boolean merge)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static SCProductVersion findByPrimaryKey(long productVersionId)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

fetchByPrimaryKey

public static SCProductVersion fetchByPrimaryKey(long productVersionId)
                                          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 SCProductVersion findByProductEntryId_First(long productEntryId,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.SystemException,
                                                          NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

findByProductEntryId_Last

public static SCProductVersion findByProductEntryId_Last(long productEntryId,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.SystemException,
                                                         NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

findByProductEntryId_PrevAndNext

public static SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId,
                                                                  long productEntryId,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portal.SystemException,
                                                                  NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

findByDirectDownloadURL

public static SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
                                                throws com.liferay.portal.SystemException,
                                                       NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

fetchByDirectDownloadURL

public static SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
                                                 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

removeByDirectDownloadURL

public static void removeByDirectDownloadURL(java.lang.String directDownloadURL)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

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

countByDirectDownloadURL

public static int countByDirectDownloadURL(java.lang.String directDownloadURL)
                                    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

getSCFrameworkVersions

public static java.util.List getSCFrameworkVersions(long pk)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

getSCFrameworkVersions

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

getSCFrameworkVersions

public static java.util.List getSCFrameworkVersions(long pk,
                                                    int begin,
                                                    int end,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

getSCFrameworkVersionsSize

public static int getSCFrameworkVersionsSize(long pk)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCFrameworkVersion

public static boolean containsSCFrameworkVersion(long pk,
                                                 long scFrameworkVersionPK)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCFrameworkVersions

public static boolean containsSCFrameworkVersions(long pk)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addSCFrameworkVersion

public static void addSCFrameworkVersion(long pk,
                                         long scFrameworkVersionPK)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchProductVersionException,
                                         NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

addSCFrameworkVersion

public static void addSCFrameworkVersion(long pk,
                                         SCFrameworkVersion scFrameworkVersion)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchProductVersionException,
                                         NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

addSCFrameworkVersions

public static void addSCFrameworkVersions(long pk,
                                          long[] scFrameworkVersionPKs)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchProductVersionException,
                                          NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

addSCFrameworkVersions

public static void addSCFrameworkVersions(long pk,
                                          java.util.List scFrameworkVersions)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchProductVersionException,
                                          NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

clearSCFrameworkVersions

public static void clearSCFrameworkVersions(long pk)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

removeSCFrameworkVersion

public static void removeSCFrameworkVersion(long pk,
                                            long scFrameworkVersionPK)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchProductVersionException,
                                            NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

removeSCFrameworkVersion

public static void removeSCFrameworkVersion(long pk,
                                            SCFrameworkVersion scFrameworkVersion)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchProductVersionException,
                                            NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

removeSCFrameworkVersions

public static void removeSCFrameworkVersions(long pk,
                                             long[] scFrameworkVersionPKs)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchProductVersionException,
                                             NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

removeSCFrameworkVersions

public static void removeSCFrameworkVersions(long pk,
                                             java.util.List scFrameworkVersions)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchProductVersionException,
                                             NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

setSCFrameworkVersions

public static void setSCFrameworkVersions(long pk,
                                          long[] scFrameworkVersionPKs)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchProductVersionException,
                                          NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

setSCFrameworkVersions

public static void setSCFrameworkVersions(long pk,
                                          java.util.List scFrameworkVersions)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchProductVersionException,
                                          NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

getPersistence

public static SCProductVersionPersistence getPersistence()

setPersistence

public void setPersistence(SCProductVersionPersistence persistence)