Class ObjectStateTransitionUtil
com.liferay.object.service.persistence.impl.ObjectStateTransitionPersistenceImpl 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(ObjectStateTransition objectStateTransition) Caches the object state transition in the entity cache if it is enabled.static voidcacheResult(List<ObjectStateTransition> objectStateTransitions) Caches the object state transitions in the entity cache if it is enabled.static voidstatic voidclearCache(ObjectStateTransition objectStateTransition) static intcountAll()Returns the number of object state transitions.static intcountByObjectStateFlowId(long objectStateFlowId) Returns the number of object state transitions where objectStateFlowId = ?.static intcountBySourceObjectStateId(long sourceObjectStateId) Returns the number of object state transitions where sourceObjectStateId = ?.static intcountByTargetObjectStateId(long targetObjectStateId) Returns the number of object state transitions where targetObjectStateId = ?.static intcountByUuid(String uuid) Returns the number of object state transitions where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object state transitions where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectStateTransitioncreate(long objectStateTransitionId) Creates a new object state transition with the primary key.static ObjectStateTransitionfetchByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where objectStateFlowId = ?.static ObjectStateTransitionfetchByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where objectStateFlowId = ?.static ObjectStateTransitionfetchByPrimaryKey(long objectStateTransitionId) Returns the object state transition with the primary key or returnsnullif it could not be found.static Map<Serializable,ObjectStateTransition> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectStateTransitionfetchBySourceObjectStateId_First(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where sourceObjectStateId = ?.static ObjectStateTransitionfetchBySourceObjectStateId_Last(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where sourceObjectStateId = ?.static ObjectStateTransitionfetchByTargetObjectStateId_First(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where targetObjectStateId = ?.static ObjectStateTransitionfetchByTargetObjectStateId_Last(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where targetObjectStateId = ?.static ObjectStateTransitionfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where uuid = ? and companyId = ?.static ObjectStateTransitionfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where uuid = ? and companyId = ?.static ObjectStateTransitionfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where uuid = ?.static ObjectStateTransitionfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where uuid = ?.static List<ObjectStateTransition>findAll()Returns all the object state transitions.static List<ObjectStateTransition>findAll(int start, int end) Returns a range of all the object state transitions.static List<ObjectStateTransition>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions.static List<ObjectStateTransition>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions.static List<ObjectStateTransition>findByObjectStateFlowId(long objectStateFlowId) Returns all the object state transitions where objectStateFlowId = ?.static List<ObjectStateTransition>findByObjectStateFlowId(long objectStateFlowId, int start, int end) Returns a range of all the object state transitions where objectStateFlowId = ?.static List<ObjectStateTransition>findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions where objectStateFlowId = ?.static List<ObjectStateTransition>findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions where objectStateFlowId = ?.static ObjectStateTransitionfindByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where objectStateFlowId = ?.static ObjectStateTransitionfindByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where objectStateFlowId = ?.static ObjectStateTransition[]findByObjectStateFlowId_PrevAndNext(long objectStateTransitionId, long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the object state transitions before and after the current object state transition in the ordered set where objectStateFlowId = ?.static ObjectStateTransitionfindByPrimaryKey(long objectStateTransitionId) Returns the object state transition with the primary key or throws aNoSuchObjectStateTransitionExceptionif it could not be found.static List<ObjectStateTransition>findBySourceObjectStateId(long sourceObjectStateId) Returns all the object state transitions where sourceObjectStateId = ?.static List<ObjectStateTransition>findBySourceObjectStateId(long sourceObjectStateId, int start, int end) Returns a range of all the object state transitions where sourceObjectStateId = ?.static List<ObjectStateTransition>findBySourceObjectStateId(long sourceObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions where sourceObjectStateId = ?.static List<ObjectStateTransition>findBySourceObjectStateId(long sourceObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions where sourceObjectStateId = ?.static ObjectStateTransitionfindBySourceObjectStateId_First(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where sourceObjectStateId = ?.static ObjectStateTransitionfindBySourceObjectStateId_Last(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where sourceObjectStateId = ?.static ObjectStateTransition[]findBySourceObjectStateId_PrevAndNext(long objectStateTransitionId, long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the object state transitions before and after the current object state transition in the ordered set where sourceObjectStateId = ?.static List<ObjectStateTransition>findByTargetObjectStateId(long targetObjectStateId) Returns all the object state transitions where targetObjectStateId = ?.static List<ObjectStateTransition>findByTargetObjectStateId(long targetObjectStateId, int start, int end) Returns a range of all the object state transitions where targetObjectStateId = ?.static List<ObjectStateTransition>findByTargetObjectStateId(long targetObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions where targetObjectStateId = ?.static List<ObjectStateTransition>findByTargetObjectStateId(long targetObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions where targetObjectStateId = ?.static ObjectStateTransitionfindByTargetObjectStateId_First(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where targetObjectStateId = ?.static ObjectStateTransitionfindByTargetObjectStateId_Last(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where targetObjectStateId = ?.static ObjectStateTransition[]findByTargetObjectStateId_PrevAndNext(long objectStateTransitionId, long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the object state transitions before and after the current object state transition in the ordered set where targetObjectStateId = ?.static List<ObjectStateTransition>findByUuid(String uuid) Returns all the object state transitions where uuid = ?.static List<ObjectStateTransition>findByUuid(String uuid, int start, int end) Returns a range of all the object state transitions where uuid = ?.static List<ObjectStateTransition>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions where uuid = ?.static List<ObjectStateTransition>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions where uuid = ?.static List<ObjectStateTransition>findByUuid_C(String uuid, long companyId) Returns all the object state transitions where uuid = ? and companyId = ?.static List<ObjectStateTransition>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object state transitions where uuid = ? and companyId = ?.static List<ObjectStateTransition>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions where uuid = ? and companyId = ?.static List<ObjectStateTransition>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions where uuid = ? and companyId = ?.static ObjectStateTransitionfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where uuid = ? and companyId = ?.static ObjectStateTransitionfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where uuid = ? and companyId = ?.static ObjectStateTransition[]findByUuid_C_PrevAndNext(long objectStateTransitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the object state transitions before and after the current object state transition in the ordered set where uuid = ? and companyId = ?.static ObjectStateTransitionfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where uuid = ?.static ObjectStateTransitionfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where uuid = ?.static ObjectStateTransition[]findByUuid_PrevAndNext(long objectStateTransitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the object state transitions before and after the current object state transition in the ordered set where uuid = ?.static List<ObjectStateTransition>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectStateTransition>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectStateTransition>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) static ObjectStateTransitionremove(long objectStateTransitionId) Removes the object state transition with the primary key from the database.static voidRemoves all the object state transitions from the database.static voidremoveByObjectStateFlowId(long objectStateFlowId) Removes all the object state transitions where objectStateFlowId = ? from the database.static voidremoveBySourceObjectStateId(long sourceObjectStateId) Removes all the object state transitions where sourceObjectStateId = ? from the database.static voidremoveByTargetObjectStateId(long targetObjectStateId) Removes all the object state transitions where targetObjectStateId = ? from the database.static voidremoveByUuid(String uuid) Removes all the object state transitions where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object state transitions where uuid = ? and companyId = ? from the database.static voidsetPersistence(ObjectStateTransitionPersistence persistence) static ObjectStateTransitionupdate(ObjectStateTransition objectStateTransition) static ObjectStateTransitionupdate(ObjectStateTransition objectStateTransition, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectStateTransitionupdateImpl(ObjectStateTransition objectStateTransition)
-
Constructor Details
-
ObjectStateTransitionUtil
public ObjectStateTransitionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,ObjectStateTransition> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectStateTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectStateTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectStateTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectStateTransition update(ObjectStateTransition objectStateTransition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object state transitions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object state transitions
-
findByUuid
Returns a range of all the object state transitions 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 fromObjectStateTransitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)- Returns:
- the range of matching object state transitions
-
findByUuid
public static List<ObjectStateTransition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions 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 fromObjectStateTransitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object state transitions
-
findByUuid
public static List<ObjectStateTransition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions 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 fromObjectStateTransitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (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 state transitions
-
findByUuid_First
public static ObjectStateTransition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the first object state transition in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchByUuid_First
public static ObjectStateTransition fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object state transition, or
nullif a matching object state transition could not be found
-
findByUuid_Last
public static ObjectStateTransition findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the last object state transition in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchByUuid_Last
public static ObjectStateTransition fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object state transition, or
nullif a matching object state transition could not be found
-
findByUuid_PrevAndNext
public static ObjectStateTransition[] findByUuid_PrevAndNext(long objectStateTransitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the object state transitions before and after the current object state transition in the ordered set where uuid = ?.- Parameters:
objectStateTransitionId- the primary key of the current object state transitionuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object state transition
- Throws:
NoSuchObjectStateTransitionException- if a object state transition with the primary key could not be foundNoSuchObjectStateTransitionException
-
removeByUuid
Removes all the object state transitions where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object state transitions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object state transitions
-
findByUuid_C
Returns all the object state transitions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object state transitions
-
findByUuid_C
public static List<ObjectStateTransition> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object state transitions 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 fromObjectStateTransitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)- Returns:
- the range of matching object state transitions
-
findByUuid_C
public static List<ObjectStateTransition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions 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 fromObjectStateTransitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object state transitions
-
findByUuid_C
public static List<ObjectStateTransition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions 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 fromObjectStateTransitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (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 state transitions
-
findByUuid_C_First
public static ObjectStateTransition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the first object state transition 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 state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchByUuid_C_First
public static ObjectStateTransition fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition 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 state transition, or
nullif a matching object state transition could not be found
-
findByUuid_C_Last
public static ObjectStateTransition findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the last object state transition 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 state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchByUuid_C_Last
public static ObjectStateTransition fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition 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 state transition, or
nullif a matching object state transition could not be found
-
findByUuid_C_PrevAndNext
public static ObjectStateTransition[] findByUuid_C_PrevAndNext(long objectStateTransitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the object state transitions before and after the current object state transition in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectStateTransitionId- the primary key of the current object state transitionuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object state transition
- Throws:
NoSuchObjectStateTransitionException- if a object state transition with the primary key could not be foundNoSuchObjectStateTransitionException
-
removeByUuid_C
Removes all the object state transitions where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object state transitions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object state transitions
-
findByObjectStateFlowId
Returns all the object state transitions where objectStateFlowId = ?.- Parameters:
objectStateFlowId- the object state flow ID- Returns:
- the matching object state transitions
-
findByObjectStateFlowId
public static List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId, int start, int end) Returns a range of all the object state transitions where objectStateFlowId = ?.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 fromObjectStateTransitionModelImpl.- Parameters:
objectStateFlowId- the object state flow IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)- Returns:
- the range of matching object state transitions
-
findByObjectStateFlowId
public static List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions where objectStateFlowId = ?.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 fromObjectStateTransitionModelImpl.- Parameters:
objectStateFlowId- the object state flow IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object state transitions
-
findByObjectStateFlowId
public static List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions where objectStateFlowId = ?.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 fromObjectStateTransitionModelImpl.- Parameters:
objectStateFlowId- the object state flow IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (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 state transitions
-
findByObjectStateFlowId_First
public static ObjectStateTransition findByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the first object state transition in the ordered set where objectStateFlowId = ?.- Parameters:
objectStateFlowId- the object state flow IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchByObjectStateFlowId_First
public static ObjectStateTransition fetchByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where objectStateFlowId = ?.- Parameters:
objectStateFlowId- the object state flow IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object state transition, or
nullif a matching object state transition could not be found
-
findByObjectStateFlowId_Last
public static ObjectStateTransition findByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the last object state transition in the ordered set where objectStateFlowId = ?.- Parameters:
objectStateFlowId- the object state flow IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchByObjectStateFlowId_Last
public static ObjectStateTransition fetchByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where objectStateFlowId = ?.- Parameters:
objectStateFlowId- the object state flow IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object state transition, or
nullif a matching object state transition could not be found
-
findByObjectStateFlowId_PrevAndNext
public static ObjectStateTransition[] findByObjectStateFlowId_PrevAndNext(long objectStateTransitionId, long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the object state transitions before and after the current object state transition in the ordered set where objectStateFlowId = ?.- Parameters:
objectStateTransitionId- the primary key of the current object state transitionobjectStateFlowId- the object state flow IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object state transition
- Throws:
NoSuchObjectStateTransitionException- if a object state transition with the primary key could not be foundNoSuchObjectStateTransitionException
-
removeByObjectStateFlowId
public static void removeByObjectStateFlowId(long objectStateFlowId) Removes all the object state transitions where objectStateFlowId = ? from the database.- Parameters:
objectStateFlowId- the object state flow ID
-
countByObjectStateFlowId
public static int countByObjectStateFlowId(long objectStateFlowId) Returns the number of object state transitions where objectStateFlowId = ?.- Parameters:
objectStateFlowId- the object state flow ID- Returns:
- the number of matching object state transitions
-
findBySourceObjectStateId
Returns all the object state transitions where sourceObjectStateId = ?.- Parameters:
sourceObjectStateId- the source object state ID- Returns:
- the matching object state transitions
-
findBySourceObjectStateId
public static List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId, int start, int end) Returns a range of all the object state transitions where sourceObjectStateId = ?.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 fromObjectStateTransitionModelImpl.- Parameters:
sourceObjectStateId- the source object state IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)- Returns:
- the range of matching object state transitions
-
findBySourceObjectStateId
public static List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions where sourceObjectStateId = ?.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 fromObjectStateTransitionModelImpl.- Parameters:
sourceObjectStateId- the source object state IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object state transitions
-
findBySourceObjectStateId
public static List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions where sourceObjectStateId = ?.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 fromObjectStateTransitionModelImpl.- Parameters:
sourceObjectStateId- the source object state IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (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 state transitions
-
findBySourceObjectStateId_First
public static ObjectStateTransition findBySourceObjectStateId_First(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the first object state transition in the ordered set where sourceObjectStateId = ?.- Parameters:
sourceObjectStateId- the source object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchBySourceObjectStateId_First
public static ObjectStateTransition fetchBySourceObjectStateId_First(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where sourceObjectStateId = ?.- Parameters:
sourceObjectStateId- the source object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object state transition, or
nullif a matching object state transition could not be found
-
findBySourceObjectStateId_Last
public static ObjectStateTransition findBySourceObjectStateId_Last(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the last object state transition in the ordered set where sourceObjectStateId = ?.- Parameters:
sourceObjectStateId- the source object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchBySourceObjectStateId_Last
public static ObjectStateTransition fetchBySourceObjectStateId_Last(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where sourceObjectStateId = ?.- Parameters:
sourceObjectStateId- the source object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object state transition, or
nullif a matching object state transition could not be found
-
findBySourceObjectStateId_PrevAndNext
public static ObjectStateTransition[] findBySourceObjectStateId_PrevAndNext(long objectStateTransitionId, long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the object state transitions before and after the current object state transition in the ordered set where sourceObjectStateId = ?.- Parameters:
objectStateTransitionId- the primary key of the current object state transitionsourceObjectStateId- the source object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object state transition
- Throws:
NoSuchObjectStateTransitionException- if a object state transition with the primary key could not be foundNoSuchObjectStateTransitionException
-
removeBySourceObjectStateId
public static void removeBySourceObjectStateId(long sourceObjectStateId) Removes all the object state transitions where sourceObjectStateId = ? from the database.- Parameters:
sourceObjectStateId- the source object state ID
-
countBySourceObjectStateId
public static int countBySourceObjectStateId(long sourceObjectStateId) Returns the number of object state transitions where sourceObjectStateId = ?.- Parameters:
sourceObjectStateId- the source object state ID- Returns:
- the number of matching object state transitions
-
findByTargetObjectStateId
Returns all the object state transitions where targetObjectStateId = ?.- Parameters:
targetObjectStateId- the target object state ID- Returns:
- the matching object state transitions
-
findByTargetObjectStateId
public static List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId, int start, int end) Returns a range of all the object state transitions where targetObjectStateId = ?.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 fromObjectStateTransitionModelImpl.- Parameters:
targetObjectStateId- the target object state IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)- Returns:
- the range of matching object state transitions
-
findByTargetObjectStateId
public static List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions where targetObjectStateId = ?.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 fromObjectStateTransitionModelImpl.- Parameters:
targetObjectStateId- the target object state IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object state transitions
-
findByTargetObjectStateId
public static List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions where targetObjectStateId = ?.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 fromObjectStateTransitionModelImpl.- Parameters:
targetObjectStateId- the target object state IDstart- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (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 state transitions
-
findByTargetObjectStateId_First
public static ObjectStateTransition findByTargetObjectStateId_First(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the first object state transition in the ordered set where targetObjectStateId = ?.- Parameters:
targetObjectStateId- the target object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchByTargetObjectStateId_First
public static ObjectStateTransition fetchByTargetObjectStateId_First(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where targetObjectStateId = ?.- Parameters:
targetObjectStateId- the target object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object state transition, or
nullif a matching object state transition could not be found
-
findByTargetObjectStateId_Last
public static ObjectStateTransition findByTargetObjectStateId_Last(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the last object state transition in the ordered set where targetObjectStateId = ?.- Parameters:
targetObjectStateId- the target object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object state transition
- Throws:
NoSuchObjectStateTransitionException- if a matching object state transition could not be foundNoSuchObjectStateTransitionException
-
fetchByTargetObjectStateId_Last
public static ObjectStateTransition fetchByTargetObjectStateId_Last(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the last object state transition in the ordered set where targetObjectStateId = ?.- Parameters:
targetObjectStateId- the target object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object state transition, or
nullif a matching object state transition could not be found
-
findByTargetObjectStateId_PrevAndNext
public static ObjectStateTransition[] findByTargetObjectStateId_PrevAndNext(long objectStateTransitionId, long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException Returns the object state transitions before and after the current object state transition in the ordered set where targetObjectStateId = ?.- Parameters:
objectStateTransitionId- the primary key of the current object state transitiontargetObjectStateId- the target object state IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object state transition
- Throws:
NoSuchObjectStateTransitionException- if a object state transition with the primary key could not be foundNoSuchObjectStateTransitionException
-
removeByTargetObjectStateId
public static void removeByTargetObjectStateId(long targetObjectStateId) Removes all the object state transitions where targetObjectStateId = ? from the database.- Parameters:
targetObjectStateId- the target object state ID
-
countByTargetObjectStateId
public static int countByTargetObjectStateId(long targetObjectStateId) Returns the number of object state transitions where targetObjectStateId = ?.- Parameters:
targetObjectStateId- the target object state ID- Returns:
- the number of matching object state transitions
-
cacheResult
Caches the object state transition in the entity cache if it is enabled.- Parameters:
objectStateTransition- the object state transition
-
cacheResult
Caches the object state transitions in the entity cache if it is enabled.- Parameters:
objectStateTransitions- the object state transitions
-
create
Creates a new object state transition with the primary key. Does not add the object state transition to the database.- Parameters:
objectStateTransitionId- the primary key for the new object state transition- Returns:
- the new object state transition
-
remove
public static ObjectStateTransition remove(long objectStateTransitionId) throws NoSuchObjectStateTransitionException Removes the object state transition with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectStateTransitionId- the primary key of the object state transition- Returns:
- the object state transition that was removed
- Throws:
NoSuchObjectStateTransitionException- if a object state transition with the primary key could not be foundNoSuchObjectStateTransitionException
-
updateImpl
-
findByPrimaryKey
public static ObjectStateTransition findByPrimaryKey(long objectStateTransitionId) throws NoSuchObjectStateTransitionException Returns the object state transition with the primary key or throws aNoSuchObjectStateTransitionExceptionif it could not be found.- Parameters:
objectStateTransitionId- the primary key of the object state transition- Returns:
- the object state transition
- Throws:
NoSuchObjectStateTransitionException- if a object state transition with the primary key could not be foundNoSuchObjectStateTransitionException
-
fetchByPrimaryKey
Returns the object state transition with the primary key or returnsnullif it could not be found.- Parameters:
objectStateTransitionId- the primary key of the object state transition- Returns:
- the object state transition, or
nullif a object state transition with the primary key could not be found
-
findAll
Returns all the object state transitions.- Returns:
- the object state transitions
-
findAll
Returns a range of all the object state transitions.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 fromObjectStateTransitionModelImpl.- Parameters:
start- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)- Returns:
- the range of object state transitions
-
findAll
public static List<ObjectStateTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns an ordered range of all the object state transitions.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 fromObjectStateTransitionModelImpl.- Parameters:
start- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of object state transitions
-
findAll
public static List<ObjectStateTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object state transitions.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 fromObjectStateTransitionModelImpl.- Parameters:
start- the lower bound of the range of object state transitionsend- the upper bound of the range of object state transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of object state transitions
-
removeAll
public static void removeAll()Removes all the object state transitions from the database. -
countAll
public static int countAll()Returns the number of object state transitions.- Returns:
- the number of object state transitions
-
getPersistence
-
setPersistence
-