Liferay 6.0.3

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

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

public class SCLicenseUtil
extends Object

See Also:
SCLicensePersistence, SCLicensePersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
SCLicenseUtil()
           
 
Method Summary
static void addSCProductEntries(long pk, 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(List<SCLicense> scLicenses)
           
static void cacheResult(SCLicense scLicense)
           
static void clearCache()
           
static void clearCache(SCLicense scLicense)
           
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)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static SCLicense create(long licenseId)
           
static SCLicense fetchByPrimaryKey(long licenseId)
           
static List<SCLicense> findAll()
           
static List<SCLicense> findAll(int start, int end)
           
static List<SCLicense> findAll(int start, int end, OrderByComparator orderByComparator)
           
static SCLicense findByA_R_First(boolean active, boolean recommended, OrderByComparator orderByComparator)
           
static SCLicense findByA_R_Last(boolean active, boolean recommended, OrderByComparator orderByComparator)
           
static SCLicense[] findByA_R_PrevAndNext(long licenseId, boolean active, boolean recommended, OrderByComparator orderByComparator)
           
static List<SCLicense> findByA_R(boolean active, boolean recommended)
           
static List<SCLicense> findByA_R(boolean active, boolean recommended, int start, int end)
           
static List<SCLicense> findByA_R(boolean active, boolean recommended, int start, int end, OrderByComparator orderByComparator)
           
static SCLicense findByActive_First(boolean active, OrderByComparator orderByComparator)
           
static SCLicense findByActive_Last(boolean active, OrderByComparator orderByComparator)
           
static SCLicense[] findByActive_PrevAndNext(long licenseId, boolean active, OrderByComparator orderByComparator)
           
static List<SCLicense> findByActive(boolean active)
           
static List<SCLicense> findByActive(boolean active, int start, int end)
           
static List<SCLicense> findByActive(boolean active, int start, int end, OrderByComparator orderByComparator)
           
static SCLicense findByPrimaryKey(long licenseId)
           
static List<SCLicense> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<SCLicense> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<SCLicense> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static SCLicensePersistence getPersistence()
           
static List<SCProductEntry> getSCProductEntries(long pk)
           
static List<SCProductEntry> getSCProductEntries(long pk, int start, int end)
           
static List<SCProductEntry> getSCProductEntries(long pk, int start, int end, OrderByComparator orderByComparator)
           
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, 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, List<SCProductEntry> scProductEntries)
           
static void setSCProductEntries(long pk, long[] scProductEntryPKs)
           
static SCLicense update(SCLicense scLicense, boolean merge)
           
static SCLicense update(SCLicense scLicense, boolean merge, ServiceContext serviceContext)
           
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()

clearCache

public static void clearCache(SCLicense scLicense)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<SCLicense> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                            throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<SCLicense> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                   int start,
                                                   int end)
                                            throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<SCLicense> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

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

update

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

update

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

cacheResult

public static void cacheResult(SCLicense scLicense)

cacheResult

public static void cacheResult(List<SCLicense> scLicenses)

create

public static SCLicense create(long licenseId)

remove

public static SCLicense remove(long licenseId)
                        throws SystemException,
                               NoSuchLicenseException
Throws:
SystemException
NoSuchLicenseException

updateImpl

public static SCLicense updateImpl(SCLicense scLicense,
                                   boolean merge)
                            throws SystemException
Throws:
SystemException

findByPrimaryKey

public static SCLicense findByPrimaryKey(long licenseId)
                                  throws SystemException,
                                         NoSuchLicenseException
Throws:
SystemException
NoSuchLicenseException

fetchByPrimaryKey

public static SCLicense fetchByPrimaryKey(long licenseId)
                                   throws SystemException
Throws:
SystemException

findByActive

public static List<SCLicense> findByActive(boolean active)
                                    throws SystemException
Throws:
SystemException

findByActive

public static List<SCLicense> findByActive(boolean active,
                                           int start,
                                           int end)
                                    throws SystemException
Throws:
SystemException

findByActive

