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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence

public class SCLicensePersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence

View Source

Author:
Brian Wing Shun Chan

Nested Class Summary
protected  class SCLicensePersistenceImpl.AddSCProductEntry
           
protected  class SCLicensePersistenceImpl.ClearSCProductEntries
           
protected  class SCLicensePersistenceImpl.ContainsSCProductEntry
           
protected  class SCLicensePersistenceImpl.RemoveSCProductEntry
           
 
Field Summary
protected  SCLicensePersistenceImpl.AddSCProductEntry addSCProductEntry
           
protected  SCLicensePersistenceImpl.ClearSCProductEntries clearSCProductEntries
           
protected  SCLicensePersistenceImpl.ContainsSCProductEntry containsSCProductEntry
           
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_SCPRODUCTENTRY
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_A_R
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_ACTIVE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_A_R
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_ACTIVE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_A_R
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_ACTIVE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCPRODUCTENTRIES
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCPRODUCTENTRIES_SIZE
           
protected  SCLicensePersistenceImpl.RemoveSCProductEntry removeSCProductEntry
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
SCLicensePersistenceImpl()
           
 
Method Summary
 void addSCProductEntries(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
           
 void addSCProductEntries(long pk, long[] scProductEntryPKs)
           
 void addSCProductEntry(long pk, long scProductEntryPK)
           
 void addSCProductEntry(long pk, com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
           
 void afterPropertiesSet()
           
 void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
           
 void cacheResult(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
           
 void clearCache()
           
 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)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense create(long licenseId)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(long licenseId)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll()
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(int start, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(int start, 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<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active, boolean recommended)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active, boolean recommended, int start, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active, boolean recommended, int start, 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<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active, int start, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(long licenseId)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk, int start, int end)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getSCProductEntriesSize(long pk)
           
 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)
           
protected  com.liferay.portlet.softwarecatalog.model.SCLicense removeImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
           
 void removeSCProductEntries(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
           
 void removeSCProductEntries(long pk, long[] scProductEntryPKs)
           
 void removeSCProductEntry(long pk, long scProductEntryPK)
           
 void removeSCProductEntry(long pk, com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
           
 void setSCProductEntries(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
           
 void setSCProductEntries(long pk, long[] scProductEntryPKs)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense update(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
          Deprecated. Use update(SCLicense scLicense, boolean merge).
 com.liferay.portlet.softwarecatalog.model.SCLicense update(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense, boolean merge)
          Add, update, or merge, the entity.
 com.liferay.portlet.softwarecatalog.model.SCLicense updateImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final java.lang.String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_ACTIVE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_ACTIVE

FINDER_PATH_FIND_BY_OBC_ACTIVE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_ACTIVE

FINDER_PATH_COUNT_BY_ACTIVE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_ACTIVE

FINDER_PATH_FIND_BY_A_R

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_A_R

FINDER_PATH_FIND_BY_OBC_A_R

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_A_R

FINDER_PATH_COUNT_BY_A_R

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_A_R

FINDER_PATH_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_SCPRODUCTENTRIES

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCPRODUCTENTRIES

FINDER_PATH_GET_SCPRODUCTENTRIES_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCPRODUCTENTRIES_SIZE

FINDER_PATH_CONTAINS_SCPRODUCTENTRY

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_SCPRODUCTENTRY

scLicensePersistence

@BeanReference(name="com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.impl")
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence

scFrameworkVersionPersistence

@BeanReference(name="com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.impl")
protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence

scProductEntryPersistence

@BeanReference(name="com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.impl")
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence

scProductScreenshotPersistence

@BeanReference(name="com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.impl")
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence

scProductVersionPersistence

@BeanReference(name="com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.impl")
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence

containsSCProductEntry

protected SCLicensePersistenceImpl.ContainsSCProductEntry containsSCProductEntry

addSCProductEntry

protected SCLicensePersistenceImpl.AddSCProductEntry addSCProductEntry

clearSCProductEntries

protected SCLicensePersistenceImpl.ClearSCProductEntries clearSCProductEntries

removeSCProductEntry

protected SCLicensePersistenceImpl.RemoveSCProductEntry removeSCProductEntry
Constructor Detail

SCLicensePersistenceImpl

public SCLicensePersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Specified by:
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
Specified by:
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence

clearCache

public void clearCache()
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence
Specified by:
clearCache in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl

create

public com.liferay.portlet.softwarecatalog.model.SCLicense create(long licenseId)
Specified by:
create in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence

remove

public com.liferay.portlet.softwarecatalog.model.SCLicense remove(long licenseId)
                                                           throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                                                                  com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

remove

public com.liferay.portlet.softwarecatalog.model.SCLicense remove(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
                                                           throws com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

removeImpl

protected com.liferay.portlet.softwarecatalog.model.SCLicense removeImpl(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
Deprecated. Use update(SCLicense scLicense, boolean merge).

Specified by:
update in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
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
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Specified by:
update in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Parameters:
scLicense - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when scLicense is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

public com.liferay.portlet.softwarecatalog.model.SCLicense updateImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
                                                                      boolean merge)
                                                               throws com.liferay.portal.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(long licenseId)
                                                                     throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                                                                            com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(long licenseId)
                                                                      throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findByActive

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active)
                                                                                 throws com.liferay.portal.SystemException
Specified by:
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findByActive

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active,
                                                                                        int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.SystemException
Specified by:
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findByActive

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active,
                                                                                        int start,
                                                                                        int end,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                 throws com.liferay.portal.SystemException
Specified by:
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
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.portlet.softwarecatalog.NoSuchLicenseException,
                                                                              com.liferay.portal.SystemException
Specified by:
findByActive_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

findByActive_Last

public com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_Last(boolean active,
                                                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                      throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
                                                                             com.liferay.portal.SystemException
Specified by:
findByActive_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

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.portlet.softwarecatalog.NoSuchLicenseException,
                                                                                      com.liferay.portal.SystemException
Specified by:
findByActive_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

findByA_R

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
                                                                                     boolean recommended)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findByA_R

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
                                                                                     boolean recommended,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findByA_R

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
                                                                                     boolean recommended,
                                                                                     int start,
                                                                                     int end,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
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.portlet.softwarecatalog.NoSuchLicenseException,
                                                                           com.liferay.portal.SystemException
Specified by:
findByA_R_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

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.portlet.softwarecatalog.NoSuchLicenseException,
                                                                          com.liferay.portal.SystemException
Specified by:
findByA_R_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

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.portlet.softwarecatalog.NoSuchLicenseException,
                                                                                   com.liferay.portal.SystemException
Specified by:
findByA_R_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                             int start,
                                                             int end)
                                                      throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll()
                                                                            throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(int start,
                                                                                   int end)
                                                                            throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(int start,
                                                                                   int end,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                            throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

removeByActive

public void removeByActive(boolean active)
                    throws com.liferay.portal.SystemException
Specified by:
removeByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

removeByA_R

public void removeByA_R(boolean active,
                        boolean recommended)
                 throws com.liferay.portal.SystemException
Specified by:
removeByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

countByActive

public int countByActive(boolean active)
                  throws com.liferay.portal.SystemException
Specified by:
countByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

countByA_R

public int countByA_R(boolean active,
                      boolean recommended)
               throws com.liferay.portal.SystemException
Specified by:
countByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

getSCProductEntries

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk)
                                                                                             throws com.liferay.portal.SystemException
Specified by:
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

getSCProductEntries

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk,
                                                                                                    int start,
                                                                                                    int end)
                                                                                             throws com.liferay.portal.SystemException
Specified by:
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

getSCProductEntries

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk,
                                                                                                    int start,
                                                                                                    int end,
                                                                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                             throws com.liferay.portal.SystemException
Specified by:
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

getSCProductEntriesSize

public int getSCProductEntriesSize(long pk)
                            throws com.liferay.portal.SystemException
Specified by:
getSCProductEntriesSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

containsSCProductEntry

public boolean containsSCProductEntry(long pk,
                                      long scProductEntryPK)
                               throws com.liferay.portal.SystemException
Specified by:
containsSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

containsSCProductEntries

public boolean containsSCProductEntries(long pk)
                                 throws com.liferay.portal.SystemException
Specified by:
containsSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

addSCProductEntry

public void addSCProductEntry(long pk,
                              long scProductEntryPK)
                       throws com.liferay.portal.SystemException
Specified by:
addSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

addSCProductEntry

public void addSCProductEntry(long pk,
                              com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
                       throws com.liferay.portal.SystemException
Specified by:
addSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

addSCProductEntries

public void addSCProductEntries(long pk,
                                long[] scProductEntryPKs)
                         throws com.liferay.portal.SystemException
Specified by:
addSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

addSCProductEntries

public void addSCProductEntries(long pk,
                                java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
                         throws com.liferay.portal.SystemException
Specified by:
addSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

clearSCProductEntries

public void clearSCProductEntries(long pk)
                           throws com.liferay.portal.SystemException
Specified by:
clearSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

removeSCProductEntry

public void removeSCProductEntry(long pk,
                                 long scProductEntryPK)
                          throws com.liferay.portal.SystemException
Specified by:
removeSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

removeSCProductEntry

public void removeSCProductEntry(long pk,
                                 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
                          throws com.liferay.portal.SystemException
Specified by:
removeSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

removeSCProductEntries

public void removeSCProductEntries(long pk,
                                   long[] scProductEntryPKs)
                            throws com.liferay.portal.SystemException
Specified by:
removeSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

removeSCProductEntries

public void removeSCProductEntries(long pk,
                                   java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
                            throws com.liferay.portal.SystemException
Specified by:
removeSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

setSCProductEntries

public void setSCProductEntries(long pk,
                                long[] scProductEntryPKs)
                         throws com.liferay.portal.SystemException
Specified by:
setSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

setSCProductEntries

public void setSCProductEntries(long pk,
                                java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
                         throws com.liferay.portal.SystemException
Specified by:
setSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
Throws:
com.liferay.portal.SystemException

afterPropertiesSet

public void afterPropertiesSet()