Class PortalPreferenceValuePersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>,com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the portal preference value persistence.voidcacheResult(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) Caches the portal preference value in the entity cache if it is enabled.voidcacheResult(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues) Caches the portal preference values in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(PortalPreferenceValueModelImpl portalPreferenceValueModelImpl) voidClears the cache for all portal preference values.voidclearCache(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) Clears the cache for the portal preference value.voidclearCache(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of portal preference values.intcountByP_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 = ?.intcountByP_K_N(long portalPreferencesId, String key, String namespace) Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.intcountByP_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 = ?.intcountByP_N(long portalPreferencesId, String namespace) Returns the number of portal preference values where portalPreferencesId = ? and namespace = ?.intcountByPortalPreferencesId(long portalPreferencesId) Returns the number of portal preference values where portalPreferencesId = ?.com.liferay.portal.kernel.model.PortalPreferenceValuecreate(long portalPreferenceValueId) Creates a new portal preference value with the primary key.voiddestroy()com.liferay.portal.kernel.model.PortalPreferenceValuefetchByP_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 returnsnullif it could not be found.com.liferay.portal.kernel.model.PortalPreferenceValuefetchByP_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 returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.PortalPreferenceValuefetchByP_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.PortalPreferenceValuefetchByP_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.PortalPreferenceValuefetchByP_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.PortalPreferenceValuefetchByP_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.PortalPreferenceValuefetchByP_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.PortalPreferenceValuefetchByP_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.PortalPreferenceValuefetchByPortalPreferencesId_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.PortalPreferenceValuefetchByPortalPreferencesId_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.PortalPreferenceValuefetchByPrimaryKey(long portalPreferenceValueId) Returns the portal preference value with the primary key or returnsnullif 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.PortalPreferenceValuefindByP_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 aNoSuchPreferenceValueExceptionif it could not be found.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.PortalPreferenceValuefindByP_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.PortalPreferenceValuefindByP_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 = ?.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 = ?.com.liferay.portal.kernel.model.PortalPreferenceValuefindByP_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.PortalPreferenceValuefindByP_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>Returns all the portal preference values where portalPreferencesId = ? and namespace = ?.List<com.liferay.portal.kernel.model.PortalPreferenceValue>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.PortalPreferenceValuefindByP_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.PortalPreferenceValuefindByP_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>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.PortalPreferenceValuefindByPortalPreferencesId_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.PortalPreferenceValuefindByPortalPreferencesId_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 = ?.com.liferay.portal.kernel.model.PortalPreferenceValuefindByPrimaryKey(long portalPreferenceValueId) Returns the portal preference value with the primary key or throws aNoSuchPreferenceValueExceptionif it could not be found.com.liferay.portal.kernel.model.PortalPreferenceValuefindByPrimaryKey(Serializable primaryKey) Returns the portal preference value with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.protected com.liferay.portal.kernel.model.PortalPreferenceValuegetByP_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.PortalPreferenceValuegetByP_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.PortalPreferenceValuegetByP_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.PortalPreferenceValuegetByPortalPreferencesId_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.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.portal.kernel.model.PortalPreferenceValueremove(long portalPreferenceValueId) Removes the portal preference value with the primary key from the database.com.liferay.portal.kernel.model.PortalPreferenceValueremove(Serializable primaryKey) Removes the portal preference value with the primary key from the database.voidRemoves all the portal preference values from the database.com.liferay.portal.kernel.model.PortalPreferenceValueremoveByP_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.voidremoveByP_K_N(long portalPreferencesId, String key, String namespace) Removes all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? from the database.voidremoveByP_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.voidremoveByP_N(long portalPreferencesId, String namespace) Removes all the portal preference values where portalPreferencesId = ? and namespace = ? from the database.voidremoveByPortalPreferencesId(long portalPreferencesId) Removes all the portal preference values where portalPreferencesId = ? from the database.protected com.liferay.portal.kernel.model.PortalPreferenceValueremoveImpl(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) com.liferay.portal.kernel.model.PortalPreferenceValueupdateImpl(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
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, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
PortalPreferenceValuePersistenceImpl
public PortalPreferenceValuePersistenceImpl()
-
-
Method Details
-
findByPortalPreferencesId
public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId) Returns all the portal preference values where portalPreferencesId = ?.- Specified by:
findByPortalPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences ID- Returns:
- the matching portal preference values
-
findByPortalPreferencesId
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByPortalPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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)- Returns:
- the range of matching portal preference values
-
findByPortalPreferencesId
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) Returns an ordered range of all the portal preference values where portalPreferencesId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByPortalPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching portal preference values
-
findByPortalPreferencesId
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) Returns an ordered range of all the portal preference values where portalPreferencesId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByPortalPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching portal preference values
-
findByPortalPreferencesId_First
public 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 Returns the first portal preference value in the ordered set where portalPreferencesId = ?.- Specified by:
findByPortalPreferencesId_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a matching portal preference value could not be found
-
fetchByPortalPreferencesId_First
public 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 = ?.- Specified by:
fetchByPortalPreferencesId_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portal preference value, or
nullif a matching portal preference value could not be found
-
findByPortalPreferencesId_Last
public 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 Returns the last portal preference value in the ordered set where portalPreferencesId = ?.- Specified by:
findByPortalPreferencesId_Lastin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a matching portal preference value could not be found
-
fetchByPortalPreferencesId_Last
public 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 = ?.- Specified by:
fetchByPortalPreferencesId_Lastin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portal preference value, or
nullif a matching portal preference value could not be found
-
findByPortalPreferencesId_PrevAndNext
public 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 Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ?.- Specified by:
findByPortalPreferencesId_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferenceValueId- the primary key of the current portal preference valueportalPreferencesId- the portal preferences IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a portal preference value with the primary key could not be found
-
getByPortalPreferencesId_PrevAndNext
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) -
removeByPortalPreferencesId
public void removeByPortalPreferencesId(long portalPreferencesId) Removes all the portal preference values where portalPreferencesId = ? from the database.- Specified by:
removeByPortalPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences ID
-
countByPortalPreferencesId
public int countByPortalPreferencesId(long portalPreferencesId) Returns the number of portal preference values where portalPreferencesId = ?.- Specified by:
countByPortalPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences ID- Returns:
- the number of matching portal preference values
-
findByP_N
public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace) Returns all the portal preference values where portalPreferencesId = ? and namespace = ?.- Specified by:
findByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDnamespace- the namespace- Returns:
- the matching portal preference values
-
findByP_N
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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)- Returns:
- the range of matching portal preference values
-
findByP_N
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) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching portal preference values
-
findByP_N
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) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching portal preference values
-
findByP_N_First
public 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 Returns the first portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.- Specified by:
findByP_N_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDnamespace- the namespaceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a matching portal preference value could not be found
-
fetchByP_N_First
public 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 = ?.- Specified by:
fetchByP_N_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDnamespace- the namespaceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portal preference value, or
nullif a matching portal preference value could not be found
-
findByP_N_Last
public 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 Returns the last portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.- Specified by:
findByP_N_Lastin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDnamespace- the namespaceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a matching portal preference value could not be found
-
fetchByP_N_Last
public 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 = ?.- Specified by:
fetchByP_N_Lastin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDnamespace- the namespaceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portal preference value, or
nullif a matching portal preference value could not be found
-
findByP_N_PrevAndNext
public 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 Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.- Specified by:
findByP_N_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferenceValueId- the primary key of the current portal preference valueportalPreferencesId- the portal preferences IDnamespace- the namespaceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a portal preference value with the primary key could not be found
-
getByP_N_PrevAndNext
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) -
removeByP_N
Removes all the portal preference values where portalPreferencesId = ? and namespace = ? from the database.- Specified by:
removeByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDnamespace- the namespace
-
countByP_N
Returns the number of portal preference values where portalPreferencesId = ? and namespace = ?.- Specified by:
countByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDnamespace- the namespace- Returns:
- the number of matching portal preference values
-
findByP_K_N
public 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 = ?.- Specified by:
findByP_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespace- Returns:
- the matching portal preference values
-
findByP_K_N
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByP_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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)- Returns:
- the range of matching portal preference values
-
findByP_K_N
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) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByP_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching portal preference values
-
findByP_K_N
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) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByP_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching portal preference values
-
findByP_K_N_First
public 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 Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.- Specified by:
findByP_K_N_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespaceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a matching portal preference value could not be found
-
fetchByP_K_N_First
public 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 = ?.- Specified by:
fetchByP_K_N_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespaceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portal preference value, or
nullif a matching portal preference value could not be found
-
findByP_K_N_Last
public 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 Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.- Specified by:
findByP_K_N_Lastin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespaceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a matching portal preference value could not be found
-
fetchByP_K_N_Last
public 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 = ?.- Specified by:
fetchByP_K_N_Lastin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespaceorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portal preference value, or
nullif a matching portal preference value could not be found
-
findByP_K_N_PrevAndNext
public 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 Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.- Specified by:
findByP_K_N_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)- Returns:
- the previous, current, and next portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a portal preference value with the primary key could not be found
-
getByP_K_N_PrevAndNext
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) -
removeByP_K_N
Removes all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? from the database.- Specified by:
removeByP_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespace
-
countByP_K_N
Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.- Specified by:
countByP_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespace- Returns:
- the number of matching portal preference values
-
findByP_I_K_N
public 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 Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or throws aNoSuchPreferenceValueExceptionif it could not be found.- Specified by:
findByP_I_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDindex- the indexkey- the keynamespace- the namespace- Returns:
- the matching portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a matching portal preference value could not be found
-
fetchByP_I_K_N
public 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 returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByP_I_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDindex- the indexkey- the keynamespace- the namespace- Returns:
- the matching portal preference value, or
nullif a matching portal preference value could not be found
-
fetchByP_I_K_N
public 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByP_I_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDindex- the indexkey- the keynamespace- the namespaceuseFinderCache- whether to use the finder cache- Returns:
- the matching portal preference value, or
nullif a matching portal preference value could not be found
-
removeByP_I_K_N
public 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 Removes the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? from the database.- Specified by:
removeByP_I_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDindex- the indexkey- the keynamespace- the namespace- Returns:
- the portal preference value that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
-
countByP_I_K_N
Returns the number of portal preference values where portalPreferencesId = ? and index = ? and key = ? and namespace = ?.- Specified by:
countByP_I_K_Nin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDindex- the indexkey- the keynamespace- the namespace- Returns:
- the number of matching portal preference values
-
findByP_K_N_SV
public 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 = ?.- Specified by:
findByP_K_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespacesmallValue- the small value- Returns:
- the matching portal preference values
-
findByP_K_N_SV
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByP_K_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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)- Returns:
- the range of matching portal preference values
-
findByP_K_N_SV
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) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByP_K_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching portal preference values
-
findByP_K_N_SV
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) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findByP_K_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching portal preference values
-
findByP_K_N_SV_First
public 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 Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.- Specified by:
findByP_K_N_SV_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespacesmallValue- the small valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a matching portal preference value could not be found
-
fetchByP_K_N_SV_First
public 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 = ?.- Specified by:
fetchByP_K_N_SV_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespacesmallValue- the small valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portal preference value, or
nullif a matching portal preference value could not be found
-
findByP_K_N_SV_Last
public 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 Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.- Specified by:
findByP_K_N_SV_Lastin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespacesmallValue- the small valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a matching portal preference value could not be found
-
fetchByP_K_N_SV_Last
public 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 = ?.- Specified by:
fetchByP_K_N_SV_Lastin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespacesmallValue- the small valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portal preference value, or
nullif a matching portal preference value could not be found
-
findByP_K_N_SV_PrevAndNext
public 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 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 = ?.- Specified by:
findByP_K_N_SV_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)- Returns:
- the previous, current, and next portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a portal preference value with the primary key could not be found
-
getByP_K_N_SV_PrevAndNext
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) -
removeByP_K_N_SV
public 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.- Specified by:
removeByP_K_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespacesmallValue- the small value
-
countByP_K_N_SV
public 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 = ?.- Specified by:
countByP_K_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferencesId- the portal preferences IDkey- the keynamespace- the namespacesmallValue- the small value- Returns:
- the number of matching portal preference values
-
cacheResult
public void cacheResult(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) Caches the portal preference value in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>- Parameters:
portalPreferenceValue- the portal preference value
-
cacheResult
public void cacheResult(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues) Caches the portal preference values in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferenceValues- the portal preference values
-
clearCache
public void clearCache()Clears the cache for all portal preference values.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
clearCache
public void clearCache(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) Clears the cache for the portal preference value.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
clearCache
public void clearCache(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues) - Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
cacheUniqueFindersCache
protected void cacheUniqueFindersCache(PortalPreferenceValueModelImpl portalPreferenceValueModelImpl) -
create
public com.liferay.portal.kernel.model.PortalPreferenceValue create(long portalPreferenceValueId) Creates a new portal preference value with the primary key. Does not add the portal preference value to the database.- Specified by:
createin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferenceValueId- the primary key for the new portal preference value- Returns:
- the new portal preference value
-
remove
public com.liferay.portal.kernel.model.PortalPreferenceValue remove(long portalPreferenceValueId) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException Removes the portal preference value with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferenceValueId- the primary key of the portal preference value- Returns:
- the portal preference value that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a portal preference value with the primary key could not be found
-
remove
public com.liferay.portal.kernel.model.PortalPreferenceValue remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException Removes the portal preference value with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>- Parameters:
primaryKey- the primary key of the portal preference value- Returns:
- the portal preference value that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a portal preference value with the primary key could not be found
-
removeImpl
protected com.liferay.portal.kernel.model.PortalPreferenceValue removeImpl(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
updateImpl
public com.liferay.portal.kernel.model.PortalPreferenceValue updateImpl(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue) - Specified by:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
findByPrimaryKey
public com.liferay.portal.kernel.model.PortalPreferenceValue findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException Returns the portal preference value with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>- Parameters:
primaryKey- the primary key of the portal preference value- Returns:
- the portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a portal preference value with the primary key could not be found
-
findByPrimaryKey
public com.liferay.portal.kernel.model.PortalPreferenceValue findByPrimaryKey(long portalPreferenceValueId) throws com.liferay.portal.kernel.exception.NoSuchPreferenceValueException Returns the portal preference value with the primary key or throws aNoSuchPreferenceValueExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferenceValueId- the primary key of the portal preference value- Returns:
- the portal preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPreferenceValueException- if a portal preference value with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.PortalPreferenceValue fetchByPrimaryKey(long portalPreferenceValueId) Returns the portal preference value with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
portalPreferenceValueId- the primary key of the portal preference value- Returns:
- the portal preference value, or
nullif a portal preference value with the primary key could not be found
-
findAll
Returns all the portal preference values.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Returns:
- the portal preference values
-
findAll
Returns a range of all the portal preference values.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
start- the lower bound of the range of portal preference valuesend- the upper bound of the range of portal preference values (not inclusive)- Returns:
- the range of portal preference values
-
findAll
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) Returns an ordered range of all the portal preference values.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)- Returns:
- the ordered range of portal preference values
-
findAll
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) Returns an ordered range of all the portal preference values.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of portal preference values
-
removeAll
public void removeAll()Removes all the portal preference values from the database.- Specified by:
removeAllin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
-
countAll
public int countAll()Returns the number of portal preference values.- Specified by:
countAllin interfacecom.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence- Returns:
- the number of portal preference values
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
getTableColumnsMap
- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the portal preference value persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
-