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


public interface SCProductVersionPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
           
 void addSCFrameworkVersion(long pk, SCFrameworkVersion scFrameworkVersion)
           
 void addSCFrameworkVersions(long pk, java.util.List scFrameworkVersions)
           
 void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
 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 fetchByPrimaryKey(long productVersionId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
           
 SCProductVersion findByPrimaryKey(long productVersionId)
           
 SCProductVersion findByProductEntryId_First(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCProductVersion findByProductEntryId_Last(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCProductVersion[] findByProductEntryId_PrevAndNext(long productVersionId, long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByProductEntryId(long productEntryId)
           
 java.util.List findByProductEntryId(long productEntryId, int begin, int end)
           
 java.util.List findByProductEntryId(long productEntryId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getSCFrameworkVersions(long pk)
           
 java.util.List getSCFrameworkVersions(long pk, int begin, int end)
           
 java.util.List getSCFrameworkVersions(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getSCFrameworkVersionsSize(long pk)
           
 SCProductVersion remove(long productVersionId)
           
 SCProductVersion remove(SCProductVersion scProductVersion)
           
 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 scFrameworkVersions)
           
 void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
 void setSCFrameworkVersions(long pk, java.util.List scFrameworkVersions)
           
 void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
           
 SCProductVersion update(SCProductVersion scProductVersion)
           
 SCProductVersion update(SCProductVersion scProductVersion, boolean merge)
           
 SCProductVersion updateImpl(SCProductVersion scProductVersion, boolean merge)
           
 

Method Detail

create

public SCProductVersion create(long productVersionId)

remove

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

remove

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

update

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

update

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByProductEntryId

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

findByProductEntryId

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

findByProductEntryId

public 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 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 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 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 SCProductVersion findByDirectDownloadURL(java.lang.String directDownloadURL)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchProductVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException

fetchByDirectDownloadURL

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

findWithDynamicQuery

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

findWithDynamicQuery

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

findAll

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

findAll

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

removeByDirectDownloadURL

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

removeAll

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

countByProductEntryId

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

countByDirectDownloadURL

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

countAll

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

getSCFrameworkVersions

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

getSCFrameworkVersions

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

getSCFrameworkVersions

public 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 int getSCFrameworkVersionsSize(long pk)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCFrameworkVersion

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

containsSCFrameworkVersions

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

addSCFrameworkVersion

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

addSCFrameworkVersion

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

addSCFrameworkVersions

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

addSCFrameworkVersions

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

clearSCFrameworkVersions

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

removeSCFrameworkVersion

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

removeSCFrameworkVersion

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

removeSCFrameworkVersions

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

removeSCFrameworkVersions

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

setSCFrameworkVersions

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

setSCFrameworkVersions

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