public static List<SCLicense> findByActive(boolean active,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Throws:
SystemException

findByActive_First

public static SCLicense findByActive_First(boolean active,
                                           OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchLicenseException
Throws:
SystemException
NoSuchLicenseException

findByActive_Last

public static SCLicense findByActive_Last(boolean active,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchLicenseException
Throws:
SystemException
NoSuchLicenseException

findByActive_PrevAndNext

public static SCLicense[] findByActive_PrevAndNext(long licenseId,
                                                   boolean active,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchLicenseException
Throws:
SystemException
NoSuchLicenseException

findByA_R

public static List<SCLicense> findByA_R(boolean active,
                                        boolean recommended)
                                 throws SystemException
Throws:
SystemException

findByA_R

public static List<SCLicense> findByA_R(boolean active,
                                        boolean recommended,
                                        int start,
                                        int end)
                                 throws SystemException
Throws:
SystemException

findByA_R

public static List<SCLicense> findByA_R(boolean active,
                                        boolean recommended,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Throws:
SystemException

findByA_R_First

public static SCLicense findByA_R_First(boolean active,
                                        boolean recommended,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchLicenseException
Throws:
SystemException
NoSuchLicenseException

findByA_R_Last

public static SCLicense findByA_R_Last(boolean active,
                                       boolean recommended,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchLicenseException
Throws:
SystemException
NoSuchLicenseException

findByA_R_PrevAndNext

public static SCLicense[] findByA_R_PrevAndNext(long licenseId,
                                                boolean active,
                                                boolean recommended,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchLicenseException
Throws:
SystemException
NoSuchLicenseException

findAll

public static List<SCLicense> findAll()
                               throws SystemException
Throws:
SystemException

findAll

public static List<SCLicense> findAll(int start,
                                      int end)
                               throws SystemException
Throws:
SystemException

findAll

public static List<SCLicense> findAll(int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

removeByActive

public static void removeByActive(boolean active)
                           throws SystemException
Throws:
SystemException

removeByA_R

public static void removeByA_R(boolean active,
                               boolean recommended)
                        throws SystemException
Throws:
SystemException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByActive

public static int countByActive(boolean active)
                         throws SystemException
Throws:
SystemException

countByA_R

public static int countByA_R(boolean active,
                             boolean recommended)
                      throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getSCProductEntries

public static List<SCProductEntry> getSCProductEntries(long pk)
                                                throws SystemException
Throws:
SystemException

getSCProductEntries

public static List<SCProductEntry> getSCProductEntries(long pk,
                                                       int start,
                                                       int end)
                                                throws SystemException
Throws:
SystemException

getSCProductEntries

public static List<SCProductEntry> getSCProductEntries(long pk,
                                                       int start,
                                                       int end,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
Throws:
SystemException

getSCProductEntriesSize

public static int getSCProductEntriesSize(long pk)
                                   throws SystemException
Throws:
SystemException

containsSCProductEntry

public static boolean containsSCProductEntry(long pk,
                                             long scProductEntryPK)
                                      throws SystemException
Throws:
SystemException

containsSCProductEntries

public static boolean containsSCProductEntries(long pk)
                                        throws SystemException
Throws:
SystemException

addSCProductEntry

public static void addSCProductEntry(long pk,
                                     long scProductEntryPK)
                              throws SystemException
Throws:
SystemException

addSCProductEntry

public static void addSCProductEntry(long pk,
                                     SCProductEntry scProductEntry)
                              throws SystemException
Throws:
SystemException

addSCProductEntries

public static void addSCProductEntries(long pk,
                                       long[] scProductEntryPKs)
                                throws SystemException
Throws:
SystemException

addSCProductEntries

public static void addSCProductEntries(long pk,
                                       List<SCProductEntry> scProductEntries)
                                throws SystemException
Throws:
SystemException

clearSCProductEntries

public static void clearSCProductEntries(long pk)
                                  throws SystemException
Throws:
SystemException

removeSCProductEntry

public static void removeSCProductEntry(long pk,
                                        long scProductEntryPK)
                                 throws SystemException
Throws:
SystemException

removeSCProductEntry

public static void removeSCProductEntry(long pk,
                                        SCProductEntry scProductEntry)
                                 throws SystemException
Throws:
SystemException

removeSCProductEntries

public static void removeSCProductEntries(long pk,
                                          long[] scProductEntryPKs)
                                   throws SystemException
Throws:
SystemException

removeSCProductEntries

public static void removeSCProductEntries(long pk,
                                          List<SCProductEntry> scProductEntries)
                                   throws SystemException
Throws:
SystemException

setSCProductEntries

public static void setSCProductEntries(long pk,
                                       long[] scProductEntryPKs)
                                throws SystemException
Throws:
SystemException

setSCProductEntries

public static void setSCProductEntries(long pk,
                                       List<SCProductEntry> scProductEntries)
                                throws SystemException
Throws:
SystemException

getPersistence

public static SCLicensePersistence getPersistence()

setPersistence

public void setPersistence(SCLicensePersistence persistence)

Liferay 6.0.3