public class KaleoTaskFormUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTaskFormPersistenceImpl
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
KaleoTaskFormPersistence
Constructor and Description |
---|
KaleoTaskFormUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoTaskForm kaleoTaskForm)
Caches the kaleo task form in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoTaskForm> kaleoTaskForms)
Caches the kaleo task forms in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoTaskForm kaleoTaskForm) |
static int |
countAll()
Returns the number of kaleo task forms.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo task forms where companyId = ?.
|
static int |
countByFormUuid_KTI(long kaleoTaskId,
java.lang.String formUuid)
Returns the number of kaleo task forms where kaleoTaskId = ? and formUuid = ?.
|
static int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo task forms where kaleoDefinitionVersionId = ?.
|
static int |
countByKaleoNodeId(long kaleoNodeId)
Returns the number of kaleo task forms where kaleoNodeId = ?.
|
static int |
countByKaleoTaskId(long kaleoTaskId)
Returns the number of kaleo task forms where kaleoTaskId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoTaskForm |
create(long kaleoTaskFormId)
Creates a new kaleo task form with the primary key.
|
static KaleoTaskForm |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the first kaleo task form in the ordered set where companyId = ?.
|
static KaleoTaskForm |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the last kaleo task form in the ordered set where companyId = ?.
|
static KaleoTaskForm |
fetchByFormUuid_KTI(long kaleoTaskId,
java.lang.String formUuid)
Returns the kaleo task form where kaleoTaskId = ? and formUuid = ? or returns
null if it could not be found. |
static KaleoTaskForm |
fetchByFormUuid_KTI(long kaleoTaskId,
java.lang.String formUuid,
boolean useFinderCache)
Returns the kaleo task form where kaleoTaskId = ? and formUuid = ? or returns
null if it could not be found, optionally using the finder cache. |
static KaleoTaskForm |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the first kaleo task form in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskForm |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the last kaleo task form in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskForm |
fetchByKaleoNodeId_First(long kaleoNodeId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the first kaleo task form in the ordered set where kaleoNodeId = ?.
|
static KaleoTaskForm |
fetchByKaleoNodeId_Last(long kaleoNodeId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the last kaleo task form in the ordered set where kaleoNodeId = ?.
|
static KaleoTaskForm |
fetchByKaleoTaskId_First(long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the first kaleo task form in the ordered set where kaleoTaskId = ?.
|
static KaleoTaskForm |
fetchByKaleoTaskId_Last(long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the last kaleo task form in the ordered set where kaleoTaskId = ?.
|
static KaleoTaskForm |
fetchByPrimaryKey(long kaleoTaskFormId)
Returns the kaleo task form with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoTaskForm> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoTaskForm> |
findAll()
Returns all the kaleo task forms.
|
static java.util.List<KaleoTaskForm> |
findAll(int start,
int end)
Returns a range of all the kaleo task forms.
|
static java.util.List<KaleoTaskForm> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns an ordered range of all the kaleo task forms.
|
static java.util.List<KaleoTaskForm> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task forms.
|
static KaleoTaskForm |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the first kaleo task form in the ordered set where companyId = ?.
|
static KaleoTaskForm |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the last kaleo task form in the ordered set where companyId = ?.
|
static KaleoTaskForm[] |
findByCompanyId_PrevAndNext(long kaleoTaskFormId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the kaleo task forms before and after the current kaleo task form in the ordered set where companyId = ?.
|
static java.util.List<KaleoTaskForm> |
findByCompanyId(long companyId)
Returns all the kaleo task forms where companyId = ?.
|
static java.util.List<KaleoTaskForm> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo task forms where companyId = ?.
|
static java.util.List<KaleoTaskForm> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns an ordered range of all the kaleo task forms where companyId = ?.
|
static java.util.List<KaleoTaskForm> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task forms where companyId = ?.
|
static KaleoTaskForm |
findByFormUuid_KTI(long kaleoTaskId,
java.lang.String formUuid)
Returns the kaleo task form where kaleoTaskId = ? and formUuid = ? or throws a
NoSuchTaskFormException if it could not be found. |
static KaleoTaskForm |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the first kaleo task form in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskForm |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the last kaleo task form in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskForm[] |
findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskFormId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the kaleo task forms before and after the current kaleo task form in the ordered set where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo task forms where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo task forms where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns an ordered range of all the kaleo task forms where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task forms where kaleoDefinitionVersionId = ?.
|
static KaleoTaskForm |
findByKaleoNodeId_First(long kaleoNodeId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the first kaleo task form in the ordered set where kaleoNodeId = ?.
|
static KaleoTaskForm |
findByKaleoNodeId_Last(long kaleoNodeId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the last kaleo task form in the ordered set where kaleoNodeId = ?.
|
static KaleoTaskForm[] |
findByKaleoNodeId_PrevAndNext(long kaleoTaskFormId,
long kaleoNodeId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the kaleo task forms before and after the current kaleo task form in the ordered set where kaleoNodeId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoNodeId(long kaleoNodeId)
Returns all the kaleo task forms where kaleoNodeId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoNodeId(long kaleoNodeId,
int start,
int end)
Returns a range of all the kaleo task forms where kaleoNodeId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoNodeId(long kaleoNodeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns an ordered range of all the kaleo task forms where kaleoNodeId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoNodeId(long kaleoNodeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task forms where kaleoNodeId = ?.
|
static KaleoTaskForm |
findByKaleoTaskId_First(long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the first kaleo task form in the ordered set where kaleoTaskId = ?.
|
static KaleoTaskForm |
findByKaleoTaskId_Last(long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the last kaleo task form in the ordered set where kaleoTaskId = ?.
|
static KaleoTaskForm[] |
findByKaleoTaskId_PrevAndNext(long kaleoTaskFormId,
long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns the kaleo task forms before and after the current kaleo task form in the ordered set where kaleoTaskId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoTaskId(long kaleoTaskId)
Returns all the kaleo task forms where kaleoTaskId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoTaskId(long kaleoTaskId,
int start,
int end)
Returns a range of all the kaleo task forms where kaleoTaskId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoTaskId(long kaleoTaskId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
Returns an ordered range of all the kaleo task forms where kaleoTaskId = ?.
|
static java.util.List<KaleoTaskForm> |
findByKaleoTaskId(long kaleoTaskId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task forms where kaleoTaskId = ?.
|
static KaleoTaskForm |
findByPrimaryKey(long kaleoTaskFormId)
Returns the kaleo task form with the primary key or throws a
NoSuchTaskFormException if it could not be found. |
static java.util.List<KaleoTaskForm> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoTaskForm> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoTaskForm> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) |
static KaleoTaskFormPersistence |
getPersistence() |
static KaleoTaskForm |
remove(long kaleoTaskFormId)
Removes the kaleo task form with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo task forms from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo task forms where companyId = ? from the database.
|
static KaleoTaskForm |
removeByFormUuid_KTI(long kaleoTaskId,
java.lang.String formUuid)
Removes the kaleo task form where kaleoTaskId = ? and formUuid = ? from the database.
|
static void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo task forms where kaleoDefinitionVersionId = ? from the database.
|
static void |
removeByKaleoNodeId(long kaleoNodeId)
Removes all the kaleo task forms where kaleoNodeId = ? from the database.
|
static void |
removeByKaleoTaskId(long kaleoTaskId)
Removes all the kaleo task forms where kaleoTaskId = ? from the database.
|
static KaleoTaskForm |
update(KaleoTaskForm kaleoTaskForm) |
static KaleoTaskForm |
update(KaleoTaskForm kaleoTaskForm,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoTaskForm |
updateImpl(KaleoTaskForm kaleoTaskForm) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoTaskForm kaleoTaskForm)
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.Map<java.io.Serializable,KaleoTaskForm> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoTaskForm> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoTaskForm> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoTaskForm> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoTaskForm update(KaleoTaskForm kaleoTaskForm)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoTaskForm update(KaleoTaskForm kaleoTaskForm, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoTaskForm> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoTaskForm> 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)public static java.util.List<KaleoTaskForm> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskForm> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskForm findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form could not be foundpublic static KaleoTaskForm findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form could not be foundpublic static KaleoTaskForm[] findByCompanyId_PrevAndNext(long kaleoTaskFormId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoTaskFormId
- the primary key of the current kaleo task formcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a kaleo task form 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<KaleoTaskForm> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoTaskForm> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)public static java.util.List<KaleoTaskForm> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskForm> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskForm findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form could not be foundpublic static KaleoTaskForm findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form could not be foundpublic static KaleoTaskForm[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskFormId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoTaskFormId
- the primary key of the current kaleo task formkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a kaleo task form with the primary key could not be foundpublic static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoTaskForm> findByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDpublic static java.util.List<KaleoTaskForm> findByKaleoNodeId(long kaleoNodeId, 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
kaleoNodeId
- the kaleo node IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)public static java.util.List<KaleoTaskForm> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
kaleoNodeId
- the kaleo node IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskForm> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
kaleoNodeId
- the kaleo node IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskForm findByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form could not be foundpublic static KaleoTaskForm findByKaleoNodeId_Last(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByKaleoNodeId_Last(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form could not be foundpublic static KaleoTaskForm[] findByKaleoNodeId_PrevAndNext(long kaleoTaskFormId, long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoTaskFormId
- the primary key of the current kaleo task formkaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a kaleo task form with the primary key could not be foundpublic static void removeByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDpublic static int countByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDpublic static java.util.List<KaleoTaskForm> findByKaleoTaskId(long kaleoTaskId)
kaleoTaskId
- the kaleo task IDpublic static java.util.List<KaleoTaskForm> findByKaleoTaskId(long kaleoTaskId, 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
kaleoTaskId
- the kaleo task IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)public static java.util.List<KaleoTaskForm> findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
kaleoTaskId
- the kaleo task IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskForm> findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
kaleoTaskId
- the kaleo task IDstart
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskForm findByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
kaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form could not be foundpublic static KaleoTaskForm findByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
kaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form could not be foundpublic static KaleoTaskForm[] findByKaleoTaskId_PrevAndNext(long kaleoTaskFormId, long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
kaleoTaskFormId
- the primary key of the current kaleo task formkaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormException
- if a kaleo task form with the primary key could not be foundpublic static void removeByKaleoTaskId(long kaleoTaskId)
kaleoTaskId
- the kaleo task IDpublic static int countByKaleoTaskId(long kaleoTaskId)
kaleoTaskId
- the kaleo task IDpublic static KaleoTaskForm findByFormUuid_KTI(long kaleoTaskId, java.lang.String formUuid) throws NoSuchTaskFormException
NoSuchTaskFormException
if it could not be found.kaleoTaskId
- the kaleo task IDformUuid
- the form uuidNoSuchTaskFormException
- if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByFormUuid_KTI(long kaleoTaskId, java.lang.String formUuid)
null
if it could not be found. Uses the finder cache.kaleoTaskId
- the kaleo task IDformUuid
- the form uuidnull
if a matching kaleo task form could not be foundpublic static KaleoTaskForm fetchByFormUuid_KTI(long kaleoTaskId, java.lang.String formUuid, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.kaleoTaskId
- the kaleo task IDformUuid
- the form uuiduseFinderCache
- whether to use the finder cachenull
if a matching kaleo task form could not be foundpublic static KaleoTaskForm removeByFormUuid_KTI(long kaleoTaskId, java.lang.String formUuid) throws NoSuchTaskFormException
kaleoTaskId
- the kaleo task IDformUuid
- the form uuidNoSuchTaskFormException
public static int countByFormUuid_KTI(long kaleoTaskId, java.lang.String formUuid)
kaleoTaskId
- the kaleo task IDformUuid
- the form uuidpublic static void cacheResult(KaleoTaskForm kaleoTaskForm)
kaleoTaskForm
- the kaleo task formpublic static void cacheResult(java.util.List<KaleoTaskForm> kaleoTaskForms)
kaleoTaskForms
- the kaleo task formspublic static KaleoTaskForm create(long kaleoTaskFormId)
kaleoTaskFormId
- the primary key for the new kaleo task formpublic static KaleoTaskForm remove(long kaleoTaskFormId) throws NoSuchTaskFormException
kaleoTaskFormId
- the primary key of the kaleo task formNoSuchTaskFormException
- if a kaleo task form with the primary key could not be foundpublic static KaleoTaskForm updateImpl(KaleoTaskForm kaleoTaskForm)
public static KaleoTaskForm findByPrimaryKey(long kaleoTaskFormId) throws NoSuchTaskFormException
NoSuchTaskFormException
if it could not be found.kaleoTaskFormId
- the primary key of the kaleo task formNoSuchTaskFormException
- if a kaleo task form with the primary key could not be foundpublic static KaleoTaskForm fetchByPrimaryKey(long kaleoTaskFormId)
null
if it could not be found.kaleoTaskFormId
- the primary key of the kaleo task formnull
if a kaleo task form with the primary key could not be foundpublic static java.util.List<KaleoTaskForm> findAll()
public static java.util.List<KaleoTaskForm> 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
start
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)public static java.util.List<KaleoTaskForm> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> 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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
start
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskForm> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskFormModelImpl
.
start
- the lower bound of the range of kaleo task formsend
- the upper bound of the range of kaleo task forms (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoTaskFormPersistence getPersistence()