Class KaleoProcessLinkUtil
com.liferay.portal.workflow.kaleo.forms.service.persistence.impl.KaleoProcessLinkPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(KaleoProcessLink kaleoProcessLink) Caches the kaleo process link in the entity cache if it is enabled.static voidcacheResult(List<KaleoProcessLink> kaleoProcessLinks) Caches the kaleo process links in the entity cache if it is enabled.static voidstatic voidclearCache(KaleoProcessLink kaleoProcessLink) static intcountAll()Returns the number of kaleo process links.static intcountByKaleoProcessId(long kaleoProcessId) Returns the number of kaleo process links where kaleoProcessId = ?.static intcountByKPI_WTN(long kaleoProcessId, String workflowTaskName) Returns the number of kaleo process links where kaleoProcessId = ? and workflowTaskName = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoProcessLinkcreate(long kaleoProcessLinkId) Creates a new kaleo process link with the primary key.static KaleoProcessLinkfetchByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.static KaleoProcessLinkfetchByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.static KaleoProcessLinkfetchByKPI_WTN(long kaleoProcessId, String workflowTaskName) Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returnsnullif it could not be found.static KaleoProcessLinkfetchByKPI_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.static KaleoProcessLinkfetchByPrimaryKey(long kaleoProcessLinkId) Returns the kaleo process link with the primary key or returnsnullif it could not be found.static Map<Serializable, KaleoProcessLink> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<KaleoProcessLink> findAll()Returns all the kaleo process links.static List<KaleoProcessLink> findAll(int start, int end) Returns a range of all the kaleo process links.static 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.static 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.static List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId) Returns all the kaleo process links where kaleoProcessId = ?.static List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId, int start, int end) Returns a range of all the kaleo process links where kaleoProcessId = ?.static 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 = ?.static 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 = ?.static KaleoProcessLinkfindByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.static KaleoProcessLinkfindByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.static KaleoProcessLink[]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 = ?.static KaleoProcessLinkfindByKPI_WTN(long kaleoProcessId, String workflowTaskName) Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or throws aNoSuchKaleoProcessLinkExceptionif it could not be found.static KaleoProcessLinkfindByPrimaryKey(long kaleoProcessLinkId) Returns the kaleo process link with the primary key or throws aNoSuchKaleoProcessLinkExceptionif it could not be found.static List<KaleoProcessLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoProcessLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoProcessLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) static KaleoProcessLinkPersistencestatic KaleoProcessLinkremove(long kaleoProcessLinkId) Removes the kaleo process link with the primary key from the database.static voidRemoves all the kaleo process links from the database.static voidremoveByKaleoProcessId(long kaleoProcessId) Removes all the kaleo process links where kaleoProcessId = ? from the database.static KaleoProcessLinkremoveByKPI_WTN(long kaleoProcessId, String workflowTaskName) Removes the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? from the database.static voidsetPersistence(KaleoProcessLinkPersistence persistence) static KaleoProcessLinkupdate(KaleoProcessLink kaleoProcessLink) static KaleoProcessLinkupdate(KaleoProcessLink kaleoProcessLink, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoProcessLinkupdateImpl(KaleoProcessLink kaleoProcessLink)
-
Constructor Details
-
KaleoProcessLinkUtil
public KaleoProcessLinkUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<KaleoProcessLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<KaleoProcessLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<KaleoProcessLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static KaleoProcessLink update(KaleoProcessLink kaleoProcessLink, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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
public static 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
public static 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
public static 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
-
fetchByKaleoProcessId_First
public static 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
public static 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
-
fetchByKaleoProcessId_Last
public static 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
public static 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
-
removeByKaleoProcessId
public static void removeByKaleoProcessId(long kaleoProcessId) Removes all the kaleo process links where kaleoProcessId = ? from the database.- Parameters:
kaleoProcessId- the kaleo process ID
-
countByKaleoProcessId
public static 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
public static 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
-
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
public static 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
public static 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
public static KaleoProcessLink remove(long kaleoProcessLinkId) throws NoSuchKaleoProcessLinkException 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
-
updateImpl
-
findByPrimaryKey
public static KaleoProcessLink findByPrimaryKey(long kaleoProcessLinkId) throws NoSuchKaleoProcessLinkException 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
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the kaleo process links from the database. -
countAll
public static int countAll()Returns the number of kaleo process links.- Returns:
- the number of kaleo process links
-
getPersistence
-
setPersistence
-