com.liferay.portlet.softwarecatalog.service.persistence
Class SCLicensePersistenceImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
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.model.SCLicense>, com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
public class SCLicensePersistenceImpl
- extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
- implements com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
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
,
SCLicenseUtil
- Generated:
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT |
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 |
clearCache(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
|
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)
|
void |
destroy()
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByPrimaryKey(long licenseId)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByPrimaryKey(java.io.Serializable primaryKey)
|
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 orderByComparator)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
findByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
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 orderByComparator)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
findByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
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 orderByComparator)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByPrimaryKey(long licenseId)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByPrimaryKey(java.io.Serializable primaryKey)
|
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
getByA_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
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 orderByComparator)
|
int |
getSCProductEntriesSize(long pk)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
remove(long licenseId)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
remove(java.io.Serializable primaryKey)
|
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)
|
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
update(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Deprecated. Use BasePersistence#update(com.liferay.portal.model.BaseModel, boolean) . |
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 |
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update |
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 |
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update |
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_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_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(type=com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
scFrameworkVersionPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
scProductEntryPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
scProductScreenshotPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence
scProductVersionPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence
resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
userPersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
containsSCProductEntry
protected SCLicensePersistenceImpl.ContainsSCProductEntry containsSCProductEntry
addSCProductEntry
protected SCLicensePersistenceImpl.AddSCProductEntry addSCProductEntry
clearSCProductEntries
protected SCLicensePersistenceImpl.ClearSCProductEntries clearSCProductEntries
removeSCProductEntry
protected SCLicensePersistenceImpl.RemoveSCProductEntry removeSCProductEntry
SCLicensePersistenceImpl
public SCLicensePersistenceImpl()
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<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Overrides:
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
clearCache
public void clearCache(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
- Specified by:
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Overrides:
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
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(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Overrides:
remove
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Throws:
com.liferay.portal.NoSuchModelException
com.liferay.portal.SystemException
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
removeImpl
protected com.liferay.portlet.softwarecatalog.model.SCLicense removeImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
throws com.liferay.portal.SystemException
- Overrides:
removeImpl
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
- 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
BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
.
- Specified by:
update
in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence
- 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
- Overrides:
updateImpl
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Throws:
com.liferay.portal.SystemException
toUnwrappedModel
protected com.liferay.portlet.softwarecatalog.model.SCLicense toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
findByPrimaryKey
public com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Overrides:
findByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Throws:
com.liferay.portal.NoSuchModelException
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(java.io.Serializable primaryKey)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Overrides:
fetchByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Throws:
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 orderByComparator)
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 orderByComparator)
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 orderByComparator)
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 orderByComparator)
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
getByActive_PrevAndNext
protected com.liferay.portlet.softwarecatalog.model.SCLicense getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
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 orderByComparator)
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 orderByComparator)
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 orderByComparator)
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 orderByComparator)
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
getByA_R_PrevAndNext
protected com.liferay.portlet.softwarecatalog.model.SCLicense getByA_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
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 orderByComparator)
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 orderByComparator)
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()
destroy
public void destroy()