@ProviderType public interface ObjectStateTransitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectStateTransition>
Caching information and settings can be found in portal.properties
ObjectStateTransitionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectStateTransition> objectStateTransitions)
Caches the object state transitions in the entity cache if it is enabled.
|
void |
cacheResult(ObjectStateTransition objectStateTransition)
Caches the object state transition in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object state transitions.
|
int |
countByObjectStateFlowId(long objectStateFlowId)
Returns the number of object state transitions where objectStateFlowId = ?.
|
int |
countBySourceObjectStateId(long sourceObjectStateId)
Returns the number of object state transitions where sourceObjectStateId = ?.
|
int |
countByTargetObjectStateId(long targetObjectStateId)
Returns the number of object state transitions where targetObjectStateId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object state transitions where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object state transitions where uuid = ?.
|
ObjectStateTransition |
create(long objectStateTransitionId)
Creates a new object state transition with the primary key.
|
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 = ?.
|
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 = ?.
|
ObjectStateTransition |
fetchByPrimaryKey(long objectStateTransitionId)
Returns the object state transition with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
ObjectStateTransition |
fetchByUuid_C_First(java.lang.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 = ?.
|
ObjectStateTransition |
fetchByUuid_C_Last(java.lang.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 = ?.
|
ObjectStateTransition |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the first object state transition in the ordered set where uuid = ?.
|
ObjectStateTransition |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the last object state transition in the ordered set where uuid = ?.
|
java.util.List<ObjectStateTransition> |
findAll()
Returns all the object state transitions.
|
java.util.List<ObjectStateTransition> |
findAll(int start,
int end)
Returns a range of all the object state transitions.
|
java.util.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.
|
java.util.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.
|
ObjectStateTransition |
findByObjectStateFlowId_First(long objectStateFlowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the first object state transition in the ordered set where objectStateFlowId = ?.
|
ObjectStateTransition |
findByObjectStateFlowId_Last(long objectStateFlowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the last object state transition in the ordered set where objectStateFlowId = ?.
|
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 = ?.
|
java.util.List<ObjectStateTransition> |
findByObjectStateFlowId(long objectStateFlowId)
Returns all the object state transitions where objectStateFlowId = ?.
|
java.util.List<ObjectStateTransition> |
findByObjectStateFlowId(long objectStateFlowId,
int start,
int end)
Returns a range of all the object state transitions where objectStateFlowId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectStateTransition |
findByPrimaryKey(long objectStateTransitionId)
Returns the object state transition with the primary key or throws a
NoSuchObjectStateTransitionException if it could not be found. |
ObjectStateTransition |
findBySourceObjectStateId_First(long sourceObjectStateId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the first object state transition in the ordered set where sourceObjectStateId = ?.
|
ObjectStateTransition |
findBySourceObjectStateId_Last(long sourceObjectStateId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the last object state transition in the ordered set where sourceObjectStateId = ?.
|
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 = ?.
|
java.util.List<ObjectStateTransition> |
findBySourceObjectStateId(long sourceObjectStateId)
Returns all the object state transitions where sourceObjectStateId = ?.
|
java.util.List<ObjectStateTransition> |
findBySourceObjectStateId(long sourceObjectStateId,
int start,
int end)
Returns a range of all the object state transitions where sourceObjectStateId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectStateTransition |
findByTargetObjectStateId_First(long targetObjectStateId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the first object state transition in the ordered set where targetObjectStateId = ?.
|
ObjectStateTransition |
findByTargetObjectStateId_Last(long targetObjectStateId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the last object state transition in the ordered set where targetObjectStateId = ?.
|
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 = ?.
|
java.util.List<ObjectStateTransition> |
findByTargetObjectStateId(long targetObjectStateId)
Returns all the object state transitions where targetObjectStateId = ?.
|
java.util.List<ObjectStateTransition> |
findByTargetObjectStateId(long targetObjectStateId,
int start,
int end)
Returns a range of all the object state transitions where targetObjectStateId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectStateTransition |
findByUuid_C_First(java.lang.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 = ?.
|
ObjectStateTransition |
findByUuid_C_Last(java.lang.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 = ?.
|
ObjectStateTransition[] |
findByUuid_C_PrevAndNext(long objectStateTransitionId,
java.lang.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 = ?.
|
java.util.List<ObjectStateTransition> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object state transitions where uuid = ? and companyId = ?.
|
java.util.List<ObjectStateTransition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object state transitions where uuid = ? and companyId = ?.
|
java.util.List<ObjectStateTransition> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<ObjectStateTransition> |
findByUuid_C(java.lang.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 = ?.
|
ObjectStateTransition |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the first object state transition in the ordered set where uuid = ?.
|
ObjectStateTransition |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Returns the last object state transition in the ordered set where uuid = ?.
|
ObjectStateTransition[] |
findByUuid_PrevAndNext(long objectStateTransitionId,
java.lang.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 = ?.
|
java.util.List<ObjectStateTransition> |
findByUuid(java.lang.String uuid)
Returns all the object state transitions where uuid = ?.
|
java.util.List<ObjectStateTransition> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object state transitions where uuid = ?.
|
java.util.List<ObjectStateTransition> |
findByUuid(java.lang.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 = ?.
|
java.util.List<ObjectStateTransition> |
findByUuid(java.lang.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 = ?.
|
ObjectStateTransition |
remove(long objectStateTransitionId)
Removes the object state transition with the primary key from the database.
|
void |
removeAll()
Removes all the object state transitions from the database.
|
void |
removeByObjectStateFlowId(long objectStateFlowId)
Removes all the object state transitions where objectStateFlowId = ? from the database.
|
void |
removeBySourceObjectStateId(long sourceObjectStateId)
Removes all the object state transitions where sourceObjectStateId = ? from the database.
|
void |
removeByTargetObjectStateId(long targetObjectStateId)
Removes all the object state transitions where targetObjectStateId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object state transitions where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object state transitions where uuid = ? from the database.
|
ObjectStateTransition |
updateImpl(ObjectStateTransition objectStateTransition) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ObjectStateTransition> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectStateTransition> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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)java.util.List<ObjectStateTransition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)java.util.List<ObjectStateTransition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectStateTransition findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition[] findByUuid_PrevAndNext(long objectStateTransitionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
objectStateTransitionId
- the primary key of the current object state transitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a object state transition with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectStateTransition> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectStateTransition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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)java.util.List<ObjectStateTransition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)java.util.List<ObjectStateTransition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectStateTransition findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition[] findByUuid_C_PrevAndNext(long objectStateTransitionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
objectStateTransitionId
- the primary key of the current object state transitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a object state transition with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId)
objectStateFlowId
- the object state flow IDjava.util.List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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)java.util.List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)java.util.List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectStateTransition findByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
objectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
objectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition findByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
objectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
objectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition[] findByObjectStateFlowId_PrevAndNext(long objectStateTransitionId, long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
objectStateTransitionId
- the primary key of the current object state transitionobjectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a object state transition with the primary key could not be foundvoid removeByObjectStateFlowId(long objectStateFlowId)
objectStateFlowId
- the object state flow IDint countByObjectStateFlowId(long objectStateFlowId)
objectStateFlowId
- the object state flow IDjava.util.List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId)
sourceObjectStateId
- the source object state IDjava.util.List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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)java.util.List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)java.util.List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectStateTransition findBySourceObjectStateId_First(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
sourceObjectStateId
- the source object state IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchBySourceObjectStateId_First(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
sourceObjectStateId
- the source object state IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition findBySourceObjectStateId_Last(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
sourceObjectStateId
- the source object state IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchBySourceObjectStateId_Last(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
sourceObjectStateId
- the source object state IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition[] findBySourceObjectStateId_PrevAndNext(long objectStateTransitionId, long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
objectStateTransitionId
- the primary key of the current object state transitionsourceObjectStateId
- the source object state IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a object state transition with the primary key could not be foundvoid removeBySourceObjectStateId(long sourceObjectStateId)
sourceObjectStateId
- the source object state IDint countBySourceObjectStateId(long sourceObjectStateId)
sourceObjectStateId
- the source object state IDjava.util.List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId)
targetObjectStateId
- the target object state IDjava.util.List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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)java.util.List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)java.util.List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectStateTransition findByTargetObjectStateId_First(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
targetObjectStateId
- the target object state IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchByTargetObjectStateId_First(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
targetObjectStateId
- the target object state IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition findByTargetObjectStateId_Last(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
targetObjectStateId
- the target object state IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a matching object state transition could not be foundObjectStateTransition fetchByTargetObjectStateId_Last(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
targetObjectStateId
- the target object state IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state transition could not be foundObjectStateTransition[] findByTargetObjectStateId_PrevAndNext(long objectStateTransitionId, long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
objectStateTransitionId
- the primary key of the current object state transitiontargetObjectStateId
- the target object state IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateTransitionException
- if a object state transition with the primary key could not be foundvoid removeByTargetObjectStateId(long targetObjectStateId)
targetObjectStateId
- the target object state IDint countByTargetObjectStateId(long targetObjectStateId)
targetObjectStateId
- the target object state IDvoid cacheResult(ObjectStateTransition objectStateTransition)
objectStateTransition
- the object state transitionvoid cacheResult(java.util.List<ObjectStateTransition> objectStateTransitions)
objectStateTransitions
- the object state transitionsObjectStateTransition create(long objectStateTransitionId)
objectStateTransitionId
- the primary key for the new object state transitionObjectStateTransition remove(long objectStateTransitionId) throws NoSuchObjectStateTransitionException
objectStateTransitionId
- the primary key of the object state transitionNoSuchObjectStateTransitionException
- if a object state transition with the primary key could not be foundObjectStateTransition updateImpl(ObjectStateTransition objectStateTransition)
ObjectStateTransition findByPrimaryKey(long objectStateTransitionId) throws NoSuchObjectStateTransitionException
NoSuchObjectStateTransitionException
if it could not be found.objectStateTransitionId
- the primary key of the object state transitionNoSuchObjectStateTransitionException
- if a object state transition with the primary key could not be foundObjectStateTransition fetchByPrimaryKey(long objectStateTransitionId)
null
if it could not be found.objectStateTransitionId
- the primary key of the object state transitionnull
if a object state transition with the primary key could not be foundjava.util.List<ObjectStateTransition> findAll()
java.util.List<ObjectStateTransition> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
start
- the lower bound of the range of object state transitionsend
- the upper bound of the range of object state transitions (not inclusive)java.util.List<ObjectStateTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)java.util.List<ObjectStateTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectStateTransitionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()