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


public interface SCLicensePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addSCProductEntries(long pk, java.util.List scProductEntries)
           
 void addSCProductEntries(long pk, long[] scProductEntryPKs)
           
 void addSCProductEntry(long pk, long scProductEntryPK)
           
 void addSCProductEntry(long pk, SCProductEntry scProductEntry)
           
 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 findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCLicense findByA_R_First(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCLicense findByA_R_Last(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCLicense[] findByA_R_PrevAndNext(long licenseId, boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByA_R(boolean active, boolean recommended)
           
 java.util.List findByA_R(boolean active, boolean recommended, int begin, int end)
           
 java.util.List findByA_R(boolean active, boolean recommended, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCLicense findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCLicense findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCLicense[] findByActive_PrevAndNext(long licenseId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByActive(boolean active)
           
 java.util.List findByActive(boolean active, int begin, int end)
           
 java.util.List findByActive(boolean active, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCLicense findByPrimaryKey(long licenseId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getSCProductEntries(long pk)
           
 java.util.List getSCProductEntries(long pk, int begin, int end)
           
 java.util.List getSCProductEntries(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getSCProductEntriesSize(long pk)
           
 SCLicense remove(long licenseId)
           
 SCLicense remove(SCLicense scLicense)
           
 void removeAll()
           
 void removeByA_R(boolean active, boolean recommended)
           
 void removeByActive(boolean active)
           
 void removeSCProductEntries(long pk, java.util.List 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 scProductEntries)
           
 void setSCProductEntries(long pk, long[] scProductEntryPKs)
           
 SCLicense update(SCLicense scLicense)
           
 SCLicense update(SCLicense scLicense, boolean merge)
           
 SCLicense updateImpl(SCLicense scLicense, boolean merge)
           
 

Method Detail

create

public SCLicense create(long licenseId)

remove

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

remove

public SCLicense remove(SCLicense scLicense)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public SCLicense update(SCLicense scLicense)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByActive

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

findByActive

public java.util.List findByActive(boolean active,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByActive

public java.util.List findByActive(boolean active,
                                   int begin,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByActive_First

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

findByActive_Last

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

findByActive_PrevAndNext

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

findByA_R

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

findByA_R

public java.util.List findByA_R(boolean active,
                                boolean recommended,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByA_R

public java.util.List findByA_R(boolean active,
                                boolean recommended,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByA_R_First

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

findByA_R_Last

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

findByA_R_PrevAndNext

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

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByActive

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

removeByA_R

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

removeAll

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

countByActive

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

countByA_R

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

countAll

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

getSCProductEntries

public java.util.List getSCProductEntries(long pk)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

getSCProductEntries

public java.util.List getSCProductEntries(long pk,
                                          int begin,
                                          int end)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

getSCProductEntries

public java.util.List getSCProductEntries(long pk,
                                          int begin,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchLicenseException

getSCProductEntriesSize

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

containsSCProductEntry

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

containsSCProductEntries

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

addSCProductEntry

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

addSCProductEntry

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

addSCProductEntries

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

addSCProductEntries

public void addSCProductEntries(long pk,
                                java.util.List scProductEntries)
                         throws com.liferay.portal.SystemException,
                                NoSuchProductEntryException,
                                NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
NoSuchLicenseException

clearSCProductEntries

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

removeSCProductEntry

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

removeSCProductEntry

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

removeSCProductEntries

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

removeSCProductEntries

public void removeSCProductEntries(long pk,
                                   java.util.List scProductEntries)
                            throws com.liferay.portal.SystemException,
                                   NoSuchProductEntryException,
                                   NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
NoSuchLicenseException

setSCProductEntries

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

setSCProductEntries

public void setSCProductEntries(long pk,
                                java.util.List scProductEntries)
                         throws com.liferay.portal.SystemException,
                                NoSuchProductEntryException,
                                NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
NoSuchLicenseException