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

All Superinterfaces:
BasePersistence

@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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 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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCFrameworkVersion> findByGroupId(long groupId)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCFrameworkVersion> findByGroupId(long groupId,
                                                               int start,
                                                               int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCFrameworkVersion> findByCompanyId(long companyId)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCFrameworkVersion> findByCompanyId(long companyId,
                                                                 int start,
                                                                 int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCFrameworkVersion> findByG_A(long groupId,
                                                           boolean active)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCFrameworkVersion> findAll()
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCFrameworkVersion> findAll(int start,
                                                         int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_A

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByG_A(long groupId,
                             boolean active)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCProductVersion> getSCProductVersions(long pk)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCProductVersion> getSCProductVersions(long pk,
                                                                    int start,
                                                                    int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getSCProductVersionsSize(long pk)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCProductVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean containsSCProductVersion(long pk,
                                               long scProductVersionPK)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCProductVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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