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

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.persistence.SCLicenseUtil

public class SCLicenseUtil
extends java.lang.Object

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

Constructor Summary
SCLicenseUtil()
           
 
Method Summary
static void addSCProductEntries(long pk, java.util.List<SCProductEntry> scProductEntries)
           
static void addSCProductEntries(long pk, long[] scProductEntryPKs)
           
static void addSCProductEntry(long pk, long scProductEntryPK)
           
static void addSCProductEntry(long pk, SCProductEntry scProductEntry)
           
static void cacheResult(java.util.List<SCLicense> scLicenses)
           
static void cacheResult(SCLicense scLicense)
           
static void clearCache()
           
static void clearSCProductEntries(long pk)
           
static boolean containsSCProductEntries(long pk)
           
static boolean containsSCProductEntry(long pk, long scProductEntryPK)
           
static int countAll()
           
static int countByA_R(boolean active, boolean recommended)
           
static int countByActive(boolean active)
           
static SCLicense create(long licenseId)
           
static SCLicense fetchByPrimaryKey(long licenseId)
           
static java.util.List<SCLicense> findAll()
           
static java.util.List<SCLicense> findAll(int start, int end)
           
static java.util.List<SCLicense> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCLicense findByA_R_First(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCLicense findByA_R_Last(boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCLicense[] findByA_R_PrevAndNext(long licenseId, boolean active, boolean recommended, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SCLicense> findByA_R(boolean active, boolean recommended)
           
static java.util.List<SCLicense> findByA_R(boolean active, boolean recommended, int start, int end)
           
static java.util.List<SCLicense> findByA_R(boolean active, boolean recommended, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCLicense findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCLicense findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCLicense[] findByActive_PrevAndNext(long licenseId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SCLicense> findByActive(boolean active)
           
static java.util.List<SCLicense> findByActive(boolean active, int start, int end)
           
static java.util.List<SCLicense> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCLicense findByPrimaryKey(long licenseId)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static SCLicensePersistence getPersistence()
           
static java.util.List<SCProductEntry> getSCProductEntries(long pk)
           
static java.util.List<SCProductEntry> getSCProductEntries(long pk, int start, int end)
           
static java.util.List<SCProductEntry> getSCProductEntries(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int getSCProductEntriesSize(long pk)
           
static SCLicense remove(long licenseId)
           
static SCLicense remove(SCLicense scLicense)
           
static void removeAll()
           
static void removeByA_R(boolean active, boolean recommended)
           
static void removeByActive(boolean active)
           
static void removeSCProductEntries(long pk, java.util.List<SCProductEntry> scProductEntries)
           
static void removeSCProductEntries(long pk, long[] scProductEntryPKs)
           
static void removeSCProductEntry(long pk, long scProductEntryPK)
           
static void removeSCProductEntry(long pk, SCProductEntry scProductEntry)
           
 void setPersistence(SCLicensePersistence persistence)
           
static void setSCProductEntries(long pk, java.util.List<SCProductEntry> scProductEntries)
           
static void setSCProductEntries(long pk, long[] scProductEntryPKs)
           
static SCLicense update(SCLicense scLicense, boolean merge)
           
static SCLicense updateImpl(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

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static SCLicense remove(SCLicense scLicense)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static SCLicense update(SCLicense scLicense,
                               boolean merge)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(SCLicense scLicense)

cacheResult

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

create

public static SCLicense create(long licenseId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByActive

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

findByActive

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

findByActive

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

findByActive_First

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

findByActive_Last

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

findByActive_PrevAndNext

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

findByA_R

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

findByA_R

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

findByA_R

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

findByA_R_First

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

findByA_R_Last

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

findByA_R_PrevAndNext

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

findAll

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

findAll

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

findAll

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

removeByActive

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

removeByA_R

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

removeAll

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

countByActive

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

countByA_R

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

countAll

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

getSCProductEntries

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

getSCProductEntries

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

getSCProductEntries

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

getSCProductEntriesSize

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

containsSCProductEntry

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

containsSCProductEntries

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

addSCProductEntry

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

addSCProductEntry

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

addSCProductEntries

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

addSCProductEntries

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

clearSCProductEntries

public static void clearSCProductEntries(long pk)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeSCProductEntry

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

removeSCProductEntry

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

removeSCProductEntries

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

removeSCProductEntries

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

setSCProductEntries

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

setSCProductEntries

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

getPersistence

public static SCLicensePersistence getPersistence()

setPersistence

public void setPersistence(SCLicensePersistence persistence)