com.liferay.portlet.softwarecatalog.service.persistence
Class SCProductEntryPersistenceImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.jdbc.core.support.JdbcDaoSupport
          extended by com.liferay.portal.service.persistence.BasePersistence
              extended by com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceImpl
All Implemented Interfaces:
com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence, org.springframework.beans.factory.InitializingBean

public class SCProductEntryPersistenceImpl
extends BasePersistence
implements com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence

View Source

Author:
Brian Wing Shun Chan

Nested Class Summary
protected  class SCProductEntryPersistenceImpl.AddSCLicense
           
protected  class SCProductEntryPersistenceImpl.ClearSCLicenses
           
protected  class SCProductEntryPersistenceImpl.ContainsSCLicense
           
protected  class SCProductEntryPersistenceImpl.RemoveSCLicense
           
 
Field Summary
protected  SCProductEntryPersistenceImpl.AddSCLicense addSCLicense
           
protected  SCProductEntryPersistenceImpl.ClearSCLicenses clearSCLicenses
           
protected  SCProductEntryPersistenceImpl.ContainsSCLicense containsSCLicense
           
protected  SCProductEntryPersistenceImpl.RemoveSCLicense removeSCLicense
           
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
SCProductEntryPersistenceImpl()
           
 
Method Summary
 void addSCLicense(long pk, long scLicensePK)
           
 void addSCLicense(long pk, com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
           
 void addSCLicenses(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
           
 void addSCLicenses(long pk, long[] scLicensePKs)
           
 void clearSCLicenses(long pk)
           
 boolean containsSCLicense(long pk, long scLicensePK)
           
 boolean containsSCLicenses(long pk)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 int countByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry create(long productEntryId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(long productEntryId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll()
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int begin, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId, int begin, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(long productEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId, long userId)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId, long userId, int begin, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId, long userId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId, int begin, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(long productEntryId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk, int begin, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getSCLicensesSize(long pk)
           
protected  void initDao()
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(long productEntryId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
           
protected  com.liferay.portlet.softwarecatalog.model.SCProductEntry removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
           
 void removeSCLicense(long pk, long scLicensePK)
           
 void removeSCLicense(long pk, com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
           
 void removeSCLicenses(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
           
 void removeSCLicenses(long pk, long[] scLicensePKs)
           
 void setSCLicenses(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
           
 void setSCLicenses(long pk, long[] scLicensePKs)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
          Deprecated. Use update(SCProductEntry scProductEntry, boolean merge).
 com.liferay.portlet.softwarecatalog.model.SCProductEntry update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry, boolean merge)
          Add, update, or merge, the entity.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.BasePersistence
closeSession, getDialect, getSessionFactory, openSession, openSession, setSessionFactory
 
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

containsSCLicense

protected SCProductEntryPersistenceImpl.ContainsSCLicense containsSCLicense

addSCLicense

protected SCProductEntryPersistenceImpl.AddSCLicense addSCLicense

clearSCLicenses

protected SCProductEntryPersistenceImpl.ClearSCLicenses clearSCLicenses

removeSCLicense

protected SCProductEntryPersistenceImpl.RemoveSCLicense removeSCLicense
Constructor Detail

SCProductEntryPersistenceImpl

public SCProductEntryPersistenceImpl()
Method Detail

create

public com.liferay.portlet.softwarecatalog.model.SCProductEntry create(long productEntryId)
Specified by:
create in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence

remove

public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(long productEntryId)
                                                                throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                       com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

remove

public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
                                                                throws com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

removeImpl

protected com.liferay.portlet.softwarecatalog.model.SCProductEntry removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
                                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.softwarecatalog.model.SCProductEntry update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
                                                                throws com.liferay.portal.SystemException
Deprecated. Use update(SCProductEntry scProductEntry, boolean merge).

Specified by:
update in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.softwarecatalog.model.SCProductEntry update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
                                                                       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.

Specified by:
update in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
scProductEntry - 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 scProductEntry 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

public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
                                                                           boolean merge)
                                                                    throws com.liferay.portal.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(long productEntryId)
                                                                          throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                 com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(long productEntryId)
                                                                           throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId)
                                                                                       throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId,
                                                                                              int begin,
                                                                                              int end)
                                                                                       throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId,
                                                                                              int begin,
                                                                                              int end,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                       throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(long groupId,
                                                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                             throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                    com.liferay.portal.SystemException
Specified by:
findByGroupId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

findByGroupId_Last

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(long groupId,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                            throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                   com.liferay.portal.SystemException
Specified by:
findByGroupId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

findByGroupId_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
                                                                                            long groupId,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                     throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                            com.liferay.portal.SystemException
Specified by:
findByGroupId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId)
                                                                                         throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId,
                                                                                                int begin,
                                                                                                int end)
                                                                                         throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId,
                                                                                                int begin,
                                                                                                int end,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                         throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(long companyId,
                                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                               throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                      com.liferay.portal.SystemException
Specified by:
findByCompanyId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

findByCompanyId_Last

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(long companyId,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                              throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                     com.liferay.portal.SystemException
Specified by:
findByCompanyId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

findByCompanyId_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
                                                                                              long companyId,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                       throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                              com.liferay.portal.SystemException
Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

findByG_U

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId,
                                                                                          long userId)
                                                                                   throws com.liferay.portal.SystemException
Specified by:
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByG_U

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId,
                                                                                          long userId,
                                                                                          int begin,
                                                                                          int end)
                                                                                   throws com.liferay.portal.SystemException
Specified by:
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByG_U

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId,
                                                                                          long userId,
                                                                                          int begin,
                                                                                          int end,
                                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                   throws com.liferay.portal.SystemException
Specified by:
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findByG_U_First

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(long groupId,
                                                                                long userId,
                                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                         throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                com.liferay.portal.SystemException
Specified by:
findByG_U_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

findByG_U_Last

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(long groupId,
                                                                               long userId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                        throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                               com.liferay.portal.SystemException
Specified by:
findByG_U_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

findByG_U_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
                                                                                        long groupId,
                                                                                        long userId,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                 throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                        com.liferay.portal.SystemException
Specified by:
findByG_U_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

findByRG_RA

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(java.lang.String repoGroupId,
                                                                            java.lang.String repoArtifactId)
                                                                     throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                            com.liferay.portal.SystemException
Specified by:
findByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

fetchByRG_RA

public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
                                                                             java.lang.String repoArtifactId)
                                                                      throws com.liferay.portal.SystemException
Specified by:
fetchByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                                                              throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                                                                     int begin,
                                                                                                     int end)
                                                                                              throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll()
                                                                                 throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int begin,
                                                                                        int end)
                                                                                 throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int begin,
                                                                                        int end,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                 throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Specified by:
removeByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Specified by:
removeByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

removeByG_U

public void removeByG_U(long groupId,
                        long userId)
                 throws com.liferay.portal.SystemException
Specified by:
removeByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

removeByRG_RA

public void removeByRG_RA(java.lang.String repoGroupId,
                          java.lang.String repoArtifactId)
                   throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                          com.liferay.portal.SystemException
Specified by:
removeByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Specified by:
countByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Specified by:
countByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

countByG_U

public int countByG_U(long groupId,
                      long userId)
               throws com.liferay.portal.SystemException
Specified by:
countByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

countByRG_RA

public int countByRG_RA(java.lang.String repoGroupId,
                        java.lang.String repoArtifactId)
                 throws com.liferay.portal.SystemException
Specified by:
countByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

getSCLicenses

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk)
                                                                                  throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                         com.liferay.portal.SystemException
Specified by:
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

getSCLicenses

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk,
                                                                                         int begin,
                                                                                         int end)
                                                                                  throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                         com.liferay.portal.SystemException
Specified by:
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

getSCLicenses

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk,
                                                                                         int begin,
                                                                                         int end,
                                                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                  throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                         com.liferay.portal.SystemException
Specified by:
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

getSCLicensesSize

public int getSCLicensesSize(long pk)
                      throws com.liferay.portal.SystemException
Specified by:
getSCLicensesSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

containsSCLicense

public boolean containsSCLicense(long pk,
                                 long scLicensePK)
                          throws com.liferay.portal.SystemException
Specified by:
containsSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

containsSCLicenses

public boolean containsSCLicenses(long pk)
                           throws com.liferay.portal.SystemException
Specified by:
containsSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.SystemException

addSCLicense

public void addSCLicense(long pk,
                         long scLicensePK)
                  throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                         com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                         com.liferay.portal.SystemException
Specified by:
addSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

addSCLicense

public void addSCLicense(long pk,
                         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
                  throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                         com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                         com.liferay.portal.SystemException
Specified by:
addSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

addSCLicenses

public void addSCLicenses(long pk,
                          long[] scLicensePKs)
                   throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                          com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                          com.liferay.portal.SystemException
Specified by:
addSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

addSCLicenses

public void addSCLicenses(long pk,
                          java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
                   throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                          com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                          com.liferay.portal.SystemException
Specified by:
addSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

clearSCLicenses

public void clearSCLicenses(long pk)
                     throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                            com.liferay.portal.SystemException
Specified by:
clearSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portal.SystemException

removeSCLicense

public void removeSCLicense(long pk,
                            long scLicensePK)
                     throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                            com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                            com.liferay.portal.SystemException
Specified by:
removeSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

removeSCLicense

public void removeSCLicense(long pk,
                            com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
                     throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                            com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                            com.liferay.portal.SystemException
Specified by:
removeSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

removeSCLicenses

public void removeSCLicenses(long pk,
                             long[] scLicensePKs)
                      throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                             com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                             com.liferay.portal.SystemException
Specified by:
removeSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

removeSCLicenses

public void removeSCLicenses(long pk,
                             java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
                      throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                             com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                             com.liferay.portal.SystemException
Specified by:
removeSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

setSCLicenses

public void setSCLicenses(long pk,
                          long[] scLicensePKs)
                   throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                          com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                          com.liferay.portal.SystemException
Specified by:
setSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

setSCLicenses

public void setSCLicenses(long pk,
                          java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
                   throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                          com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                          com.liferay.portal.SystemException
Specified by:
setSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

initDao

protected void initDao()
Overrides:
initDao in class org.springframework.dao.support.DaoSupport