@ProviderType
public class KaleoInstanceTokenUtil
extends java.lang.Object
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
KaleoInstanceTokenPersistence
,
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoInstanceTokenPersistenceImpl
Constructor and Description |
---|
KaleoInstanceTokenUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoInstanceToken kaleoInstanceToken)
Caches the kaleo instance token in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoInstanceToken> kaleoInstanceTokens)
Caches the kaleo instance tokens in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoInstanceToken kaleoInstanceToken) |
static int |
countAll()
Returns the number of kaleo instance tokens.
|
static int |
countByC_PKITI_CD(long companyId,
long parentKaleoInstanceTokenId,
java.util.Date completionDate)
Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
|
static int |
countByC_PKITI(long companyId,
long parentKaleoInstanceTokenId)
Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo instance tokens where companyId = ?.
|
static int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo instance tokens where kaleoDefinitionId = ?.
|
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,
java.util.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,
java.util.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 |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Returns the first kaleo instance token in the ordered set where kaleoDefinitionId = ?.
|
static KaleoInstanceToken |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Returns the last kaleo instance token in the ordered set where kaleoDefinitionId = ?.
|
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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoInstanceToken> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoInstanceToken> |
findAll()
Returns all the kaleo instance tokens.
|
static java.util.List<KaleoInstanceToken> |
findAll(int start,
int end)
Returns a range of all the kaleo instance tokens.
|
static java.util.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 java.util.List<KaleoInstanceToken> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instance tokens.
|
static KaleoInstanceToken |
findByC_PKITI_CD_First(long companyId,
long parentKaleoInstanceTokenId,
java.util.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,
java.util.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,
java.util.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 java.util.List<KaleoInstanceToken> |
findByC_PKITI_CD(long companyId,
long parentKaleoInstanceTokenId,
java.util.Date completionDate)
Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
|
static java.util.List<KaleoInstanceToken> |
findByC_PKITI_CD(long companyId,
long parentKaleoInstanceTokenId,
java.util.Date completionDate,
int start,
int end)
Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
|
static java.util.List<KaleoInstanceToken> |
findByC_PKITI_CD(long companyId,
long parentKaleoInstanceTokenId,
java.util.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 java.util.List<KaleoInstanceToken> |
findByC_PKITI_CD(long companyId,
long parentKaleoInstanceTokenId,
java.util.Date completionDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instance tokens 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 java.util.List<KaleoInstanceToken> |
findByC_PKITI(long companyId,
long parentKaleoInstanceTokenId)
Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
|
static java.util.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 java.util.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 java.util.List<KaleoInstanceToken> |
findByC_PKITI(long companyId,
long parentKaleoInstanceTokenId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
|
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 java.util.List<KaleoInstanceToken> |
findByCompanyId(long companyId)
Returns all the kaleo instance tokens where companyId = ?.
|
static java.util.List<KaleoInstanceToken> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo instance tokens where companyId = ?.
|
static java.util.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 java.util.List<KaleoInstanceToken> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instance tokens where companyId = ?.
|
static KaleoInstanceToken |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Returns the first kaleo instance token in the ordered set where kaleoDefinitionId = ?.
|
static KaleoInstanceToken |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Returns the last kaleo instance token in the ordered set where kaleoDefinitionId = ?.
|
static KaleoInstanceToken[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoInstanceTokenId,
long kaleoDefinitionId,
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 kaleoDefinitionId = ?.
|
static java.util.List<KaleoInstanceToken> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo instance tokens where kaleoDefinitionId = ?.
|
static java.util.List<KaleoInstanceToken> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo instance tokens where kaleoDefinitionId = ?.
|
static java.util.List<KaleoInstanceToken> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo instance tokens where kaleoDefinitionId = ?.
|
static java.util.List<KaleoInstanceToken> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instance tokens where kaleoDefinitionId = ?.
|
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 java.util.List<KaleoInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId)
Returns all the kaleo instance tokens where kaleoInstanceId = ?.
|
static java.util.List<KaleoInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end)
Returns a range of all the kaleo instance tokens where kaleoInstanceId = ?.
|
static java.util.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 java.util.List<KaleoInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instance tokens where kaleoInstanceId = ?.
|
static KaleoInstanceToken |
findByPrimaryKey(long kaleoInstanceTokenId)
Returns the kaleo instance token with the primary key or throws a
NoSuchInstanceTokenException if it could not be found. |
static java.util.List<KaleoInstanceToken> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoInstanceToken> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoInstanceToken> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) |
static KaleoInstanceTokenPersistence |
getPersistence() |
static KaleoInstanceToken |
remove(long kaleoInstanceTokenId)
Removes the kaleo instance token with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo instance tokens from the database.
|
static void |
removeByC_PKITI_CD(long companyId,
long parentKaleoInstanceTokenId,
java.util.Date completionDate)
Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ? 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 |
removeByCompanyId(long companyId)
Removes all the kaleo instance tokens where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo instance tokens where kaleoDefinitionId = ? from the database.
|
static void |
removeByKaleoInstanceId(long kaleoInstanceId)
Removes all the kaleo instance tokens where kaleoInstanceId = ? from the database.
|
static KaleoInstanceToken |
update(KaleoInstanceToken kaleoInstanceToken) |
static KaleoInstanceToken |
update(KaleoInstanceToken kaleoInstanceToken,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoInstanceToken |
updateImpl(KaleoInstanceToken kaleoInstanceToken) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoInstanceToken kaleoInstanceToken)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoInstanceToken update(KaleoInstanceToken kaleoInstanceToken)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoInstanceToken update(KaleoInstanceToken kaleoInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoInstanceToken> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoInstanceToken findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken[] findByCompanyId_PrevAndNext(long kaleoInstanceTokenId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
kaleoInstanceTokenId
- the primary key of the current kaleo instance tokencompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoInstanceToken> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<KaleoInstanceToken> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition IDstart
- the lower bound of the range of kaleo instance tokensend
- the upper bound of the range of kaleo instance tokens (not inclusive)public static java.util.List<KaleoInstanceToken> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition 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 (optionally null
)public static java.util.List<KaleoInstanceToken> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition 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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoInstanceToken findByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken findByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken[] findByKaleoDefinitionId_PrevAndNext(long kaleoInstanceTokenId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
kaleoInstanceTokenId
- the primary key of the current kaleo instance tokenkaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundpublic static void removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static int countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static java.util.List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoInstanceToken findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken[] findByKaleoInstanceId_PrevAndNext(long kaleoInstanceTokenId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
kaleoInstanceTokenId
- the primary key of the current kaleo instance tokenkaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundpublic static void removeByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static int countByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static java.util.List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDpublic static java.util.List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoInstanceToken findByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken findByC_PKITI_Last(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByC_PKITI_Last(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken[] findByC_PKITI_PrevAndNext(long kaleoInstanceTokenId, long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
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 (optionally null
)NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundpublic static void removeByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDpublic static int countByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDpublic static java.util.List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDcompletionDate
- the completion datepublic static java.util.List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoInstanceToken findByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDcompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDcompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken findByC_PKITI_CD_Last(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDcompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceTokenException
- if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken fetchByC_PKITI_CD_Last(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDcompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance token could not be foundpublic static KaleoInstanceToken[] findByC_PKITI_CD_PrevAndNext(long kaleoInstanceTokenId, long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
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 (optionally null
)NoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundpublic static void removeByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDcompletionDate
- the completion datepublic static int countByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, java.util.Date completionDate)
companyId
- the company IDparentKaleoInstanceTokenId
- the parent kaleo instance token IDcompletionDate
- the completion datepublic static void cacheResult(KaleoInstanceToken kaleoInstanceToken)
kaleoInstanceToken
- the kaleo instance tokenpublic static void cacheResult(java.util.List<KaleoInstanceToken> kaleoInstanceTokens)
kaleoInstanceTokens
- the kaleo instance tokenspublic static KaleoInstanceToken create(long kaleoInstanceTokenId)
kaleoInstanceTokenId
- the primary key for the new kaleo instance tokenpublic static KaleoInstanceToken remove(long kaleoInstanceTokenId) throws NoSuchInstanceTokenException
kaleoInstanceTokenId
- the primary key of the kaleo instance tokenNoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundpublic static KaleoInstanceToken updateImpl(KaleoInstanceToken kaleoInstanceToken)
public static KaleoInstanceToken findByPrimaryKey(long kaleoInstanceTokenId) throws NoSuchInstanceTokenException
NoSuchInstanceTokenException
if it could not be found.kaleoInstanceTokenId
- the primary key of the kaleo instance tokenNoSuchInstanceTokenException
- if a kaleo instance token with the primary key could not be foundpublic static KaleoInstanceToken fetchByPrimaryKey(long kaleoInstanceTokenId)
null
if it could not be found.kaleoInstanceTokenId
- the primary key of the kaleo instance tokennull
if a kaleo instance token with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,KaleoInstanceToken> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<KaleoInstanceToken> findAll()
public static java.util.List<KaleoInstanceToken> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo instance tokensend
- the upper bound of the range of kaleo instance tokens (not inclusive)public static java.util.List<KaleoInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo instance tokensend
- the upper bound of the range of kaleo instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo instance tokensend
- the upper bound of the range of kaleo instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoInstanceTokenPersistence getPersistence()