Class PortalPreferenceValuePersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
com.liferay.portal.service.persistence.impl.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

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
The persistence implementation for the portal preference value service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the portal preference value persistence.
    void
    cacheResult(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue)
    Caches the portal preference value in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues)
    Caches the portal preference values in the entity cache if it is enabled.
    protected void
     
    void
    Clears the cache for all portal preference values.
    void
    clearCache(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue)
    Clears the cache for the portal preference value.
    void
    clearCache(List<com.liferay.portal.kernel.model.PortalPreferenceValue> portalPreferenceValues)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    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(long portalPreferencesId, String key, String namespace)
    Returns the number of portal preference values where portalPreferencesId = ? 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_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
     
    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>
    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.
    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_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 = ?.
    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.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_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
    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>
    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
    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 = ?.
    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
    Returns the portal preference value with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
     
    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
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
    protected String
     
    protected String
     
    protected Map<String,Integer>
     
    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
    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(long portalPreferencesId, String key, String namespace)
    Removes all the portal preference values where portalPreferencesId = ? 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_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)
     

    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, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.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

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String 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:
      findByPortalPreferencesId in interface com.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 - 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.

      Specified by:
      findByPortalPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      start - the lower bound of the range of portal preference values
      end - 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 - 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.

      Specified by:
      findByPortalPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      start - the lower bound of the range of portal preference values
      end - the upper bound of the range of portal preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - 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.

      Specified by:
      findByPortalPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      start - the lower bound of the range of portal preference values
      end - 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 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_First in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      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_First in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portal preference value, or null if 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_Last in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      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_Last in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portal preference value, or null if 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_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferenceValueId - the primary key of the current portal preference value
      portalPreferencesId - the portal preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      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:
      removeByPortalPreferencesId in interface com.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:
      countByPortalPreferencesId in interface com.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_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - 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 - 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.

      Specified by:
      findByP_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - the namespace
      start - the lower bound of the range of portal preference values
      end - 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 - 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.

      Specified by:
      findByP_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - the namespace
      start - the lower bound of the range of portal preference values
      end - the upper bound of the range of portal preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - 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.

      Specified by:
      findByP_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - the namespace
      start - the lower bound of the range of portal preference values
      end - 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 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_First in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      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_First in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portal preference value, or null if 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_Last in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      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_Last in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portal preference value, or null if 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_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferenceValueId - the primary key of the current portal preference value
      portalPreferencesId - the portal preferences ID
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByP_N(long portalPreferencesId, String namespace)
      Removes all the portal preference values where portalPreferencesId = ? and namespace = ? from the database.
      Specified by:
      removeByP_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - the namespace
    • countByP_N

      public int countByP_N(long portalPreferencesId, String namespace)
      Returns the number of portal preference values where portalPreferencesId = ? and namespace = ?.
      Specified by:
      countByP_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      namespace - 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_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - 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 - 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.

      Specified by:
      findByP_K_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      start - the lower bound of the range of portal preference values
      end - 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 - 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.

      Specified by:
      findByP_K_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      start - the lower bound of the range of portal preference values
      end - the upper bound of the range of portal preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - 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.

      Specified by:
      findByP_K_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      start - the lower bound of the range of portal preference values
      end - 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 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_First in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      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_First in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portal preference value, or null if 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_Last in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      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_Last in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portal preference value, or null if 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_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferenceValueId - the primary key of the current portal preference value
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public 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.
      Specified by:
      removeByP_K_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
    • countByP_K_N

      public int countByP_K_N(long portalPreferencesId, String key, String namespace)
      Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.
      Specified by:
      countByP_K_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - 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 a NoSuchPreferenceValueException if it could not be found.
      Specified by:
      findByP_I_K_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      index - the index
      key - the key
      namespace - 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 returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByP_I_K_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      index - the index
      key - the key
      namespace - the namespace
      Returns:
      the matching portal preference value, or null 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, 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.
      Specified by:
      fetchByP_I_K_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      index - the index
      key - the key
      namespace - the namespace
      useFinderCache - whether to use the finder cache
      Returns:
      the matching portal preference value, or null if 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_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      index - the index
      key - the key
      namespace - the namespace
      Returns:
      the portal preference value that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPreferenceValueException
    • countByP_I_K_N

      public 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 = ?.
      Specified by:
      countByP_I_K_N in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      index - the index
      key - the key
      namespace - 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_SV in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - 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 - 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.

      Specified by:
      findByP_K_N_SV in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - the small value
      start - the lower bound of the range of portal preference values
      end - 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 - 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.

      Specified by:
      findByP_K_N_SV in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - the small value
      start - the lower bound of the range of portal preference values
      end - the upper bound of the range of portal preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - 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.

      Specified by:
      findByP_K_N_SV in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - the small value
      start - the lower bound of the range of portal preference values
      end - 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 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_First in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      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_First in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portal preference value, or null if 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_Last in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      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_Last in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portal preference value, or null if 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_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferenceValueId - the primary key of the current portal preference value
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      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_SV in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - 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_SV in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferencesId - the portal preferences ID
      key - the key
      namespace - the namespace
      smallValue - 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:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Overrides:
      cacheResult in class com.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:
      cacheResult in interface com.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 EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      clearCache in class com.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 EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      clearCache in class com.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:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.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:
      create in interface com.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:
      remove in interface com.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:
      remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      remove in class com.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:
      removeImpl in class com.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:
      updateImpl in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Overrides:
      updateImpl in class com.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 a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      findByPrimaryKey in class com.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 a NoSuchPreferenceValueException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.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 returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      portalPreferenceValueId - the primary key of the portal preference value
      Returns:
      the portal preference value, or null if a portal preference value with the primary key could not be found
    • findAll

      public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findAll()
      Returns all the portal preference values.
      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Returns:
      the portal preference values
    • findAll

      public List<com.liferay.portal.kernel.model.PortalPreferenceValue> findAll(int start, int end)
      Returns a range of all the portal preference values.

      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.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      start - the lower bound of the range of portal preference values
      end - 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 - 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.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      start - the lower bound of the range of portal preference values
      end - the upper bound of the range of portal preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - 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.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Parameters:
      start - the lower bound of the range of portal preference values
      end - 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 cache
      Returns:
      the ordered range of portal preference values
    • removeAll

      public void removeAll()
      Removes all the portal preference values from the database.
      Specified by:
      removeAll in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
    • countAll

      public int countAll()
      Returns the number of portal preference values.
      Specified by:
      countAll in interface com.liferay.portal.kernel.service.persistence.PortalPreferenceValuePersistence
      Returns:
      the number of portal preference values
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • getTableColumnsMap

      protected Map<String,Integer> getTableColumnsMap()
      Overrides:
      getTableColumnsMap in class com.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:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>