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)
           
 java.util.List<SCProductEntry> findAll()
           
 java.util.List<SCProductEntry> findAll(int start, int end)
           
 java.util.List<SCProductEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId, long companyId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductEntry[] findByG_U_PrevAndNext(long productEntryId, long groupId, long userId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId, long groupId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 update(SCProductEntry scProductEntry)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 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 com.liferay.portal.SystemException,
                             NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

update

SCProductEntry update(SCProductEntry scProductEntry)
                      throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

SCProductEntry updateImpl(SCProductEntry scProductEntry,
                          boolean merge)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

SCProductEntry findByPrimaryKey(long productEntryId)
                                throws com.liferay.portal.SystemException,
                                       NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

fetchByPrimaryKey

SCProductEntry fetchByPrimaryKey(long productEntryId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

SCProductEntry findByGroupId_First(long groupId,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

findByGroupId_Last

SCProductEntry findByGroupId_Last(long groupId,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

findByGroupId_PrevAndNext

SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
                                           long groupId,
                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

findByCompanyId

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId_First

SCProductEntry findByCompanyId_First(long companyId,
                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

findByCompanyId_Last

SCProductEntry findByCompanyId_Last(long companyId,
                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

findByCompanyId_PrevAndNext

SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
                                             long companyId,
                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

findByG_U

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

findByG_U

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

findByG_U

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

findByG_U_First

SCProductEntry findByG_U_First(long groupId,
                               long userId,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

findByG_U_Last

SCProductEntry findByG_U_Last(long groupId,
                              long userId,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

findByG_U_PrevAndNext

SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
                                       long groupId,
                                       long userId,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchProductEntryException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException

findByRG_RA

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

fetchByRG_RA

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

fetchByRG_RA

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

findAll

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

findAll

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

findAll

java.util.List<SCProductEntry> findAll(int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       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_U

void removeByG_U(long groupId,
                 long userId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByRG_RA

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

removeAll

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

countByGroupId

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

countByCompanyId

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

countByG_U

int countByG_U(long groupId,
               long userId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByRG_RA

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

countAll

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

getSCLicenses

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

getSCLicenses

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

getSCLicenses

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

getSCLicensesSize

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

containsSCLicense

boolean containsSCLicense(long pk,
                          long scLicensePK)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCLicenses

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

addSCLicense

void addSCLicense(long pk,
                  long scLicensePK)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addSCLicense

void addSCLicense(long pk,
                  SCLicense scLicense)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addSCLicenses

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

addSCLicenses

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

clearSCLicenses

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

removeSCLicense

void removeSCLicense(long pk,
                     long scLicensePK)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeSCLicense

void removeSCLicense(long pk,
                     SCLicense scLicense)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeSCLicenses

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

removeSCLicenses

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

setSCLicenses

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

setSCLicenses

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