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

All Superinterfaces:
BasePersistence

public interface SCFrameworkVersionPersistence
extends BasePersistence

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<SCProductVersion> scProductVersions)
           
 void addSCProductVersions(long pk, long[] scProductVersionPKs)
           
 void cacheResult(java.util.List<SCFrameworkVersion> scFrameworkVersions)
           
 void cacheResult(SCFrameworkVersion scFrameworkVersion)
           
 void clearCache()
           
 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<SCFrameworkVersion> findAll()
           
 java.util.List<SCFrameworkVersion> findAll(int start, int end)
           
 java.util.List<SCFrameworkVersion> findAll(int start, 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<SCFrameworkVersion> findByCompanyId(long companyId)
           
 java.util.List<SCFrameworkVersion> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<SCFrameworkVersion> findByCompanyId(long companyId, int start, 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<SCFrameworkVersion> findByG_A(long groupId, boolean active)
           
 java.util.List<SCFrameworkVersion> findByG_A(long groupId, boolean active, int start, int end)
           
 java.util.List<SCFrameworkVersion> findByG_A(long groupId, boolean active, int start, 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<SCFrameworkVersion> findByGroupId(long groupId)
           
 java.util.List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end)
           
 java.util.List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<SCProductVersion> getSCProductVersions(long pk)
           
 java.util.List<SCProductVersion> getSCProductVersions(long pk, int start, int end)
           
 java.util.List<SCProductVersion> getSCProductVersions(long pk, int start, 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<SCProductVersion> scProductVersions)
           
 void removeSCProductVersions(long pk, long[] scProductVersionPKs)
           
 void setSCProductVersions(long pk, java.util.List<SCProductVersion> scProductVersions)
           
 void setSCProductVersions(long pk, long[] scProductVersionPKs)
           
 SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion)
          Deprecated. Use update(SCFrameworkVersion scFrameworkVersion, boolean merge).
 SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion, boolean merge)
          Add, update, or merge, the entity.
 SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(SCFrameworkVersion scFrameworkVersion)

cacheResult

void cacheResult(java.util.List<SCFrameworkVersion> scFrameworkVersions)

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

SCFrameworkVersion create(long frameworkVersionId)

remove

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

remove

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

update

SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion)
                          throws com.liferay.portal.SystemException
Deprecated. Use update(SCFrameworkVersion scFrameworkVersion, boolean merge).

Throws:
com.liferay.portal.SystemException

update

SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion,
                          boolean merge)
                          throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
scFrameworkVersion - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when scFrameworkVersion is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByGroupId

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

findByGroupId

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

findByGroupId

java.util.List<SCFrameworkVersion> findByGroupId(long groupId,
                                                 int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

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

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

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

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

findByCompanyId

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

findByCompanyId

java.util.List<SCFrameworkVersion> findByCompanyId(long companyId,
                                                   int start,
                                                   int end,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

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

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

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

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

findByG_A

java.util.List<SCFrameworkVersion> findByG_A(long groupId,
                                             boolean active,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A

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

findByG_A_First

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

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

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

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

findWithDynamicQuery

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

findAll

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

findAll

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

findAll

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

removeByGroupId

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

removeByCompanyId

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

removeByG_A

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

removeAll

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

countByGroupId

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

countByCompanyId

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

countByG_A

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

countAll

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

getSCProductVersions

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

getSCProductVersions

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

getSCProductVersions

java.util.List<SCProductVersion> getSCProductVersions(long pk,
                                                      int start,
                                                      int end,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductVersionsSize

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

containsSCProductVersion

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

containsSCProductVersions

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

addSCProductVersion

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

addSCProductVersion

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

addSCProductVersions

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

addSCProductVersions

void addSCProductVersions(long pk,
                          java.util.List<SCProductVersion> scProductVersions)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearSCProductVersions

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

removeSCProductVersion

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

removeSCProductVersion

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

removeSCProductVersions

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

removeSCProductVersions

void removeSCProductVersions(long pk,
                             java.util.List<SCProductVersion> scProductVersions)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setSCProductVersions

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

setSCProductVersions

void setSCProductVersions(long pk,
                          java.util.List<SCProductVersion> scProductVersions)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException