Class ObjectEntryVersionUtil
com.liferay.object.service.persistence.impl.ObjectEntryVersionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(ObjectEntryVersion objectEntryVersion) static voidcacheResult(List<ObjectEntryVersion> objectEntryVersions) static voidstatic voidclearCache(ObjectEntryVersion objectEntryVersion) static intcountByC_CD(long companyId, Date createDate) Returns the number of object entry versions where companyId = ? and createDate = ?.static intcountByObjectDefinitionId(long objectDefinitionId) Returns the number of object entry versions where objectDefinitionId = ?.static intcountByObjectEntryId(long objectEntryId) Returns the number of object entry versions where objectEntryId = ?.static intcountByOEI_S(long objectEntryId, int status) Returns the number of object entry versions where objectEntryId = ? and status = ?.static intcountByOEI_V(long objectEntryId, int version) Returns the number of object entry versions where objectEntryId = ? and version = ?.static intcountByUuid(String uuid) Returns the number of object entry versions where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object entry versions where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectEntryVersioncreate(long objectEntryVersionId) Creates a new object entry version with the primary key.static ObjectEntryVersionfetchByC_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 = ?.static ObjectEntryVersionfetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the first object entry version in the ordered set where objectDefinitionId = ?.static ObjectEntryVersionfetchByObjectEntryId_First(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the first object entry version in the ordered set where objectEntryId = ?.static ObjectEntryVersionfetchByOEI_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 = ?.static ObjectEntryVersionfetchByOEI_V(long objectEntryId, int version) Returns the object entry version where objectEntryId = ? and version = ? or returnsnullif it could not be found.static ObjectEntryVersionfetchByOEI_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.static ObjectEntryVersionfetchByPrimaryKey(long objectEntryVersionId) Returns the object entry version with the primary key or returnsnullif it could not be found.static Map<Serializable, ObjectEntryVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectEntryVersionfetchByUuid_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 = ?.static ObjectEntryVersionfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the first object entry version in the ordered set where uuid = ?.static List<ObjectEntryVersion> findByC_CD(long companyId, Date createDate) Returns all the object entry versions where companyId = ? and createDate = ?.static 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 = ?.static 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 = ?.static 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 = ?.static ObjectEntryVersionfindByC_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 = ?.static List<ObjectEntryVersion> findByObjectDefinitionId(long objectDefinitionId) Returns all the object entry versions where objectDefinitionId = ?.static List<ObjectEntryVersion> findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object entry versions where objectDefinitionId = ?.static 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 = ?.static 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 = ?.static ObjectEntryVersionfindByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the first object entry version in the ordered set where objectDefinitionId = ?.static List<ObjectEntryVersion> findByObjectEntryId(long objectEntryId) Returns all the object entry versions where objectEntryId = ?.static List<ObjectEntryVersion> findByObjectEntryId(long objectEntryId, int start, int end) Returns a range of all the object entry versions where objectEntryId = ?.static 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 = ?.static 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 = ?.static ObjectEntryVersionfindByObjectEntryId_First(long objectEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the first object entry version in the ordered set where objectEntryId = ?.static List<ObjectEntryVersion> findByOEI_S(long objectEntryId, int status) Returns all the object entry versions where objectEntryId = ? and status = ?.static 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 = ?.static 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 = ?.static 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 = ?.static ObjectEntryVersionfindByOEI_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 = ?.static ObjectEntryVersionfindByOEI_V(long objectEntryId, int version) Returns the object entry version where objectEntryId = ? and version = ? or throws aNoSuchObjectEntryVersionExceptionif it could not be found.static ObjectEntryVersionfindByPrimaryKey(long objectEntryVersionId) Returns the object entry version with the primary key or throws aNoSuchObjectEntryVersionExceptionif it could not be found.static List<ObjectEntryVersion> findByUuid(String uuid) Returns all the object entry versions where uuid = ?.static List<ObjectEntryVersion> findByUuid(String uuid, int start, int end) Returns a range of all the object entry versions where uuid = ?.static 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 = ?.static 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 = ?.static List<ObjectEntryVersion> findByUuid_C(String uuid, long companyId) Returns all the object entry versions where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static ObjectEntryVersionfindByUuid_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 = ?.static ObjectEntryVersionfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) Returns the first object entry version in the ordered set where uuid = ?.static List<ObjectEntryVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectEntryVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectEntryVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) static ObjectEntryVersionremove(long objectEntryVersionId) Removes the object entry version with the primary key from the database.static voidremoveByC_CD(long companyId, Date createDate) Removes all the object entry versions where companyId = ? and createDate = ? from the database.static voidremoveByObjectDefinitionId(long objectDefinitionId) Removes all the object entry versions where objectDefinitionId = ? from the database.static voidremoveByObjectEntryId(long objectEntryId) Removes all the object entry versions where objectEntryId = ? from the database.static voidremoveByOEI_S(long objectEntryId, int status) Removes all the object entry versions where objectEntryId = ? and status = ? from the database.static ObjectEntryVersionremoveByOEI_V(long objectEntryId, int version) Removes the object entry version where objectEntryId = ? and version = ? from the database.static voidremoveByUuid(String uuid) Removes all the object entry versions where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object entry versions where uuid = ? and companyId = ? from the database.static voidsetPersistence(ObjectEntryVersionPersistence persistence) static ObjectEntryVersionupdate(ObjectEntryVersion objectEntryVersion) static ObjectEntryVersionupdate(ObjectEntryVersion objectEntryVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectEntryVersionupdateImpl(ObjectEntryVersion objectEntryVersion)
-
Constructor Details
-
ObjectEntryVersionUtil
public ObjectEntryVersionUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,ObjectEntryVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<ObjectEntryVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<ObjectEntryVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<ObjectEntryVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryVersion> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static ObjectEntryVersion update(ObjectEntryVersion objectEntryVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
public static 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
-
fetchByUuid_First
public static 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
-
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
public static 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
public static 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
-
fetchByUuid_C_First
public static 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
-
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
public static 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
public static 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
-
fetchByObjectDefinitionId_First
public static 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
-
removeByObjectDefinitionId
public static void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object entry versions where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId- the object definition ID
-
countByObjectDefinitionId
public static 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
public static 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
public static 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
-
fetchByObjectEntryId_First
public static 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
-
removeByObjectEntryId
public static void removeByObjectEntryId(long objectEntryId) Removes all the object entry versions where objectEntryId = ? from the database.- Parameters:
objectEntryId- the object entry ID
-
countByObjectEntryId
public static 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- Parameters:
companyId- the company IDcreateDate- the create datestart- 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
-
findByC_CD_First
public static 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 IDcreateDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry version
-
fetchByC_CD_First
public static 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 IDcreateDate- the create dateorderByComparator- 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
-
removeByC_CD
Removes all the object entry versions where companyId = ? and createDate = ? from the database.- Parameters:
companyId- the company IDcreateDate- the create date
-
countByC_CD
Returns the number of object entry versions where companyId = ? and createDate = ?.- Parameters:
companyId- the company IDcreateDate- the create date- Returns:
- the number of matching object entry versions
-
findByOEI_V
public static 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
-
fetchByOEI_V
public static ObjectEntryVersion 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.- 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
public static 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
public static 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
-
findByOEI_S
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- Parameters:
objectEntryId- the object entry IDstatus- the statusstart- 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
-
findByOEI_S_First
public static 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 IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry version
-
fetchByOEI_S_First
public static 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 IDstatus- the statusorderByComparator- 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
-
removeByOEI_S
public static 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 IDstatus- the status
-
countByOEI_S
public static int countByOEI_S(long objectEntryId, int status) Returns the number of object entry versions where objectEntryId = ? and status = ?.- Parameters:
objectEntryId- the object entry IDstatus- the status- Returns:
- the number of matching 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
public static 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
-
updateImpl
-
findByPrimaryKey
public static 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
-
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
-
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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
public static 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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_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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
public static 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
-
findByObjectDefinitionId
Returns all the object entry versions where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the matching object entry versions
-
findByObjectDefinitionId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
public static 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
public static 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- 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
-
findByC_CD
Returns all the object entry versions where companyId = ? and createDate = ?.- Parameters:
companyId- the company IDcreateDate- the create date- Returns:
- the matching object entry versions
-
findByC_CD
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- Parameters:
companyId- the company IDcreateDate- the create datestart- 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
-
findByC_CD
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- Parameters:
companyId- the company IDcreateDate- the create datestart- 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
-
findByOEI_S
Returns all the object entry versions where objectEntryId = ? and status = ?.- Parameters:
objectEntryId- the object entry IDstatus- the status- Returns:
- the matching object entry versions
-
findByOEI_S
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- Parameters:
objectEntryId- the object entry IDstatus- the statusstart- 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
-
findByOEI_S
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectEntryVersionModelImpl.- Parameters:
objectEntryId- the object entry IDstatus- the statusstart- 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
-
getPersistence
-
setPersistence
-