Liferay 6.0.3

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

All Superinterfaces:
BasePersistence<SCProductEntry>
All Known Implementing Classes:
SCProductEntryPersistenceImpl

public interface SCProductEntryPersistence
extends BasePersistence<SCProductEntry>

See Also:
SCProductEntryPersistenceImpl, SCProductEntryUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void addSCLicense(long pk, long scLicensePK)
           
 void addSCLicense(long pk, SCLicense scLicense)
           
 void addSCLicenses(long pk, List<SCLicense> scLicenses)
           
 void addSCLicenses(long pk, long[] scLicensePKs)
           
 void cacheResult(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(String repoGroupId, String repoArtifactId)
           
 SCProductEntry create(long productEntryId)
           
 SCProductEntry fetchByPrimaryKey(long productEntryId)
           
 SCProductEntry fetchByRG_RA(String repoGroupId, String repoArtifactId)
           
 SCProductEntry fetchByRG_RA(String repoGroupId, String repoArtifactId, boolean retrieveFromCache)
           
 int filterCountByG_U(long groupId, long userId)
           
 int filterCountByGroupId(long groupId)
           
 List<SCProductEntry> filterFindByG_U(long groupId, long userId)
           
 List<SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end)
           
 List<SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
           
 List<SCProductEntry> filterFindByGroupId(long groupId)
           
 List<SCProductEntry> filterFindByGroupId(long groupId, int start, int end)
           
 List<SCProductEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<SCProductEntry> findAll()
           
 List<SCProductEntry> findAll(int start, int end)
           
 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)
           
 List<SCProductEntry> findByCompanyId(long companyId)
           
 List<SCProductEntry> findByCompanyId(long companyId, int start, int end)
           
 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)
           
 List<SCProductEntry> findByG_U(long groupId, long userId)
           
 List<SCProductEntry> findByG_U(long groupId, long userId, int start, int end)
           
 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)
           
 List<SCProductEntry> findByGroupId(long groupId)
           
 List<SCProductEntry> findByGroupId(long groupId, int start, int end)
           
 List<SCProductEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 SCProductEntry findByPrimaryKey(long productEntryId)
           
 SCProductEntry findByRG_RA(String repoGroupId, String repoArtifactId)
           
 List<SCLicense> getSCLicenses(long pk)
           
 List<SCLicense> getSCLicenses(long pk, int start, int end)
           
 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(String repoGroupId, String repoArtifactId)
           
 void removeSCLicense(long pk, long scLicensePK)
           
 void removeSCLicense(long pk, SCLicense scLicense)
           
 void removeSCLicenses(long pk, List<SCLicense> scLicenses)
           
 void removeSCLicenses(long pk, long[] scLicensePKs)
           
 void setSCLicenses(long pk, 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, update
 

Method Detail

cacheResult

void cacheResult(SCProductEntry scProductEntry)

cacheResult

void cacheResult(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

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

findByGroupId

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

findByGroupId

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

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

filterFindByGroupId

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

filterFindByGroupId

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId

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

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

findByG_U

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

findByG_U

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

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

filterFindByG_U

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

filterFindByG_U

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

findByRG_RA

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

fetchByRG_RA

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

fetchByRG_RA

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

findAll

List<SCProductEntry> findAll()
                             throws SystemException
Throws:
SystemException

findAll

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

findAll

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(String repoGroupId,
                   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(String repoGroupId,
                 String repoArtifactId)
                 throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

getSCLicenses

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

getSCLicenses

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

getSCLicenses

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,
                   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,
                      List<SCLicense> scLicenses)
                      throws SystemException
Throws:
SystemException

setSCLicenses

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

setSCLicenses

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

Liferay 6.0.3