Interface ObjectEntryVersionPersistence

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

@ProviderType public interface ObjectEntryVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectEntryVersion>
The persistence interface for the object entry version service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_CD(long companyId, Date createDate)
    Returns the number of object entry versions where companyId = ? and createDate = ?.
    int
    countByObjectDefinitionId(long objectDefinitionId)
    Returns the number of object entry versions where objectDefinitionId = ?.
    int
    countByObjectEntryId(long objectEntryId)
    Returns the number of object entry versions where objectEntryId = ?.
    int
    countByOEI_S(long objectEntryId, int status)
    Returns the number of object entry versions where objectEntryId = ? and status = ?.
    int
    countByOEI_V(long objectEntryId, int version)
    Returns the number of object entry versions where objectEntryId = ? and version = ?.
    int
    Returns the number of object entry versions where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object entry versions where uuid = ? and companyId = ?.
    create(long objectEntryVersionId)
    Creates a new object entry version with the primary key.
    fetchByC_CD_First(long companyId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where companyId = ? and createDate = ?.
    fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where objectDefinitionId = ?.
    fetchByObjectEntryId_First(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where objectEntryId = ?.
    fetchByOEI_S_First(long objectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where objectEntryId = ? and status = ?.
    fetchByOEI_V(long objectEntryId, int version)
    Returns the object entry version where objectEntryId = ? and version = ? or returns null if it could not be found.
    fetchByOEI_V(long objectEntryId, int version, boolean useFinderCache)
    Returns the object entry version where objectEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long objectEntryVersionId)
    Returns the object entry version 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<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where uuid = ?.
    findByC_CD(long companyId, Date createDate)
    Returns all the object entry versions where companyId = ? and createDate = ?.
    findByC_CD(long companyId, Date createDate, int start, int end)
    Returns a range of all the object entry versions where companyId = ? and createDate = ?.
    findByC_CD(long companyId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns an ordered range of all the object entry versions where companyId = ? and createDate = ?.
    findByC_CD(long companyId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entry versions where companyId = ? and createDate = ?.
    findByC_CD_First(long companyId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where companyId = ? and createDate = ?.
    findByObjectDefinitionId(long objectDefinitionId)
    Returns all the object entry versions where objectDefinitionId = ?.
    findByObjectDefinitionId(long objectDefinitionId, int start, int end)
    Returns a range of all the object entry versions where objectDefinitionId = ?.
    findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns an ordered range of all the object entry versions where objectDefinitionId = ?.
    findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entry versions where objectDefinitionId = ?.
    findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where objectDefinitionId = ?.
    findByObjectEntryId(long objectEntryId)
    Returns all the object entry versions where objectEntryId = ?.
    findByObjectEntryId(long objectEntryId, int start, int end)
    Returns a range of all the object entry versions where objectEntryId = ?.
    findByObjectEntryId(long objectEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns an ordered range of all the object entry versions where objectEntryId = ?.
    findByObjectEntryId(long objectEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entry versions where objectEntryId = ?.
    findByObjectEntryId_First(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where objectEntryId = ?.
    findByOEI_S(long objectEntryId, int status)
    Returns all the object entry versions where objectEntryId = ? and status = ?.
    findByOEI_S(long objectEntryId, int status, int start, int end)
    Returns a range of all the object entry versions where objectEntryId = ? and status = ?.
    findByOEI_S(long objectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns an ordered range of all the object entry versions where objectEntryId = ? and status = ?.
    findByOEI_S(long objectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entry versions where objectEntryId = ? and status = ?.
    findByOEI_S_First(long objectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where objectEntryId = ? and status = ?.
    findByOEI_V(long objectEntryId, int version)
    Returns the object entry version where objectEntryId = ? and version = ? or throws a NoSuchObjectEntryVersionException if it could not be found.
    findByPrimaryKey(long objectEntryVersionId)
    Returns the object entry version with the primary key or throws a NoSuchObjectEntryVersionException if it could not be found.
    Returns all the object entry versions where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object entry versions where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns an ordered range of all the object entry versions where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entry versions where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object entry versions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object entry versions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns an ordered range of all the object entry versions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entry versions where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
    Returns the first object entry version in the ordered set where uuid = ?.
    remove(long objectEntryVersionId)
    Removes the object entry version with the primary key from the database.
    void
    removeByC_CD(long companyId, Date createDate)
    Removes all the object entry versions where companyId = ? and createDate = ? from the database.
    void
    removeByObjectDefinitionId(long objectDefinitionId)
    Removes all the object entry versions where objectDefinitionId = ? from the database.
    void
    removeByObjectEntryId(long objectEntryId)
    Removes all the object entry versions where objectEntryId = ? from the database.
    void
    removeByOEI_S(long objectEntryId, int status)
    Removes all the object entry versions where objectEntryId = ? and status = ? from the database.
    removeByOEI_V(long objectEntryId, int version)
    Removes the object entry version where objectEntryId = ? and version = ? from the database.
    void
    Removes all the object entry versions where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object entry versions where uuid = ? and companyId = ? from the database.
    updateImpl(ObjectEntryVersion objectEntryVersion)
     

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

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

    • findByUuid

      List<ObjectEntryVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entry versions 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

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

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

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

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

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

      List<ObjectEntryVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entry versions 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

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

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

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

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

      List<ObjectEntryVersion> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entry versions 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

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

      ObjectEntryVersion findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException
      Returns the first object entry version 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 entry version
      Throws:
      NoSuchObjectEntryVersionException - if a matching object entry version could not be found
    • fetchByObjectDefinitionId_First

      ObjectEntryVersion fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns the first object entry version 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 entry version, or null if a matching object entry version could not be found
    • removeByObjectDefinitionId

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

      int countByObjectDefinitionId(long objectDefinitionId)
      Returns the number of object entry versions where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object entry versions
    • findByObjectEntryId

      List<ObjectEntryVersion> findByObjectEntryId(long objectEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entry versions where objectEntryId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

      Parameters:
      objectEntryId - the object entry ID
      start - the lower bound of the range of object entry versions
      end - the upper bound of the range of object entry versions (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 entry versions
    • findByObjectEntryId_First

      ObjectEntryVersion findByObjectEntryId_First(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException
      Returns the first object entry version in the ordered set where objectEntryId = ?.
      Parameters:
      objectEntryId - the object entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry version
      Throws:
      NoSuchObjectEntryVersionException - if a matching object entry version could not be found
    • fetchByObjectEntryId_First

      ObjectEntryVersion fetchByObjectEntryId_First(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns the first object entry version in the ordered set where objectEntryId = ?.
      Parameters:
      objectEntryId - the object entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry version, or null if a matching object entry version could not be found
    • removeByObjectEntryId

      void removeByObjectEntryId(long objectEntryId)
      Removes all the object entry versions where objectEntryId = ? from the database.
      Parameters:
      objectEntryId - the object entry ID
    • countByObjectEntryId

      int countByObjectEntryId(long objectEntryId)
      Returns the number of object entry versions where objectEntryId = ?.
      Parameters:
      objectEntryId - the object entry ID
      Returns:
      the number of matching object entry versions
    • findByC_CD

      List<ObjectEntryVersion> findByC_CD(long companyId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entry versions where companyId = ? and createDate = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

      Parameters:
      companyId - the company ID
      createDate - the create date
      start - the lower bound of the range of object entry versions
      end - the upper bound of the range of object entry versions (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 entry versions
    • findByC_CD_First

      ObjectEntryVersion findByC_CD_First(long companyId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException
      Returns the first object entry version in the ordered set where companyId = ? and createDate = ?.
      Parameters:
      companyId - the company ID
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry version
      Throws:
      NoSuchObjectEntryVersionException - if a matching object entry version could not be found
    • fetchByC_CD_First

      ObjectEntryVersion fetchByC_CD_First(long companyId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns the first object entry version in the ordered set where companyId = ? and createDate = ?.
      Parameters:
      companyId - the company ID
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry version, or null if a matching object entry version could not be found
    • removeByC_CD

      void removeByC_CD(long companyId, Date createDate)
      Removes all the object entry versions where companyId = ? and createDate = ? from the database.
      Parameters:
      companyId - the company ID
      createDate - the create date
    • countByC_CD

      int countByC_CD(long companyId, Date createDate)
      Returns the number of object entry versions where companyId = ? and createDate = ?.
      Parameters:
      companyId - the company ID
      createDate - the create date
      Returns:
      the number of matching object entry versions
    • findByOEI_V

      ObjectEntryVersion findByOEI_V(long objectEntryId, int version) throws NoSuchObjectEntryVersionException
      Returns the object entry version where objectEntryId = ? and version = ? or throws a NoSuchObjectEntryVersionException if it could not be found.
      Parameters:
      objectEntryId - the object entry ID
      version - the version
      Returns:
      the matching object entry version
      Throws:
      NoSuchObjectEntryVersionException - if a matching object entry version could not be found
    • fetchByOEI_V

      ObjectEntryVersion fetchByOEI_V(long objectEntryId, int version, boolean useFinderCache)
      Returns the object entry version where objectEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      objectEntryId - the object entry ID
      version - the version
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object entry version, or null if a matching object entry version could not be found
    • removeByOEI_V

      ObjectEntryVersion removeByOEI_V(long objectEntryId, int version) throws NoSuchObjectEntryVersionException
      Removes the object entry version where objectEntryId = ? and version = ? from the database.
      Parameters:
      objectEntryId - the object entry ID
      version - the version
      Returns:
      the object entry version that was removed
      Throws:
      NoSuchObjectEntryVersionException
    • countByOEI_V

      int countByOEI_V(long objectEntryId, int version)
      Returns the number of object entry versions where objectEntryId = ? and version = ?.
      Parameters:
      objectEntryId - the object entry ID
      version - the version
      Returns:
      the number of matching object entry versions
    • findByOEI_S

      List<ObjectEntryVersion> findByOEI_S(long objectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entry versions where objectEntryId = ? and status = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

      Parameters:
      objectEntryId - the object entry ID
      status - the status
      start - the lower bound of the range of object entry versions
      end - the upper bound of the range of object entry versions (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 entry versions
    • findByOEI_S_First

      ObjectEntryVersion findByOEI_S_First(long objectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException
      Returns the first object entry version in the ordered set where objectEntryId = ? and status = ?.
      Parameters:
      objectEntryId - the object entry ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry version
      Throws:
      NoSuchObjectEntryVersionException - if a matching object entry version could not be found
    • fetchByOEI_S_First

      ObjectEntryVersion fetchByOEI_S_First(long objectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns the first object entry version in the ordered set where objectEntryId = ? and status = ?.
      Parameters:
      objectEntryId - the object entry ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry version, or null if a matching object entry version could not be found
    • removeByOEI_S

      void removeByOEI_S(long objectEntryId, int status)
      Removes all the object entry versions where objectEntryId = ? and status = ? from the database.
      Parameters:
      objectEntryId - the object entry ID
      status - the status
    • countByOEI_S

      int countByOEI_S(long objectEntryId, int status)
      Returns the number of object entry versions where objectEntryId = ? and status = ?.
      Parameters:
      objectEntryId - the object entry ID
      status - the status
      Returns:
      the number of matching object entry versions
    • create

      ObjectEntryVersion create(long objectEntryVersionId)
      Creates a new object entry version with the primary key. Does not add the object entry version to the database.
      Parameters:
      objectEntryVersionId - the primary key for the new object entry version
      Returns:
      the new object entry version
    • remove

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

      ObjectEntryVersion updateImpl(ObjectEntryVersion objectEntryVersion)
    • findByPrimaryKey

      ObjectEntryVersion findByPrimaryKey(long objectEntryVersionId) throws NoSuchObjectEntryVersionException
      Returns the object entry version with the primary key or throws a NoSuchObjectEntryVersionException if it could not be found.
      Parameters:
      objectEntryVersionId - the primary key of the object entry version
      Returns:
      the object entry version
      Throws:
      NoSuchObjectEntryVersionException - if a object entry version with the primary key could not be found
    • fetchByPrimaryKey

      ObjectEntryVersion fetchByPrimaryKey(long objectEntryVersionId)
      Returns the object entry version with the primary key or returns null if it could not be found.
      Parameters:
      objectEntryVersionId - the primary key of the object entry version
      Returns:
      the object entry version, or null if a object entry version with the primary key could not be found
    • fetchByOEI_V

      default ObjectEntryVersion fetchByOEI_V(long objectEntryId, int version)
      Returns the object entry version where objectEntryId = ? and version = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      objectEntryId - the object entry ID
      version - the version
      Returns:
      the matching object entry version, or null if a matching object entry version could not be found
    • findByUuid

      default List<ObjectEntryVersion> findByUuid(String uuid)
      Returns all the object entry versions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object entry versions
    • findByUuid

      default List<ObjectEntryVersion> findByUuid(String uuid, int start, int end)
      Returns a range of all the object entry versions 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

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

      default List<ObjectEntryVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns an ordered range of all the object entry versions 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

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

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

      default List<ObjectEntryVersion> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object entry versions 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

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

      default List<ObjectEntryVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns an ordered range of all the object entry versions 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

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

      default List<ObjectEntryVersion> findByObjectDefinitionId(long objectDefinitionId)
      Returns all the object entry versions where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the matching object entry versions
    • findByObjectDefinitionId

      default List<ObjectEntryVersion> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
      Returns a range of all the object entry versions 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

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

      default List<ObjectEntryVersion> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns an ordered range of all the object entry versions 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

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

      default List<ObjectEntryVersion> findByObjectEntryId(long objectEntryId)
      Returns all the object entry versions where objectEntryId = ?.
      Parameters:
      objectEntryId - the object entry ID
      Returns:
      the matching object entry versions
    • findByObjectEntryId

      default List<ObjectEntryVersion> findByObjectEntryId(long objectEntryId, int start, int end)
      Returns a range of all the object entry versions where objectEntryId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

      Parameters:
      objectEntryId - the object entry ID
      start - the lower bound of the range of object entry versions
      end - the upper bound of the range of object entry versions (not inclusive)
      Returns:
      the range of matching object entry versions
    • findByObjectEntryId

      default List<ObjectEntryVersion> findByObjectEntryId(long objectEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns an ordered range of all the object entry versions where objectEntryId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

      Parameters:
      objectEntryId - the object entry ID
      start - the lower bound of the range of object entry versions
      end - the upper bound of the range of object entry versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entry versions
    • findByC_CD

      default List<ObjectEntryVersion> findByC_CD(long companyId, Date createDate)
      Returns all the object entry versions where companyId = ? and createDate = ?.
      Parameters:
      companyId - the company ID
      createDate - the create date
      Returns:
      the matching object entry versions
    • findByC_CD

      default List<ObjectEntryVersion> findByC_CD(long companyId, Date createDate, int start, int end)
      Returns a range of all the object entry versions where companyId = ? and createDate = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

      Parameters:
      companyId - the company ID
      createDate - the create date
      start - the lower bound of the range of object entry versions
      end - the upper bound of the range of object entry versions (not inclusive)
      Returns:
      the range of matching object entry versions
    • findByC_CD

      default List<ObjectEntryVersion> findByC_CD(long companyId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns an ordered range of all the object entry versions where companyId = ? and createDate = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

      Parameters:
      companyId - the company ID
      createDate - the create date
      start - the lower bound of the range of object entry versions
      end - the upper bound of the range of object entry versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entry versions
    • findByOEI_S

      default List<ObjectEntryVersion> findByOEI_S(long objectEntryId, int status)
      Returns all the object entry versions where objectEntryId = ? and status = ?.
      Parameters:
      objectEntryId - the object entry ID
      status - the status
      Returns:
      the matching object entry versions
    • findByOEI_S

      default List<ObjectEntryVersion> findByOEI_S(long objectEntryId, int status, int start, int end)
      Returns a range of all the object entry versions where objectEntryId = ? and status = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

      Parameters:
      objectEntryId - the object entry ID
      status - the status
      start - the lower bound of the range of object entry versions
      end - the upper bound of the range of object entry versions (not inclusive)
      Returns:
      the range of matching object entry versions
    • findByOEI_S

      default List<ObjectEntryVersion> findByOEI_S(long objectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator)
      Returns an ordered range of all the object entry versions where objectEntryId = ? and status = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryVersionModelImpl.

      Parameters:
      objectEntryId - the object entry ID
      status - the status
      start - the lower bound of the range of object entry versions
      end - the upper bound of the range of object entry versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entry versions