Interface KaleoInstanceTokenPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoInstanceToken>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoInstanceToken>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_PKITI(long companyId, long parentKaleoInstanceTokenId) Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.intcountByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate) Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.intcountByCompanyId(long companyId) Returns the number of kaleo instance tokens where companyId = ?.intcountByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo instance tokens where kaleoDefinitionVersionId = ?.intcountByKaleoInstanceId(long kaleoInstanceId) Returns the number of kaleo instance tokens where kaleoInstanceId = ?.create(long kaleoInstanceTokenId) Creates a new kaleo instance token with the primary key.fetchByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.fetchByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ?.fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where kaleoInstanceId = ?.fetchByPrimaryKey(long kaleoInstanceTokenId) Returns the kaleo instance token with the primary key or returnsnullif it could not be found.default List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId) Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.default List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end) Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.default List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.default List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate) Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.default List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end) Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.default List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.findByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.findByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.default List<KaleoInstanceToken> findByCompanyId(long companyId) Returns all the kaleo instance tokens where companyId = ?.default List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end) Returns a range of all the kaleo instance tokens where companyId = ?.default List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ?.default List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo instance tokens where kaleoDefinitionVersionId = ?.default List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.default List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.default List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId) Returns all the kaleo instance tokens where kaleoInstanceId = ?.default List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end) Returns a range of all the kaleo instance tokens where kaleoInstanceId = ?.default List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where kaleoInstanceId = ?.findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where kaleoInstanceId = ?.findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where kaleoInstanceId = ?.findByPrimaryKey(long kaleoInstanceTokenId) Returns the kaleo instance token with the primary key or throws aNoSuchInstanceTokenExceptionif it could not be found.remove(long kaleoInstanceTokenId) Removes the kaleo instance token with the primary key from the database.voidremoveByC_PKITI(long companyId, long parentKaleoInstanceTokenId) Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? from the database.voidremoveByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate) Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ? from the database.voidremoveByCompanyId(long companyId) Removes all the kaleo instance tokens where companyId = ? from the database.voidremoveByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo instance tokens where kaleoDefinitionVersionId = ? from the database.voidremoveByKaleoInstanceId(long kaleoInstanceId) Removes all the kaleo instance tokens where kaleoInstanceId = ? from the database.updateImpl(KaleoInstanceToken kaleoInstanceToken) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByCompanyId
List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where companyId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (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 instance tokens
-
findByCompanyId_First
KaleoInstanceToken findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the first kaleo instance token in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token
- Throws:
NoSuchInstanceTokenException- if a matching kaleo instance token could not be found
-
fetchByCompanyId_First
KaleoInstanceToken fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token, or
nullif a matching kaleo instance token could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo instance tokens where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kaleo instance tokens where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching kaleo instance tokens
-
findByKaleoDefinitionVersionId
List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (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 instance tokens
-
findByKaleoDefinitionVersionId_First
KaleoInstanceToken findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the first kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token
- Throws:
NoSuchInstanceTokenException- if a matching kaleo instance token could not be found
-
fetchByKaleoDefinitionVersionId_First
KaleoInstanceToken fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token, or
nullif a matching kaleo instance token could not be found
-
removeByKaleoDefinitionVersionId
void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo instance tokens where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo instance tokens where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the number of matching kaleo instance tokens
-
findByKaleoInstanceId
List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where kaleoInstanceId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
kaleoInstanceId- the kaleo instance IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (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 instance tokens
-
findByKaleoInstanceId_First
KaleoInstanceToken findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the first kaleo instance token in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token
- Throws:
NoSuchInstanceTokenException- if a matching kaleo instance token could not be found
-
fetchByKaleoInstanceId_First
KaleoInstanceToken fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token, or
nullif a matching kaleo instance token could not be found
-
removeByKaleoInstanceId
void removeByKaleoInstanceId(long kaleoInstanceId) Removes all the kaleo instance tokens where kaleoInstanceId = ? from the database.- Parameters:
kaleoInstanceId- the kaleo instance ID
-
countByKaleoInstanceId
int countByKaleoInstanceId(long kaleoInstanceId) Returns the number of kaleo instance tokens where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance ID- Returns:
- the number of matching kaleo instance tokens
-
findByC_PKITI
List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (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 instance tokens
-
findByC_PKITI_First
KaleoInstanceToken findByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token
- Throws:
NoSuchInstanceTokenException- if a matching kaleo instance token could not be found
-
fetchByC_PKITI_First
KaleoInstanceToken fetchByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token, or
nullif a matching kaleo instance token could not be found
-
removeByC_PKITI
void removeByC_PKITI(long companyId, long parentKaleoInstanceTokenId) Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? from the database.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token ID
-
countByC_PKITI
int countByC_PKITI(long companyId, long parentKaleoInstanceTokenId) Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token ID- Returns:
- the number of matching kaleo instance tokens
-
findByC_PKITI_CD
List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDcompletionDate- the completion datestart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (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 instance tokens
-
findByC_PKITI_CD_First
KaleoInstanceToken findByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDcompletionDate- the completion dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token
- Throws:
NoSuchInstanceTokenException- if a matching kaleo instance token could not be found
-
fetchByC_PKITI_CD_First
KaleoInstanceToken fetchByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDcompletionDate- the completion dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo instance token, or
nullif a matching kaleo instance token could not be found
-
removeByC_PKITI_CD
Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ? from the database.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDcompletionDate- the completion date
-
countByC_PKITI_CD
Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDcompletionDate- the completion date- Returns:
- the number of matching kaleo instance tokens
-
create
Creates a new kaleo instance token with the primary key. Does not add the kaleo instance token to the database.- Parameters:
kaleoInstanceTokenId- the primary key for the new kaleo instance token- Returns:
- the new kaleo instance token
-
remove
Removes the kaleo instance token with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoInstanceTokenId- the primary key of the kaleo instance token- Returns:
- the kaleo instance token that was removed
- Throws:
NoSuchInstanceTokenException- if a kaleo instance token with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the kaleo instance token with the primary key or throws aNoSuchInstanceTokenExceptionif it could not be found.- Parameters:
kaleoInstanceTokenId- the primary key of the kaleo instance token- Returns:
- the kaleo instance token
- Throws:
NoSuchInstanceTokenException- if a kaleo instance token with the primary key could not be found
-
fetchByPrimaryKey
Returns the kaleo instance token with the primary key or returnsnullif it could not be found.- Parameters:
kaleoInstanceTokenId- the primary key of the kaleo instance token- Returns:
- the kaleo instance token, or
nullif a kaleo instance token with the primary key could not be found
-
findByCompanyId
Returns all the kaleo instance tokens where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching kaleo instance tokens
-
findByCompanyId
Returns a range of all the kaleo instance tokens where companyId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)- Returns:
- the range of matching kaleo instance tokens
-
findByCompanyId
default List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where companyId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo instance tokens
-
findByKaleoDefinitionVersionId
Returns all the kaleo instance tokens where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the matching kaleo instance tokens
-
findByKaleoDefinitionVersionId
default List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)- Returns:
- the range of matching kaleo instance tokens
-
findByKaleoDefinitionVersionId
default List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo instance tokens
-
findByKaleoInstanceId
Returns all the kaleo instance tokens where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance ID- Returns:
- the matching kaleo instance tokens
-
findByKaleoInstanceId
Returns a range of all the kaleo instance tokens where kaleoInstanceId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
kaleoInstanceId- the kaleo instance IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)- Returns:
- the range of matching kaleo instance tokens
-
findByKaleoInstanceId
default List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where kaleoInstanceId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
kaleoInstanceId- the kaleo instance IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo instance tokens
-
findByC_PKITI
Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token ID- Returns:
- the matching kaleo instance tokens
-
findByC_PKITI
default List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end) Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)- Returns:
- the range of matching kaleo instance tokens
-
findByC_PKITI
default List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDstart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo instance tokens
-
findByC_PKITI_CD
default List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate) Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDcompletionDate- the completion date- Returns:
- the matching kaleo instance tokens
-
findByC_PKITI_CD
default List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end) Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDcompletionDate- the completion datestart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)- Returns:
- the range of matching kaleo instance tokens
-
findByC_PKITI_CD
default List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenModelImpl.- Parameters:
companyId- the company IDparentKaleoInstanceTokenId- the parent kaleo instance token IDcompletionDate- the completion datestart- the lower bound of the range of kaleo instance tokensend- the upper bound of the range of kaleo instance tokens (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo instance tokens
-