@ProviderType public interface KaleoProcessLinkPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoProcessLink>
Caching information and settings can be found in portal.properties
com.liferay.portal.workflow.kaleo.forms.service.persistence.impl.KaleoProcessLinkPersistenceImpl
,
KaleoProcessLinkUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoProcessLink kaleoProcessLink)
Caches the kaleo process link in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KaleoProcessLink> kaleoProcessLinks)
Caches the kaleo process links in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of kaleo process links.
|
int |
countByKaleoProcessId(long kaleoProcessId)
Returns the number of kaleo process links where kaleoProcessId = ?.
|
int |
countByKPI_WTN(long kaleoProcessId,
java.lang.String workflowTaskName)
Returns the number of kaleo process links where kaleoProcessId = ? and workflowTaskName = ?.
|
KaleoProcessLink |
create(long kaleoProcessLinkId)
Creates a new kaleo process link with the primary key.
|
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 = ?.
|
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 = ?.
|
KaleoProcessLink |
fetchByKPI_WTN(long kaleoProcessId,
java.lang.String workflowTaskName)
Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returns
null if it could not be found. |
KaleoProcessLink |
fetchByKPI_WTN(long kaleoProcessId,
java.lang.String workflowTaskName,
boolean retrieveFromCache)
Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returns
null if it could not be found, optionally using the finder cache. |
KaleoProcessLink |
fetchByPrimaryKey(long kaleoProcessLinkId)
Returns the kaleo process link with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,KaleoProcessLink> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<KaleoProcessLink> |
findAll()
Returns all the kaleo process links.
|
java.util.List<KaleoProcessLink> |
findAll(int start,
int end)
Returns a range of all the kaleo process links.
|
java.util.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.
|
java.util.List<KaleoProcessLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo process links.
|
KaleoProcessLink |
findByKaleoProcessId_First(long kaleoProcessId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.
|
KaleoProcessLink |
findByKaleoProcessId_Last(long kaleoProcessId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.
|
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 = ?.
|
java.util.List<KaleoProcessLink> |
findByKaleoProcessId(long kaleoProcessId)
Returns all the kaleo process links where kaleoProcessId = ?.
|
java.util.List<KaleoProcessLink> |
findByKaleoProcessId(long kaleoProcessId,
int start,
int end)
Returns a range of all the kaleo process links where kaleoProcessId = ?.
|
java.util.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 = ?.
|
java.util.List<KaleoProcessLink> |
findByKaleoProcessId(long kaleoProcessId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo process links where kaleoProcessId = ?.
|
KaleoProcessLink |
findByKPI_WTN(long kaleoProcessId,
java.lang.String workflowTaskName)
Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or throws a
NoSuchKaleoProcessLinkException if it could not be found. |
KaleoProcessLink |
findByPrimaryKey(long kaleoProcessLinkId)
Returns the kaleo process link with the primary key or throws a
NoSuchKaleoProcessLinkException if it could not be found. |
KaleoProcessLink |
remove(long kaleoProcessLinkId)
Removes the kaleo process link with the primary key from the database.
|
void |
removeAll()
Removes all the kaleo process links from the database.
|
void |
removeByKaleoProcessId(long kaleoProcessId)
Removes all the kaleo process links where kaleoProcessId = ? from the database.
|
KaleoProcessLink |
removeByKPI_WTN(long kaleoProcessId,
java.lang.String workflowTaskName)
Removes the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? from the database.
|
KaleoProcessLink |
updateImpl(KaleoProcessLink kaleoProcessLink) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId)
kaleoProcessId
- the kaleo process IDjava.util.List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoProcessLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoProcessLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoProcessLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoProcessLink findByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) throws NoSuchKaleoProcessLinkException
kaleoProcessId
- the kaleo process IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchKaleoProcessLinkException
- if a matching kaleo process link could not be foundKaleoProcessLink fetchByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
kaleoProcessId
- the kaleo process IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo process link could not be foundKaleoProcessLink findByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) throws NoSuchKaleoProcessLinkException
kaleoProcessId
- the kaleo process IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchKaleoProcessLinkException
- if a matching kaleo process link could not be foundKaleoProcessLink fetchByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
kaleoProcessId
- the kaleo process IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo process link could not be foundKaleoProcessLink[] findByKaleoProcessId_PrevAndNext(long kaleoProcessLinkId, long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) throws NoSuchKaleoProcessLinkException
kaleoProcessLinkId
- the primary key of the current kaleo process linkkaleoProcessId
- the kaleo process IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchKaleoProcessLinkException
- if a kaleo process link with the primary key could not be foundvoid removeByKaleoProcessId(long kaleoProcessId)
kaleoProcessId
- the kaleo process IDint countByKaleoProcessId(long kaleoProcessId)
kaleoProcessId
- the kaleo process IDKaleoProcessLink findByKPI_WTN(long kaleoProcessId, java.lang.String workflowTaskName) throws NoSuchKaleoProcessLinkException
NoSuchKaleoProcessLinkException
if it could not be found.kaleoProcessId
- the kaleo process IDworkflowTaskName
- the workflow task nameNoSuchKaleoProcessLinkException
- if a matching kaleo process link could not be foundKaleoProcessLink fetchByKPI_WTN(long kaleoProcessId, java.lang.String workflowTaskName)
null
if it could not be found. Uses the finder cache.kaleoProcessId
- the kaleo process IDworkflowTaskName
- the workflow task namenull
if a matching kaleo process link could not be foundKaleoProcessLink fetchByKPI_WTN(long kaleoProcessId, java.lang.String workflowTaskName, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.kaleoProcessId
- the kaleo process IDworkflowTaskName
- the workflow task nameretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching kaleo process link could not be foundKaleoProcessLink removeByKPI_WTN(long kaleoProcessId, java.lang.String workflowTaskName) throws NoSuchKaleoProcessLinkException
kaleoProcessId
- the kaleo process IDworkflowTaskName
- the workflow task nameNoSuchKaleoProcessLinkException
int countByKPI_WTN(long kaleoProcessId, java.lang.String workflowTaskName)
kaleoProcessId
- the kaleo process IDworkflowTaskName
- the workflow task namevoid cacheResult(KaleoProcessLink kaleoProcessLink)
kaleoProcessLink
- the kaleo process linkvoid cacheResult(java.util.List<KaleoProcessLink> kaleoProcessLinks)
kaleoProcessLinks
- the kaleo process linksKaleoProcessLink create(long kaleoProcessLinkId)
kaleoProcessLinkId
- the primary key for the new kaleo process linkKaleoProcessLink remove(long kaleoProcessLinkId) throws NoSuchKaleoProcessLinkException
kaleoProcessLinkId
- the primary key of the kaleo process linkNoSuchKaleoProcessLinkException
- if a kaleo process link with the primary key could not be foundKaleoProcessLink updateImpl(KaleoProcessLink kaleoProcessLink)
KaleoProcessLink findByPrimaryKey(long kaleoProcessLinkId) throws NoSuchKaleoProcessLinkException
NoSuchKaleoProcessLinkException
if it could not be found.kaleoProcessLinkId
- the primary key of the kaleo process linkNoSuchKaleoProcessLinkException
- if a kaleo process link with the primary key could not be foundKaleoProcessLink fetchByPrimaryKey(long kaleoProcessLinkId)
null
if it could not be found.kaleoProcessLinkId
- the primary key of the kaleo process linknull
if a kaleo process link with the primary key could not be foundjava.util.Map<java.io.Serializable,KaleoProcessLink> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoProcessLink>
java.util.List<KaleoProcessLink> findAll()
java.util.List<KaleoProcessLink> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoProcessLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo process linksend
- the upper bound of the range of kaleo process links (not inclusive)java.util.List<KaleoProcessLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoProcessLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoProcessLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoProcessLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()