Interface WorkflowInstanceLinkPersistence
- All Superinterfaces:
BasePersistence<WorkflowInstanceLink>
,CTPersistence<WorkflowInstanceLink>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(WorkflowInstanceLink workflowInstanceLink) Caches the workflow instance link in the entity cache if it is enabled.void
cacheResult
(List<WorkflowInstanceLink> workflowInstanceLinks) Caches the workflow instance links in the entity cache if it is enabled.int
countAll()
Returns the number of workflow instance links.int
countByG_C_C
(long groupId, long companyId, long classNameId) Returns the number of workflow instance links where groupId = ? and companyId = ? and classNameId = ?.int
countByG_C_C_C
(long groupId, long companyId, long classNameId, long classPK) Returns the number of workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.create
(long workflowInstanceLinkId) Creates a new workflow instance link with the primary key.fetchByG_C_C_C_First
(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.fetchByG_C_C_C_Last
(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.fetchByG_C_C_First
(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.fetchByG_C_C_Last
(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.fetchByPrimaryKey
(long workflowInstanceLinkId) Returns the workflow instance link with the primary key or returnsnull
if it could not be found.findAll()
Returns all the workflow instance links.findAll
(int start, int end) Returns a range of all the workflow instance links.findAll
(int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns an ordered range of all the workflow instance links.findAll
(int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow instance links.findByG_C_C
(long groupId, long companyId, long classNameId) Returns all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.findByG_C_C
(long groupId, long companyId, long classNameId, int start, int end) Returns a range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.findByG_C_C
(long groupId, long companyId, long classNameId, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.findByG_C_C
(long groupId, long companyId, long classNameId, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.findByG_C_C_C
(long groupId, long companyId, long classNameId, long classPK) Returns all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.findByG_C_C_C
(long groupId, long companyId, long classNameId, long classPK, int start, int end) Returns a range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.findByG_C_C_C
(long groupId, long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.findByG_C_C_C
(long groupId, long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.findByG_C_C_C_First
(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.findByG_C_C_C_Last
(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.findByG_C_C_C_PrevAndNext
(long workflowInstanceLinkId, long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the workflow instance links before and after the current workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.findByG_C_C_First
(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.findByG_C_C_Last
(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.findByG_C_C_PrevAndNext
(long workflowInstanceLinkId, long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the workflow instance links before and after the current workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.findByPrimaryKey
(long workflowInstanceLinkId) Returns the workflow instance link with the primary key or throws aNoSuchWorkflowInstanceLinkException
if it could not be found.remove
(long workflowInstanceLinkId) Removes the workflow instance link with the primary key from the database.void
Removes all the workflow instance links from the database.void
removeByG_C_C
(long groupId, long companyId, long classNameId) Removes all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? from the database.void
removeByG_C_C_C
(long groupId, long companyId, long classNameId, long classPK) Removes all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ? from the database.updateImpl
(WorkflowInstanceLink workflowInstanceLink) 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
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByG_C_C
Returns all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name ID- Returns:
- the matching workflow instance links
-
findByG_C_C
List<WorkflowInstanceLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end) Returns a range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.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 fromWorkflowInstanceLinkModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)- Returns:
- the range of matching workflow instance links
-
findByG_C_C
List<WorkflowInstanceLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.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 fromWorkflowInstanceLinkModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching workflow instance links
-
findByG_C_C
List<WorkflowInstanceLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.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 fromWorkflowInstanceLinkModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching workflow instance links
-
findByG_C_C_First
WorkflowInstanceLink findByG_C_C_First(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow instance link
- Throws:
NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be found
-
fetchByG_C_C_First
WorkflowInstanceLink fetchByG_C_C_First(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow instance link, or
null
if a matching workflow instance link could not be found
-
findByG_C_C_Last
WorkflowInstanceLink findByG_C_C_Last(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow instance link
- Throws:
NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be found
-
fetchByG_C_C_Last
WorkflowInstanceLink fetchByG_C_C_Last(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow instance link, or
null
if a matching workflow instance link could not be found
-
findByG_C_C_PrevAndNext
WorkflowInstanceLink[] findByG_C_C_PrevAndNext(long workflowInstanceLinkId, long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException Returns the workflow instance links before and after the current workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
workflowInstanceLinkId
- the primary key of the current workflow instance linkgroupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next workflow instance link
- Throws:
NoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be found
-
removeByG_C_C
void removeByG_C_C(long groupId, long companyId, long classNameId) Removes all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? from the database.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name ID
-
countByG_C_C
int countByG_C_C(long groupId, long companyId, long classNameId) Returns the number of workflow instance links where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name ID- Returns:
- the number of matching workflow instance links
-
findByG_C_C_C
List<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK) Returns all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching workflow instance links
-
findByG_C_C_C
List<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end) Returns a range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.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 fromWorkflowInstanceLinkModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)- Returns:
- the range of matching workflow instance links
-
findByG_C_C_C
List<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.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 fromWorkflowInstanceLinkModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching workflow instance links
-
findByG_C_C_C
List<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.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 fromWorkflowInstanceLinkModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching workflow instance links
-
findByG_C_C_C_First
WorkflowInstanceLink findByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow instance link
- Throws:
NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be found
-
fetchByG_C_C_C_First
WorkflowInstanceLink fetchByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow instance link, or
null
if a matching workflow instance link could not be found
-
findByG_C_C_C_Last
WorkflowInstanceLink findByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow instance link
- Throws:
NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be found
-
fetchByG_C_C_C_Last
WorkflowInstanceLink fetchByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow instance link, or
null
if a matching workflow instance link could not be found
-
findByG_C_C_C_PrevAndNext
WorkflowInstanceLink[] findByG_C_C_C_PrevAndNext(long workflowInstanceLinkId, long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException Returns the workflow instance links before and after the current workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.- Parameters:
workflowInstanceLinkId
- the primary key of the current workflow instance linkgroupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next workflow instance link
- Throws:
NoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be found
-
removeByG_C_C_C
void removeByG_C_C_C(long groupId, long companyId, long classNameId, long classPK) Removes all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pk
-
countByG_C_C_C
int countByG_C_C_C(long groupId, long companyId, long classNameId, long classPK) Returns the number of workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching workflow instance links
-
cacheResult
Caches the workflow instance link in the entity cache if it is enabled.- Parameters:
workflowInstanceLink
- the workflow instance link
-
cacheResult
Caches the workflow instance links in the entity cache if it is enabled.- Parameters:
workflowInstanceLinks
- the workflow instance links
-
create
Creates a new workflow instance link with the primary key. Does not add the workflow instance link to the database.- Parameters:
workflowInstanceLinkId
- the primary key for the new workflow instance link- Returns:
- the new workflow instance link
-
remove
Removes the workflow instance link with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
workflowInstanceLinkId
- the primary key of the workflow instance link- Returns:
- the workflow instance link that was removed
- Throws:
NoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
WorkflowInstanceLink findByPrimaryKey(long workflowInstanceLinkId) throws NoSuchWorkflowInstanceLinkException Returns the workflow instance link with the primary key or throws aNoSuchWorkflowInstanceLinkException
if it could not be found.- Parameters:
workflowInstanceLinkId
- the primary key of the workflow instance link- Returns:
- the workflow instance link
- Throws:
NoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be found
-
fetchByPrimaryKey
Returns the workflow instance link with the primary key or returnsnull
if it could not be found.- Parameters:
workflowInstanceLinkId
- the primary key of the workflow instance link- Returns:
- the workflow instance link, or
null
if a workflow instance link with the primary key could not be found
-
findAll
List<WorkflowInstanceLink> findAll()Returns all the workflow instance links.- Returns:
- the workflow instance links
-
findAll
Returns a range of all the workflow instance links.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 fromWorkflowInstanceLinkModelImpl
.- Parameters:
start
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)- Returns:
- the range of workflow instance links
-
findAll
List<WorkflowInstanceLink> findAll(int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator) Returns an ordered range of all the workflow instance links.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 fromWorkflowInstanceLinkModelImpl
.- Parameters:
start
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of workflow instance links
-
findAll
List<WorkflowInstanceLink> findAll(int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow instance links.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 fromWorkflowInstanceLinkModelImpl
.- Parameters:
start
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of workflow instance links
-
removeAll
void removeAll()Removes all the workflow instance links from the database. -
countAll
int countAll()Returns the number of workflow instance links.- Returns:
- the number of workflow instance links
-