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

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionUtil

public class SCProductVersionUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
SCProductVersionPersistence, SCProductVersionPersistenceImpl
Generated:

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<SCFrameworkVersion> scFrameworkVersions)
           
static void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
static void cacheResult(java.util.List<SCProductVersion> scProductVersions)
           
static void cacheResult(SCProductVersion scProductVersion)
           
static void clearCache()
           
static void clearCache(SCProductVersion scProductVersion)
           
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)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static SCProductVersion create(long productVersionId)
           
static SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
           
static SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL, boolean retrieveFromCache)
           
static SCProductVersion fetchByPrimaryKey(long productVersionId)
           
static java.util.List<SCProductVersion> findAll()
           
static java.util.List<SCProductVersion> findAll(int start, int end)
           
static java.util.List<SCProductVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
           
static SCProductVersion findByPrimaryKey(long productVersionId)
           
static SCProductVersion findByProductEntryId_First(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static SCProductVersion findByProductEntryId_Last(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId, long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<SCProductVersion> findByProductEntryId(long productEntryId)
           
static java.util.List<SCProductVersion> findByProductEntryId(long productEntryId, int start, int end)
           
static java.util.List<SCProductVersion> findByProductEntryId(long productEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static SCProductVersionPersistence getPersistence()
           
static java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
           
static java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk, int start, int end)
           
static java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
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<SCFrameworkVersion> scFrameworkVersions)
           
static void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
 void setPersistence(SCProductVersionPersistence persistence)
           
static void setSCFrameworkVersions(long pk, java.util.List<SCFrameworkVersion> scFrameworkVersions)
           
static void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
static SCProductVersion update(SCProductVersion scProductVersion)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
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

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(SCProductVersion scProductVersion)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(SCProductVersion)

countWithDynamicQuery

public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static SCProductVersion remove(SCProductVersion scProductVersion)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static SCProductVersion update(SCProductVersion scProductVersion,
                                      boolean merge)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(SCProductVersion scProductVersion)

cacheResult

public static void cacheResult(java.util.List<SCProductVersion> scProductVersions)

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

update

public static SCProductVersion update(SCProductVersion scProductVersion)
                               throws com.liferay.portal.SystemException
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).

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<SCProductVersion> findByProductEntryId(long productEntryId)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProductEntryId

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

findByProductEntryId

public static java.util.List<SCProductVersion> findByProductEntryId(long productEntryId,
                                                                    int start,
                                                                    int end,
                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                             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 orderByComparator)
                                                   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 orderByComparator)
                                                  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 orderByComparator)
                                                           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

fetchByDirectDownloadURL

public static SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL,
                                                        boolean retrieveFromCache)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<SCProductVersion> findAll()
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<SCProductVersion> findAll(int start,
                                                       int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<SCProductVersion> findAll(int start,
                                                       int end,
                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                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<SCFrameworkVersion> getSCFrameworkVersions(long pk)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCFrameworkVersions

public static java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
                                                                        int start,
                                                                        int end)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCFrameworkVersions

public static java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk,
                                                                        int start,
                                                                        int end,
                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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
Throws:
com.liferay.portal.SystemException

addSCFrameworkVersion

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

addSCFrameworkVersions

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

addSCFrameworkVersions

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

clearSCFrameworkVersions

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

removeSCFrameworkVersion

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

removeSCFrameworkVersion

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

removeSCFrameworkVersions

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

removeSCFrameworkVersions

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

setSCFrameworkVersions

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

setSCFrameworkVersions

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

getPersistence

public static SCProductVersionPersistence getPersistence()

setPersistence

public void setPersistence(SCProductVersionPersistence persistence)