Interface ObjectStateFlowPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectStateFlow>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectStateFlow objectStateFlow) Caches the object state flow in the entity cache if it is enabled.void
cacheResult
(List<ObjectStateFlow> objectStateFlows) Caches the object state flows 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
(String uuid) Returns the number of object state flows where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object state flows where uuid = ? and companyId = ?.create
(long objectStateFlowId) Creates a new object state flow with the primary key.fetchByObjectFieldId
(long objectFieldId) Returns the object state flow where objectFieldId = ? or returnsnull
if it could not be found.fetchByObjectFieldId
(long objectFieldId, boolean useFinderCache) Returns the object state flow where objectFieldId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long objectStateFlowId) Returns the object state flow with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) Returns the first object state flow in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) Returns the last object state flow in the ordered set where uuid = ?.findAll()
Returns all the object state flows.findAll
(int start, int end) Returns a range of all the object state flows.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) Returns an ordered range of all the object state flows.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.findByObjectFieldId
(long objectFieldId) Returns the object state flow where objectFieldId = ? or throws aNoSuchObjectStateFlowException
if it could not be found.findByPrimaryKey
(long objectStateFlowId) Returns the object state flow with the primary key or throws aNoSuchObjectStateFlowException
if it could not be found.findByUuid
(String uuid) Returns all the object state flows where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object state flows where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the object state flows where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object state flows where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long objectStateFlowId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) Returns the first object state flow in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) Returns the last object state flow in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectStateFlowId, 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 = ?.remove
(long objectStateFlowId) Removes the object state flow with the primary key from the database.void
Removes all the object state flows from the database.removeByObjectFieldId
(long objectFieldId) Removes the object state flow where objectFieldId = ? from the database.void
removeByUuid
(String uuid) Removes all the object state flows where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object state flows where uuid = ? and companyId = ? from the database.updateImpl
(ObjectStateFlow objectStateFlow) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the object state flows where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object state flows
-
findByUuid
Returns a range of all the object state flows where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectStateFlowModelImpl
.- Parameters:
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)- Returns:
- the range of matching object state flows
-
findByUuid
List<ObjectStateFlow> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectStateFlowModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object state flows
-
findByUuid
List<ObjectStateFlow> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectStateFlowModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object state flows
-
findByUuid_First
ObjectStateFlow findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException Returns the first object state flow in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object state flow
- Throws:
NoSuchObjectStateFlowException
- if a matching object state flow could not be found
-
fetchByUuid_First
ObjectStateFlow fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) Returns the first object state flow in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object state flow, or
null
if a matching object state flow could not be found
-
findByUuid_Last
ObjectStateFlow findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException Returns the last object state flow in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object state flow
- Throws:
NoSuchObjectStateFlowException
- if a matching object state flow could not be found
-
fetchByUuid_Last
ObjectStateFlow fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) Returns the last object state flow in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object state flow, or
null
if a matching object state flow could not be found
-
findByUuid_PrevAndNext
ObjectStateFlow[] findByUuid_PrevAndNext(long objectStateFlowId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException Returns the object state flows before and after the current object state flow in the ordered set where uuid = ?.- Parameters:
objectStateFlowId
- the primary key of the current object state flowuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object state flow
- Throws:
NoSuchObjectStateFlowException
- if a object state flow with the primary key could not be found
-
removeByUuid
Removes all the object state flows where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object state flows where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object state flows
-
findByUuid_C
Returns all the object state flows where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object state flows
-
findByUuid_C
Returns a range of all the object state flows where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectStateFlowModelImpl
.- Parameters:
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)- Returns:
- the range of matching object state flows
-
findByUuid_C
List<ObjectStateFlow> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectStateFlowModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object state flows
-
findByUuid_C
List<ObjectStateFlow> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectStateFlowModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object state flows
-
findByUuid_C_First
ObjectStateFlow findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException Returns the first object state flow in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object state flow
- Throws:
NoSuchObjectStateFlowException
- if a matching object state flow could not be found
-
fetchByUuid_C_First
ObjectStateFlow fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object state flow, or
null
if a matching object state flow could not be found
-
findByUuid_C_Last
ObjectStateFlow findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException Returns the last object state flow in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object state flow
- Throws:
NoSuchObjectStateFlowException
- if a matching object state flow could not be found
-
fetchByUuid_C_Last
ObjectStateFlow fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object state flow, or
null
if a matching object state flow could not be found
-
findByUuid_C_PrevAndNext
ObjectStateFlow[] findByUuid_C_PrevAndNext(long objectStateFlowId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateFlow> orderByComparator) throws NoSuchObjectStateFlowException Returns the object state flows before and after the current object state flow in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectStateFlowId
- the primary key of the current object state flowuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object state flow
- Throws:
NoSuchObjectStateFlowException
- if a object state flow with the primary key could not be found
-
removeByUuid_C
Removes all the object state flows where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object state flows where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object state flows
-
findByObjectFieldId
Returns the object state flow where objectFieldId = ? or throws aNoSuchObjectStateFlowException
if it could not be found.- Parameters:
objectFieldId
- the object field ID- Returns:
- the matching object state flow
- Throws:
NoSuchObjectStateFlowException
- if a matching object state flow could not be found
-
fetchByObjectFieldId
Returns the object state flow where objectFieldId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
objectFieldId
- the object field ID- Returns:
- the matching object state flow, or
null
if a matching object state flow could not be found
-
fetchByObjectFieldId
Returns the object state flow where objectFieldId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
objectFieldId
- the object field IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching object state flow, or
null
if a matching object state flow could not be found
-
removeByObjectFieldId
Removes the object state flow where objectFieldId = ? from the database.- Parameters:
objectFieldId
- the object field ID- Returns:
- the object state flow that was removed
- Throws:
NoSuchObjectStateFlowException
-
countByObjectFieldId
int countByObjectFieldId(long objectFieldId) Returns the number of object state flows where objectFieldId = ?.- Parameters:
objectFieldId
- the object field ID- Returns:
- the number of matching object state flows
-
cacheResult
Caches the object state flow in the entity cache if it is enabled.- Parameters:
objectStateFlow
- the object state flow
-
cacheResult
Caches the object state flows in the entity cache if it is enabled.- Parameters:
objectStateFlows
- the object state flows
-
create
Creates a new object state flow with the primary key. Does not add the object state flow to the database.- Parameters:
objectStateFlowId
- the primary key for the new object state flow- Returns:
- the new object state flow
-
remove
Removes the object state flow with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectStateFlowId
- the primary key of the object state flow- Returns:
- the object state flow that was removed
- Throws:
NoSuchObjectStateFlowException
- if a object state flow with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object state flow with the primary key or throws aNoSuchObjectStateFlowException
if it could not be found.- Parameters:
objectStateFlowId
- the primary key of the object state flow- Returns:
- the object state flow
- Throws:
NoSuchObjectStateFlowException
- if a object state flow with the primary key could not be found
-
fetchByPrimaryKey
Returns the object state flow with the primary key or returnsnull
if it could not be found.- Parameters:
objectStateFlowId
- the primary key of the object state flow- Returns:
- the object state flow, or
null
if a object state flow with the primary key could not be found
-
findAll
List<ObjectStateFlow> findAll()Returns all the object state flows.- Returns:
- the object state flows
-
findAll
Returns a range of all the object state flows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectStateFlowModelImpl
.- Parameters:
start
- the lower bound of the range of object state flowsend
- the upper bound of the range of object state flows (not inclusive)- Returns:
- the range of object state flows
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectStateFlowModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of object state flows
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectStateFlowModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object state flows
-
removeAll
void removeAll()Removes all the object state flows from the database. -
countAll
int countAll()Returns the number of object state flows.- Returns:
- the number of object state flows
-