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

All Known Implementing Classes:
SCProductVersionPersistenceImpl

public interface SCProductVersionPersistence

View Source

Author:
Brian Wing Shun Chan

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

Method Detail

create

public com.liferay.portlet.softwarecatalog.model.SCProductVersion create(long productVersionId)

remove

public 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 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 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 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 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 com.liferay.portlet.softwarecatalog.model.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 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 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 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 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

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

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

getSCFrameworkVersions

public 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 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 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,
                                  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 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 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 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 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 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 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 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 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 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 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