@ProviderType
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 |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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. |
java.util.Map<java.io.Serializable,com.liferay.portlet.softwarecatalog.model.SCLicense> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCLicense> 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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> 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.
|
long[] |
getSCProductEntryPrimaryKeys(long pk)
Returns the primaryKeys of s c product entries associated with the s c license.
|
protected java.util.Map<java.lang.String,java.lang.Integer> |
getTableColumnsMap() |
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, getColumnName, 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)
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active,
int start,
int end)
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
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)public com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense[] findByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundprotected 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<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByActive(boolean active)
filterFindByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByActive(boolean active,
int start,
int end)
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
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)public com.liferay.portlet.softwarecatalog.model.SCLicense[] filterFindByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundprotected 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<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator,
boolean previous)
public void removeByActive(boolean active)
removeByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activepublic int countByActive(boolean active)
countByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activepublic int filterCountByActive(boolean active)
filterCountByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
boolean recommended)
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
boolean recommended,
int start,
int end)
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)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<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
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)public com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense[] findByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundprotected 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<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByA_R(boolean active,
boolean recommended)
filterFindByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByA_R(boolean active,
boolean recommended,
int start,
int end)
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)public 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<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
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)public com.liferay.portlet.softwarecatalog.model.SCLicense[] filterFindByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundprotected 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<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator,
boolean previous)
public void removeByA_R(boolean active,
boolean recommended)
removeByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedpublic int countByA_R(boolean active,
boolean recommended)
countByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedpublic int filterCountByA_R(boolean active,
boolean recommended)
filterCountByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedpublic 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
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundprotected com.liferay.portlet.softwarecatalog.model.SCLicense removeImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public com.liferay.portlet.softwarecatalog.model.SCLicense updateImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
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>protected 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
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(long licenseId)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(java.io.Serializable primaryKey)
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(long licenseId)
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 foundpublic java.util.Map<java.io.Serializable,com.liferay.portlet.softwarecatalog.model.SCLicense> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>fetchByPrimaryKeys in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencefetchByPrimaryKeys in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll()
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(int start,
int end)
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
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)public void removeAll()
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepublic int countAll()
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepublic long[] getSCProductEntryPrimaryKeys(long pk)
getSCProductEntryPrimaryKeys in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk)
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk,
int start,
int end)
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
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)public int getSCProductEntriesSize(long pk)
getSCProductEntriesSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensepublic boolean containsSCProductEntry(long pk,
long scProductEntryPK)
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 otherwisepublic boolean containsSCProductEntries(long pk)
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 otherwisepublic void addSCProductEntry(long pk,
long scProductEntryPK)
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 entrypublic void addSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
addSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntry - the s c product entrypublic void addSCProductEntries(long pk,
long[] scProductEntryPKs)
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 entriespublic void addSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
addSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntries - the s c product entriespublic void clearSCProductEntries(long pk)
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 frompublic void removeSCProductEntry(long pk,
long scProductEntryPK)
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 entrypublic void removeSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
removeSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntry - the s c product entrypublic void removeSCProductEntries(long pk,
long[] scProductEntryPKs)
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 entriespublic void removeSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
removeSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntries - the s c product entriespublic void setSCProductEntries(long pk,
long[] scProductEntryPKs)
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 licensepublic void setSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
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 licenseprotected java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>protected java.util.Map<java.lang.String,java.lang.Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public void afterPropertiesSet()
public void destroy()