Interface PortletPreferenceValuePersistence

All Superinterfaces:
BasePersistence<PortletPreferenceValue>, CTPersistence<PortletPreferenceValue>

@ProviderType public interface PortletPreferenceValuePersistence extends BasePersistence<PortletPreferenceValue>, CTPersistence<PortletPreferenceValue>
The persistence interface for the portlet preference value service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • findByPortletPreferencesId

      List<PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId)
      Returns all the portlet preference values where portletPreferencesId = ?.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      Returns:
      the matching portlet preference values
    • findByPortletPreferencesId

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

      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

      List<PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId, int start, int end, OrderByComparator<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.

      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

      List<PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId, int start, int end, OrderByComparator<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.

      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

      PortletPreferenceValue findByPortletPreferencesId_First(long portletPreferencesId, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ?.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preference value
      Throws:
      NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByPortletPreferencesId_First

      PortletPreferenceValue fetchByPortletPreferencesId_First(long portletPreferencesId, OrderByComparator<PortletPreferenceValue> orderByComparator)
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ?.
      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

      PortletPreferenceValue findByPortletPreferencesId_Last(long portletPreferencesId, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ?.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preference value
      Throws:
      NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByPortletPreferencesId_Last

      PortletPreferenceValue fetchByPortletPreferencesId_Last(long portletPreferencesId, OrderByComparator<PortletPreferenceValue> orderByComparator)
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ?.
      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

      PortletPreferenceValue[] findByPortletPreferencesId_PrevAndNext(long portletPreferenceValueId, long portletPreferencesId, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ?.
      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:
      NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • removeByPortletPreferencesId

      void removeByPortletPreferencesId(long portletPreferencesId)
      Removes all the portlet preference values where portletPreferencesId = ? from the database.
      Parameters:
      portletPreferencesId - the portlet preferences ID
    • countByPortletPreferencesId

      int countByPortletPreferencesId(long portletPreferencesId)
      Returns the number of portlet preference values where portletPreferencesId = ?.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      Returns:
      the number of matching portlet preference values
    • findByP_N

      List<PortletPreferenceValue> findByP_N(long portletPreferencesId, String name)
      Returns all the portlet preference values where portletPreferencesId = ? and name = ?.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      Returns:
      the matching portlet preference values
    • findByP_N

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

      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

      List<PortletPreferenceValue> findByP_N(long portletPreferencesId, String name, int start, int end, OrderByComparator<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.

      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

      List<PortletPreferenceValue> findByP_N(long portletPreferencesId, String name, int start, int end, OrderByComparator<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.

      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

      PortletPreferenceValue findByP_N_First(long portletPreferencesId, String name, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      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:
      NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_N_First

      PortletPreferenceValue fetchByP_N_First(long portletPreferencesId, String name, OrderByComparator<PortletPreferenceValue> orderByComparator)
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      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

      PortletPreferenceValue findByP_N_Last(long portletPreferencesId, String name, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      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:
      NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_N_Last

      PortletPreferenceValue fetchByP_N_Last(long portletPreferencesId, String name, OrderByComparator<PortletPreferenceValue> orderByComparator)
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      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

      PortletPreferenceValue[] findByP_N_PrevAndNext(long portletPreferenceValueId, long portletPreferencesId, String name, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
      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:
      NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • removeByP_N

      void removeByP_N(long portletPreferencesId, String name)
      Removes all the portlet preference values where portletPreferencesId = ? and name = ? from the database.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
    • countByP_N

      int countByP_N(long portletPreferencesId, String name)
      Returns the number of portlet preference values where portletPreferencesId = ? and name = ?.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      Returns:
      the number of matching portlet preference values
    • findByC_N_SV

      List<PortletPreferenceValue> findByC_N_SV(long companyId, String name, String smallValue)
      Returns all the portlet preference values where companyId = ? and name = ? and smallValue = ?.
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      Returns:
      the matching portlet preference values
    • findByC_N_SV

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

      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

      List<PortletPreferenceValue> findByC_N_SV(long companyId, String name, String smallValue, int start, int end, OrderByComparator<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.

      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

      List<PortletPreferenceValue> findByC_N_SV(long companyId, String name, String smallValue, int start, int end, OrderByComparator<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.

      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

      PortletPreferenceValue findByC_N_SV_First(long companyId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the first portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      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:
      NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByC_N_SV_First

      PortletPreferenceValue fetchByC_N_SV_First(long companyId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator)
      Returns the first portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      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

      PortletPreferenceValue findByC_N_SV_Last(long companyId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the last portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      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:
      NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByC_N_SV_Last

      PortletPreferenceValue fetchByC_N_SV_Last(long companyId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator)
      Returns the last portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      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

      PortletPreferenceValue[] findByC_N_SV_PrevAndNext(long portletPreferenceValueId, long companyId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the portlet preference values before and after the current portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.
      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:
      NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • removeByC_N_SV

      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.
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
    • countByC_N_SV

      int countByC_N_SV(long companyId, String name, String smallValue)
      Returns the number of portlet preference values where companyId = ? and name = ? and smallValue = ?.
      Parameters:
      companyId - the company ID
      name - the name
      smallValue - the small value
      Returns:
      the number of matching portlet preference values
    • findByP_I_N

      PortletPreferenceValue findByP_I_N(long portletPreferencesId, int index, String name) throws NoSuchPortletPreferenceValueException
      Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or throws a NoSuchPortletPreferenceValueException if it could not be found.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      index - the index
      name - the name
      Returns:
      the matching portlet preference value
      Throws:
      NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_I_N

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

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

      PortletPreferenceValue removeByP_I_N(long portletPreferencesId, int index, String name) throws NoSuchPortletPreferenceValueException
      Removes the portlet preference value where portletPreferencesId = ? and index = ? and name = ? from the database.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      index - the index
      name - the name
      Returns:
      the portlet preference value that was removed
      Throws:
      NoSuchPortletPreferenceValueException
    • countByP_I_N

      int countByP_I_N(long portletPreferencesId, int index, String name)
      Returns the number of portlet preference values where portletPreferencesId = ? and index = ? and name = ?.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      index - the index
      name - the name
      Returns:
      the number of matching portlet preference values
    • findByP_N_SV

      List<PortletPreferenceValue> findByP_N_SV(long portletPreferencesId, String name, String smallValue)
      Returns all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      Returns:
      the matching portlet preference values
    • findByP_N_SV

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

      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

      List<PortletPreferenceValue> findByP_N_SV(long portletPreferencesId, String name, String smallValue, int start, int end, OrderByComparator<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.

      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

      List<PortletPreferenceValue> findByP_N_SV(long portletPreferencesId, String name, String smallValue, int start, int end, OrderByComparator<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.

      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

      PortletPreferenceValue findByP_N_SV_First(long portletPreferencesId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      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:
      NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_N_SV_First

      PortletPreferenceValue fetchByP_N_SV_First(long portletPreferencesId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator)
      Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      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

      PortletPreferenceValue findByP_N_SV_Last(long portletPreferencesId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      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:
      NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be found
    • fetchByP_N_SV_Last

      PortletPreferenceValue fetchByP_N_SV_Last(long portletPreferencesId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator)
      Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      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

      PortletPreferenceValue[] findByP_N_SV_PrevAndNext(long portletPreferenceValueId, long portletPreferencesId, String name, String smallValue, OrderByComparator<PortletPreferenceValue> orderByComparator) throws NoSuchPortletPreferenceValueException
      Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
      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:
      NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • removeByP_N_SV

      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.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
    • countByP_N_SV

      int countByP_N_SV(long portletPreferencesId, String name, String smallValue)
      Returns the number of portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
      Parameters:
      portletPreferencesId - the portlet preferences ID
      name - the name
      smallValue - the small value
      Returns:
      the number of matching portlet preference values
    • cacheResult

      void cacheResult(PortletPreferenceValue portletPreferenceValue)
      Caches the portlet preference value in the entity cache if it is enabled.
      Parameters:
      portletPreferenceValue - the portlet preference value
    • cacheResult

      void cacheResult(List<PortletPreferenceValue> portletPreferenceValues)
      Caches the portlet preference values in the entity cache if it is enabled.
      Parameters:
      portletPreferenceValues - the portlet preference values
    • create

      PortletPreferenceValue create(long portletPreferenceValueId)
      Creates a new portlet preference value with the primary key. Does not add the portlet preference value to the database.
      Parameters:
      portletPreferenceValueId - the primary key for the new portlet preference value
      Returns:
      the new portlet preference value
    • remove

      PortletPreferenceValue remove(long portletPreferenceValueId) throws NoSuchPortletPreferenceValueException
      Removes the portlet preference value with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      portletPreferenceValueId - the primary key of the portlet preference value
      Returns:
      the portlet preference value that was removed
      Throws:
      NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • updateImpl

      PortletPreferenceValue updateImpl(PortletPreferenceValue portletPreferenceValue)
    • findByPrimaryKey

      PortletPreferenceValue findByPrimaryKey(long portletPreferenceValueId) throws NoSuchPortletPreferenceValueException
      Returns the portlet preference value with the primary key or throws a NoSuchPortletPreferenceValueException if it could not be found.
      Parameters:
      portletPreferenceValueId - the primary key of the portlet preference value
      Returns:
      the portlet preference value
      Throws:
      NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be found
    • fetchByPrimaryKey

      PortletPreferenceValue fetchByPrimaryKey(long portletPreferenceValueId)
      Returns the portlet preference value with the primary key or returns null if it could not be found.
      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
    • findAll

      Returns all the portlet preference values.
      Returns:
      the portlet preference values
    • findAll

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

      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

      List<PortletPreferenceValue> findAll(int start, int end, OrderByComparator<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.

      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

      List<PortletPreferenceValue> findAll(int start, int end, OrderByComparator<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.

      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

      void removeAll()
      Removes all the portlet preference values from the database.
    • countAll

      int countAll()
      Returns the number of portlet preference values.
      Returns:
      the number of portlet preference values