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

All Superinterfaces:
BasePersistence<SCLicense>

public interface SCLicensePersistence
extends BasePersistence<SCLicense>

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:
SCLicensePersistenceImpl, SCLicenseUtil
Generated:

Method Summary
 void addSCProductEntries(long pk, java.util.List<SCProductEntry> scProductEntries)
           
 void addSCProductEntries(long pk, long[] scProductEntryPKs)
           
 void addSCProductEntry(long pk, long scProductEntryPK)
           
 void addSCProductEntry(long pk, SCProductEntry scProductEntry)
           
 void cacheResult(java.util.List<SCLicense> scLicenses)
           
 void cacheResult(SCLicense scLicense)
           
 void clearSCProductEntries(long pk)
           
 boolean containsSCProductEntries(long pk)
           
 boolean containsSCProductEntry(long pk, long scProductEntryPK)
           
 int countAll()
           
 int countByA_R(boolean active, boolean recommended)
           
 int countByActive(boolean active)
           
 SCLicense create(long licenseId)
           
 SCLicense fetchByPrimaryKey(long licenseId)
           
 java.util.List<SCLicense> findAll()
           
 java.util.List<SCLicense> findAll(int start, int end)
           
 java.util.List<SCLicense> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCLicense findByA_R_First(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCLicense findByA_R_Last(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCLicense[] findByA_R_PrevAndNext(long licenseId, boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<SCLicense> findByA_R(boolean active, boolean recommended)
           
 java.util.List<SCLicense> findByA_R(boolean active, boolean recommended, int start, int end)
           
 java.util.List<SCLicense> findByA_R(boolean active, boolean recommended, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCLicense findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCLicense findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCLicense[] findByActive_PrevAndNext(long licenseId, boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<SCLicense> findByActive(boolean active)
           
 java.util.List<SCLicense> findByActive(boolean active, int start, int end)
           
 java.util.List<SCLicense> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 SCLicense findByPrimaryKey(long licenseId)
           
 java.util.List<SCProductEntry> getSCProductEntries(long pk)
           
 java.util.List<SCProductEntry> getSCProductEntries(long pk, int start, int end)
           
 java.util.List<SCProductEntry> getSCProductEntries(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getSCProductEntriesSize(long pk)
           
 SCLicense remove(long licenseId)
           
 void removeAll()
           
 void removeByA_R(boolean active, boolean recommended)
           
 void removeByActive(boolean active)
           
 void removeSCProductEntries(long pk, java.util.List<SCProductEntry> scProductEntries)
           
 void removeSCProductEntries(long pk, long[] scProductEntryPKs)
           
 void removeSCProductEntry(long pk, long scProductEntryPK)
           
 void removeSCProductEntry(long pk, SCProductEntry scProductEntry)
           
 void setSCProductEntries(long pk, java.util.List<SCProductEntry> scProductEntries)
           
 void setSCProductEntries(long pk, long[] scProductEntryPKs)
           
 SCLicense update(SCLicense scLicense)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 SCLicense updateImpl(SCLicense scLicense, 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(SCLicense scLicense)

cacheResult

void cacheResult(java.util.List<SCLicense> scLicenses)

create

SCLicense create(long licenseId)

remove

SCLicense remove(long licenseId)
                 throws com.liferay.portal.SystemException,
                        NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

update

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

Throws:
com.liferay.portal.SystemException

updateImpl

SCLicense updateImpl(SCLicense scLicense,
                     boolean merge)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

SCLicense findByPrimaryKey(long licenseId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

fetchByPrimaryKey

SCLicense fetchByPrimaryKey(long licenseId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByActive

java.util.List<SCLicense> findByActive(boolean active)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByActive

java.util.List<SCLicense> findByActive(boolean active,
                                       int start,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByActive

java.util.List<SCLicense> findByActive(boolean active,
                                       int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByActive_First

SCLicense findByActive_First(boolean active,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.SystemException,
                                    NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

findByActive_Last

SCLicense findByActive_Last(boolean active,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException,
                                   NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

findByActive_PrevAndNext

SCLicense[] findByActive_PrevAndNext(long licenseId,
                                     boolean active,
                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

findByA_R

java.util.List<SCLicense> findByA_R(boolean active,
                                    boolean recommended)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByA_R

java.util.List<SCLicense> findByA_R(boolean active,
                                    boolean recommended,
                                    int start,
                                    int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByA_R

java.util.List<SCLicense> findByA_R(boolean active,
                                    boolean recommended,
                                    int start,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByA_R_First

SCLicense findByA_R_First(boolean active,
                          boolean recommended,
                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                          throws com.liferay.portal.SystemException,
                                 NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

findByA_R_Last

SCLicense findByA_R_Last(boolean active,
                         boolean recommended,
                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                         throws com.liferay.portal.SystemException,
                                NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

findByA_R_PrevAndNext

SCLicense[] findByA_R_PrevAndNext(long licenseId,
                                  boolean active,
                                  boolean recommended,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

findAll

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

findAll

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

findAll

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

removeByActive

void removeByActive(boolean active)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByA_R

void removeByA_R(boolean active,
                 boolean recommended)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByActive

int countByActive(boolean active)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByA_R

int countByA_R(boolean active,
               boolean recommended)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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

getSCProductEntries

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

getSCProductEntries

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

getSCProductEntries

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

getSCProductEntriesSize

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

containsSCProductEntry

boolean containsSCProductEntry(long pk,
                               long scProductEntryPK)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCProductEntries

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

addSCProductEntry

void addSCProductEntry(long pk,
                       long scProductEntryPK)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addSCProductEntry

void addSCProductEntry(long pk,
                       SCProductEntry scProductEntry)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addSCProductEntries

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

addSCProductEntries

void addSCProductEntries(long pk,
                         java.util.List<SCProductEntry> scProductEntries)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearSCProductEntries

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

removeSCProductEntry

void removeSCProductEntry(long pk,
                          long scProductEntryPK)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeSCProductEntry

void removeSCProductEntry(long pk,
                          SCProductEntry scProductEntry)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeSCProductEntries

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

removeSCProductEntries

void removeSCProductEntries(long pk,
                            java.util.List<SCProductEntry> scProductEntries)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setSCProductEntries

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

setSCProductEntries

void setSCProductEntries(long pk,
                         java.util.List<SCProductEntry> scProductEntries)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException