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

All Superinterfaces:
BasePersistence<SCProductVersion>

public interface SCProductVersionPersistence
extends BasePersistence<SCProductVersion>

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:
SCProductVersionPersistenceImpl, SCProductVersionUtil
Generated:

Method Summary
 void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
           
 void addSCFrameworkVersion(long pk, SCFrameworkVersion scFrameworkVersion)
           
 void addSCFrameworkVersions(long pk, java.util.List<SCFrameworkVersion> scFrameworkVersions)
           
 void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
 void cacheResult(java.util.List<SCProductVersion> scProductVersions)
           
 void cacheResult(SCProductVersion scProductVersion)
           
 void clearSCFrameworkVersions(long pk)
           
 boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK)
           
 boolean containsSCFrameworkVersions(long pk)
           
 int countAll()
           
 int countByDirectDownloadURL(java.lang.String directDownloadURL)
           
 int countByProductEntryId(long productEntryId)
           
 SCProductVersion create(long productVersionId)
           
 SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
           
 SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL, boolean retrieveFromCache)
           
 SCProductVersion fetchByPrimaryKey(long productVersionId)
           
 java.util.List<SCProductVersion> findAll()
           
 java.util.List<SCProductVersion> findAll(int start, int end)
           
 java.util.List<SCProductVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
           
 SCProductVersion findByPrimaryKey(long productVersionId)
           
 SCProductVersion findByProductEntryId_First(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductVersion findByProductEntryId_Last(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId, long productEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<SCProductVersion> findByProductEntryId(long productEntryId)
           
 java.util.List<SCProductVersion> findByProductEntryId(long productEntryId, int start, int end)
           
 java.util.List<SCProductVersion> findByProductEntryId(long productEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
           
 java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk, int start, int end)
           
 java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getSCFrameworkVersionsSize(long pk)
           
 SCProductVersion remove(long productVersionId)
           
 void removeAll()
           
 void removeByDirectDownloadURL(java.lang.String directDownloadURL)
           
 void removeByProductEntryId(long productEntryId)
           
 void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
           
 void removeSCFrameworkVersion(long pk, SCFrameworkVersion scFrameworkVersion)
           
 void removeSCFrameworkVersions(long pk, java.util.List<SCFrameworkVersion> scFrameworkVersions)
           
 void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
 void setSCFrameworkVersions(long pk, java.util.List<SCFrameworkVersion> scFrameworkVersions)
           
 void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
 SCProductVersion update(SCProductVersion scProductVersion)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 SCProductVersion updateImpl(SCProductVersion scProductVersion, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(SCProductVersion scProductVersion)

cacheResult

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

create

SCProductVersion create(long productVersionId)

remove

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

update

SCProductVersion update(SCProductVersion scProductVersion)
                        throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

SCProductVersion fetchByPrimaryKey(long productVersionId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProductEntryId

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

findByProductEntryId

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

findByProductEntryId

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

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

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

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

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

fetchByDirectDownloadURL

SCProductVersion fetchByDirectDownloadURL(java.lang.String directDownloadURL)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByDirectDownloadURL

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

findAll

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

findAll

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

findAll

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

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

removeByDirectDownloadURL

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

removeAll

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

countByProductEntryId

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

countByDirectDownloadURL

int countByDirectDownloadURL(java.lang.String directDownloadURL)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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

getSCFrameworkVersions

java.util.List<SCFrameworkVersion> getSCFrameworkVersions(long pk)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCFrameworkVersions

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

getSCFrameworkVersions

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

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

containsSCFrameworkVersion

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

containsSCFrameworkVersions

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

addSCFrameworkVersion

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

addSCFrameworkVersion

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

addSCFrameworkVersions

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

addSCFrameworkVersions

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

clearSCFrameworkVersions

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

removeSCFrameworkVersion

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

removeSCFrameworkVersion

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

removeSCFrameworkVersions

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

removeSCFrameworkVersions

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

setSCFrameworkVersions

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

setSCFrameworkVersions

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