@ProviderType public interface ObjectStateFlowPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectStateFlow>
Caching information and settings can be found in portal.properties
ObjectStateFlowUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectStateFlow> objectStateFlows)
Caches the object state flows in the entity cache if it is enabled.
|
void |
cacheResult(ObjectStateFlow objectStateFlow)
Caches the object state flow in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object state flows.
|
int |
countByObjectFieldId(long objectFieldId)
Returns the number of object state flows where objectFieldId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object state flows where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object state flows where uuid = ?.
|
ObjectStateFlow |
create(long objectStateFlowId)
Creates a new object state flow with the primary key.
|
ObjectStateFlow |
fetchByObjectFieldId(long objectFieldId)
Returns the object state flow where objectFieldId = ? or returns
null if it could not be found. |
ObjectStateFlow |
fetchByObjectFieldId(long objectFieldId,
boolean useFinderCache)
Returns the object state flow where objectFieldId = ? or returns
null if it could not be found, optionally using the finder cache. |
ObjectStateFlow |
fetchByPrimaryKey(long objectStateFlowId)
Returns the object state flow with the primary key or returns
null if it could not be found. |
ObjectStateFlow |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the first object state flow in the ordered set where uuid = ? and companyId = ?.
|
ObjectStateFlow |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the last object state flow in the ordered set where uuid = ? and companyId = ?.
|
ObjectStateFlow |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the first object state flow in the ordered set where uuid = ?.
|
ObjectStateFlow |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the last object state flow in the ordered set where uuid = ?.
|
java.util.List<ObjectStateFlow> |
findAll()
Returns all the object state flows.
|
java.util.List<ObjectStateFlow> |
findAll(int start,
int end)
Returns a range of all the object state flows.
|
java.util.List<ObjectStateFlow> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns an ordered range of all the object state flows.
|
java.util.List<ObjectStateFlow> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object state flows.
|
ObjectStateFlow |
findByObjectFieldId(long objectFieldId)
Returns the object state flow where objectFieldId = ? or throws a
NoSuchObjectStateFlowException if it could not be found. |
ObjectStateFlow |
findByPrimaryKey(long objectStateFlowId)
Returns the object state flow with the primary key or throws a
NoSuchObjectStateFlowException if it could not be found. |
ObjectStateFlow |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the first object state flow in the ordered set where uuid = ? and companyId = ?.
|
ObjectStateFlow |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the last object state flow in the ordered set where uuid = ? and companyId = ?.
|
ObjectStateFlow[] |
findByUuid_C_PrevAndNext(long objectStateFlowId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the object state flows before and after the current object state flow in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<ObjectStateFlow> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object state flows where uuid = ? and companyId = ?.
|
java.util.List<ObjectStateFlow> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object state flows where uuid = ? and companyId = ?.
|
java.util.List<ObjectStateFlow> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns an ordered range of all the object state flows where uuid = ? and companyId = ?.
|
java.util.List<ObjectStateFlow> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object state flows where uuid = ? and companyId = ?.
|
ObjectStateFlow |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the first object state flow in the ordered set where uuid = ?.
|
ObjectStateFlow |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the last object state flow in the ordered set where uuid = ?.
|
ObjectStateFlow[] |
findByUuid_PrevAndNext(long objectStateFlowId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns the object state flows before and after the current object state flow in the ordered set where uuid = ?.
|
java.util.List<ObjectStateFlow> |
findByUuid(java.lang.String uuid)
Returns all the object state flows where uuid = ?.
|
java.util.List<ObjectStateFlow> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object state flows where uuid = ?.
|
java.util.List<ObjectStateFlow> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
Returns an ordered range of all the object state flows where uuid = ?.
|
java.util.List<ObjectStateFlow> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object state flows where uuid = ?.
|
ObjectStateFlow |
remove(long objectStateFlowId)
Removes the object state flow with the primary key from the database.
|
void |
removeAll()
Removes all the object state flows from the database.
|
ObjectStateFlow |
removeByObjectFieldId(long objectFieldId)
Removes the object state flow where objectFieldId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object state flows where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object state flows where uuid = ? from the database.
|
ObjectStateFlow |
updateImpl(ObjectStateFlow objectStateFlow) |
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<ObjectStateFlow> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectStateFlow> 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 ObjectStateFlowModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)java.util.List<ObjectStateFlow> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> 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 ObjectStateFlowModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectStateFlow> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> 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 ObjectStateFlowModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectStateFlow findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateFlowException
- if a matching object state flow could not be foundObjectStateFlow fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state flow could not be foundObjectStateFlow findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateFlowException
- if a matching object state flow could not be foundObjectStateFlow fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state flow could not be foundObjectStateFlow[] findByUuid_PrevAndNext(long objectStateFlowId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException
objectStateFlowId
- the primary key of the current object state flowuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateFlowException
- if a object state flow 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<ObjectStateFlow> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectStateFlow> 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 ObjectStateFlowModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)java.util.List<ObjectStateFlow> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> 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 ObjectStateFlowModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectStateFlow> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> 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 ObjectStateFlowModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectStateFlow findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateFlowException
- if a matching object state flow could not be foundObjectStateFlow fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state flow could not be foundObjectStateFlow findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateFlowException
- if a matching object state flow could not be foundObjectStateFlow fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object state flow could not be foundObjectStateFlow[] findByUuid_C_PrevAndNext(long objectStateFlowId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException
objectStateFlowId
- the primary key of the current object state flowuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectStateFlowException
- if a object state flow 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 IDObjectStateFlow findByObjectFieldId(long objectFieldId) throws NoSuchObjectStateFlowException
NoSuchObjectStateFlowException
if it could not be found.objectFieldId
- the object field IDNoSuchObjectStateFlowException
- if a matching object state flow could not be foundObjectStateFlow fetchByObjectFieldId(long objectFieldId)
null
if it could not be found. Uses the finder cache.objectFieldId
- the object field IDnull
if a matching object state flow could not be foundObjectStateFlow fetchByObjectFieldId(long objectFieldId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.objectFieldId
- the object field IDuseFinderCache
- whether to use the finder cachenull
if a matching object state flow could not be foundObjectStateFlow removeByObjectFieldId(long objectFieldId) throws NoSuchObjectStateFlowException
objectFieldId
- the object field IDNoSuchObjectStateFlowException
int countByObjectFieldId(long objectFieldId)
objectFieldId
- the object field IDvoid cacheResult(ObjectStateFlow objectStateFlow)
objectStateFlow
- the object state flowvoid cacheResult(java.util.List<ObjectStateFlow> objectStateFlows)
objectStateFlows
- the object state flowsObjectStateFlow create(long objectStateFlowId)
objectStateFlowId
- the primary key for the new object state flowObjectStateFlow remove(long objectStateFlowId) throws NoSuchObjectStateFlowException
objectStateFlowId
- the primary key of the object state flowNoSuchObjectStateFlowException
- if a object state flow with the primary key could not be foundObjectStateFlow updateImpl(ObjectStateFlow objectStateFlow)
ObjectStateFlow findByPrimaryKey(long objectStateFlowId) throws NoSuchObjectStateFlowException
NoSuchObjectStateFlowException
if it could not be found.objectStateFlowId
- the primary key of the object state flowNoSuchObjectStateFlowException
- if a object state flow with the primary key could not be foundObjectStateFlow fetchByPrimaryKey(long objectStateFlowId)
null
if it could not be found.objectStateFlowId
- the primary key of the object state flownull
if a object state flow with the primary key could not be foundjava.util.List<ObjectStateFlow> findAll()
java.util.List<ObjectStateFlow> 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 ObjectStateFlowModelImpl
.
start
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)java.util.List<ObjectStateFlow> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> 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 ObjectStateFlowModelImpl
.
start
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectStateFlow> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> 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 ObjectStateFlowModelImpl
.
start
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()