Class KaleoInstanceTokenUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoInstanceTokenPersistenceImpl
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 void
cacheResult
(KaleoInstanceToken kaleoInstanceToken) Caches the kaleo instance token in the entity cache if it is enabled.static void
cacheResult
(List<KaleoInstanceToken> kaleoInstanceTokens) Caches the kaleo instance tokens in the entity cache if it is enabled.static void
static void
clearCache
(KaleoInstanceToken kaleoInstanceToken) static int
countAll()
Returns the number of kaleo instance tokens.static int
countByC_PKITI
(long companyId, long parentKaleoInstanceTokenId) Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.static int
countByC_PKITI_CD
(long companyId, long parentKaleoInstanceTokenId, Date completionDate) Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.static int
countByCompanyId
(long companyId) Returns the number of kaleo instance tokens where companyId = ?.static int
countByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns the number of kaleo instance tokens where kaleoDefinitionVersionId = ?.static int
countByKaleoInstanceId
(long kaleoInstanceId) Returns the number of kaleo instance tokens where kaleoInstanceId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoInstanceToken
create
(long kaleoInstanceTokenId) Creates a new kaleo instance token with the primary key.static 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 = ?.static KaleoInstanceToken
fetchByC_PKITI_CD_Last
(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.static 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 = ?.static KaleoInstanceToken
fetchByC_PKITI_Last
(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.static 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 = ?.static KaleoInstanceToken
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where companyId = ?.static 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 = ?.static KaleoInstanceToken
fetchByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.static 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 = ?.static KaleoInstanceToken
fetchByKaleoInstanceId_Last
(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where kaleoInstanceId = ?.static KaleoInstanceToken
fetchByPrimaryKey
(long kaleoInstanceTokenId) Returns the kaleo instance token with the primary key or returnsnull
if it could not be found.static Map<Serializable,
KaleoInstanceToken> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<KaleoInstanceToken>
findAll()
Returns all the kaleo instance tokens.static List<KaleoInstanceToken>
findAll
(int start, int end) Returns a range of all the kaleo instance tokens.static List<KaleoInstanceToken>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens.static List<KaleoInstanceToken>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens.static List<KaleoInstanceToken>
findByC_PKITI
(long companyId, long parentKaleoInstanceTokenId) Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<KaleoInstanceToken>
findByC_PKITI_CD
(long companyId, long parentKaleoInstanceTokenId, Date completionDate) Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.static 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 = ?.static 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 = ?.static 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 = ?.static KaleoInstanceToken
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 = ?.static KaleoInstanceToken
findByC_PKITI_CD_Last
(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.static KaleoInstanceToken[]
findByC_PKITI_CD_PrevAndNext
(long kaleoInstanceTokenId, long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.static KaleoInstanceToken
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 = ?.static KaleoInstanceToken
findByC_PKITI_Last
(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.static KaleoInstanceToken[]
findByC_PKITI_PrevAndNext
(long kaleoInstanceTokenId, long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.static List<KaleoInstanceToken>
findByCompanyId
(long companyId) Returns all the kaleo instance tokens where companyId = ?.static List<KaleoInstanceToken>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo instance tokens where companyId = ?.static 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 = ?.static 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 = ?.static KaleoInstanceToken
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where companyId = ?.static KaleoInstanceToken
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where companyId = ?.static KaleoInstanceToken[]
findByCompanyId_PrevAndNext
(long kaleoInstanceTokenId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where companyId = ?.static List<KaleoInstanceToken>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo instance tokens where kaleoDefinitionVersionId = ?.static List<KaleoInstanceToken>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.static 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 = ?.static 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 = ?.static KaleoInstanceToken
findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.static KaleoInstanceToken
findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.static KaleoInstanceToken[]
findByKaleoDefinitionVersionId_PrevAndNext
(long kaleoInstanceTokenId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.static List<KaleoInstanceToken>
findByKaleoInstanceId
(long kaleoInstanceId) Returns all the kaleo instance tokens where kaleoInstanceId = ?.static List<KaleoInstanceToken>
findByKaleoInstanceId
(long kaleoInstanceId, int start, int end) Returns a range of all the kaleo instance tokens where kaleoInstanceId = ?.static 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 = ?.static 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 = ?.static KaleoInstanceToken
findByKaleoInstanceId_First
(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the first kaleo instance token in the ordered set where kaleoInstanceId = ?.static KaleoInstanceToken
findByKaleoInstanceId_Last
(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where kaleoInstanceId = ?.static KaleoInstanceToken[]
findByKaleoInstanceId_PrevAndNext
(long kaleoInstanceTokenId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where kaleoInstanceId = ?.static KaleoInstanceToken
findByPrimaryKey
(long kaleoInstanceTokenId) Returns the kaleo instance token with the primary key or throws aNoSuchInstanceTokenException
if it could not be found.static List<KaleoInstanceToken>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoInstanceToken>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoInstanceToken>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) static KaleoInstanceToken
remove
(long kaleoInstanceTokenId) Removes the kaleo instance token with the primary key from the database.static void
Removes all the kaleo instance tokens from the database.static void
removeByC_PKITI
(long companyId, long parentKaleoInstanceTokenId) Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? from the database.static void
removeByC_PKITI_CD
(long companyId, long parentKaleoInstanceTokenId, Date completionDate) Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the kaleo instance tokens where companyId = ? from the database.static void
removeByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Removes all the kaleo instance tokens where kaleoDefinitionVersionId = ? from the database.static void
removeByKaleoInstanceId
(long kaleoInstanceId) Removes all the kaleo instance tokens where kaleoInstanceId = ? from the database.static void
setPersistence
(KaleoInstanceTokenPersistence persistence) static KaleoInstanceToken
update
(KaleoInstanceToken kaleoInstanceToken) static KaleoInstanceToken
update
(KaleoInstanceToken kaleoInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoInstanceToken
updateImpl
(KaleoInstanceToken kaleoInstanceToken)
-
Constructor Details
-
KaleoInstanceTokenUtil
public KaleoInstanceTokenUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,KaleoInstanceToken> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KaleoInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoInstanceToken update(KaleoInstanceToken kaleoInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
-
findByCompanyId
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 foundNoSuchInstanceTokenException
-
fetchByCompanyId_First
public static 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
null
if a matching kaleo instance token could not be found
-
findByCompanyId_Last
public static KaleoInstanceToken findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the last kaleo instance token in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundNoSuchInstanceTokenException
-
fetchByCompanyId_Last
public static KaleoInstanceToken fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last kaleo instance token in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance token, or
null
if a matching kaleo instance token could not be found
-
findByCompanyId_PrevAndNext
public static KaleoInstanceToken[] findByCompanyId_PrevAndNext(long kaleoInstanceTokenId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where companyId = ?.- Parameters:
kaleoInstanceTokenId
- the primary key of the current kaleo instance tokencompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundNoSuchInstanceTokenException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the kaleo instance tokens where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static 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
public static List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo instance tokens where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo instance tokens
-
findByKaleoDefinitionVersionId
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
-
findByKaleoDefinitionVersionId
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 foundNoSuchInstanceTokenException
-
fetchByKaleoDefinitionVersionId_First
public static 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
null
if a matching kaleo instance token could not be found
-
findByKaleoDefinitionVersionId_Last
public static KaleoInstanceToken findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the last 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 last matching kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundNoSuchInstanceTokenException
-
fetchByKaleoDefinitionVersionId_Last
public static KaleoInstanceToken fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last 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 last matching kaleo instance token, or
null
if a matching kaleo instance token could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
public static KaleoInstanceToken[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoInstanceTokenId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoInstanceTokenId
- the primary key of the current kaleo instance tokenkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundNoSuchInstanceTokenException
-
removeByKaleoDefinitionVersionId
public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo instance tokens where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
public static 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
Returns all the kaleo instance tokens where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId
- the kaleo instance ID- Returns:
- the matching kaleo instance tokens
-
findByKaleoInstanceId
public static List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end) Returns a range of all the kaleo instance tokens where kaleoInstanceId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
-
findByKaleoInstanceId
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 foundNoSuchInstanceTokenException
-
fetchByKaleoInstanceId_First
public static 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
null
if a matching kaleo instance token could not be found
-
findByKaleoInstanceId_Last
public static KaleoInstanceToken findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the last 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 last matching kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundNoSuchInstanceTokenException
-
fetchByKaleoInstanceId_Last
public static KaleoInstanceToken fetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last 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 last matching kaleo instance token, or
null
if a matching kaleo instance token could not be found
-
findByKaleoInstanceId_PrevAndNext
public static KaleoInstanceToken[] findByKaleoInstanceId_PrevAndNext(long kaleoInstanceTokenId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoInstanceTokenId
- the primary key of the current kaleo instance tokenkaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundNoSuchInstanceTokenException
-
removeByKaleoInstanceId
public static void removeByKaleoInstanceId(long kaleoInstanceId) Removes all the kaleo instance tokens where kaleoInstanceId = ? from the database.- Parameters:
kaleoInstanceId
- the kaleo instance ID
-
countByKaleoInstanceId
public static 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
public static List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId) 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
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 foundNoSuchInstanceTokenException
-
fetchByC_PKITI_First
public static 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
null
if a matching kaleo instance token could not be found
-
findByC_PKITI_Last
public static KaleoInstanceToken findByC_PKITI_Last(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the last 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 last matching kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundNoSuchInstanceTokenException
-
fetchByC_PKITI_Last
public static KaleoInstanceToken fetchByC_PKITI_Last(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last 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 last matching kaleo instance token, or
null
if a matching kaleo instance token could not be found
-
findByC_PKITI_PrevAndNext
public static KaleoInstanceToken[] findByC_PKITI_PrevAndNext(long kaleoInstanceTokenId, long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.- Parameters:
kaleoInstanceTokenId
- the primary key of the current kaleo instance tokencompanyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundNoSuchInstanceTokenException
-
removeByC_PKITI
public static 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
public static 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
public static 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
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
-
findByC_PKITI_CD
public static 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- 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
public static 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 foundNoSuchInstanceTokenException
-
fetchByC_PKITI_CD_First
public static 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
null
if a matching kaleo instance token could not be found
-
findByC_PKITI_CD_Last
public static KaleoInstanceToken findByC_PKITI_CD_Last(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the last 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 last matching kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundNoSuchInstanceTokenException
-
fetchByC_PKITI_CD_Last
public static KaleoInstanceToken fetchByC_PKITI_CD_Last(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns the last 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 last matching kaleo instance token, or
null
if a matching kaleo instance token could not be found
-
findByC_PKITI_CD_PrevAndNext
public static KaleoInstanceToken[] findByC_PKITI_CD_PrevAndNext(long kaleoInstanceTokenId, long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.- Parameters:
kaleoInstanceTokenId
- the primary key of the current kaleo instance tokencompanyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDcompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance token
- Throws:
NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundNoSuchInstanceTokenException
-
removeByC_PKITI_CD
public static void removeByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate) 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
public static int countByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate) 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
-
cacheResult
Caches the kaleo instance token in the entity cache if it is enabled.- Parameters:
kaleoInstanceToken
- the kaleo instance token
-
cacheResult
Caches the kaleo instance tokens in the entity cache if it is enabled.- Parameters:
kaleoInstanceTokens
- the 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
public static KaleoInstanceToken remove(long kaleoInstanceTokenId) throws NoSuchInstanceTokenException 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 foundNoSuchInstanceTokenException
-
updateImpl
-
findByPrimaryKey
public static KaleoInstanceToken findByPrimaryKey(long kaleoInstanceTokenId) throws NoSuchInstanceTokenException Returns the kaleo instance token with the primary key or throws aNoSuchInstanceTokenException
if 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 foundNoSuchInstanceTokenException
-
fetchByPrimaryKey
Returns the kaleo instance token with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoInstanceTokenId
- the primary key of the kaleo instance token- Returns:
- the kaleo instance token, or
null
if a kaleo instance token with the primary key could not be found
-
findAll
Returns all the kaleo instance tokens.- Returns:
- the kaleo instance tokens
-
findAll
Returns a range of all the kaleo instance tokens.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- Parameters:
start
- 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 kaleo instance tokens
-
findAll
public static List<KaleoInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) Returns an ordered range of all the kaleo instance tokens.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- Parameters:
start
- 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 kaleo instance tokens
-
findAll
public static List<KaleoInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instance tokens.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoInstanceTokenModelImpl
.- Parameters:
start
- 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 kaleo instance tokens
-
removeAll
public static void removeAll()Removes all the kaleo instance tokens from the database. -
countAll
public static int countAll()Returns the number of kaleo instance tokens.- Returns:
- the number of kaleo instance tokens
-
getPersistence
-
setPersistence
-