com.liferay.portlet.softwarecatalog.service.persistence
Class SCLicenseUtil

java.lang.Object
  extended bycom.liferay.portlet.softwarecatalog.service.persistence.SCLicenseUtil

public class SCLicenseUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SCLicenseUtil()
           
 
Method Summary
static int countAll()
           
static int countByA_R(boolean active, boolean recommended)
           
static int countByActive(boolean active)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense create(long licenseId)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(long licenseId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_First(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_Last(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense[] findByA_R_PrevAndNext(long licenseId, boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByA_R(boolean active, boolean recommended)
           
static java.util.List findByA_R(boolean active, boolean recommended, int begin, int end)
           
static java.util.List findByA_R(boolean active, boolean recommended, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense[] findByActive_PrevAndNext(long licenseId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByActive(boolean active)
           
static java.util.List findByActive(boolean active, int begin, int end)
           
static java.util.List findByActive(boolean active, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(long licenseId)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static SCLicensePersistence getPersistence()
           
static com.liferay.portlet.softwarecatalog.model.SCLicense remove(long licenseId)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense remove(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
           
static void removeAll()
           
static void removeByA_R(boolean active, boolean recommended)
           
static void removeByActive(boolean active)
           
 void setPersistence(SCLicensePersistence persistence)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense update(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
           
static com.liferay.portlet.softwarecatalog.model.SCLicense update(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCLicenseUtil

public SCLicenseUtil()
Method Detail

create

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

remove

public static 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 static 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 static 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 static 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 static 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 static com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(long licenseId)
                                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByActive

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

findByActive

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

findByActive

public static 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 static 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 static 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 static 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 static java.util.List findByA_R(boolean active,
                                       boolean recommended)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByA_R

public static 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 static 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 static 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 static 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 static 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 static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static 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 static java.util.List findAll()
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

public static 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 static void removeByActive(boolean active)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByA_R

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

removeAll

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

countByActive

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

countByA_R

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

countAll

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

getPersistence

public static SCLicensePersistence getPersistence()

setPersistence

public void setPersistence(SCLicensePersistence persistence)