Interface ObjectValidationRulePersistence

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

@ProviderType public interface ObjectValidationRulePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectValidationRule>
The persistence interface for the object validation rule service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

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

      List<ObjectValidationRule> findByUuid(String uuid, int start, int end)
      Returns a range of all the object validation rules 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 ObjectValidationRuleModelImpl.

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

      List<ObjectValidationRule> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns an ordered range of all the object validation rules 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 ObjectValidationRuleModelImpl.

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

      List<ObjectValidationRule> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object validation rules 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 ObjectValidationRuleModelImpl.

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

      ObjectValidationRule findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the first object validation rule 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 validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByUuid_First

      ObjectValidationRule fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the first object validation rule 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 validation rule, or null if a matching object validation rule could not be found
    • findByUuid_Last

      ObjectValidationRule findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the last object validation rule 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 validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByUuid_Last

      ObjectValidationRule fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the last object validation rule 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 validation rule, or null if a matching object validation rule could not be found
    • findByUuid_PrevAndNext

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

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

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

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

      List<ObjectValidationRule> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object validation rules 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 ObjectValidationRuleModelImpl.

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

      List<ObjectValidationRule> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns an ordered range of all the object validation rules 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 ObjectValidationRuleModelImpl.

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

      List<ObjectValidationRule> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object validation rules 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 ObjectValidationRuleModelImpl.

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

      ObjectValidationRule findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the first object validation rule 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 validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByUuid_C_First

      ObjectValidationRule fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the first object validation rule 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 validation rule, or null if a matching object validation rule could not be found
    • findByUuid_C_Last

      ObjectValidationRule findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the last object validation rule 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 validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByUuid_C_Last

      ObjectValidationRule fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the last object validation rule 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 validation rule, or null if a matching object validation rule could not be found
    • findByUuid_C_PrevAndNext

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

      void removeByUuid_C(String uuid, long companyId)
      Removes all the object validation rules 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 validation rules where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object validation rules
    • findByObjectDefinitionId

      List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId)
      Returns all the object validation rules where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the matching object validation rules
    • findByObjectDefinitionId

      List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
      Returns a range of all the object validation rules where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      Returns:
      the range of matching object validation rules
    • findByObjectDefinitionId

      List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns an ordered range of all the object validation rules where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object validation rules
    • findByObjectDefinitionId

      List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object validation rules where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (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 validation rules
    • findByObjectDefinitionId_First

      ObjectValidationRule findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the first object validation rule in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByObjectDefinitionId_First

      ObjectValidationRule fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the first object validation rule in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule, or null if a matching object validation rule could not be found
    • findByObjectDefinitionId_Last

      ObjectValidationRule findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the last object validation rule in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByObjectDefinitionId_Last

      ObjectValidationRule fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the last object validation rule in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule, or null if a matching object validation rule could not be found
    • findByObjectDefinitionId_PrevAndNext

      ObjectValidationRule[] findByObjectDefinitionId_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectValidationRuleId - the primary key of the current object validation rule
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a object validation rule with the primary key could not be found
    • removeByObjectDefinitionId

      void removeByObjectDefinitionId(long objectDefinitionId)
      Removes all the object validation rules where objectDefinitionId = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
    • countByObjectDefinitionId

      int countByObjectDefinitionId(long objectDefinitionId)
      Returns the number of object validation rules where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object validation rules
    • findByODI_A

      List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active)
      Returns all the object validation rules where objectDefinitionId = ? and active = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      Returns:
      the matching object validation rules
    • findByODI_A

      List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active, int start, int end)
      Returns a range of all the object validation rules where objectDefinitionId = ? and active = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      Returns:
      the range of matching object validation rules
    • findByODI_A

      List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns an ordered range of all the object validation rules where objectDefinitionId = ? and active = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object validation rules
    • findByODI_A

      List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object validation rules where objectDefinitionId = ? and active = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (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 validation rules
    • findByODI_A_First

      ObjectValidationRule findByODI_A_First(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the first object validation rule in the ordered set where objectDefinitionId = ? and active = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByODI_A_First

      ObjectValidationRule fetchByODI_A_First(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the first object validation rule in the ordered set where objectDefinitionId = ? and active = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule, or null if a matching object validation rule could not be found
    • findByODI_A_Last

      ObjectValidationRule findByODI_A_Last(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the last object validation rule in the ordered set where objectDefinitionId = ? and active = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByODI_A_Last

      ObjectValidationRule fetchByODI_A_Last(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the last object validation rule in the ordered set where objectDefinitionId = ? and active = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule, or null if a matching object validation rule could not be found
    • findByODI_A_PrevAndNext

      ObjectValidationRule[] findByODI_A_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and active = ?.
      Parameters:
      objectValidationRuleId - the primary key of the current object validation rule
      objectDefinitionId - the object definition ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a object validation rule with the primary key could not be found
    • removeByODI_A

      void removeByODI_A(long objectDefinitionId, boolean active)
      Removes all the object validation rules where objectDefinitionId = ? and active = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
    • countByODI_A

      int countByODI_A(long objectDefinitionId, boolean active)
      Returns the number of object validation rules where objectDefinitionId = ? and active = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      Returns:
      the number of matching object validation rules
    • findByODI_E

      List<ObjectValidationRule> findByODI_E(long objectDefinitionId, String engine)
      Returns all the object validation rules where objectDefinitionId = ? and engine = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
      Returns:
      the matching object validation rules
    • findByODI_E

      List<ObjectValidationRule> findByODI_E(long objectDefinitionId, String engine, int start, int end)
      Returns a range of all the object validation rules where objectDefinitionId = ? and engine = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      Returns:
      the range of matching object validation rules
    • findByODI_E

      List<ObjectValidationRule> findByODI_E(long objectDefinitionId, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns an ordered range of all the object validation rules where objectDefinitionId = ? and engine = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object validation rules
    • findByODI_E

      List<ObjectValidationRule> findByODI_E(long objectDefinitionId, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object validation rules where objectDefinitionId = ? and engine = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (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 validation rules
    • findByODI_E_First

      ObjectValidationRule findByODI_E_First(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the first object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByODI_E_First

      ObjectValidationRule fetchByODI_E_First(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the first object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule, or null if a matching object validation rule could not be found
    • findByODI_E_Last

      ObjectValidationRule findByODI_E_Last(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the last object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByODI_E_Last

      ObjectValidationRule fetchByODI_E_Last(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the last object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule, or null if a matching object validation rule could not be found
    • findByODI_E_PrevAndNext

      ObjectValidationRule[] findByODI_E_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.
      Parameters:
      objectValidationRuleId - the primary key of the current object validation rule
      objectDefinitionId - the object definition ID
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a object validation rule with the primary key could not be found
    • removeByODI_E

      void removeByODI_E(long objectDefinitionId, String engine)
      Removes all the object validation rules where objectDefinitionId = ? and engine = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
    • countByODI_E

      int countByODI_E(long objectDefinitionId, String engine)
      Returns the number of object validation rules where objectDefinitionId = ? and engine = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      engine - the engine
      Returns:
      the number of matching object validation rules
    • findByODI_O

      List<ObjectValidationRule> findByODI_O(long objectDefinitionId, String outputType)
      Returns all the object validation rules where objectDefinitionId = ? and outputType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
      Returns:
      the matching object validation rules
    • findByODI_O

      List<ObjectValidationRule> findByODI_O(long objectDefinitionId, String outputType, int start, int end)
      Returns a range of all the object validation rules where objectDefinitionId = ? and outputType = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      Returns:
      the range of matching object validation rules
    • findByODI_O

      List<ObjectValidationRule> findByODI_O(long objectDefinitionId, String outputType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns an ordered range of all the object validation rules where objectDefinitionId = ? and outputType = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object validation rules
    • findByODI_O

      List<ObjectValidationRule> findByODI_O(long objectDefinitionId, String outputType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object validation rules where objectDefinitionId = ? and outputType = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (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 validation rules
    • findByODI_O_First

      ObjectValidationRule findByODI_O_First(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the first object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByODI_O_First

      ObjectValidationRule fetchByODI_O_First(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the first object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule, or null if a matching object validation rule could not be found
    • findByODI_O_Last

      ObjectValidationRule findByODI_O_Last(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the last object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByODI_O_Last

      ObjectValidationRule fetchByODI_O_Last(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the last object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule, or null if a matching object validation rule could not be found
    • findByODI_O_PrevAndNext

      ObjectValidationRule[] findByODI_O_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.
      Parameters:
      objectValidationRuleId - the primary key of the current object validation rule
      objectDefinitionId - the object definition ID
      outputType - the output type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a object validation rule with the primary key could not be found
    • removeByODI_O

      void removeByODI_O(long objectDefinitionId, String outputType)
      Removes all the object validation rules where objectDefinitionId = ? and outputType = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
    • countByODI_O

      int countByODI_O(long objectDefinitionId, String outputType)
      Returns the number of object validation rules where objectDefinitionId = ? and outputType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      outputType - the output type
      Returns:
      the number of matching object validation rules
    • findByA_E

      List<ObjectValidationRule> findByA_E(boolean active, String engine)
      Returns all the object validation rules where active = ? and engine = ?.
      Parameters:
      active - the active
      engine - the engine
      Returns:
      the matching object validation rules
    • findByA_E

      List<ObjectValidationRule> findByA_E(boolean active, String engine, int start, int end)
      Returns a range of all the object validation rules where active = ? and engine = ?.

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

      Parameters:
      active - the active
      engine - the engine
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      Returns:
      the range of matching object validation rules
    • findByA_E

      List<ObjectValidationRule> findByA_E(boolean active, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns an ordered range of all the object validation rules where active = ? and engine = ?.

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

      Parameters:
      active - the active
      engine - the engine
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object validation rules
    • findByA_E

      List<ObjectValidationRule> findByA_E(boolean active, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object validation rules where active = ? and engine = ?.

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

      Parameters:
      active - the active
      engine - the engine
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (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 validation rules
    • findByA_E_First

      ObjectValidationRule findByA_E_First(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the first object validation rule in the ordered set where active = ? and engine = ?.
      Parameters:
      active - the active
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByA_E_First

      ObjectValidationRule fetchByA_E_First(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the first object validation rule in the ordered set where active = ? and engine = ?.
      Parameters:
      active - the active
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object validation rule, or null if a matching object validation rule could not be found
    • findByA_E_Last

      ObjectValidationRule findByA_E_Last(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the last object validation rule in the ordered set where active = ? and engine = ?.
      Parameters:
      active - the active
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByA_E_Last

      ObjectValidationRule fetchByA_E_Last(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
      Returns the last object validation rule in the ordered set where active = ? and engine = ?.
      Parameters:
      active - the active
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object validation rule, or null if a matching object validation rule could not be found
    • findByA_E_PrevAndNext

      ObjectValidationRule[] findByA_E_PrevAndNext(long objectValidationRuleId, boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
      Returns the object validation rules before and after the current object validation rule in the ordered set where active = ? and engine = ?.
      Parameters:
      objectValidationRuleId - the primary key of the current object validation rule
      active - the active
      engine - the engine
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a object validation rule with the primary key could not be found
    • removeByA_E

      void removeByA_E(boolean active, String engine)
      Removes all the object validation rules where active = ? and engine = ? from the database.
      Parameters:
      active - the active
      engine - the engine
    • countByA_E

      int countByA_E(boolean active, String engine)
      Returns the number of object validation rules where active = ? and engine = ?.
      Parameters:
      active - the active
      engine - the engine
      Returns:
      the number of matching object validation rules
    • findByERC_C_ODI

      ObjectValidationRule findByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectValidationRuleException
      Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws a NoSuchObjectValidationRuleException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the matching object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a matching object validation rule could not be found
    • fetchByERC_C_ODI

      ObjectValidationRule fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId)
      Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the matching object validation rule, or null if a matching object validation rule could not be found
    • fetchByERC_C_ODI

      ObjectValidationRule fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache)
      Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object validation rule, or null if a matching object validation rule could not be found
    • removeByERC_C_ODI

      ObjectValidationRule removeByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectValidationRuleException
      Removes the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the object validation rule that was removed
      Throws:
      NoSuchObjectValidationRuleException
    • countByERC_C_ODI

      int countByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId)
      Returns the number of object validation rules where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object validation rules
    • cacheResult

      void cacheResult(ObjectValidationRule objectValidationRule)
      Caches the object validation rule in the entity cache if it is enabled.
      Parameters:
      objectValidationRule - the object validation rule
    • cacheResult

      void cacheResult(List<ObjectValidationRule> objectValidationRules)
      Caches the object validation rules in the entity cache if it is enabled.
      Parameters:
      objectValidationRules - the object validation rules
    • create

      ObjectValidationRule create(long objectValidationRuleId)
      Creates a new object validation rule with the primary key. Does not add the object validation rule to the database.
      Parameters:
      objectValidationRuleId - the primary key for the new object validation rule
      Returns:
      the new object validation rule
    • remove

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

      ObjectValidationRule updateImpl(ObjectValidationRule objectValidationRule)
    • findByPrimaryKey

      ObjectValidationRule findByPrimaryKey(long objectValidationRuleId) throws NoSuchObjectValidationRuleException
      Returns the object validation rule with the primary key or throws a NoSuchObjectValidationRuleException if it could not be found.
      Parameters:
      objectValidationRuleId - the primary key of the object validation rule
      Returns:
      the object validation rule
      Throws:
      NoSuchObjectValidationRuleException - if a object validation rule with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the object validation rules.
      Returns:
      the object validation rules
    • findAll

      List<ObjectValidationRule> findAll(int start, int end)
      Returns a range of all the object validation rules.

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

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

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

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

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

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

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

      Parameters:
      start - the lower bound of the range of object validation rules
      end - the upper bound of the range of object validation rules (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 validation rules
    • removeAll

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

      int countAll()
      Returns the number of object validation rules.
      Returns:
      the number of object validation rules