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, com.liferay.portlet.softwarecatalog.model.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 countByProductEntryId(long productEntryId)
           
static com.liferay.portlet.softwarecatalog.model.SCProductVersion create(long productVersionId)
           
static com.liferay.portlet.softwarecatalog.model.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 com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(long productVersionId)
           
static com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.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 com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(long productVersionId)
           
static com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
           
static void removeAll()
           
static void removeByProductEntryId(long productEntryId)
           
static void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
           
static void removeSCFrameworkVersion(long pk, com.liferay.portlet.softwarecatalog.model.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 com.liferay.portlet.softwarecatalog.model.SCProductVersion update(com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
           
static com.liferay.portlet.softwarecatalog.model.SCProductVersion update(com.liferay.portlet.softwarecatalog.model.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 com.liferay.portlet.softwarecatalog.model.SCProductVersion create(long productVersionId)

remove

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

remove

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

update

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

update

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByProductEntryId_Last

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

findByProductEntryId_PrevAndNext

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

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

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

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

getSCFrameworkVersions

public static java.util.List getSCFrameworkVersions(long pk,
                                                    int begin,
                                                    int end)
                                             throws com.liferay.portal.SystemException,
                                                    com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.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,
                                                    com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.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,
                                         com.liferay.portlet.softwarecatalog.NoSuchProductVersionException,
                                         com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductVersionException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

addSCFrameworkVersion

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

addSCFrameworkVersions

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

addSCFrameworkVersions

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

clearSCFrameworkVersions

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

removeSCFrameworkVersion

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

removeSCFrameworkVersion

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

removeSCFrameworkVersions

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

removeSCFrameworkVersions

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

setSCFrameworkVersions

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

setSCFrameworkVersions

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

getPersistence

public static SCProductVersionPersistence getPersistence()

setPersistence

public void setPersistence(SCProductVersionPersistence persistence)