Interface BatchPlannerMappingPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<BatchPlannerMapping>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(BatchPlannerMapping batchPlannerMapping) Caches the batch planner mapping in the entity cache if it is enabled.voidcacheResult(List<BatchPlannerMapping> batchPlannerMappings) Caches the batch planner mappings in the entity cache if it is enabled.intcountAll()Returns the number of batch planner mappings.intcountByBatchPlannerPlanId(long batchPlannerPlanId) Returns the number of batch planner mappings where batchPlannerPlanId = ?.intcountByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName) Returns the number of batch planner mappings where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ?.create(long batchPlannerMappingId) Creates a new batch planner mapping with the primary key.fetchByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns the first batch planner mapping in the ordered set where batchPlannerPlanId = ?.fetchByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns the last batch planner mapping in the ordered set where batchPlannerPlanId = ?.fetchByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName) Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or returnsnullif it could not be found.fetchByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName, boolean useFinderCache) Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long batchPlannerMappingId) Returns the batch planner mapping with the primary key or returnsnullif it could not be found.findAll()Returns all the batch planner mappings.findAll(int start, int end) Returns a range of all the batch planner mappings.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns an ordered range of all the batch planner mappings.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch planner mappings.findByBatchPlannerPlanId(long batchPlannerPlanId) Returns all the batch planner mappings where batchPlannerPlanId = ?.findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end) Returns a range of all the batch planner mappings where batchPlannerPlanId = ?.findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns an ordered range of all the batch planner mappings where batchPlannerPlanId = ?.findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch planner mappings where batchPlannerPlanId = ?.findByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns the first batch planner mapping in the ordered set where batchPlannerPlanId = ?.findByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns the last batch planner mapping in the ordered set where batchPlannerPlanId = ?.findByBatchPlannerPlanId_PrevAndNext(long batchPlannerMappingId, long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns the batch planner mappings before and after the current batch planner mapping in the ordered set where batchPlannerPlanId = ?.findByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName) Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or throws aNoSuchMappingExceptionif it could not be found.findByPrimaryKey(long batchPlannerMappingId) Returns the batch planner mapping with the primary key or throws aNoSuchMappingExceptionif it could not be found.remove(long batchPlannerMappingId) Removes the batch planner mapping with the primary key from the database.voidRemoves all the batch planner mappings from the database.voidremoveByBatchPlannerPlanId(long batchPlannerPlanId) Removes all the batch planner mappings where batchPlannerPlanId = ? from the database.removeByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName) Removes the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? from the database.updateImpl(BatchPlannerMapping batchPlannerMapping) 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 mappings where batchPlannerPlanId = ?.- Parameters:
batchPlannerPlanId- the batch planner plan ID- Returns:
- the matching batch planner mappings
-
findByBatchPlannerPlanId
Returns a range of all the batch planner mappings 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 fromBatchPlannerMappingModelImpl.- Parameters:
batchPlannerPlanId- the batch planner plan IDstart- the lower bound of the range of batch planner mappingsend- the upper bound of the range of batch planner mappings (not inclusive)- Returns:
- the range of matching batch planner mappings
-
findByBatchPlannerPlanId
List<BatchPlannerMapping> findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns an ordered range of all the batch planner mappings 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 fromBatchPlannerMappingModelImpl.- Parameters:
batchPlannerPlanId- the batch planner plan IDstart- the lower bound of the range of batch planner mappingsend- the upper bound of the range of batch planner mappings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch planner mappings
-
findByBatchPlannerPlanId
List<BatchPlannerMapping> findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch planner mappings 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 fromBatchPlannerMappingModelImpl.- Parameters:
batchPlannerPlanId- the batch planner plan IDstart- the lower bound of the range of batch planner mappingsend- the upper bound of the range of batch planner mappings (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 mappings
-
findByBatchPlannerPlanId_First
BatchPlannerMapping findByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) throws NoSuchMappingException Returns the first batch planner mapping 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 mapping
- Throws:
NoSuchMappingException- if a matching batch planner mapping could not be found
-
fetchByBatchPlannerPlanId_First
BatchPlannerMapping fetchByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns the first batch planner mapping 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 mapping, or
nullif a matching batch planner mapping could not be found
-
findByBatchPlannerPlanId_Last
BatchPlannerMapping findByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) throws NoSuchMappingException Returns the last batch planner mapping 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 mapping
- Throws:
NoSuchMappingException- if a matching batch planner mapping could not be found
-
fetchByBatchPlannerPlanId_Last
BatchPlannerMapping fetchByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns the last batch planner mapping 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 mapping, or
nullif a matching batch planner mapping could not be found
-
findByBatchPlannerPlanId_PrevAndNext
BatchPlannerMapping[] findByBatchPlannerPlanId_PrevAndNext(long batchPlannerMappingId, long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) throws NoSuchMappingException Returns the batch planner mappings before and after the current batch planner mapping in the ordered set where batchPlannerPlanId = ?.- Parameters:
batchPlannerMappingId- the primary key of the current batch planner mappingbatchPlannerPlanId- the batch planner plan IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch planner mapping
- Throws:
NoSuchMappingException- if a batch planner mapping with the primary key could not be found
-
removeByBatchPlannerPlanId
void removeByBatchPlannerPlanId(long batchPlannerPlanId) Removes all the batch planner mappings where batchPlannerPlanId = ? from the database.- Parameters:
batchPlannerPlanId- the batch planner plan ID
-
countByBatchPlannerPlanId
int countByBatchPlannerPlanId(long batchPlannerPlanId) Returns the number of batch planner mappings where batchPlannerPlanId = ?.- Parameters:
batchPlannerPlanId- the batch planner plan ID- Returns:
- the number of matching batch planner mappings
-
findByBPPI_EFN_IFN
BatchPlannerMapping findByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName) throws NoSuchMappingException Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or throws aNoSuchMappingExceptionif it could not be found.- Parameters:
batchPlannerPlanId- the batch planner plan IDexternalFieldName- the external field nameinternalFieldName- the internal field name- Returns:
- the matching batch planner mapping
- Throws:
NoSuchMappingException- if a matching batch planner mapping could not be found
-
fetchByBPPI_EFN_IFN
BatchPlannerMapping fetchByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName) Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
batchPlannerPlanId- the batch planner plan IDexternalFieldName- the external field nameinternalFieldName- the internal field name- Returns:
- the matching batch planner mapping, or
nullif a matching batch planner mapping could not be found
-
fetchByBPPI_EFN_IFN
BatchPlannerMapping fetchByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName, boolean useFinderCache) Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
batchPlannerPlanId- the batch planner plan IDexternalFieldName- the external field nameinternalFieldName- the internal field nameuseFinderCache- whether to use the finder cache- Returns:
- the matching batch planner mapping, or
nullif a matching batch planner mapping could not be found
-
removeByBPPI_EFN_IFN
BatchPlannerMapping removeByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName) throws NoSuchMappingException Removes the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? from the database.- Parameters:
batchPlannerPlanId- the batch planner plan IDexternalFieldName- the external field nameinternalFieldName- the internal field name- Returns:
- the batch planner mapping that was removed
- Throws:
NoSuchMappingException
-
countByBPPI_EFN_IFN
int countByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName) Returns the number of batch planner mappings where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ?.- Parameters:
batchPlannerPlanId- the batch planner plan IDexternalFieldName- the external field nameinternalFieldName- the internal field name- Returns:
- the number of matching batch planner mappings
-
cacheResult
Caches the batch planner mapping in the entity cache if it is enabled.- Parameters:
batchPlannerMapping- the batch planner mapping
-
cacheResult
Caches the batch planner mappings in the entity cache if it is enabled.- Parameters:
batchPlannerMappings- the batch planner mappings
-
create
Creates a new batch planner mapping with the primary key. Does not add the batch planner mapping to the database.- Parameters:
batchPlannerMappingId- the primary key for the new batch planner mapping- Returns:
- the new batch planner mapping
-
remove
Removes the batch planner mapping with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
batchPlannerMappingId- the primary key of the batch planner mapping- Returns:
- the batch planner mapping that was removed
- Throws:
NoSuchMappingException- if a batch planner mapping with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the batch planner mapping with the primary key or throws aNoSuchMappingExceptionif it could not be found.- Parameters:
batchPlannerMappingId- the primary key of the batch planner mapping- Returns:
- the batch planner mapping
- Throws:
NoSuchMappingException- if a batch planner mapping with the primary key could not be found
-
fetchByPrimaryKey
Returns the batch planner mapping with the primary key or returnsnullif it could not be found.- Parameters:
batchPlannerMappingId- the primary key of the batch planner mapping- Returns:
- the batch planner mapping, or
nullif a batch planner mapping with the primary key could not be found
-
findAll
List<BatchPlannerMapping> findAll()Returns all the batch planner mappings.- Returns:
- the batch planner mappings
-
findAll
Returns a range of all the batch planner mappings.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 fromBatchPlannerMappingModelImpl.- Parameters:
start- the lower bound of the range of batch planner mappingsend- the upper bound of the range of batch planner mappings (not inclusive)- Returns:
- the range of batch planner mappings
-
findAll
List<BatchPlannerMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) Returns an ordered range of all the batch planner mappings.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 fromBatchPlannerMappingModelImpl.- Parameters:
start- the lower bound of the range of batch planner mappingsend- the upper bound of the range of batch planner mappings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of batch planner mappings
-
findAll
List<BatchPlannerMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch planner mappings.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 fromBatchPlannerMappingModelImpl.- Parameters:
start- the lower bound of the range of batch planner mappingsend- the upper bound of the range of batch planner mappings (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 mappings
-
removeAll
void removeAll()Removes all the batch planner mappings from the database. -
countAll
int countAll()Returns the number of batch planner mappings.- Returns:
- the number of batch planner mappings
-