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


public interface SCFrameworkVersionPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addSCProductVersion(long pk, long scProductVersionPK)
           
 void addSCProductVersion(long pk, SCProductVersion scProductVersion)
           
 void addSCProductVersions(long pk, java.util.List scProductVersions)
           
 void addSCProductVersions(long pk, long[] scProductVersionPKs)
           
 void clearSCProductVersions(long pk)
           
 boolean containsSCProductVersion(long pk, long scProductVersionPK)
           
 boolean containsSCProductVersions(long pk)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_A(long groupId, boolean active)
           
 int countByGroupId(long groupId)
           
 SCFrameworkVersion create(long frameworkVersionId)
           
 SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
           
 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)
           
 SCFrameworkVersion findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByCompanyId(long companyId)
           
 java.util.List findByCompanyId(long companyId, int begin, int end)
           
 java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByG_A(long groupId, boolean active)
           
 java.util.List findByG_A(long groupId, boolean active, int begin, int end)
           
 java.util.List findByG_A(long groupId, boolean active, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByGroupId(long groupId)
           
 java.util.List findByGroupId(long groupId, int begin, int end)
           
 java.util.List findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
           
 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 getSCProductVersions(long pk)
           
 java.util.List getSCProductVersions(long pk, int begin, int end)
           
 java.util.List getSCProductVersions(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getSCProductVersionsSize(long pk)
           
 SCFrameworkVersion remove(long frameworkVersionId)
           
 SCFrameworkVersion remove(SCFrameworkVersion scFrameworkVersion)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_A(long groupId, boolean active)
           
 void removeByGroupId(long groupId)
           
 void removeSCProductVersion(long pk, long scProductVersionPK)
           
 void removeSCProductVersion(long pk, SCProductVersion scProductVersion)
           
 void removeSCProductVersions(long pk, java.util.List scProductVersions)
           
 void removeSCProductVersions(long pk, long[] scProductVersionPKs)
           
 void setSCProductVersions(long pk, java.util.List scProductVersions)
           
 void setSCProductVersions(long pk, long[] scProductVersionPKs)
           
 SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion)
           
 SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion, boolean merge)
           
 SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion, boolean merge)
           
 

Method Detail

create

public SCFrameworkVersion create(long frameworkVersionId)

remove

public SCFrameworkVersion remove(long frameworkVersionId)
                          throws com.liferay.portal.SystemException,
                                 NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

remove

public SCFrameworkVersion remove(SCFrameworkVersion scFrameworkVersion)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion,
                                 boolean merge)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion,
                                     boolean merge)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

fetchByPrimaryKey

public SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

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

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public SCFrameworkVersion findByGroupId_First(long groupId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByGroupId_Last

public SCFrameworkVersion findByGroupId_Last(long groupId,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByGroupId_PrevAndNext

public SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId,
                                                      long groupId,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException,
                                                      NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByCompanyId

public java.util.List findByCompanyId(long companyId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

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

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public SCFrameworkVersion findByCompanyId_First(long companyId,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByCompanyId_Last

public SCFrameworkVersion findByCompanyId_Last(long companyId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByCompanyId_PrevAndNext

public SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId,
                                                        long companyId,
                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.SystemException,
                                                        NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByG_A

public java.util.List findByG_A(long groupId,
                                boolean active)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A

public java.util.List findByG_A(long groupId,
                                boolean active,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A

public java.util.List findByG_A(long groupId,
                                boolean active,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A_First

public SCFrameworkVersion findByG_A_First(long groupId,
                                          boolean active,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByG_A_Last

public SCFrameworkVersion findByG_A_Last(long groupId,
                                         boolean active,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByG_A_PrevAndNext

public SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId,
                                                  long groupId,
                                                  boolean active,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

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

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_A

public void removeByG_A(long groupId,
                        boolean active)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_A

public int countByG_A(long groupId,
                      boolean active)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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

getSCProductVersions

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

getSCProductVersions

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

getSCProductVersions

public java.util.List getSCProductVersions(long pk,
                                           int begin,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

getSCProductVersionsSize

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

containsSCProductVersion

public boolean containsSCProductVersion(long pk,
                                        long scProductVersionPK)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCProductVersions

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

addSCProductVersion

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

addSCProductVersion

public void addSCProductVersion(long pk,
                                SCProductVersion scProductVersion)
                         throws com.liferay.portal.SystemException,
                                NoSuchProductVersionException,
                                NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

addSCProductVersions

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

addSCProductVersions

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

clearSCProductVersions

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

removeSCProductVersion

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

removeSCProductVersion

public void removeSCProductVersion(long pk,
                                   SCProductVersion scProductVersion)
                            throws com.liferay.portal.SystemException,
                                   NoSuchProductVersionException,
                                   NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

removeSCProductVersions

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

removeSCProductVersions

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

setSCProductVersions

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

setSCProductVersions

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