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) static voidcacheResult(List<ObjectStateTransition> objectStateTransitions) static voidstatic voidclearCache(ObjectStateTransition objectStateTransition) 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 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 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 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_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first object state transition in the ordered set where uuid = ?.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 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 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 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_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) Returns the first 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 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
-
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,ObjectStateTransition> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<ObjectStateTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<ObjectStateTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static ObjectStateTransition update(ObjectStateTransition objectStateTransition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 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.ObjectStateTransitionModelImpl.- 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
-
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
-
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
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 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.ObjectStateTransitionModelImpl.- 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
-
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
-
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
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 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.ObjectStateTransitionModelImpl.- 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
-
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
-
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
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 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.ObjectStateTransitionModelImpl.- 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
-
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
-
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
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 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.ObjectStateTransitionModelImpl.- 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
-
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
-
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
-
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
-
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
-
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
-
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 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.ObjectStateTransitionModelImpl.- 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 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.ObjectStateTransitionModelImpl.- 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_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 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.ObjectStateTransitionModelImpl.- 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 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.ObjectStateTransitionModelImpl.- 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
-
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 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.ObjectStateTransitionModelImpl.- 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 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.ObjectStateTransitionModelImpl.- 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
-
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 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.ObjectStateTransitionModelImpl.- 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 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.ObjectStateTransitionModelImpl.- 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
-
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 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.ObjectStateTransitionModelImpl.- 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 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.ObjectStateTransitionModelImpl.- 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
-
getPersistence
-
setPersistence
-