Interface BatchPlannerPolicyPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<BatchPlannerPolicy>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(BatchPlannerPolicy batchPlannerPolicy) Caches the batch planner policy in the entity cache if it is enabled.voidcacheResult(List<BatchPlannerPolicy> batchPlannerPolicies) Caches the batch planner policies in the entity cache if it is enabled.intcountAll()Returns the number of batch planner policies.intcountByBatchPlannerPlanId(long batchPlannerPlanId) Returns the number of batch planner policies where batchPlannerPlanId = ?.intcountByBPPI_N(long batchPlannerPlanId, String name) Returns the number of batch planner policies where batchPlannerPlanId = ? and name = ?.create(long batchPlannerPolicyId) Creates a new batch planner policy with the primary key.fetchByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns the first batch planner policy in the ordered set where batchPlannerPlanId = ?.fetchByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns the last batch planner policy in the ordered set where batchPlannerPlanId = ?.fetchByBPPI_N(long batchPlannerPlanId, String name) Returns the batch planner policy where batchPlannerPlanId = ? and name = ? or returnsnullif it could not be found.fetchByBPPI_N(long batchPlannerPlanId, String name, boolean useFinderCache) Returns the batch planner policy where batchPlannerPlanId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long batchPlannerPolicyId) Returns the batch planner policy with the primary key or returnsnullif it could not be found.findAll()Returns all the batch planner policies.findAll(int start, int end) Returns a range of all the batch planner policies.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns an ordered range of all the batch planner policies.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch planner policies.findByBatchPlannerPlanId(long batchPlannerPlanId) Returns all the batch planner policies where batchPlannerPlanId = ?.findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end) Returns a range of all the batch planner policies where batchPlannerPlanId = ?.findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns an ordered range of all the batch planner policies where batchPlannerPlanId = ?.findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch planner policies where batchPlannerPlanId = ?.findByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns the first batch planner policy in the ordered set where batchPlannerPlanId = ?.findByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns the last batch planner policy in the ordered set where batchPlannerPlanId = ?.findByBatchPlannerPlanId_PrevAndNext(long batchPlannerPolicyId, long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns the batch planner policies before and after the current batch planner policy in the ordered set where batchPlannerPlanId = ?.findByBPPI_N(long batchPlannerPlanId, String name) Returns the batch planner policy where batchPlannerPlanId = ? and name = ? or throws aNoSuchPolicyExceptionif it could not be found.findByPrimaryKey(long batchPlannerPolicyId) Returns the batch planner policy with the primary key or throws aNoSuchPolicyExceptionif it could not be found.remove(long batchPlannerPolicyId) Removes the batch planner policy with the primary key from the database.voidRemoves all the batch planner policies from the database.voidremoveByBatchPlannerPlanId(long batchPlannerPlanId) Removes all the batch planner policies where batchPlannerPlanId = ? from the database.removeByBPPI_N(long batchPlannerPlanId, String name) Removes the batch planner policy where batchPlannerPlanId = ? and name = ? from the database.updateImpl(BatchPlannerPolicy batchPlannerPolicy) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByBatchPlannerPlanId
Returns all the batch planner policies where batchPlannerPlanId = ?.- Parameters:
batchPlannerPlanId- the batch planner plan ID- Returns:
- the matching batch planner policies
-
findByBatchPlannerPlanId
Returns a range of all the batch planner policies where batchPlannerPlanId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchPlannerPolicyModelImpl.- Parameters:
batchPlannerPlanId- the batch planner plan IDstart- the lower bound of the range of batch planner policiesend- the upper bound of the range of batch planner policies (not inclusive)- Returns:
- the range of matching batch planner policies
-
findByBatchPlannerPlanId
List<BatchPlannerPolicy> findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns an ordered range of all the batch planner policies where batchPlannerPlanId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchPlannerPolicyModelImpl.- Parameters:
batchPlannerPlanId- the batch planner plan IDstart- the lower bound of the range of batch planner policiesend- the upper bound of the range of batch planner policies (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch planner policies
-
findByBatchPlannerPlanId
List<BatchPlannerPolicy> findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch planner policies where batchPlannerPlanId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchPlannerPolicyModelImpl.- Parameters:
batchPlannerPlanId- the batch planner plan IDstart- the lower bound of the range of batch planner policiesend- the upper bound of the range of batch planner policies (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching batch planner policies
-
findByBatchPlannerPlanId_First
BatchPlannerPolicy findByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) throws NoSuchPolicyException Returns the first batch planner policy in the ordered set where batchPlannerPlanId = ?.- Parameters:
batchPlannerPlanId- the batch planner plan IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch planner policy
- Throws:
NoSuchPolicyException- if a matching batch planner policy could not be found
-
fetchByBatchPlannerPlanId_First
BatchPlannerPolicy fetchByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns the first batch planner policy in the ordered set where batchPlannerPlanId = ?.- Parameters:
batchPlannerPlanId- the batch planner plan IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch planner policy, or
nullif a matching batch planner policy could not be found
-
findByBatchPlannerPlanId_Last
BatchPlannerPolicy findByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) throws NoSuchPolicyException Returns the last batch planner policy in the ordered set where batchPlannerPlanId = ?.- Parameters:
batchPlannerPlanId- the batch planner plan IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch planner policy
- Throws:
NoSuchPolicyException- if a matching batch planner policy could not be found
-
fetchByBatchPlannerPlanId_Last
BatchPlannerPolicy fetchByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns the last batch planner policy in the ordered set where batchPlannerPlanId = ?.- Parameters:
batchPlannerPlanId- the batch planner plan IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch planner policy, or
nullif a matching batch planner policy could not be found
-
findByBatchPlannerPlanId_PrevAndNext
BatchPlannerPolicy[] findByBatchPlannerPlanId_PrevAndNext(long batchPlannerPolicyId, long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) throws NoSuchPolicyException Returns the batch planner policies before and after the current batch planner policy in the ordered set where batchPlannerPlanId = ?.- Parameters:
batchPlannerPolicyId- the primary key of the current batch planner policybatchPlannerPlanId- the batch planner plan IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch planner policy
- Throws:
NoSuchPolicyException- if a batch planner policy with the primary key could not be found
-
removeByBatchPlannerPlanId
void removeByBatchPlannerPlanId(long batchPlannerPlanId) Removes all the batch planner policies where batchPlannerPlanId = ? from the database.- Parameters:
batchPlannerPlanId- the batch planner plan ID
-
countByBatchPlannerPlanId
int countByBatchPlannerPlanId(long batchPlannerPlanId) Returns the number of batch planner policies where batchPlannerPlanId = ?.- Parameters:
batchPlannerPlanId- the batch planner plan ID- Returns:
- the number of matching batch planner policies
-
findByBPPI_N
Returns the batch planner policy where batchPlannerPlanId = ? and name = ? or throws aNoSuchPolicyExceptionif it could not be found.- Parameters:
batchPlannerPlanId- the batch planner plan IDname- the name- Returns:
- the matching batch planner policy
- Throws:
NoSuchPolicyException- if a matching batch planner policy could not be found
-
fetchByBPPI_N
Returns the batch planner policy where batchPlannerPlanId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
batchPlannerPlanId- the batch planner plan IDname- the name- Returns:
- the matching batch planner policy, or
nullif a matching batch planner policy could not be found
-
fetchByBPPI_N
Returns the batch planner policy where batchPlannerPlanId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
batchPlannerPlanId- the batch planner plan IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching batch planner policy, or
nullif a matching batch planner policy could not be found
-
removeByBPPI_N
BatchPlannerPolicy removeByBPPI_N(long batchPlannerPlanId, String name) throws NoSuchPolicyException Removes the batch planner policy where batchPlannerPlanId = ? and name = ? from the database.- Parameters:
batchPlannerPlanId- the batch planner plan IDname- the name- Returns:
- the batch planner policy that was removed
- Throws:
NoSuchPolicyException
-
countByBPPI_N
Returns the number of batch planner policies where batchPlannerPlanId = ? and name = ?.- Parameters:
batchPlannerPlanId- the batch planner plan IDname- the name- Returns:
- the number of matching batch planner policies
-
cacheResult
Caches the batch planner policy in the entity cache if it is enabled.- Parameters:
batchPlannerPolicy- the batch planner policy
-
cacheResult
Caches the batch planner policies in the entity cache if it is enabled.- Parameters:
batchPlannerPolicies- the batch planner policies
-
create
Creates a new batch planner policy with the primary key. Does not add the batch planner policy to the database.- Parameters:
batchPlannerPolicyId- the primary key for the new batch planner policy- Returns:
- the new batch planner policy
-
remove
Removes the batch planner policy with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
batchPlannerPolicyId- the primary key of the batch planner policy- Returns:
- the batch planner policy that was removed
- Throws:
NoSuchPolicyException- if a batch planner policy with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the batch planner policy with the primary key or throws aNoSuchPolicyExceptionif it could not be found.- Parameters:
batchPlannerPolicyId- the primary key of the batch planner policy- Returns:
- the batch planner policy
- Throws:
NoSuchPolicyException- if a batch planner policy with the primary key could not be found
-
fetchByPrimaryKey
Returns the batch planner policy with the primary key or returnsnullif it could not be found.- Parameters:
batchPlannerPolicyId- the primary key of the batch planner policy- Returns:
- the batch planner policy, or
nullif a batch planner policy with the primary key could not be found
-
findAll
List<BatchPlannerPolicy> findAll()Returns all the batch planner policies.- Returns:
- the batch planner policies
-
findAll
Returns a range of all the batch planner policies.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchPlannerPolicyModelImpl.- Parameters:
start- the lower bound of the range of batch planner policiesend- the upper bound of the range of batch planner policies (not inclusive)- Returns:
- the range of batch planner policies
-
findAll
List<BatchPlannerPolicy> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator) Returns an ordered range of all the batch planner policies.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchPlannerPolicyModelImpl.- Parameters:
start- the lower bound of the range of batch planner policiesend- the upper bound of the range of batch planner policies (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of batch planner policies
-
findAll
List<BatchPlannerPolicy> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch planner policies.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchPlannerPolicyModelImpl.- Parameters:
start- the lower bound of the range of batch planner policiesend- the upper bound of the range of batch planner policies (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of batch planner policies
-
removeAll
void removeAll()Removes all the batch planner policies from the database. -
countAll
int countAll()Returns the number of batch planner policies.- Returns:
- the number of batch planner policies
-