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

All Known Implementing Classes:
SCLicensePersistenceImpl

public interface SCLicensePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByA_R(boolean active, boolean recommended)
           
 int countByActive(boolean active)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense create(long licenseId)
           
 com.liferay.portlet.softwarecatalog.model.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)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_First(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_Last(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.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)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.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)
           
 com.liferay.portlet.softwarecatalog.model.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)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense remove(long licenseId)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense remove(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
           
 void removeAll()
           
 void removeByA_R(boolean active, boolean recommended)
           
 void removeByActive(boolean active)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense update(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense update(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.softwarecatalog.model.SCLicense create(long licenseId)

remove

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

remove

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

update

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

update

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

findByPrimaryKey

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

fetchByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.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 com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_First(boolean active,
                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                       throws com.liferay.portal.SystemException,
                                                                              com.liferay.portlet.softwarecatalog.NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException

findByActive_Last

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

findByActive_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByActive_PrevAndNext(long licenseId,
                                                                                      boolean active,
                                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                               throws com.liferay.portal.SystemException,
                                                                                      com.liferay.portlet.softwarecatalog.NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.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 com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_First(boolean active,
                                                                           boolean recommended,
                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                    throws com.liferay.portal.SystemException,
                                                                           com.liferay.portlet.softwarecatalog.NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException

findByA_R_Last

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

findByA_R_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByA_R_PrevAndNext(long licenseId,
                                                                                   boolean active,
                                                                                   boolean recommended,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                            throws com.liferay.portal.SystemException,
                                                                                   com.liferay.portlet.softwarecatalog.NoSuchLicenseException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.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