Interface KaleoProcessLinkPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoProcessLink>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(KaleoProcessLink kaleoProcessLink) Caches the kaleo process link in the entity cache if it is enabled.voidcacheResult(List<KaleoProcessLink> kaleoProcessLinks) Caches the kaleo process links in the entity cache if it is enabled.intcountAll()Returns the number of kaleo process links.intcountByKaleoProcessId(long kaleoProcessId) Returns the number of kaleo process links where kaleoProcessId = ?.intcountByKPI_WTN(long kaleoProcessId, String workflowTaskName) Returns the number of kaleo process links where kaleoProcessId = ? and workflowTaskName = ?.create(long kaleoProcessLinkId) Creates a new kaleo process link with the primary key.fetchByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.fetchByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.fetchByKPI_WTN(long kaleoProcessId, String workflowTaskName) Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returnsnullif it could not be found.fetchByKPI_WTN(long kaleoProcessId, String workflowTaskName, boolean useFinderCache) Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long kaleoProcessLinkId) Returns the kaleo process link with the primary key or returnsnullif it could not be found.findAll()Returns all the kaleo process links.findAll(int start, int end) Returns a range of all the kaleo process links.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns an ordered range of all the kaleo process links.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo process links.findByKaleoProcessId(long kaleoProcessId) Returns all the kaleo process links where kaleoProcessId = ?.findByKaleoProcessId(long kaleoProcessId, int start, int end) Returns a range of all the kaleo process links where kaleoProcessId = ?.findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns an ordered range of all the kaleo process links where kaleoProcessId = ?.findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo process links where kaleoProcessId = ?.findByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.findByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.findByKaleoProcessId_PrevAndNext(long kaleoProcessLinkId, long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the kaleo process links before and after the current kaleo process link in the ordered set where kaleoProcessId = ?.findByKPI_WTN(long kaleoProcessId, String workflowTaskName) Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or throws aNoSuchKaleoProcessLinkExceptionif it could not be found.findByPrimaryKey(long kaleoProcessLinkId) Returns the kaleo process link with the primary key or throws aNoSuchKaleoProcessLinkExceptionif it could not be found.remove(long kaleoProcessLinkId) Removes the kaleo process link with the primary key from the database.voidRemoves all the kaleo process links from the database.voidremoveByKaleoProcessId(long kaleoProcessId) Removes all the kaleo process links where kaleoProcessId = ? from the database.removeByKPI_WTN(long kaleoProcessId, String workflowTaskName) Removes the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? from the database.updateImpl(KaleoProcessLink kaleoProcessLink) 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
-
findByKaleoProcessId
Returns all the kaleo process links where kaleoProcessId = ?.- Parameters:
kaleoProcessId- the kaleo process ID- Returns:
- the matching kaleo process links
-
findByKaleoProcessId
Returns a range of all the kaleo process links where kaleoProcessId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoProcessLinkModelImpl.- Parameters:
kaleoProcessId- the kaleo process IDstart- the lower bound of the range of kaleo process linksend- the upper bound of the range of kaleo process links (not inclusive)- Returns:
- the range of matching kaleo process links
-
findByKaleoProcessId
List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns an ordered range of all the kaleo process links where kaleoProcessId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoProcessLinkModelImpl.- Parameters:
kaleoProcessId- the kaleo process IDstart- the lower bound of the range of kaleo process linksend- the upper bound of the range of kaleo process links (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo process links
-
findByKaleoProcessId
List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo process links where kaleoProcessId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoProcessLinkModelImpl.- Parameters:
kaleoProcessId- the kaleo process IDstart- the lower bound of the range of kaleo process linksend- the upper bound of the range of kaleo process 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 kaleo process links
-
findByKaleoProcessId_First
KaleoProcessLink findByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) throws NoSuchKaleoProcessLinkException Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.- Parameters:
kaleoProcessId- the kaleo process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo process link
- Throws:
NoSuchKaleoProcessLinkException- if a matching kaleo process link could not be found
-
fetchByKaleoProcessId_First
KaleoProcessLink fetchByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.- Parameters:
kaleoProcessId- the kaleo process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo process link, or
nullif a matching kaleo process link could not be found
-
findByKaleoProcessId_Last
KaleoProcessLink findByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) throws NoSuchKaleoProcessLinkException Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.- Parameters:
kaleoProcessId- the kaleo process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo process link
- Throws:
NoSuchKaleoProcessLinkException- if a matching kaleo process link could not be found
-
fetchByKaleoProcessId_Last
KaleoProcessLink fetchByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.- Parameters:
kaleoProcessId- the kaleo process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo process link, or
nullif a matching kaleo process link could not be found
-
findByKaleoProcessId_PrevAndNext
KaleoProcessLink[] findByKaleoProcessId_PrevAndNext(long kaleoProcessLinkId, long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) throws NoSuchKaleoProcessLinkException Returns the kaleo process links before and after the current kaleo process link in the ordered set where kaleoProcessId = ?.- Parameters:
kaleoProcessLinkId- the primary key of the current kaleo process linkkaleoProcessId- the kaleo process IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next kaleo process link
- Throws:
NoSuchKaleoProcessLinkException- if a kaleo process link with the primary key could not be found
-
removeByKaleoProcessId
void removeByKaleoProcessId(long kaleoProcessId) Removes all the kaleo process links where kaleoProcessId = ? from the database.- Parameters:
kaleoProcessId- the kaleo process ID
-
countByKaleoProcessId
int countByKaleoProcessId(long kaleoProcessId) Returns the number of kaleo process links where kaleoProcessId = ?.- Parameters:
kaleoProcessId- the kaleo process ID- Returns:
- the number of matching kaleo process links
-
findByKPI_WTN
KaleoProcessLink findByKPI_WTN(long kaleoProcessId, String workflowTaskName) throws NoSuchKaleoProcessLinkException Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or throws aNoSuchKaleoProcessLinkExceptionif it could not be found.- Parameters:
kaleoProcessId- the kaleo process IDworkflowTaskName- the workflow task name- Returns:
- the matching kaleo process link
- Throws:
NoSuchKaleoProcessLinkException- if a matching kaleo process link could not be found
-
fetchByKPI_WTN
Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
kaleoProcessId- the kaleo process IDworkflowTaskName- the workflow task name- Returns:
- the matching kaleo process link, or
nullif a matching kaleo process link could not be found
-
fetchByKPI_WTN
KaleoProcessLink fetchByKPI_WTN(long kaleoProcessId, String workflowTaskName, boolean useFinderCache) Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
kaleoProcessId- the kaleo process IDworkflowTaskName- the workflow task nameuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo process link, or
nullif a matching kaleo process link could not be found
-
removeByKPI_WTN
KaleoProcessLink removeByKPI_WTN(long kaleoProcessId, String workflowTaskName) throws NoSuchKaleoProcessLinkException Removes the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? from the database.- Parameters:
kaleoProcessId- the kaleo process IDworkflowTaskName- the workflow task name- Returns:
- the kaleo process link that was removed
- Throws:
NoSuchKaleoProcessLinkException
-
countByKPI_WTN
Returns the number of kaleo process links where kaleoProcessId = ? and workflowTaskName = ?.- Parameters:
kaleoProcessId- the kaleo process IDworkflowTaskName- the workflow task name- Returns:
- the number of matching kaleo process links
-
cacheResult
Caches the kaleo process link in the entity cache if it is enabled.- Parameters:
kaleoProcessLink- the kaleo process link
-
cacheResult
Caches the kaleo process links in the entity cache if it is enabled.- Parameters:
kaleoProcessLinks- the kaleo process links
-
create
Creates a new kaleo process link with the primary key. Does not add the kaleo process link to the database.- Parameters:
kaleoProcessLinkId- the primary key for the new kaleo process link- Returns:
- the new kaleo process link
-
remove
Removes the kaleo process link with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoProcessLinkId- the primary key of the kaleo process link- Returns:
- the kaleo process link that was removed
- Throws:
NoSuchKaleoProcessLinkException- if a kaleo process link with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the kaleo process link with the primary key or throws aNoSuchKaleoProcessLinkExceptionif it could not be found.- Parameters:
kaleoProcessLinkId- the primary key of the kaleo process link- Returns:
- the kaleo process link
- Throws:
NoSuchKaleoProcessLinkException- if a kaleo process link with the primary key could not be found
-
fetchByPrimaryKey
Returns the kaleo process link with the primary key or returnsnullif it could not be found.- Parameters:
kaleoProcessLinkId- the primary key of the kaleo process link- Returns:
- the kaleo process link, or
nullif a kaleo process link with the primary key could not be found
-
findAll
List<KaleoProcessLink> findAll()Returns all the kaleo process links.- Returns:
- the kaleo process links
-
findAll
Returns a range of all the kaleo process links.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoProcessLinkModelImpl.- Parameters:
start- the lower bound of the range of kaleo process linksend- the upper bound of the range of kaleo process links (not inclusive)- Returns:
- the range of kaleo process links
-
findAll
List<KaleoProcessLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns an ordered range of all the kaleo process links.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoProcessLinkModelImpl.- Parameters:
start- the lower bound of the range of kaleo process linksend- the upper bound of the range of kaleo process links (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of kaleo process links
-
findAll
List<KaleoProcessLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo process links.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoProcessLinkModelImpl.- Parameters:
start- the lower bound of the range of kaleo process linksend- the upper bound of the range of kaleo process links (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of kaleo process links
-
removeAll
void removeAll()Removes all the kaleo process links from the database. -
countAll
int countAll()Returns the number of kaleo process links.- Returns:
- the number of kaleo process links
-