public class PortalPreferenceValuePersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
implements com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 |
---|
PortalPreferenceValuePersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the portal preference value persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues)
Caches the portal preference values in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue)
Caches the portal preference value in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(PortalPreferenceValueModelImpl portalPreferenceValueModelImpl) |
void |
clearCache()
Clears the cache for all portal preference values.
|
void |
clearCache(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues) |
void |
clearCache(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue)
Clears the cache for the portal preference value.
|
void |
clearCache(Set<Serializable> primaryKeys) |
int |
countAll()
Returns the number of portal preference values.
|
int |
countByP_I_K_N(long portalPreferencesId,
int index,
String key,
String namespace)
Returns the number of portal preference values where portalPreferencesId = ? and index = ? and key = ? and namespace = ?.
|
int |
countByP_K_N_SV(long portalPreferencesId,
String key,
String namespace,
String smallValue)
Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
int |
countByP_K_N(long portalPreferencesId,
String key,
String namespace)
Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.
|
int |
countByP_N(long portalPreferencesId,
String namespace)
Returns the number of portal preference values where portalPreferencesId = ? and namespace = ?.
|
int |
countByPortalPreferencesId(long portalPreferencesId)
Returns the number of portal preference values where portalPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
create(long portalPreferenceValueId)
Creates a new portal preference value with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByP_I_K_N(long portalPreferencesId,
int index,
String key,
String namespace)
Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByP_I_K_N(long portalPreferencesId,
int index,
String key,
String namespace,
boolean useFinderCache)
Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByP_K_N_First(long portalPreferencesId,
String key,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByP_K_N_Last(long portalPreferencesId,
String key,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByP_K_N_SV_First(long portalPreferencesId,
String key,
String namespace,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByP_K_N_SV_Last(long portalPreferencesId,
String key,
String namespace,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByP_N_First(long portalPreferencesId,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByP_N_Last(long portalPreferencesId,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByPortalPreferencesId_First(long portalPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByPortalPreferencesId_Last(long portalPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
fetchByPrimaryKey(long portalPreferenceValueId)
Returns the portal preference value with the primary key or returns
null if it could not be found. |
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findAll()
Returns all the portal preference values.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findAll(int start,
int end)
Returns a range of all the portal preference values.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns an ordered range of all the portal preference values.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portal preference values.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByP_I_K_N(long portalPreferencesId,
int index,
String key,
String namespace)
Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or throws a
NoSuchPreferenceValueException if it could not be found. |
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByP_K_N_First(long portalPreferencesId,
String key,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByP_K_N_Last(long portalPreferencesId,
String key,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue[] |
findByP_K_N_PrevAndNext(long portalPreferenceValueId,
long portalPreferencesId,
String key,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByP_K_N_SV_First(long portalPreferencesId,
String key,
String namespace,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByP_K_N_SV_Last(long portalPreferencesId,
String key,
String namespace,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue[] |
findByP_K_N_SV_PrevAndNext(long portalPreferenceValueId,
long portalPreferencesId,
String key,
String namespace,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_K_N_SV(long portalPreferencesId,
String key,
String namespace,
String smallValue)
Returns all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_K_N_SV(long portalPreferencesId,
String key,
String namespace,
String smallValue,
int start,
int end)
Returns a range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_K_N_SV(long portalPreferencesId,
String key,
String namespace,
String smallValue,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_K_N_SV(long portalPreferencesId,
String key,
String namespace,
String smallValue,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_K_N(long portalPreferencesId,
String key,
String namespace)
Returns all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_K_N(long portalPreferencesId,
String key,
String namespace,
int start,
int end)
Returns a range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_K_N(long portalPreferencesId,
String key,
String namespace,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_K_N(long portalPreferencesId,
String key,
String namespace,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByP_N_First(long portalPreferencesId,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByP_N_Last(long portalPreferencesId,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue[] |
findByP_N_PrevAndNext(long portalPreferenceValueId,
long portalPreferencesId,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_N(long portalPreferencesId,
String namespace)
Returns all the portal preference values where portalPreferencesId = ? and namespace = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_N(long portalPreferencesId,
String namespace,
int start,
int end)
Returns a range of all the portal preference values where portalPreferencesId = ? and namespace = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_N(long portalPreferencesId,
String namespace,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns an ordered range of all the portal preference values where portalPreferencesId = ? and namespace = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByP_N(long portalPreferencesId,
String namespace,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portal preference values where portalPreferencesId = ? and namespace = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByPortalPreferencesId_First(long portalPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByPortalPreferencesId_Last(long portalPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue[] |
findByPortalPreferencesId_PrevAndNext(long portalPreferenceValueId,
long portalPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByPortalPreferencesId(long portalPreferencesId)
Returns all the portal preference values where portalPreferencesId = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByPortalPreferencesId(long portalPreferencesId,
int start,
int end)
Returns a range of all the portal preference values where portalPreferencesId = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByPortalPreferencesId(long portalPreferencesId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
Returns an ordered range of all the portal preference values where portalPreferencesId = ?.
|
List<com.liferay.portal.kernel.model.PortalPreferenceValue> |
findByPortalPreferencesId(long portalPreferencesId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portal preference values where portalPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByPrimaryKey(long portalPreferenceValueId)
Returns the portal preference value with the primary key or throws a
NoSuchPreferenceValueException if it could not be found. |
com.liferay.portal.kernel.model.PortalPreferenceValue |
findByPrimaryKey(Serializable primaryKey)
Returns the portal preference value with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.PortalPreferenceValue |
getByP_K_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue,
long portalPreferencesId,
String key,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.PortalPreferenceValue |
getByP_K_N_SV_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue,
long portalPreferencesId,
String key,
String namespace,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.PortalPreferenceValue |
getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue,
long portalPreferencesId,
String namespace,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.PortalPreferenceValue |
getByPortalPreferencesId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue,
long portalPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.PortalPreferenceValue |
remove(long portalPreferenceValueId)
Removes the portal preference value with the primary key from the database.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
remove(Serializable primaryKey)
Removes the portal preference value with the primary key from the database.
|
void |
removeAll()
Removes all the portal preference values from the database.
|
com.liferay.portal.kernel.model.PortalPreferenceValue |
removeByP_I_K_N(long portalPreferencesId,
int index,
String key,
String namespace)
Removes the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? from the database.
|
void |
removeByP_K_N_SV(long portalPreferencesId,
String key,
String namespace,
String smallValue)
Removes all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ? from the database.
|
void |
removeByP_K_N(long portalPreferencesId,
String key,
String namespace)
Removes all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? from the database.
|
void |
removeByP_N(long portalPreferencesId,
String namespace)
Removes all the portal preference values where portalPreferencesId = ? and namespace = ? from the database.
|
void |
removeByPortalPreferencesId(long portalPreferencesId)
Removes all the portal preference values where portalPreferencesId = ? from the database.
|
protected com.liferay.portal.kernel.model.PortalPreferenceValue |
removeImpl(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) |
com.liferay.portal.kernel.model.PortalPreferenceValue |
updateImpl(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public PortalPreferenceValuePersistenceImpl()
public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId)
findByPortalPreferencesId
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDpublic List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId, 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByPortalPreferencesId
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDstart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByPortalPreferencesId
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDstart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByPortalPreferencesId
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDstart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.PortalPreferenceValue findByPortalPreferencesId_First(long portalPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByPortalPreferencesId_First
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByPortalPreferencesId_First(long portalPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
fetchByPortalPreferencesId_First
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue findByPortalPreferencesId_Last(long portalPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByPortalPreferencesId_Last
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByPortalPreferencesId_Last(long portalPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
fetchByPortalPreferencesId_Last
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue[] findByPortalPreferencesId_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByPortalPreferencesId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundprotected com.liferay.portal.kernel.model.PortalPreferenceValue getByPortalPreferencesId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue, long portalPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator, boolean previous)
public void removeByPortalPreferencesId(long portalPreferencesId)
removeByPortalPreferencesId
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDpublic int countByPortalPreferencesId(long portalPreferencesId)
countByPortalPreferencesId
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDpublic List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace)
findByP_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespacepublic List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace, 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByP_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByP_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByP_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.PortalPreferenceValue findByP_N_First(long portalPreferencesId, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByP_N_First
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByP_N_First(long portalPreferencesId, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
fetchByP_N_First
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue findByP_N_Last(long portalPreferencesId, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByP_N_Last
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByP_N_Last(long portalPreferencesId, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
fetchByP_N_Last
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue[] findByP_N_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByP_N_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundprotected com.liferay.portal.kernel.model.PortalPreferenceValue getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue, long portalPreferencesId, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator, boolean previous)
public void removeByP_N(long portalPreferencesId, String namespace)
removeByP_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespacepublic int countByP_N(long portalPreferencesId, String namespace)
countByP_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDnamespace
- the namespacepublic List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace)
findByP_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacepublic List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace, 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByP_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByP_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByP_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.PortalPreferenceValue findByP_K_N_First(long portalPreferencesId, String key, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByP_K_N_First
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByP_K_N_First(long portalPreferencesId, String key, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
fetchByP_K_N_First
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue findByP_K_N_Last(long portalPreferencesId, String key, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByP_K_N_Last
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByP_K_N_Last(long portalPreferencesId, String key, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
fetchByP_K_N_Last
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue[] findByP_K_N_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, String key, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByP_K_N_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundprotected com.liferay.portal.kernel.model.PortalPreferenceValue getByP_K_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue, long portalPreferencesId, String key, String namespace, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator, boolean previous)
public void removeByP_K_N(long portalPreferencesId, String key, String namespace)
removeByP_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacepublic int countByP_K_N(long portalPreferencesId, String key, String namespace)
countByP_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacepublic com.liferay.portal.kernel.model.PortalPreferenceValue findByP_I_K_N(long portalPreferencesId, int index, String key, String namespace) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
NoSuchPreferenceValueException
if it could not be found.findByP_I_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespacecom.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByP_I_K_N(long portalPreferencesId, int index, String key, String namespace)
null
if it could not be found. Uses the finder cache.fetchByP_I_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespacenull
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByP_I_K_N(long portalPreferencesId, int index, String key, String namespace, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fetchByP_I_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespaceuseFinderCache
- whether to use the finder cachenull
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue removeByP_I_K_N(long portalPreferencesId, int index, String key, String namespace) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
removeByP_I_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespacecom.liferay.portal.kernel.exception.NoSuchPreferenceValueException
public int countByP_I_K_N(long portalPreferencesId, int index, String key, String namespace)
countByP_I_K_N
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespacepublic List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue)
findByP_K_N_SV
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuepublic List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue, 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByP_K_N_SV
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByP_K_N_SV
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findByP_K_N_SV
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.PortalPreferenceValue findByP_K_N_SV_First(long portalPreferencesId, String key, String namespace, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByP_K_N_SV_First
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByP_K_N_SV_First(long portalPreferencesId, String key, String namespace, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
fetchByP_K_N_SV_First
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue findByP_K_N_SV_Last(long portalPreferencesId, String key, String namespace, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByP_K_N_SV_Last
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByP_K_N_SV_Last(long portalPreferencesId, String key, String namespace, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator)
fetchByP_K_N_SV_Last
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue[] findByP_K_N_SV_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, String key, String namespace, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
findByP_K_N_SV_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundprotected com.liferay.portal.kernel.model.PortalPreferenceValue getByP_K_N_SV_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue, long portalPreferencesId, String key, String namespace, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator, boolean previous)
public void removeByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue)
removeByP_K_N_SV
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuepublic int countByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue)
countByP_K_N_SV
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuepublic void cacheResult(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
portalPreferenceValue
- the portal preference valuepublic void cacheResult(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferenceValues
- the portal preference valuespublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
public void clearCache(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
public void clearCache(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
public void clearCache(Set<Serializable> primaryKeys)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
protected void cacheUniqueFindersCache(PortalPreferenceValueModelImpl portalPreferenceValueModelImpl)
public com.liferay.portal.kernel.model.PortalPreferenceValue create(long portalPreferenceValueId)
create
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferenceValueId
- the primary key for the new portal preference valuepublic com.liferay.portal.kernel.model.PortalPreferenceValue remove(long portalPreferenceValueId) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
remove
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferenceValueId
- the primary key of the portal preference valuecom.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
primaryKey
- the primary key of the portal preference valuecom.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundprotected com.liferay.portal.kernel.model.PortalPreferenceValue removeImpl(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
public com.liferay.portal.kernel.model.PortalPreferenceValue updateImpl(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
public com.liferay.portal.kernel.model.PortalPreferenceValue findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
primaryKey
- the primary key of the portal preference valuecom.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue findByPrimaryKey(long portalPreferenceValueId) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
NoSuchPreferenceValueException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferenceValueId
- the primary key of the portal preference valuecom.liferay.portal.kernel.exception.NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundpublic com.liferay.portal.kernel.model.PortalPreferenceValue fetchByPrimaryKey(long portalPreferenceValueId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
portalPreferenceValueId
- the primary key of the portal preference valuenull
if a portal preference value with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.PortalPreferenceValue> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
public List<com.liferay.portal.kernel.model.PortalPreferenceValue> 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
start
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> 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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
start
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortalPreferenceValue> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
start
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic void removeAll()
removeAll
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>