Interface ObjectEntryVersionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectEntryVersion>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(ObjectEntryVersion objectEntryVersion) Caches the object entry version in the entity cache if it is enabled.voidcacheResult(List<ObjectEntryVersion> objectEntryVersions) Caches the object entry versions in the entity cache if it is enabled.intcountAll()Returns the number of object entry versions.intcountByObjectDefinitionId(long objectDefinitionId) Returns the number of object entry versions where objectDefinitionId = ?.intcountByObjectEntryId(long objectEntryId) Returns the number of object entry versions where objectEntryId = ?.intcountByOEI_V(long objectEntryId, int version) Returns the number of object entry versions where objectEntryId = ? and version = ?.intcountByUuid(String uuid) Returns the number of object entry versions where uuid = ?.intcountByUuid_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.fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the first object entry version in the ordered set where objectDefinitionId = ?.fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last 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 = ?.fetchByObjectEntryId_Last(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where objectEntryId = ?.fetchByOEI_V(long objectEntryId, int version) Returns the object entry version where objectEntryId = ? and version = ? or returnsnullif it could not be found.fetchByOEI_V(long objectEntryId, int version, boolean useFinderCache) Returns the object entry version where objectEntryId = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long objectEntryVersionId) Returns the object entry version with the primary key or returnsnullif 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_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last 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 = ?.fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where uuid = ?.findAll()Returns all the object entry versions.findAll(int start, int end) Returns a range of all the object entry versions.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns an ordered range of all the object entry versions.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry versions.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 = ?.findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_PrevAndNext(long objectEntryVersionId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the object entry versions before and after the current 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 = ?.findByObjectEntryId_Last(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where objectEntryId = ?.findByObjectEntryId_PrevAndNext(long objectEntryVersionId, long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the object entry versions before and after the current object entry version in the ordered set where objectEntryId = ?.findByOEI_V(long objectEntryId, int version) Returns the object entry version where objectEntryId = ? and version = ? or throws aNoSuchObjectEntryVersionExceptionif it could not be found.findByPrimaryKey(long objectEntryVersionId) Returns the object entry version with the primary key or throws aNoSuchObjectEntryVersionExceptionif it could not be found.findByUuid(String uuid) 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_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext(long objectEntryVersionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the object entry versions before and after the current 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 = ?.findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where uuid = ?.findByUuid_PrevAndNext(long objectEntryVersionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the object entry versions before and after the current object entry version in the ordered set where uuid = ?.remove(long objectEntryVersionId) Removes the object entry version with the primary key from the database.voidRemoves all the object entry versions from the database.voidremoveByObjectDefinitionId(long objectDefinitionId) Removes all the object entry versions where objectDefinitionId = ? from the database.voidremoveByObjectEntryId(long objectEntryId) Removes all the object entry versions where objectEntryId = ? from the database.removeByOEI_V(long objectEntryId, int version) Removes the object entry version where objectEntryId = ? and version = ? from the database.voidremoveByUuid(String uuid) Removes all the object entry versions where uuid = ? from the database.voidremoveByUuid_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
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the object entry versions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object entry versions
-
findByUuid
Returns a range of all the object entry versions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)- Returns:
- the range of matching object entry versions
-
findByUuid
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entry versions
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidorderByComparator- the comparator to order the set by (optionallynull)- 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry version, or
nullif a matching object entry version could not be found
-
findByUuid_Last
ObjectEntryVersion findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException Returns the last object entry version in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object entry version
- Throws:
NoSuchObjectEntryVersionException- if a matching object entry version could not be found
-
fetchByUuid_Last
ObjectEntryVersion fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object entry version, or
nullif a matching object entry version could not be found
-
findByUuid_PrevAndNext
ObjectEntryVersion[] findByUuid_PrevAndNext(long objectEntryVersionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException Returns the object entry versions before and after the current object entry version in the ordered set where uuid = ?.- Parameters:
objectEntryVersionId- the primary key of the current object entry versionuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object entry version
- Throws:
NoSuchObjectEntryVersionException- if a object entry version with the primary key could not be found
-
removeByUuid
Removes all the object entry versions where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object entry versions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object entry versions
-
findByUuid_C
Returns all the object entry versions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object entry versions
-
findByUuid_C
Returns a range of all the object entry versions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)- Returns:
- the range 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) Returns an ordered range of all the object entry versions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry version, or
nullif a matching object entry version could not be found
-
findByUuid_C_Last
ObjectEntryVersion findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException Returns the last object entry version in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object entry version
- Throws:
NoSuchObjectEntryVersionException- if a matching object entry version could not be found
-
fetchByUuid_C_Last
ObjectEntryVersion fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object entry version, or
nullif a matching object entry version could not be found
-
findByUuid_C_PrevAndNext
ObjectEntryVersion[] findByUuid_C_PrevAndNext(long objectEntryVersionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException Returns the object entry versions before and after the current object entry version in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectEntryVersionId- the primary key of the current object entry versionuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object entry version
- Throws:
NoSuchObjectEntryVersionException- if a object entry version with the primary key could not be found
-
removeByUuid_C
Removes all the object entry versions where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object entry versions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object entry versions
-
findByObjectDefinitionId
Returns all the object entry versions where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the matching object entry versions
-
findByObjectDefinitionId
Returns a range of all the object entry versions where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)- Returns:
- the range of matching object entry versions
-
findByObjectDefinitionId
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry version, or
nullif a matching object entry version could not be found
-
findByObjectDefinitionId_Last
ObjectEntryVersion findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException Returns the last object entry version in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object entry version
- Throws:
NoSuchObjectEntryVersionException- if a matching object entry version could not be found
-
fetchByObjectDefinitionId_Last
ObjectEntryVersion fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object entry version, or
nullif a matching object entry version could not be found
-
findByObjectDefinitionId_PrevAndNext
ObjectEntryVersion[] findByObjectDefinitionId_PrevAndNext(long objectEntryVersionId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException Returns the object entry versions before and after the current object entry version in the ordered set where objectDefinitionId = ?.- Parameters:
objectEntryVersionId- the primary key of the current object entry versionobjectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object entry version
- Throws:
NoSuchObjectEntryVersionException- if a object entry version with the primary key 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
Returns all the object entry versions where objectEntryId = ?.- Parameters:
objectEntryId- the object entry ID- Returns:
- the matching object entry versions
-
findByObjectEntryId
Returns a range of all the object entry versions where objectEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
objectEntryId- the object entry IDstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)- Returns:
- the range of matching object entry versions
-
findByObjectEntryId
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
objectEntryId- the object entry IDstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
objectEntryId- the object entry IDstart- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry version, or
nullif a matching object entry version could not be found
-
findByObjectEntryId_Last
ObjectEntryVersion findByObjectEntryId_Last(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException Returns the last object entry version in the ordered set where objectEntryId = ?.- Parameters:
objectEntryId- the object entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object entry version
- Throws:
NoSuchObjectEntryVersionException- if a matching object entry version could not be found
-
fetchByObjectEntryId_Last
ObjectEntryVersion fetchByObjectEntryId_Last(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the last object entry version in the ordered set where objectEntryId = ?.- Parameters:
objectEntryId- the object entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object entry version, or
nullif a matching object entry version could not be found
-
findByObjectEntryId_PrevAndNext
ObjectEntryVersion[] findByObjectEntryId_PrevAndNext(long objectEntryVersionId, long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) throws NoSuchObjectEntryVersionException Returns the object entry versions before and after the current object entry version in the ordered set where objectEntryId = ?.- Parameters:
objectEntryVersionId- the primary key of the current object entry versionobjectEntryId- the object entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object entry version
- Throws:
NoSuchObjectEntryVersionException- if a object entry version with the primary key 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
-
findByOEI_V
ObjectEntryVersion findByOEI_V(long objectEntryId, int version) throws NoSuchObjectEntryVersionException Returns the object entry version where objectEntryId = ? and version = ? or throws aNoSuchObjectEntryVersionExceptionif it could not be found.- Parameters:
objectEntryId- the object entry IDversion- the version- Returns:
- the matching object entry version
- Throws:
NoSuchObjectEntryVersionException- if a matching object entry version could not be found
-
fetchByOEI_V
Returns the object entry version where objectEntryId = ? and version = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
objectEntryId- the object entry IDversion- the version- Returns:
- the matching object entry version, or
nullif a matching object entry version could not be found
-
fetchByOEI_V
Returns the object entry version where objectEntryId = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
objectEntryId- the object entry IDversion- the versionuseFinderCache- whether to use the finder cache- Returns:
- the matching object entry version, or
nullif 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 IDversion- 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 IDversion- the version- Returns:
- the number of matching object entry versions
-
cacheResult
Caches the object entry version in the entity cache if it is enabled.- Parameters:
objectEntryVersion- the object entry version
-
cacheResult
Caches the object entry versions in the entity cache if it is enabled.- Parameters:
objectEntryVersions- the object entry versions
-
create
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
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
-
findByPrimaryKey
ObjectEntryVersion findByPrimaryKey(long objectEntryVersionId) throws NoSuchObjectEntryVersionException Returns the object entry version with the primary key or throws aNoSuchObjectEntryVersionExceptionif 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
Returns the object entry version with the primary key or returnsnullif it could not be found.- Parameters:
objectEntryVersionId- the primary key of the object entry version- Returns:
- the object entry version, or
nullif a object entry version with the primary key could not be found
-
findAll
List<ObjectEntryVersion> findAll()Returns all the object entry versions.- Returns:
- the object entry versions
-
findAll
Returns a range of all the object entry versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
start- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)- Returns:
- the range of object entry versions
-
findAll
List<ObjectEntryVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns an ordered range of all the object entry versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
start- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of object entry versions
-
findAll
List<ObjectEntryVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectEntryVersionModelImpl.- Parameters:
start- the lower bound of the range of object entry versionsend- the upper bound of the range of object entry versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of object entry versions
-
removeAll
void removeAll()Removes all the object entry versions from the database. -
countAll
int countAll()Returns the number of object entry versions.- Returns:
- the number of object entry versions
-