public class BatchPlannerPlanUtil
extends java.lang.Object
com.liferay.batch.planner.service.persistence.impl.BatchPlannerPlanPersistenceImpl
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
BatchPlannerPlanPersistence
Constructor and Description |
---|
BatchPlannerPlanUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(BatchPlannerPlan batchPlannerPlan)
Caches the batch planner plan in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<BatchPlannerPlan> batchPlannerPlans)
Caches the batch planner plans in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(BatchPlannerPlan batchPlannerPlan) |
static int |
countAll()
Returns the number of batch planner plans.
|
static int |
countByC_E_T(long companyId,
boolean export,
boolean template)
Returns the number of batch planner plans where companyId = ? and export = ? and template = ?.
|
static int |
countByC_E(long companyId,
boolean export)
Returns the number of batch planner plans where companyId = ? and export = ?.
|
static int |
countByC_N(long companyId,
java.lang.String name)
Returns the number of batch planner plans where companyId = ? and name = ?.
|
static int |
countByC_T(long companyId,
boolean template)
Returns the number of batch planner plans where companyId = ? and template = ?.
|
static int |
countByC_U(long companyId,
long userId)
Returns the number of batch planner plans where companyId = ? and userId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of batch planner plans where companyId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static BatchPlannerPlan |
create(long batchPlannerPlanId)
Creates a new batch planner plan with the primary key.
|
static BatchPlannerPlan |
fetchByC_E_First(long companyId,
boolean export,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and export = ?.
|
static BatchPlannerPlan |
fetchByC_E_Last(long companyId,
boolean export,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and export = ?.
|
static BatchPlannerPlan |
fetchByC_E_T_First(long companyId,
boolean export,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and export = ? and template = ?.
|
static BatchPlannerPlan |
fetchByC_E_T_Last(long companyId,
boolean export,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and export = ? and template = ?.
|
static BatchPlannerPlan |
fetchByC_N_First(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and name = ?.
|
static BatchPlannerPlan |
fetchByC_N_Last(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and name = ?.
|
static BatchPlannerPlan |
fetchByC_T_First(long companyId,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and template = ?.
|
static BatchPlannerPlan |
fetchByC_T_Last(long companyId,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and template = ?.
|
static BatchPlannerPlan |
fetchByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and userId = ?.
|
static BatchPlannerPlan |
fetchByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and userId = ?.
|
static BatchPlannerPlan |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ?.
|
static BatchPlannerPlan |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ?.
|
static BatchPlannerPlan |
fetchByPrimaryKey(long batchPlannerPlanId)
Returns the batch planner plan with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,BatchPlannerPlan> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static int |
filterCountByC_E_T(long companyId,
boolean export,
boolean template)
Returns the number of batch planner plans that the user has permission to view where companyId = ? and export = ? and template = ?.
|
static int |
filterCountByC_E(long companyId,
boolean export)
Returns the number of batch planner plans that the user has permission to view where companyId = ? and export = ?.
|
static int |
filterCountByC_N(long companyId,
java.lang.String name)
Returns the number of batch planner plans that the user has permission to view where companyId = ? and name = ?.
|
static int |
filterCountByC_T(long companyId,
boolean template)
Returns the number of batch planner plans that the user has permission to view where companyId = ? and template = ?.
|
static int |
filterCountByC_U(long companyId,
long userId)
Returns the number of batch planner plans that the user has permission to view where companyId = ? and userId = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of batch planner plans that the user has permission to view where companyId = ?.
|
static BatchPlannerPlan[] |
filterFindByC_E_PrevAndNext(long batchPlannerPlanId,
long companyId,
boolean export,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set of batch planner plans that the user has permission to view where companyId = ? and export = ?.
|
static BatchPlannerPlan[] |
filterFindByC_E_T_PrevAndNext(long batchPlannerPlanId,
long companyId,
boolean export,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set of batch planner plans that the user has permission to view where companyId = ? and export = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_E_T(long companyId,
boolean export,
boolean template)
Returns all the batch planner plans that the user has permission to view where companyId = ? and export = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_E_T(long companyId,
boolean export,
boolean template,
int start,
int end)
Returns a range of all the batch planner plans that the user has permission to view where companyId = ? and export = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_E_T(long companyId,
boolean export,
boolean template,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans that the user has permissions to view where companyId = ? and export = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_E(long companyId,
boolean export)
Returns all the batch planner plans that the user has permission to view where companyId = ? and export = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_E(long companyId,
boolean export,
int start,
int end)
Returns a range of all the batch planner plans that the user has permission to view where companyId = ? and export = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_E(long companyId,
boolean export,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans that the user has permissions to view where companyId = ? and export = ?.
|
static BatchPlannerPlan[] |
filterFindByC_N_PrevAndNext(long batchPlannerPlanId,
long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set of batch planner plans that the user has permission to view where companyId = ? and name = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_N(long companyId,
java.lang.String name)
Returns all the batch planner plans that the user has permission to view where companyId = ? and name = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_N(long companyId,
java.lang.String name,
int start,
int end)
Returns a range of all the batch planner plans that the user has permission to view where companyId = ? and name = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_N(long companyId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans that the user has permissions to view where companyId = ? and name = ?.
|
static BatchPlannerPlan[] |
filterFindByC_T_PrevAndNext(long batchPlannerPlanId,
long companyId,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set of batch planner plans that the user has permission to view where companyId = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_T(long companyId,
boolean template)
Returns all the batch planner plans that the user has permission to view where companyId = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_T(long companyId,
boolean template,
int start,
int end)
Returns a range of all the batch planner plans that the user has permission to view where companyId = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_T(long companyId,
boolean template,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans that the user has permissions to view where companyId = ? and template = ?.
|
static BatchPlannerPlan[] |
filterFindByC_U_PrevAndNext(long batchPlannerPlanId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set of batch planner plans that the user has permission to view where companyId = ? and userId = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_U(long companyId,
long userId)
Returns all the batch planner plans that the user has permission to view where companyId = ? and userId = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_U(long companyId,
long userId,
int start,
int end)
Returns a range of all the batch planner plans that the user has permission to view where companyId = ? and userId = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans that the user has permissions to view where companyId = ? and userId = ?.
|
static BatchPlannerPlan[] |
filterFindByCompanyId_PrevAndNext(long batchPlannerPlanId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set of batch planner plans that the user has permission to view where companyId = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByCompanyId(long companyId)
Returns all the batch planner plans that the user has permission to view where companyId = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the batch planner plans that the user has permission to view where companyId = ?.
|
static java.util.List<BatchPlannerPlan> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans that the user has permissions to view where companyId = ?.
|
static java.util.List<BatchPlannerPlan> |
findAll()
Returns all the batch planner plans.
|
static java.util.List<BatchPlannerPlan> |
findAll(int start,
int end)
Returns a range of all the batch planner plans.
|
static java.util.List<BatchPlannerPlan> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans.
|
static java.util.List<BatchPlannerPlan> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch planner plans.
|
static BatchPlannerPlan |
findByC_E_First(long companyId,
boolean export,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and export = ?.
|
static BatchPlannerPlan |
findByC_E_Last(long companyId,
boolean export,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and export = ?.
|
static BatchPlannerPlan[] |
findByC_E_PrevAndNext(long batchPlannerPlanId,
long companyId,
boolean export,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set where companyId = ? and export = ?.
|
static BatchPlannerPlan |
findByC_E_T_First(long companyId,
boolean export,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and export = ? and template = ?.
|
static BatchPlannerPlan |
findByC_E_T_Last(long companyId,
boolean export,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and export = ? and template = ?.
|
static BatchPlannerPlan[] |
findByC_E_T_PrevAndNext(long batchPlannerPlanId,
long companyId,
boolean export,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set where companyId = ? and export = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_E_T(long companyId,
boolean export,
boolean template)
Returns all the batch planner plans where companyId = ? and export = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_E_T(long companyId,
boolean export,
boolean template,
int start,
int end)
Returns a range of all the batch planner plans where companyId = ? and export = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_E_T(long companyId,
boolean export,
boolean template,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans where companyId = ? and export = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_E_T(long companyId,
boolean export,
boolean template,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch planner plans where companyId = ? and export = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_E(long companyId,
boolean export)
Returns all the batch planner plans where companyId = ? and export = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_E(long companyId,
boolean export,
int start,
int end)
Returns a range of all the batch planner plans where companyId = ? and export = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_E(long companyId,
boolean export,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans where companyId = ? and export = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_E(long companyId,
boolean export,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch planner plans where companyId = ? and export = ?.
|
static BatchPlannerPlan |
findByC_N_First(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and name = ?.
|
static BatchPlannerPlan |
findByC_N_Last(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and name = ?.
|
static BatchPlannerPlan[] |
findByC_N_PrevAndNext(long batchPlannerPlanId,
long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set where companyId = ? and name = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_N(long companyId,
java.lang.String name)
Returns all the batch planner plans where companyId = ? and name = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_N(long companyId,
java.lang.String name,
int start,
int end)
Returns a range of all the batch planner plans where companyId = ? and name = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_N(long companyId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans where companyId = ? and name = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_N(long companyId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch planner plans where companyId = ? and name = ?.
|
static BatchPlannerPlan |
findByC_T_First(long companyId,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and template = ?.
|
static BatchPlannerPlan |
findByC_T_Last(long companyId,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and template = ?.
|
static BatchPlannerPlan[] |
findByC_T_PrevAndNext(long batchPlannerPlanId,
long companyId,
boolean template,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set where companyId = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_T(long companyId,
boolean template)
Returns all the batch planner plans where companyId = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_T(long companyId,
boolean template,
int start,
int end)
Returns a range of all the batch planner plans where companyId = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_T(long companyId,
boolean template,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans where companyId = ? and template = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_T(long companyId,
boolean template,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch planner plans where companyId = ? and template = ?.
|
static BatchPlannerPlan |
findByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ? and userId = ?.
|
static BatchPlannerPlan |
findByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ? and userId = ?.
|
static BatchPlannerPlan[] |
findByC_U_PrevAndNext(long batchPlannerPlanId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set where companyId = ? and userId = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_U(long companyId,
long userId)
Returns all the batch planner plans where companyId = ? and userId = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_U(long companyId,
long userId,
int start,
int end)
Returns a range of all the batch planner plans where companyId = ? and userId = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans where companyId = ? and userId = ?.
|
static java.util.List<BatchPlannerPlan> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch planner plans where companyId = ? and userId = ?.
|
static BatchPlannerPlan |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the first batch planner plan in the ordered set where companyId = ?.
|
static BatchPlannerPlan |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the last batch planner plan in the ordered set where companyId = ?.
|
static BatchPlannerPlan[] |
findByCompanyId_PrevAndNext(long batchPlannerPlanId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns the batch planner plans before and after the current batch planner plan in the ordered set where companyId = ?.
|
static java.util.List<BatchPlannerPlan> |
findByCompanyId(long companyId)
Returns all the batch planner plans where companyId = ?.
|
static java.util.List<BatchPlannerPlan> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the batch planner plans where companyId = ?.
|
static java.util.List<BatchPlannerPlan> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
Returns an ordered range of all the batch planner plans where companyId = ?.
|
static java.util.List<BatchPlannerPlan> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the batch planner plans where companyId = ?.
|
static BatchPlannerPlan |
findByPrimaryKey(long batchPlannerPlanId)
Returns the batch planner plan with the primary key or throws a
NoSuchPlanException if it could not be found. |
static java.util.List<BatchPlannerPlan> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<BatchPlannerPlan> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<BatchPlannerPlan> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) |
static BatchPlannerPlanPersistence |
getPersistence() |
static BatchPlannerPlan |
remove(long batchPlannerPlanId)
Removes the batch planner plan with the primary key from the database.
|
static void |
removeAll()
Removes all the batch planner plans from the database.
|
static void |
removeByC_E_T(long companyId,
boolean export,
boolean template)
Removes all the batch planner plans where companyId = ? and export = ? and template = ? from the database.
|
static void |
removeByC_E(long companyId,
boolean export)
Removes all the batch planner plans where companyId = ? and export = ? from the database.
|
static void |
removeByC_N(long companyId,
java.lang.String name)
Removes all the batch planner plans where companyId = ? and name = ? from the database.
|
static void |
removeByC_T(long companyId,
boolean template)
Removes all the batch planner plans where companyId = ? and template = ? from the database.
|
static void |
removeByC_U(long companyId,
long userId)
Removes all the batch planner plans where companyId = ? and userId = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the batch planner plans where companyId = ? from the database.
|
static void |
setPersistence(BatchPlannerPlanPersistence persistence) |
static BatchPlannerPlan |
update(BatchPlannerPlan batchPlannerPlan) |
static BatchPlannerPlan |
update(BatchPlannerPlan batchPlannerPlan,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static BatchPlannerPlan |
updateImpl(BatchPlannerPlan batchPlannerPlan) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(BatchPlannerPlan batchPlannerPlan)
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,BatchPlannerPlan> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<BatchPlannerPlan> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<BatchPlannerPlan> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<BatchPlannerPlan> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static BatchPlannerPlan update(BatchPlannerPlan batchPlannerPlan)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static BatchPlannerPlan update(BatchPlannerPlan batchPlannerPlan, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<BatchPlannerPlan> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchPlannerPlan> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchPlannerPlan findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan[] findByCompanyId_PrevAndNext(long batchPlannerPlanId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static java.util.List<BatchPlannerPlan> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<BatchPlannerPlan> filterFindByCompanyId(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 BatchPlannerPlanModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static BatchPlannerPlan[] filterFindByCompanyId_PrevAndNext(long batchPlannerPlanId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan 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 int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<BatchPlannerPlan> findByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<BatchPlannerPlan> findByC_U(long companyId, long userId, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchPlannerPlan> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchPlannerPlan findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan[] findByC_U_PrevAndNext(long batchPlannerPlanId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static java.util.List<BatchPlannerPlan> filterFindByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<BatchPlannerPlan> filterFindByC_U(long companyId, long userId, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> filterFindByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static BatchPlannerPlan[] filterFindByC_U_PrevAndNext(long batchPlannerPlanId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static void removeByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static int countByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static int filterCountByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<BatchPlannerPlan> findByC_E(long companyId, boolean export)
companyId
- the company IDexport
- the exportpublic static java.util.List<BatchPlannerPlan> findByC_E(long companyId, boolean export, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exportstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> findByC_E(long companyId, boolean export, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exportstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchPlannerPlan> findByC_E(long companyId, boolean export, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exportstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchPlannerPlan findByC_E_First(long companyId, boolean export, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDexport
- the exportorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_E_First(long companyId, boolean export, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDexport
- the exportorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan findByC_E_Last(long companyId, boolean export, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDexport
- the exportorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_E_Last(long companyId, boolean export, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDexport
- the exportorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan[] findByC_E_PrevAndNext(long batchPlannerPlanId, long companyId, boolean export, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDexport
- the exportorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static java.util.List<BatchPlannerPlan> filterFindByC_E(long companyId, boolean export)
companyId
- the company IDexport
- the exportpublic static java.util.List<BatchPlannerPlan> filterFindByC_E(long companyId, boolean export, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exportstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> filterFindByC_E(long companyId, boolean export, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exportstart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static BatchPlannerPlan[] filterFindByC_E_PrevAndNext(long batchPlannerPlanId, long companyId, boolean export, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDexport
- the exportorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static void removeByC_E(long companyId, boolean export)
companyId
- the company IDexport
- the exportpublic static int countByC_E(long companyId, boolean export)
companyId
- the company IDexport
- the exportpublic static int filterCountByC_E(long companyId, boolean export)
companyId
- the company IDexport
- the exportpublic static java.util.List<BatchPlannerPlan> findByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static java.util.List<BatchPlannerPlan> findByC_N(long companyId, java.lang.String name, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDname
- the namestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> findByC_N(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDname
- the namestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchPlannerPlan> findByC_N(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDname
- the namestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchPlannerPlan findByC_N_First(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_N_First(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan findByC_N_Last(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_N_Last(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan[] findByC_N_PrevAndNext(long batchPlannerPlanId, long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static java.util.List<BatchPlannerPlan> filterFindByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static java.util.List<BatchPlannerPlan> filterFindByC_N(long companyId, java.lang.String name, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDname
- the namestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> filterFindByC_N(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDname
- the namestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static BatchPlannerPlan[] filterFindByC_N_PrevAndNext(long batchPlannerPlanId, long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static void removeByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static int countByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static int filterCountByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static java.util.List<BatchPlannerPlan> findByC_T(long companyId, boolean template)
companyId
- the company IDtemplate
- the templatepublic static java.util.List<BatchPlannerPlan> findByC_T(long companyId, boolean template, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDtemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> findByC_T(long companyId, boolean template, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDtemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchPlannerPlan> findByC_T(long companyId, boolean template, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDtemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchPlannerPlan findByC_T_First(long companyId, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDtemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_T_First(long companyId, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDtemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan findByC_T_Last(long companyId, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDtemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_T_Last(long companyId, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDtemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan[] findByC_T_PrevAndNext(long batchPlannerPlanId, long companyId, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDtemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static java.util.List<BatchPlannerPlan> filterFindByC_T(long companyId, boolean template)
companyId
- the company IDtemplate
- the templatepublic static java.util.List<BatchPlannerPlan> filterFindByC_T(long companyId, boolean template, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDtemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> filterFindByC_T(long companyId, boolean template, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDtemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static BatchPlannerPlan[] filterFindByC_T_PrevAndNext(long batchPlannerPlanId, long companyId, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDtemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static void removeByC_T(long companyId, boolean template)
companyId
- the company IDtemplate
- the templatepublic static int countByC_T(long companyId, boolean template)
companyId
- the company IDtemplate
- the templatepublic static int filterCountByC_T(long companyId, boolean template)
companyId
- the company IDtemplate
- the templatepublic static java.util.List<BatchPlannerPlan> findByC_E_T(long companyId, boolean export, boolean template)
companyId
- the company IDexport
- the exporttemplate
- the templatepublic static java.util.List<BatchPlannerPlan> findByC_E_T(long companyId, boolean export, boolean template, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exporttemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> findByC_E_T(long companyId, boolean export, boolean template, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exporttemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchPlannerPlan> findByC_E_T(long companyId, boolean export, boolean template, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exporttemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static BatchPlannerPlan findByC_E_T_First(long companyId, boolean export, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDexport
- the exporttemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_E_T_First(long companyId, boolean export, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDexport
- the exporttemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan findByC_E_T_Last(long companyId, boolean export, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
companyId
- the company IDexport
- the exporttemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a matching batch planner plan could not be foundpublic static BatchPlannerPlan fetchByC_E_T_Last(long companyId, boolean export, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator)
companyId
- the company IDexport
- the exporttemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner plan could not be foundpublic static BatchPlannerPlan[] findByC_E_T_PrevAndNext(long batchPlannerPlanId, long companyId, boolean export, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDexport
- the exporttemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static java.util.List<BatchPlannerPlan> filterFindByC_E_T(long companyId, boolean export, boolean template)
companyId
- the company IDexport
- the exporttemplate
- the templatepublic static java.util.List<BatchPlannerPlan> filterFindByC_E_T(long companyId, boolean export, boolean template, 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exporttemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> filterFindByC_E_T(long companyId, boolean export, boolean template, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
companyId
- the company IDexport
- the exporttemplate
- the templatestart
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static BatchPlannerPlan[] filterFindByC_E_T_PrevAndNext(long batchPlannerPlanId, long companyId, boolean export, boolean template, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> orderByComparator) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the current batch planner plancompanyId
- the company IDexport
- the exporttemplate
- the templateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static void removeByC_E_T(long companyId, boolean export, boolean template)
companyId
- the company IDexport
- the exporttemplate
- the templatepublic static int countByC_E_T(long companyId, boolean export, boolean template)
companyId
- the company IDexport
- the exporttemplate
- the templatepublic static int filterCountByC_E_T(long companyId, boolean export, boolean template)
companyId
- the company IDexport
- the exporttemplate
- the templatepublic static void cacheResult(BatchPlannerPlan batchPlannerPlan)
batchPlannerPlan
- the batch planner planpublic static void cacheResult(java.util.List<BatchPlannerPlan> batchPlannerPlans)
batchPlannerPlans
- the batch planner planspublic static BatchPlannerPlan create(long batchPlannerPlanId)
batchPlannerPlanId
- the primary key for the new batch planner planpublic static BatchPlannerPlan remove(long batchPlannerPlanId) throws NoSuchPlanException
batchPlannerPlanId
- the primary key of the batch planner planNoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static BatchPlannerPlan updateImpl(BatchPlannerPlan batchPlannerPlan)
public static BatchPlannerPlan findByPrimaryKey(long batchPlannerPlanId) throws NoSuchPlanException
NoSuchPlanException
if it could not be found.batchPlannerPlanId
- the primary key of the batch planner planNoSuchPlanException
- if a batch planner plan with the primary key could not be foundpublic static BatchPlannerPlan fetchByPrimaryKey(long batchPlannerPlanId)
null
if it could not be found.batchPlannerPlanId
- the primary key of the batch planner plannull
if a batch planner plan with the primary key could not be foundpublic static java.util.List<BatchPlannerPlan> findAll()
public static java.util.List<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
start
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)public static java.util.List<BatchPlannerPlan> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
start
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchPlannerPlan> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPlan> 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 BatchPlannerPlanModelImpl
.
start
- the lower bound of the range of batch planner plansend
- the upper bound of the range of batch planner plans (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 BatchPlannerPlanPersistence getPersistence()
public static void setPersistence(BatchPlannerPlanPersistence persistence)