@ProviderType public interface ObjectStatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectState>
Caching information and settings can be found in portal.properties
ObjectStateUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectState> objectStates)
Caches the object states in the entity cache if it is enabled.
|
void |
cacheResult(ObjectState objectState)
Caches the object state in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object states.
|
int |
countByListTypeEntryId(long listTypeEntryId)
Returns the number of object states where listTypeEntryId = ?.
|
int |
countByLTEI_OSFI(long listTypeEntryId,
long objectStateFlowId)
Returns the number of object states where listTypeEntryId = ? and objectStateFlowId = ?.
|
int |
countByObjectStateFlowId(long objectStateFlowId)
Returns the number of object states where objectStateFlowId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object states where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object states where uuid = ?.
|
ObjectState |
create(long objectStateId)
Creates a new object state with the primary key.
|
ObjectState |
fetchByListTypeEntryId_First(long listTypeEntryId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the first object state in the ordered set where listTypeEntryId = ?.
|
ObjectState |
fetchByListTypeEntryId_Last(long listTypeEntryId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the last object state in the ordered set where listTypeEntryId = ?.
|
ObjectState |
fetchByLTEI_OSFI(long listTypeEntryId,
long objectStateFlowId)
Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or returns
null if it could not be found. |
ObjectState |
fetchByLTEI_OSFI(long listTypeEntryId,
long objectStateFlowId,
boolean useFinderCache)
Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or returns
null if it could not be found, optionally using the finder cache. |
ObjectState |
fetchByObjectStateFlowId_First(long objectStateFlowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the first object state in the ordered set where objectStateFlowId = ?.
|
ObjectState |
fetchByObjectStateFlowId_Last(long objectStateFlowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the last object state in the ordered set where objectStateFlowId = ?.
|
ObjectState |
fetchByPrimaryKey(long objectStateId)
Returns the object state with the primary key or returns
null if it could not be found. |
ObjectState |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the first object state in the ordered set where uuid = ? and companyId = ?.
|
ObjectState |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the last object state in the ordered set where uuid = ? and companyId = ?.
|
ObjectState |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the first object state in the ordered set where uuid = ?.
|
ObjectState |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the last object state in the ordered set where uuid = ?.
|
java.util.List<ObjectState> |
findAll()
Returns all the object states.
|
java.util.List<ObjectState> |
findAll(int start,
int end)
Returns a range of all the object states.
|
java.util.List<ObjectState> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns an ordered range of all the object states.
|
java.util.List<ObjectState> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object states.
|
ObjectState |
findByListTypeEntryId_First(long listTypeEntryId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the first object state in the ordered set where listTypeEntryId = ?.
|
ObjectState |
findByListTypeEntryId_Last(long listTypeEntryId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the last object state in the ordered set where listTypeEntryId = ?.
|
ObjectState[] |
findByListTypeEntryId_PrevAndNext(long objectStateId,
long listTypeEntryId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the object states before and after the current object state in the ordered set where listTypeEntryId = ?.
|
java.util.List<ObjectState> |
findByListTypeEntryId(long listTypeEntryId)
Returns all the object states where listTypeEntryId = ?.
|
java.util.List<ObjectState> |
findByListTypeEntryId(long listTypeEntryId,
int start,
int end)
Returns a range of all the object states where listTypeEntryId = ?.
|
java.util.List<ObjectState> |
findByListTypeEntryId(long listTypeEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns an ordered range of all the object states where listTypeEntryId = ?.
|
java.util.List<ObjectState> |
findByListTypeEntryId(long listTypeEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object states where listTypeEntryId = ?.
|
ObjectState |
findByLTEI_OSFI(long listTypeEntryId,
long objectStateFlowId)
Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or throws a
NoSuchObjectStateException if it could not be found. |
ObjectState |
findByObjectStateFlowId_First(long objectStateFlowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the first object state in the ordered set where objectStateFlowId = ?.
|
ObjectState |
findByObjectStateFlowId_Last(long objectStateFlowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the last object state in the ordered set where objectStateFlowId = ?.
|
ObjectState[] |
findByObjectStateFlowId_PrevAndNext(long objectStateId,
long objectStateFlowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the object states before and after the current object state in the ordered set where objectStateFlowId = ?.
|
java.util.List<ObjectState> |
findByObjectStateFlowId(long objectStateFlowId)
Returns all the object states where objectStateFlowId = ?.
|
java.util.List<ObjectState> |
findByObjectStateFlowId(long objectStateFlowId,
int start,
int end)
Returns a range of all the object states where objectStateFlowId = ?.
|
java.util.List<ObjectState> |
findByObjectStateFlowId(long objectStateFlowId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns an ordered range of all the object states where objectStateFlowId = ?.
|
java.util.List<ObjectState> |
findByObjectStateFlowId(long objectStateFlowId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object states where objectStateFlowId = ?.
|
ObjectState |
findByPrimaryKey(long objectStateId)
Returns the object state with the primary key or throws a
NoSuchObjectStateException if it could not be found. |
ObjectState |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the first object state in the ordered set where uuid = ? and companyId = ?.
|
ObjectState |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the last object state in the ordered set where uuid = ? and companyId = ?.
|
ObjectState[] |
findByUuid_C_PrevAndNext(long objectStateId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the object states before and after the current object state in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<ObjectState> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object states where uuid = ? and companyId = ?.
|
java.util.List<ObjectState> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object states where uuid = ? and companyId = ?.
|
java.util.List<ObjectState> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns an ordered range of all the object states where uuid = ? and companyId = ?.
|
java.util.List<ObjectState> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object states where uuid = ? and companyId = ?.
|
ObjectState |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the first object state in the ordered set where uuid = ?.
|
ObjectState |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the last object state in the ordered set where uuid = ?.
|
ObjectState[] |
findByUuid_PrevAndNext(long objectStateId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns the object states before and after the current object state in the ordered set where uuid = ?.
|
java.util.List<ObjectState> |
findByUuid(java.lang.String uuid)
Returns all the object states where uuid = ?.
|
java.util.List<ObjectState> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object states where uuid = ?.
|
java.util.List<ObjectState> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
Returns an ordered range of all the object states where uuid = ?.
|
java.util.List<ObjectState> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object states where uuid = ?.
|
ObjectState |
remove(long objectStateId)
Removes the object state with the primary key from the database.
|
void |
removeAll()
Removes all the object states from the database.
|
void |
removeByListTypeEntryId(long listTypeEntryId)
Removes all the object states where listTypeEntryId = ? from the database.
|
ObjectState |
removeByLTEI_OSFI(long listTypeEntryId,
long objectStateFlowId)
Removes the object state where listTypeEntryId = ? and objectStateFlowId = ? from the database.
|
void |
removeByObjectStateFlowId(long objectStateFlowId)
Removes all the object states where objectStateFlowId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object states where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object states where uuid = ? from the database.
|
ObjectState |
updateImpl(ObjectState objectState) |
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<ObjectState> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectState> 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 ObjectStateModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)java.util.List<ObjectState> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectState> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectState findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a matching object state could not be foundObjectState fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state could not be foundObjectState findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a matching object state could not be foundObjectState fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state could not be foundObjectState[] findByUuid_PrevAndNext(long objectStateId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
objectStateId
- the primary key of the current object stateuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a object state 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<ObjectState> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectState> 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 ObjectStateModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)java.util.List<ObjectState> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectState> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectState findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a matching object state could not be foundObjectState fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state could not be foundObjectState findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a matching object state could not be foundObjectState fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state could not be foundObjectState[] findByUuid_C_PrevAndNext(long objectStateId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
objectStateId
- the primary key of the current object stateuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a object state 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<ObjectState> findByListTypeEntryId(long listTypeEntryId)
listTypeEntryId
- the list type entry IDjava.util.List<ObjectState> findByListTypeEntryId(long listTypeEntryId, 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 ObjectStateModelImpl
.
listTypeEntryId
- the list type entry IDstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)java.util.List<ObjectState> findByListTypeEntryId(long listTypeEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
listTypeEntryId
- the list type entry IDstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectState> findByListTypeEntryId(long listTypeEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
listTypeEntryId
- the list type entry IDstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectState findByListTypeEntryId_First(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
listTypeEntryId
- the list type entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a matching object state could not be foundObjectState fetchByListTypeEntryId_First(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
listTypeEntryId
- the list type entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state could not be foundObjectState findByListTypeEntryId_Last(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
listTypeEntryId
- the list type entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a matching object state could not be foundObjectState fetchByListTypeEntryId_Last(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
listTypeEntryId
- the list type entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state could not be foundObjectState[] findByListTypeEntryId_PrevAndNext(long objectStateId, long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
objectStateId
- the primary key of the current object statelistTypeEntryId
- the list type entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a object state with the primary key could not be foundvoid removeByListTypeEntryId(long listTypeEntryId)
listTypeEntryId
- the list type entry IDint countByListTypeEntryId(long listTypeEntryId)
listTypeEntryId
- the list type entry IDjava.util.List<ObjectState> findByObjectStateFlowId(long objectStateFlowId)
objectStateFlowId
- the object state flow IDjava.util.List<ObjectState> 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 ObjectStateModelImpl
.
objectStateFlowId
- the object state flow IDstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)java.util.List<ObjectState> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
objectStateFlowId
- the object state flow IDstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectState> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
objectStateFlowId
- the object state flow IDstart
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectState findByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
objectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a matching object state could not be foundObjectState fetchByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
objectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state could not be foundObjectState findByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
objectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a matching object state could not be foundObjectState fetchByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
objectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state could not be foundObjectState[] findByObjectStateFlowId_PrevAndNext(long objectStateId, long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
objectStateId
- the primary key of the current object stateobjectStateFlowId
- the object state flow IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateException
- if a object state 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 IDObjectState findByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId) throws NoSuchObjectStateException
NoSuchObjectStateException
if it could not be found.listTypeEntryId
- the list type entry IDobjectStateFlowId
- the object state flow IDNoSuchObjectStateException
- if a matching object state could not be foundObjectState fetchByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId)
null
if it could not be found. Uses the finder cache.listTypeEntryId
- the list type entry IDobjectStateFlowId
- the object state flow IDnull
if a matching object state could not be foundObjectState fetchByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.listTypeEntryId
- the list type entry IDobjectStateFlowId
- the object state flow IDuseFinderCache
- whether to use the finder cachenull
if a matching object state could not be foundObjectState removeByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId) throws NoSuchObjectStateException
listTypeEntryId
- the list type entry IDobjectStateFlowId
- the object state flow IDNoSuchObjectStateException
int countByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId)
listTypeEntryId
- the list type entry IDobjectStateFlowId
- the object state flow IDvoid cacheResult(ObjectState objectState)
objectState
- the object statevoid cacheResult(java.util.List<ObjectState> objectStates)
objectStates
- the object statesObjectState create(long objectStateId)
objectStateId
- the primary key for the new object stateObjectState remove(long objectStateId) throws NoSuchObjectStateException
objectStateId
- the primary key of the object stateNoSuchObjectStateException
- if a object state with the primary key could not be foundObjectState updateImpl(ObjectState objectState)
ObjectState findByPrimaryKey(long objectStateId) throws NoSuchObjectStateException
NoSuchObjectStateException
if it could not be found.objectStateId
- the primary key of the object stateNoSuchObjectStateException
- if a object state with the primary key could not be foundObjectState fetchByPrimaryKey(long objectStateId)
null
if it could not be found.objectStateId
- the primary key of the object statenull
if a object state with the primary key could not be foundjava.util.List<ObjectState> findAll()
java.util.List<ObjectState> 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 ObjectStateModelImpl
.
start
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)java.util.List<ObjectState> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
start
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectState> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> 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 ObjectStateModelImpl
.
start
- the lower bound of the range of object statesend
- the upper bound of the range of object states (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()