Interface ObjectFilterPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFilter>

@ProviderType public interface ObjectFilterPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFilter>
The persistence interface for the object filter service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(ObjectFilter objectFilter)
    Caches the object filter in the entity cache if it is enabled.
    void
    cacheResult(List<ObjectFilter> objectFilters)
    Caches the object filters in the entity cache if it is enabled.
    int
    Returns the number of object filters.
    int
    countByObjectFieldId(long objectFieldId)
    Returns the number of object filters where objectFieldId = ?.
    int
    Returns the number of object filters where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object filters where uuid = ? and companyId = ?.
    create(long objectFilterId)
    Creates a new object filter with the primary key.
    fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the first object filter in the ordered set where objectFieldId = ?.
    fetchByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the last object filter in the ordered set where objectFieldId = ?.
    fetchByPrimaryKey(long objectFilterId)
    Returns the object filter with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the first object filter in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the last object filter in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the first object filter in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the last object filter in the ordered set where uuid = ?.
    Returns all the object filters.
    findAll(int start, int end)
    Returns a range of all the object filters.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns an ordered range of all the object filters.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object filters.
    findByObjectFieldId(long objectFieldId)
    Returns all the object filters where objectFieldId = ?.
    findByObjectFieldId(long objectFieldId, int start, int end)
    Returns a range of all the object filters where objectFieldId = ?.
    findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns an ordered range of all the object filters where objectFieldId = ?.
    findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object filters where objectFieldId = ?.
    findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the first object filter in the ordered set where objectFieldId = ?.
    findByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the last object filter in the ordered set where objectFieldId = ?.
    findByObjectFieldId_PrevAndNext(long objectFilterId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the object filters before and after the current object filter in the ordered set where objectFieldId = ?.
    findByPrimaryKey(long objectFilterId)
    Returns the object filter with the primary key or throws a NoSuchObjectFilterException if it could not be found.
    Returns all the object filters where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object filters where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns an ordered range of all the object filters where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object filters where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object filters where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object filters where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns an ordered range of all the object filters where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object filters where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the first object filter in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the last object filter in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long objectFilterId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the object filters before and after the current object filter in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the first object filter in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the last object filter in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long objectFilterId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
    Returns the object filters before and after the current object filter in the ordered set where uuid = ?.
    remove(long objectFilterId)
    Removes the object filter with the primary key from the database.
    void
    Removes all the object filters from the database.
    void
    removeByObjectFieldId(long objectFieldId)
    Removes all the object filters where objectFieldId = ? from the database.
    void
    Removes all the object filters where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object filters where uuid = ? and companyId = ? from the database.
    updateImpl(ObjectFilter objectFilter)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

      List<ObjectFilter> findByUuid(String uuid)
      Returns all the object filters where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object filters
    • findByUuid

      List<ObjectFilter> findByUuid(String uuid, int start, int end)
      Returns a range of all the object filters where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      Returns:
      the range of matching object filters
    • findByUuid

      List<ObjectFilter> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns an ordered range of all the object filters where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object filters
    • findByUuid

      List<ObjectFilter> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object filters where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (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 object filters
    • findByUuid_First

      ObjectFilter findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException
      Returns the first object filter in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object filter
      Throws:
      NoSuchObjectFilterException - if a matching object filter could not be found
    • fetchByUuid_First

      ObjectFilter fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns the first object filter in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object filter, or null if a matching object filter could not be found
    • findByUuid_Last

      ObjectFilter findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException
      Returns the last object filter in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object filter
      Throws:
      NoSuchObjectFilterException - if a matching object filter could not be found
    • fetchByUuid_Last

      ObjectFilter fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns the last object filter in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object filter, or null if a matching object filter could not be found
    • findByUuid_PrevAndNext

      ObjectFilter[] findByUuid_PrevAndNext(long objectFilterId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException
      Returns the object filters before and after the current object filter in the ordered set where uuid = ?.
      Parameters:
      objectFilterId - the primary key of the current object filter
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object filter
      Throws:
      NoSuchObjectFilterException - if a object filter with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the object filters where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of object filters where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching object filters
    • findByUuid_C

      List<ObjectFilter> findByUuid_C(String uuid, long companyId)
      Returns all the object filters where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching object filters
    • findByUuid_C

      List<ObjectFilter> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object filters where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      Returns:
      the range of matching object filters
    • findByUuid_C

      List<ObjectFilter> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns an ordered range of all the object filters where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object filters
    • findByUuid_C

      List<ObjectFilter> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object filters where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (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 object filters
    • findByUuid_C_First

      ObjectFilter findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException
      Returns the first object filter in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object filter
      Throws:
      NoSuchObjectFilterException - if a matching object filter could not be found
    • fetchByUuid_C_First

      ObjectFilter fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns the first object filter in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object filter, or null if a matching object filter could not be found
    • findByUuid_C_Last

      ObjectFilter findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException
      Returns the last object filter in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object filter
      Throws:
      NoSuchObjectFilterException - if a matching object filter could not be found
    • fetchByUuid_C_Last

      ObjectFilter fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns the last object filter in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object filter, or null if a matching object filter could not be found
    • findByUuid_C_PrevAndNext

      ObjectFilter[] findByUuid_C_PrevAndNext(long objectFilterId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException
      Returns the object filters before and after the current object filter in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      objectFilterId - the primary key of the current object filter
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object filter
      Throws:
      NoSuchObjectFilterException - if a object filter with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the object filters where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of object filters where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object filters
    • findByObjectFieldId

      List<ObjectFilter> findByObjectFieldId(long objectFieldId)
      Returns all the object filters where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      Returns:
      the matching object filters
    • findByObjectFieldId

      List<ObjectFilter> findByObjectFieldId(long objectFieldId, int start, int end)
      Returns a range of all the object filters where objectFieldId = ?.

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

      Parameters:
      objectFieldId - the object field ID
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      Returns:
      the range of matching object filters
    • findByObjectFieldId

      List<ObjectFilter> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns an ordered range of all the object filters where objectFieldId = ?.

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

      Parameters:
      objectFieldId - the object field ID
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object filters
    • findByObjectFieldId

      List<ObjectFilter> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object filters where objectFieldId = ?.

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

      Parameters:
      objectFieldId - the object field ID
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (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 object filters
    • findByObjectFieldId_First

      ObjectFilter findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException
      Returns the first object filter in the ordered set where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object filter
      Throws:
      NoSuchObjectFilterException - if a matching object filter could not be found
    • fetchByObjectFieldId_First

      ObjectFilter fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns the first object filter in the ordered set where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object filter, or null if a matching object filter could not be found
    • findByObjectFieldId_Last

      ObjectFilter findByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException
      Returns the last object filter in the ordered set where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object filter
      Throws:
      NoSuchObjectFilterException - if a matching object filter could not be found
    • fetchByObjectFieldId_Last

      ObjectFilter fetchByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns the last object filter in the ordered set where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object filter, or null if a matching object filter could not be found
    • findByObjectFieldId_PrevAndNext

      ObjectFilter[] findByObjectFieldId_PrevAndNext(long objectFilterId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException
      Returns the object filters before and after the current object filter in the ordered set where objectFieldId = ?.
      Parameters:
      objectFilterId - the primary key of the current object filter
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object filter
      Throws:
      NoSuchObjectFilterException - if a object filter with the primary key could not be found
    • removeByObjectFieldId

      void removeByObjectFieldId(long objectFieldId)
      Removes all the object filters where objectFieldId = ? from the database.
      Parameters:
      objectFieldId - the object field ID
    • countByObjectFieldId

      int countByObjectFieldId(long objectFieldId)
      Returns the number of object filters where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      Returns:
      the number of matching object filters
    • cacheResult

      void cacheResult(ObjectFilter objectFilter)
      Caches the object filter in the entity cache if it is enabled.
      Parameters:
      objectFilter - the object filter
    • cacheResult

      void cacheResult(List<ObjectFilter> objectFilters)
      Caches the object filters in the entity cache if it is enabled.
      Parameters:
      objectFilters - the object filters
    • create

      ObjectFilter create(long objectFilterId)
      Creates a new object filter with the primary key. Does not add the object filter to the database.
      Parameters:
      objectFilterId - the primary key for the new object filter
      Returns:
      the new object filter
    • remove

      ObjectFilter remove(long objectFilterId) throws NoSuchObjectFilterException
      Removes the object filter with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      objectFilterId - the primary key of the object filter
      Returns:
      the object filter that was removed
      Throws:
      NoSuchObjectFilterException - if a object filter with the primary key could not be found
    • updateImpl

      ObjectFilter updateImpl(ObjectFilter objectFilter)
    • findByPrimaryKey

      ObjectFilter findByPrimaryKey(long objectFilterId) throws NoSuchObjectFilterException
      Returns the object filter with the primary key or throws a NoSuchObjectFilterException if it could not be found.
      Parameters:
      objectFilterId - the primary key of the object filter
      Returns:
      the object filter
      Throws:
      NoSuchObjectFilterException - if a object filter with the primary key could not be found
    • fetchByPrimaryKey

      ObjectFilter fetchByPrimaryKey(long objectFilterId)
      Returns the object filter with the primary key or returns null if it could not be found.
      Parameters:
      objectFilterId - the primary key of the object filter
      Returns:
      the object filter, or null if a object filter with the primary key could not be found
    • findAll

      List<ObjectFilter> findAll()
      Returns all the object filters.
      Returns:
      the object filters
    • findAll

      List<ObjectFilter> findAll(int start, int end)
      Returns a range of all the object filters.

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

      Parameters:
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      Returns:
      the range of object filters
    • findAll

      List<ObjectFilter> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator)
      Returns an ordered range of all the object filters.

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

      Parameters:
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of object filters
    • findAll

      List<ObjectFilter> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object filters.

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

      Parameters:
      start - the lower bound of the range of object filters
      end - the upper bound of the range of object filters (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of object filters
    • removeAll

      void removeAll()
      Removes all the object filters from the database.
    • countAll

      int countAll()
      Returns the number of object filters.
      Returns:
      the number of object filters