Class PortletPreferenceValuePersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
com.liferay.portal.service.persistence.impl.PortletPreferenceValuePersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>, com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence

public class PortletPreferenceValuePersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue> implements com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
The persistence implementation for the portlet 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 portlet preference value persistence.
    void
    cacheResult(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
    Caches the portlet preference value in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues)
    Caches the portlet preference values in the entity cache if it is enabled.
    protected void
     
    void
    Clears the cache for all portlet preference values.
    void
    clearCache(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
    Clears the cache for the portlet preference value.
    void
    clearCache(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    Returns the number of portlet preference values.
    int
    countByC_N_SV(long companyId, String name, String smallValue)
    Returns the number of portlet preference values where companyId = ? and name = ? and smallValue = ?.
    int
    countByP_I_N(long portletPreferencesId, int index, String name)
    Returns the number of portlet preference values where portletPreferencesId = ? and index = ? and name = ?.
    int
    countByP_N(long portletPreferencesId, String name)
    Returns the number of portlet preference values where portletPreferencesId = ? and name = ?.
    int
    countByP_N_SV(long portletPreferencesId, String name, String smallValue)
    Returns the number of portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
    int
    countByPortletPreferencesId(long portletPreferencesId)
    Returns the number of portlet preference values where portletPreferencesId = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    create(long portletPreferenceValueId)
    Creates a new portlet preference value with the primary key.
    void
     
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByC_N_SV_First(long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the first portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByC_N_SV_Last(long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the last portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByP_I_N(long portletPreferencesId, int index, String name)
    Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByP_I_N(long portletPreferencesId, int index, String name, boolean useFinderCache)
    Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByP_N_First(long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByP_N_Last(long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByP_N_SV_First(long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByP_N_SV_Last(long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByPortletPreferencesId_First(long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the first portlet preference value in the ordered set where portletPreferencesId = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByPortletPreferencesId_Last(long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the last portlet preference value in the ordered set where portletPreferencesId = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    fetchByPrimaryKey(long portletPreferenceValueId)
    Returns the portlet preference value with the primary key or returns null if it could not be found.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    Returns the portlet preference value with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.portal.kernel.model.PortletPreferenceValue>
     
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    Returns all the portlet preference values.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findAll(int start, int end)
    Returns a range of all the portlet preference values.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns an ordered range of all the portlet preference values.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preference values.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByC_N_SV(long companyId, String name, String smallValue)
    Returns all the portlet preference values where companyId = ? and name = ? and smallValue = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByC_N_SV(long companyId, String name, String smallValue, int start, int end)
    Returns a range of all the portlet preference values where companyId = ? and name = ? and smallValue = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByC_N_SV(long companyId, String name, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns an ordered range of all the portlet preference values where companyId = ? and name = ? and smallValue = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByC_N_SV(long companyId, String name, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preference values where companyId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByC_N_SV_First(long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the first portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByC_N_SV_Last(long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the last portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue[]
    findByC_N_SV_PrevAndNext(long portletPreferenceValueId, long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the portlet preference values before and after the current portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByP_I_N(long portletPreferencesId, int index, String name)
    Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or throws a NoSuchPortletPreferenceValueException if it could not be found.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByP_N(long portletPreferencesId, String name)
    Returns all the portlet preference values where portletPreferencesId = ? and name = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByP_N(long portletPreferencesId, String name, int start, int end)
    Returns a range of all the portlet preference values where portletPreferencesId = ? and name = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByP_N(long portletPreferencesId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByP_N(long portletPreferencesId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByP_N_First(long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByP_N_Last(long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue[]
    findByP_N_PrevAndNext(long portletPreferenceValueId, long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByP_N_SV(long portletPreferencesId, String name, String smallValue)
    Returns all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByP_N_SV(long portletPreferencesId, String name, String smallValue, int start, int end)
    Returns a range of all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByP_N_SV(long portletPreferencesId, String name, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByP_N_SV(long portletPreferencesId, String name, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByP_N_SV_First(long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByP_N_SV_Last(long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue[]
    findByP_N_SV_PrevAndNext(long portletPreferenceValueId, long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByPortletPreferencesId(long portletPreferencesId)
    Returns all the portlet preference values where portletPreferencesId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByPortletPreferencesId(long portletPreferencesId, int start, int end)
    Returns a range of all the portlet preference values where portletPreferencesId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByPortletPreferencesId(long portletPreferencesId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns an ordered range of all the portlet preference values where portletPreferencesId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferenceValue>
    findByPortletPreferencesId(long portletPreferencesId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preference values where portletPreferencesId = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByPortletPreferencesId_First(long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the first portlet preference value in the ordered set where portletPreferencesId = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByPortletPreferencesId_Last(long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the last portlet preference value in the ordered set where portletPreferencesId = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue[]
    findByPortletPreferencesId_PrevAndNext(long portletPreferenceValueId, long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
    Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ?.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    findByPrimaryKey(long portletPreferenceValueId)
    Returns the portlet preference value with the primary key or throws a NoSuchPortletPreferenceValueException if it could not be found.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    Returns the portlet 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.PortletPreferenceValue
    getByC_N_SV_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferenceValue
    getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferenceValue
    getByP_N_SV_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferenceValue
    getByPortletPreferencesId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean previous)
     
    getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
     
    protected com.liferay.portal.kernel.dao.orm.EntityCache
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
     
    protected String
     
    protected String
     
     
     
     
    com.liferay.portal.kernel.model.PortletPreferenceValue
    remove(long portletPreferenceValueId)
    Removes the portlet preference value with the primary key from the database.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    remove(Serializable primaryKey)
    Removes the portlet preference value with the primary key from the database.
    void
    Removes all the portlet preference values from the database.
    void
    removeByC_N_SV(long companyId, String name, String smallValue)
    Removes all the portlet preference values where companyId = ? and name = ? and smallValue = ? from the database.
    com.liferay.portal.kernel.model.PortletPreferenceValue
    removeByP_I_N(long portletPreferencesId, int index, String name)
    Removes the portlet preference value where portletPreferencesId = ? and index = ? and name = ? from the database.
    void
    removeByP_N(long portletPreferencesId, String name)
    Removes all the portlet preference values where portletPreferencesId = ? and name = ? from the database.
    void
    removeByP_N_SV(long portletPreferencesId, String name, String smallValue)
    Removes all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ? from the database.
    void
    removeByPortletPreferencesId(long portletPreferencesId)
    Removes all the portlet preference values where portletPreferencesId = ? from the database.
    protected com.liferay.portal.kernel.model.PortletPreferenceValue
    removeImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
     
    com.liferay.portal.kernel.model.PortletPreferenceValue
    updateImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, 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, 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

    • PortletPreferenceValuePersistenceImpl

      public PortletPreferenceValuePersistenceImpl()
  • Method Details

    • findByPortletPreferencesId

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId)
      Returns all the portlet preference values where portletPreferencesId = ?.
      Specified by:
      findByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      Returns:
      the matching portlet preference values
    • findByPortletPreferencesId

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId, int start, int end)
      Returns a range of all the portlet preference values where portletPreferencesId = ?.

      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 PortletPreferenceValueModelImpl.

      Specified by:
      findByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      Returns:
      the range of matching portlet preference values
    • findByPortletPreferencesId

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns an ordered range of all the portlet preference values where portletPreferencesId = ?.

      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 PortletPreferenceValueModelImpl.

      Specified by:
      findByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preference values
    • findByPortletPreferencesId

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preference values where portletPreferencesId = ?.

      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 PortletPreferenceValueModelImpl.

      Specified by:
      findByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet 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 portlet preference values
    • findByPortletPreferencesId_First

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByPortletPreferencesId_First(long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ?.
      Specified by:
      findByPortletPreferencesId_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByPortletPreferencesId_First

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPortletPreferencesId_First(long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ?.
      Specified by:
      fetchByPortletPreferencesId_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preference value, or null if a matching portlet preference value could not be found
    • findByPortletPreferencesId_Last

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByPortletPreferencesId_Last(long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ?.
      Specified by:
      findByPortletPreferencesId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByPortletPreferencesId_Last

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPortletPreferencesId_Last(long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ?.
      Specified by:
      fetchByPortletPreferencesId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preference value, or null if a matching portlet preference value could not be found
    • findByPortletPreferencesId_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferenceValue[] findByPortletPreferencesId_PrevAndNext(long portletPreferenceValueId, long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ?.
      Specified by:
      findByPortletPreferencesId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferenceValueId - the primary key of the current portlet preference value
      portletPreferencesId - the portlet preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • getByPortletPreferencesId_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferenceValue getByPortletPreferencesId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long portletPreferencesId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean previous)
    • removeByPortletPreferencesId

      public void removeByPortletPreferencesId(long portletPreferencesId)
      Removes all the portlet preference values where portletPreferencesId = ? from the database.
      Specified by:
      removeByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
    • countByPortletPreferencesId

      public int countByPortletPreferencesId(long portletPreferencesId)
      Returns the number of portlet preference values where portletPreferencesId = ?.
      Specified by:
      countByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      Returns:
      the number of matching portlet preference values
    • findByP_N

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N(long portletPreferencesId, String name)
      Returns all the portlet preference values where portletPreferencesId = ? and name = ?.
      Specified by:
      findByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      Returns:
      the matching portlet preference values
    • findByP_N

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N(long portletPreferencesId, String name, int start, int end)
      Returns a range of all the portlet preference values where portletPreferencesId = ? and name = ?.

      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 PortletPreferenceValueModelImpl.

      Specified by:
      findByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      Returns:
      the range of matching portlet preference values
    • findByP_N

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N(long portletPreferencesId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ?.

      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 PortletPreferenceValueModelImpl.

      Specified by:
      findByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preference values
    • findByP_N

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N(long portletPreferencesId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ?.

      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 PortletPreferenceValueModelImpl.

      Specified by:
      findByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet 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 portlet preference values
    • findByP_N_First

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByP_N_First(long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      Specified by:
      findByP_N_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_N_First

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_N_First(long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      Specified by:
      fetchByP_N_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preference value, or null if a matching portlet preference value could not be found
    • findByP_N_Last

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByP_N_Last(long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      Specified by:
      findByP_N_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_N_Last

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_N_Last(long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      Specified by:
      fetchByP_N_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preference value, or null if a matching portlet preference value could not be found
    • findByP_N_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferenceValue[] findByP_N_PrevAndNext(long portletPreferenceValueId, long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      Specified by:
      findByP_N_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferenceValueId - the primary key of the current portlet preference value
      portletPreferencesId - the portlet preferences ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • getByP_N_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferenceValue getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long portletPreferencesId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean previous)
    • removeByP_N

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

      public int countByP_N(long portletPreferencesId, String name)
      Returns the number of portlet preference values where portletPreferencesId = ? and name = ?.
      Specified by:
      countByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      Returns:
      the number of matching portlet preference values
    • findByC_N_SV

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByC_N_SV(long companyId, String name, String smallValue)
      Returns all the portlet preference values where companyId = ? and name = ? and smallValue = ?.
      Specified by:
      findByC_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      Returns:
      the matching portlet preference values
    • findByC_N_SV

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByC_N_SV(long companyId, String name, String smallValue, int start, int end)
      Returns a range of all the portlet preference values where companyId = ? and name = ? 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 PortletPreferenceValueModelImpl.

      Specified by:
      findByC_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      Returns:
      the range of matching portlet preference values
    • findByC_N_SV

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByC_N_SV(long companyId, String name, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns an ordered range of all the portlet preference values where companyId = ? and name = ? 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 PortletPreferenceValueModelImpl.

      Specified by:
      findByC_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preference values
    • findByC_N_SV

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByC_N_SV(long companyId, String name, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preference values where companyId = ? and name = ? 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 PortletPreferenceValueModelImpl.

      Specified by:
      findByC_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet 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 portlet preference values
    • findByC_N_SV_First

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByC_N_SV_First(long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the first portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      Specified by:
      findByC_N_SV_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByC_N_SV_First

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByC_N_SV_First(long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns the first portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      Specified by:
      fetchByC_N_SV_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preference value, or null if a matching portlet preference value could not be found
    • findByC_N_SV_Last

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByC_N_SV_Last(long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the last portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      Specified by:
      findByC_N_SV_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByC_N_SV_Last

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByC_N_SV_Last(long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns the last portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      Specified by:
      fetchByC_N_SV_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preference value, or null if a matching portlet preference value could not be found
    • findByC_N_SV_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferenceValue[] findByC_N_SV_PrevAndNext(long portletPreferenceValueId, long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the portlet preference values before and after the current portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      Specified by:
      findByC_N_SV_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferenceValueId - the primary key of the current portlet preference value
      companyId - the company ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • getByC_N_SV_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferenceValue getByC_N_SV_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean previous)
    • removeByC_N_SV

      public void removeByC_N_SV(long companyId, String name, String smallValue)
      Removes all the portlet preference values where companyId = ? and name = ? and smallValue = ? from the database.
      Specified by:
      removeByC_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
    • countByC_N_SV

      public int countByC_N_SV(long companyId, String name, String smallValue)
      Returns the number of portlet preference values where companyId = ? and name = ? and smallValue = ?.
      Specified by:
      countByC_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      Returns:
      the number of matching portlet preference values
    • findByP_I_N

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByP_I_N(long portletPreferencesId, int index, String name) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or throws a NoSuchPortletPreferenceValueException if it could not be found.
      Specified by:
      findByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      index - the index
      name - the name
      Returns:
      the matching portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_I_N

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_I_N(long portletPreferencesId, int index, String name)
      Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      index - the index
      name - the name
      Returns:
      the matching portlet preference value, or null if a matching portlet preference value could not be found
    • fetchByP_I_N

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_I_N(long portletPreferencesId, int index, String name, boolean useFinderCache)
      Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      index - the index
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching portlet preference value, or null if a matching portlet preference value could not be found
    • removeByP_I_N

      public com.liferay.portal.kernel.model.PortletPreferenceValue removeByP_I_N(long portletPreferencesId, int index, String name) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Removes the portlet preference value where portletPreferencesId = ? and index = ? and name = ? from the database.
      Specified by:
      removeByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      index - the index
      name - the name
      Returns:
      the portlet preference value that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
    • countByP_I_N

      public int countByP_I_N(long portletPreferencesId, int index, String name)
      Returns the number of portlet preference values where portletPreferencesId = ? and index = ? and name = ?.
      Specified by:
      countByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      index - the index
      name - the name
      Returns:
      the number of matching portlet preference values
    • findByP_N_SV

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N_SV(long portletPreferencesId, String name, String smallValue)
      Returns all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
      Specified by:
      findByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      Returns:
      the matching portlet preference values
    • findByP_N_SV

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N_SV(long portletPreferencesId, String name, String smallValue, int start, int end)
      Returns a range of all the portlet preference values where portletPreferencesId = ? and name = ? 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 PortletPreferenceValueModelImpl.

      Specified by:
      findByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      Returns:
      the range of matching portlet preference values
    • findByP_N_SV

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N_SV(long portletPreferencesId, String name, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ? 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 PortletPreferenceValueModelImpl.

      Specified by:
      findByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preference values
    • findByP_N_SV

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N_SV(long portletPreferencesId, String name, String smallValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ? 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 PortletPreferenceValueModelImpl.

      Specified by:
      findByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet 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 portlet preference values
    • findByP_N_SV_First

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByP_N_SV_First(long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      Specified by:
      findByP_N_SV_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_N_SV_First

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_N_SV_First(long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      Specified by:
      fetchByP_N_SV_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preference value, or null if a matching portlet preference value could not be found
    • findByP_N_SV_Last

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByP_N_SV_Last(long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      Specified by:
      findByP_N_SV_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_N_SV_Last

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_N_SV_Last(long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      Specified by:
      fetchByP_N_SV_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preference value, or null if a matching portlet preference value could not be found
    • findByP_N_SV_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferenceValue[] findByP_N_SV_PrevAndNext(long portletPreferenceValueId, long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      Specified by:
      findByP_N_SV_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferenceValueId - the primary key of the current portlet preference value
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • getByP_N_SV_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferenceValue getByP_N_SV_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long portletPreferencesId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean previous)
    • removeByP_N_SV

      public void removeByP_N_SV(long portletPreferencesId, String name, String smallValue)
      Removes all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ? from the database.
      Specified by:
      removeByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
    • countByP_N_SV

      public int countByP_N_SV(long portletPreferencesId, String name, String smallValue)
      Returns the number of portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
      Specified by:
      countByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      Returns:
      the number of matching portlet preference values
    • cacheResult

      public void cacheResult(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
      Caches the portlet preference value in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Parameters:
      portletPreferenceValue - the portlet preference value
    • cacheResult

      public void cacheResult(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues)
      Caches the portlet preference values in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferenceValues - the portlet preference values
    • clearCache

      public void clearCache()
      Clears the cache for all portlet 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.PortletPreferenceValue>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • clearCache

      public void clearCache(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
      Clears the cache for the portlet 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.PortletPreferenceValue>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • clearCache

      public void clearCache(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(PortletPreferenceValueModelImpl portletPreferenceValueModelImpl)
    • create

      public com.liferay.portal.kernel.model.PortletPreferenceValue create(long portletPreferenceValueId)
      Creates a new portlet preference value with the primary key. Does not add the portlet preference value to the database.
      Specified by:
      create in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferenceValueId - the primary key for the new portlet preference value
      Returns:
      the new portlet preference value
    • remove

      public com.liferay.portal.kernel.model.PortletPreferenceValue remove(long portletPreferenceValueId) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Removes the portlet 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.PortletPreferenceValuePersistence
      Parameters:
      portletPreferenceValueId - the primary key of the portlet preference value
      Returns:
      the portlet preference value that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • remove

      public com.liferay.portal.kernel.model.PortletPreferenceValue remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Removes the portlet 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.PortletPreferenceValue>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Parameters:
      primaryKey - the primary key of the portlet preference value
      Returns:
      the portlet preference value that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • removeImpl

      protected com.liferay.portal.kernel.model.PortletPreferenceValue removeImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • updateImpl

      public com.liferay.portal.kernel.model.PortletPreferenceValue updateImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
      Specified by:
      updateImpl in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the portlet 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.PortletPreferenceValue>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Parameters:
      primaryKey - the primary key of the portlet preference value
      Returns:
      the portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.PortletPreferenceValue findByPrimaryKey(long portletPreferenceValueId) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
      Returns the portlet preference value with the primary key or throws a NoSuchPortletPreferenceValueException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      portletPreferenceValueId - the primary key of the portlet preference value
      Returns:
      the portlet preference value
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPrimaryKey(Serializable primaryKey)
      Returns the portlet 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.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Overrides:
      fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Parameters:
      primaryKey - the primary key of the portlet preference value
      Returns:
      the portlet preference value, or null if a portlet preference value with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPrimaryKey(long portletPreferenceValueId)
      Returns the portlet 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.PortletPreferenceValuePersistence
      Parameters:
      portletPreferenceValueId - the primary key of the portlet preference value
      Returns:
      the portlet preference value, or null if a portlet preference value with the primary key could not be found
    • fetchByPrimaryKeys

      public Map<Serializable,com.liferay.portal.kernel.model.PortletPreferenceValue> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      Specified by:
      fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • findAll

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

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findAll(int start, int end)
      Returns a range of all the portlet 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 PortletPreferenceValueModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      Returns:
      the range of portlet preference values
    • findAll

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
      Returns an ordered range of all the portlet 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 PortletPreferenceValueModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
      Parameters:
      start - the lower bound of the range of portlet preference values
      end - the upper bound of the range of portlet preference values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of portlet preference values
    • findAll

      public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet 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 PortletPreferenceValueModelImpl.

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

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

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

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • 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.PortletPreferenceValue>
    • getPKDBName

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

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

      public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
      Specified by:
      getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Initializes the portlet 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.PortletPreferenceValue>