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

All Superinterfaces:
BasePersistence<SCProductEntry>

public interface SCProductEntryPersistence
extends BasePersistence<SCProductEntry>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
SCProductEntryPersistenceImpl, SCProductEntryUtil
Generated:

Method Summary
 void addSCLicense(long pk, long scLicensePK)
           
 void addSCLicense(long pk, SCLicense scLicense)
           
 void addSCLicenses(long pk, java.util.List<SCLicense> scLicenses)
           
 void addSCLicenses(long pk, long[] scLicensePKs)
           
 void cacheResult(java.util.List<SCProductEntry> scProductEntries)
           
 void cacheResult(SCProductEntry scProductEntry)
           
 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)
           
 SCProductEntry create(long productEntryId)
           
 SCProductEntry fetchByPrimaryKey(long productEntryId)
           
 SCProductEntry fetchByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
           
 SCProductEntry fetchByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId, boolean retrieveFromCache)
           
 int filterCountByG_U(long groupId, long userId)
           
 int filterCountByGroupId(long groupId)
           
 java.util.List<SCProductEntry> filterFindByG_U(long groupId, long userId)
           
 java.util.List<SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end)
           
 java.util.List<SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<SCProductEntry> filterFindByGroupId(long groupId)
           
 java.util.List<SCProductEntry> filterFindByGroupId(long groupId, int start, int end)
           
 java.util.List<SCProductEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<SCProductEntry> findAll()
           
 java.util.List<SCProductEntry> findAll(int start, int end)
           
 java.util.List<SCProductEntry> findAll(int start, int end, OrderByComparator orderByComparator)
           
 SCProductEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 SCProductEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId, long companyId, OrderByComparator orderByComparator)
           
 java.util.List<SCProductEntry> findByCompanyId(long companyId)
           
 java.util.List<SCProductEntry> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<SCProductEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 SCProductEntry findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
           
 SCProductEntry findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
           
 SCProductEntry[] findByG_U_PrevAndNext(long productEntryId, long groupId, long userId, OrderByComparator orderByComparator)
           
 java.util.List<SCProductEntry> findByG_U(long groupId, long userId)
           
 java.util.List<SCProductEntry> findByG_U(long groupId, long userId, int start, int end)
           
 java.util.List<SCProductEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
           
 SCProductEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 SCProductEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId, long groupId, OrderByComparator orderByComparator)
           
 java.util.List<SCProductEntry> findByGroupId(long groupId)
           
 java.util.List<SCProductEntry> findByGroupId(long groupId, int start, int end)
           
 java.util.List<SCProductEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 SCProductEntry findByPrimaryKey(long productEntryId)
           
 SCProductEntry findByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
           
 java.util.List<SCLicense> getSCLicenses(long pk)
           
 java.util.List<SCLicense> getSCLicenses(long pk, int start, int end)
           
 java.util.List<SCLicense> getSCLicenses(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getSCLicensesSize(long pk)
           
 SCProductEntry remove(long productEntryId)
           
 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)
           
 void removeSCLicense(long pk, long scLicensePK)
           
 void removeSCLicense(long pk, SCLicense scLicense)
           
 void removeSCLicenses(long pk, java.util.List<SCLicense> scLicenses)
           
 void removeSCLicenses(long pk, long[] scLicensePKs)
           
 void setSCLicenses(long pk, java.util.List<SCLicense> scLicenses)
           
 void setSCLicenses(long pk, long[] scLicensePKs)
           
 SCProductEntry updateImpl(SCProductEntry scProductEntry, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(SCProductEntry scProductEntry)

cacheResult

void cacheResult(java.util.List<SCProductEntry> scProductEntries)

create

SCProductEntry create(long productEntryId)

remove

SCProductEntry remove(long productEntryId)
                      throws SystemException,
                             NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

updateImpl

SCProductEntry updateImpl(SCProductEntry scProductEntry,
                          boolean merge)
                          throws SystemException
Throws:
SystemException

findByPrimaryKey

SCProductEntry findByPrimaryKey(long productEntryId)
                                throws SystemException,
                                       NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

fetchByPrimaryKey

SCProductEntry fetchByPrimaryKey(long productEntryId)
                                 throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<SCProductEntry> findByGroupId(long groupId)
                                             throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<SCProductEntry> findByGroupId(long groupId,
                                             int start,
                                             int end)
                                             throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<SCProductEntry> findByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Throws:
SystemException

findByGroupId_First

SCProductEntry findByGroupId_First(long groupId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

findByGroupId_Last

SCProductEntry findByGroupId_Last(long groupId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

findByGroupId_PrevAndNext

SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
                                           long groupId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

filterFindByGroupId

java.util.List<SCProductEntry> filterFindByGroupId(long groupId)
                                                   throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<SCProductEntry> filterFindByGroupId(long groupId,
                                                   int start,
                                                   int end)
                                                   throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<SCProductEntry> filterFindByGroupId(long groupId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                                   throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<SCProductEntry> findByCompanyId(long companyId)
                                               throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<SCProductEntry> findByCompanyId(long companyId,
                                               int start,
                                               int end)
                                               throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<SCProductEntry> findByCompanyId(long companyId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                               throws SystemException
Throws:
SystemException

findByCompanyId_First

SCProductEntry findByCompanyId_First(long companyId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

findByCompanyId_Last

SCProductEntry findByCompanyId_Last(long companyId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

findByCompanyId_PrevAndNext

SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
                                             long companyId,
                                             OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

findByG_U

java.util.List<SCProductEntry> findByG_U(long groupId,
                                         long userId)
                                         throws SystemException
Throws:
SystemException

findByG_U

java.util.List<SCProductEntry> findByG_U(long groupId,
                                         long userId,
                                         int start,
                                         int end)
                                         throws SystemException
Throws:
SystemException

findByG_U

java.util.List<SCProductEntry> findByG_U(long groupId,
                                         long userId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException

findByG_U_First

SCProductEntry findByG_U_First(long groupId,
                               long userId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

findByG_U_Last

SCProductEntry findByG_U_Last(long groupId,
                              long userId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

findByG_U_PrevAndNext

SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
                                       long groupId,
                                       long userId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

filterFindByG_U

java.util.List<SCProductEntry> filterFindByG_U(long groupId,
                                               long userId)
                                               throws SystemException
Throws:
SystemException

filterFindByG_U

java.util.List<SCProductEntry> filterFindByG_U(long groupId,
                                               long userId,
                                               int start,
                                               int end)
                                               throws SystemException
Throws:
SystemException

filterFindByG_U

java.util.List<SCProductEntry> filterFindByG_U(long groupId,
                                               long userId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                               throws SystemException
Throws:
SystemException

findByRG_RA

SCProductEntry findByRG_RA(java.lang.String repoGroupId,
                           java.lang.String repoArtifactId)
                           throws SystemException,
                                  NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

fetchByRG_RA

SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
                            java.lang.String repoArtifactId)
                            throws SystemException
Throws:
SystemException

fetchByRG_RA

SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
                            java.lang.String repoArtifactId,
                            boolean retrieveFromCache)
                            throws SystemException
Throws:
SystemException

findAll

java.util.List<SCProductEntry> findAll()
                                       throws SystemException
Throws:
SystemException

findAll

java.util.List<SCProductEntry> findAll(int start,
                                       int end)
                                       throws SystemException
Throws:
SystemException

findAll

java.util.List<SCProductEntry> findAll(int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Throws:
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByG_U

void removeByG_U(long groupId,
                 long userId)
                 throws SystemException
Throws:
SystemException

removeByRG_RA

void removeByRG_RA(java.lang.String repoGroupId,
                   java.lang.String repoArtifactId)
                   throws SystemException,
                          NoSuchProductEntryException
Throws:
SystemException
NoSuchProductEntryException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByG_U

int countByG_U(long groupId,
               long userId)
               throws SystemException
Throws:
SystemException

filterCountByG_U

int filterCountByG_U(long groupId,
                     long userId)
                     throws SystemException
Throws:
SystemException

countByRG_RA

int countByRG_RA(java.lang.String repoGroupId,
                 java.lang.String repoArtifactId)
                 throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

getSCLicenses

java.util.List<SCLicense> getSCLicenses(long pk)
                                        throws SystemException
Throws:
SystemException

getSCLicenses

java.util.List<SCLicense> getSCLicenses(long pk,
                                        int start,
                                        int end)
                                        throws SystemException
Throws:
SystemException

getSCLicenses

java.util.List<SCLicense> getSCLicenses(long pk,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Throws:
SystemException

getSCLicensesSize

int getSCLicensesSize(long pk)
                      throws SystemException
Throws:
SystemException

containsSCLicense

boolean containsSCLicense(long pk,
                          long scLicensePK)
                          throws SystemException
Throws:
SystemException

containsSCLicenses

boolean containsSCLicenses(long pk)
                           throws SystemException
Throws:
SystemException

addSCLicense

void addSCLicense(long pk,
                  long scLicensePK)
                  throws SystemException
Throws:
SystemException

addSCLicense

void addSCLicense(long pk,
                  SCLicense scLicense)
                  throws SystemException
Throws:
SystemException

addSCLicenses

void addSCLicenses(long pk,
                   long[] scLicensePKs)
                   throws SystemException
Throws:
SystemException

addSCLicenses

void addSCLicenses(long pk,
                   java.util.List<SCLicense> scLicenses)
                   throws SystemException
Throws:
SystemException

clearSCLicenses

void clearSCLicenses(long pk)
                     throws SystemException
Throws:
SystemException

removeSCLicense

void removeSCLicense(long pk,
                     long scLicensePK)
                     throws SystemException
Throws:
SystemException

removeSCLicense

void removeSCLicense(long pk,
                     SCLicense scLicense)
                     throws SystemException
Throws:
SystemException

removeSCLicenses

void removeSCLicenses(long pk,
                      long[] scLicensePKs)
                      throws SystemException
Throws:
SystemException

removeSCLicenses

void removeSCLicenses(long pk,
                      java.util.List<SCLicense> scLicenses)
                      throws SystemException
Throws:
SystemException

setSCLicenses

void setSCLicenses(long pk,
                   long[] scLicensePKs)
                   throws SystemException
Throws:
SystemException

setSCLicenses

void setSCLicenses(long pk,
                   java.util.List<SCLicense> scLicenses)
                   throws SystemException
Throws:
SystemException