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
Caching information and settings can be found in portal.properties
SCLicensePersistence,
SCLicenseUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
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_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_A_R |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_ACTIVE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_A_R |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ACTIVE |
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.softwarecatalog.model.SCLicense,com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
scLicenseToSCProductEntryTableMapper |
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence |
scProductEntryPersistence |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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, WHERE_OR| Constructor and Description |
|---|
SCLicensePersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
Adds an association between the s c license and the s c product entries.
|
void |
addSCProductEntries(long pk,
long[] scProductEntryPKs)
Adds an association between the s c license and the s c product entries.
|
void |
addSCProductEntry(long pk,
long scProductEntryPK)
Adds an association between the s c license and the s c product entry.
|
void |
addSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
Adds an association between the s c license and the s c product entry.
|
void |
afterPropertiesSet()
Initializes the s c license persistence.
|
void |
cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
Caches the s c licenses in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Caches the s c license in the entity cache if it is enabled.
|
void |
clearCache()
Clears the cache for all s c licenses.
|
void |
clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses) |
void |
clearCache(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Clears the cache for the s c license.
|
void |
clearSCProductEntries(long pk)
Clears all associations between the s c license and its s c product entries.
|
boolean |
containsSCProductEntries(long pk)
Returns
true if the s c license has any s c product entries associated with it. |
boolean |
containsSCProductEntry(long pk,
long scProductEntryPK)
Returns
true if the s c product entry is associated with the s c license. |
int |
countAll()
Returns the number of s c licenses.
|
int |
countByA_R(boolean active,
boolean recommended)
Returns the number of s c licenses where active = ? and recommended = ?.
|
int |
countByActive(boolean active)
Returns the number of s c licenses where active = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
create(long licenseId)
Creates a new s c license with the primary key.
|
void |
destroy() |
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first s c license in the ordered set where active = ? and recommended = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last s c license in the ordered set where active = ? and recommended = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first s c license in the ordered set where active = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last s c license in the ordered set where active = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByPrimaryKey(long licenseId)
Returns the s c license with the primary key or returns
null if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the s c license with the primary key or returns
null if it could not be found. |
int |
filterCountByA_R(boolean active,
boolean recommended)
Returns the number of s c licenses that the user has permission to view where active = ? and recommended = ?.
|
int |
filterCountByActive(boolean active)
Returns the number of s c licenses that the user has permission to view where active = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
filterFindByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c licenses before and after the current s c license in the ordered set of s c licenses that the user has permission to view where active = ? and recommended = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByA_R(boolean active,
boolean recommended)
Returns all the s c licenses that the user has permission to view where active = ? and recommended = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByA_R(boolean active,
boolean recommended,
int start,
int end)
Returns a range of all the s c licenses that the user has permission to view where active = ? and recommended = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByA_R(boolean active,
boolean recommended,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses that the user has permissions to view where active = ? and recommended = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
filterFindByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c licenses before and after the current s c license in the ordered set of s c licenses that the user has permission to view where active = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByActive(boolean active)
Returns all the s c licenses that the user has permission to view where active = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByActive(boolean active,
int start,
int end)
Returns a range of all the s c licenses that the user has permission to view where active = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses that the user has permissions to view where active = ?.
|
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
filterGetByA_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 |
filterGetByActive_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.SCLicense> |
findAll()
Returns all the s c licenses.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findAll(int start,
int end)
Returns a range of all the s c licenses.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first s c license in the ordered set where active = ? and recommended = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last s c license in the ordered set where active = ? and recommended = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
findByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c licenses before and after the current s c license in the ordered set where active = ? and recommended = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByA_R(boolean active,
boolean recommended)
Returns all the s c licenses where active = ? and recommended = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByA_R(boolean active,
boolean recommended,
int start,
int end)
Returns a range of all the s c licenses where active = ? and recommended = ?.
|
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)
Returns an ordered range of all the s c licenses where active = ? and recommended = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first s c license in the ordered set where active = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last s c license in the ordered set where active = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
findByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c licenses before and after the current s c license in the ordered set where active = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByActive(boolean active)
Returns all the s c licenses where active = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByActive(boolean active,
int start,
int end)
Returns a range of all the s c licenses where active = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses where active = ?.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByPrimaryKey(long licenseId)
Returns the s c license with the primary key or throws a
NoSuchLicenseException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the s c license with the primary key or throws a
NoSuchModelException if it could not be found. |
protected java.util.Set<java.lang.String> |
getBadColumnNames() |
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)
Returns all the s c product entries associated with the s c license.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getSCProductEntries(long pk,
int start,
int end)
Returns a range of all the s c product entries associated with the s c license.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getSCProductEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c product entries associated with the s c license.
|
int |
getSCProductEntriesSize(long pk)
Returns the number of s c product entries associated with the s c license.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
remove(long licenseId)
Removes the s c license with the primary key from the database.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
remove(java.io.Serializable primaryKey)
Removes the s c license with the primary key from the database.
|
void |
removeAll()
Removes all the s c licenses from the database.
|
void |
removeByA_R(boolean active,
boolean recommended)
Removes all the s c licenses where active = ? and recommended = ? from the database.
|
void |
removeByActive(boolean active)
Removes all the s c licenses where active = ? from the database.
|
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)
Removes the association between the s c license and the s c product entries.
|
void |
removeSCProductEntries(long pk,
long[] scProductEntryPKs)
Removes the association between the s c license and the s c product entries.
|
void |
removeSCProductEntry(long pk,
long scProductEntryPK)
Removes the association between the s c license and the s c product entry.
|
void |
removeSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
Removes the association between the s c license and the s c product entry.
|
void |
setSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
Sets the s c product entries associated with the s c license, removing and adding associations as necessary.
|
void |
setSCProductEntries(long pk,
long[] scProductEntryPKs)
Sets the s c product entries associated with the s c license, removing and adding associations as necessary.
|
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) |
com.liferay.portlet.softwarecatalog.model.SCLicense |
updateImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ACTIVE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ACTIVE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_ACTIVE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_A_R
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_A_R
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_A_R
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.softwarecatalog.model.SCLicense,com.liferay.portlet.softwarecatalog.model.SCProductEntry> scLicenseToSCProductEntryTableMapper
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
findByActive_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a matching s c license could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByActive_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching s c license could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
findByActive_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a matching s c license could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByActive_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching s c license could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
findByActive_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the current s c licenseactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected 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)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByActive(boolean active,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense[] filterFindByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
filterFindByActive_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the current s c licenseactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.softwarecatalog.model.SCLicense filterGetByActive_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)
public void removeByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
removeByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
countByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int filterCountByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
boolean recommended,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedstart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedstart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
findByA_R_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a matching s c license could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByA_R_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)null if a matching s c license could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
findByA_R_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a matching s c license could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByA_R_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)null if a matching s c license could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
findByA_R_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the current s c licenseactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected 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)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByA_R(boolean active,
boolean recommended,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedstart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByA_R(boolean active,
boolean recommended,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedstart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense[] filterFindByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
filterFindByA_R_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the current s c licenseactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.softwarecatalog.model.SCLicense filterGetByA_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)
public void removeByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
removeByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
countByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int filterCountByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencescLicense - the s c licensepublic void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencescLicenses - the s c licensespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public void clearCache(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public void clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public com.liferay.portlet.softwarecatalog.model.SCLicense create(long licenseId)
create in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key for the new s c licensepublic com.liferay.portlet.softwarecatalog.model.SCLicense remove(long licenseId)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the s c licensecom.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>primaryKey - the primary key of the s c licensecom.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.softwarecatalog.model.SCLicense removeImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.softwarecatalog.model.SCLicense updateImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.softwarecatalog.model.SCLicense toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
public com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>primaryKey - the primary key of the s c licensecom.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(long licenseId)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
NoSuchLicenseException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the s c licensecom.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>primaryKey - the primary key of the s c licensenull if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(long licenseId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the s c licensenull if a s c license with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic 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.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getSCProductEntriesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getSCProductEntriesSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsSCProductEntry(long pk,
long scProductEntryPK)
throws com.liferay.portal.kernel.exception.SystemException
true if the s c product entry is associated with the s c license.containsSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPK - the primary key of the s c product entrytrue if the s c product entry is associated with the s c license; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsSCProductEntries(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the s c license has any s c product entries associated with it.containsSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c license to check for associations with s c product entriestrue if the s c license has any s c product entries associated with it; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addSCProductEntry(long pk,
long scProductEntryPK)
throws com.liferay.portal.kernel.exception.SystemException
addSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPK - the primary key of the s c product entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
throws com.liferay.portal.kernel.exception.SystemException
addSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntry - the s c product entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addSCProductEntries(long pk,
long[] scProductEntryPKs)
throws com.liferay.portal.kernel.exception.SystemException
addSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPKs - the primary keys of the s c product entriescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
throws com.liferay.portal.kernel.exception.SystemException
addSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntries - the s c product entriescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void clearSCProductEntries(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c license to clear the associated s c product entries fromcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeSCProductEntry(long pk,
long scProductEntryPK)
throws com.liferay.portal.kernel.exception.SystemException
removeSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPK - the primary key of the s c product entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
throws com.liferay.portal.kernel.exception.SystemException
removeSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntry - the s c product entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeSCProductEntries(long pk,
long[] scProductEntryPKs)
throws com.liferay.portal.kernel.exception.SystemException
removeSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPKs - the primary keys of the s c product entriescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
throws com.liferay.portal.kernel.exception.SystemException
removeSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntries - the s c product entriescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setSCProductEntries(long pk,
long[] scProductEntryPKs)
throws com.liferay.portal.kernel.exception.SystemException
setSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPKs - the primary keys of the s c product entries to be associated with the s c licensecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
throws com.liferay.portal.kernel.exception.SystemException
setSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntries - the s c product entries to be associated with the s c licensecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public void afterPropertiesSet()
public void destroy()