@ProviderType public interface BatchPlannerMappingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<BatchPlannerMapping>
Caching information and settings can be found in portal.properties
BatchPlannerMappingUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(BatchPlannerMapping batchPlannerMapping)
Caches the batch planner mapping in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<BatchPlannerMapping> batchPlannerMappings)
Caches the batch planner mappings in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of batch planner mappings.
|
int |
countByBatchPlannerPlanId(long batchPlannerPlanId)
Returns the number of batch planner mappings where batchPlannerPlanId = ?.
|
int |
countByBPPI_EFN_IFN(long batchPlannerPlanId,
java.lang.String externalFieldName,
java.lang.String internalFieldName)
Returns the number of batch planner mappings where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ?.
|
BatchPlannerMapping |
create(long batchPlannerMappingId)
Creates a new batch planner mapping with the primary key.
|
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 = ?.
|
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 = ?.
|
BatchPlannerMapping |
fetchByBPPI_EFN_IFN(long batchPlannerPlanId,
java.lang.String externalFieldName,
java.lang.String internalFieldName)
Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or returns
null if it could not be found. |
BatchPlannerMapping |
fetchByBPPI_EFN_IFN(long batchPlannerPlanId,
java.lang.String externalFieldName,
java.lang.String internalFieldName,
boolean useFinderCache)
Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or returns
null if it could not be found, optionally using the finder cache. |
BatchPlannerMapping |
fetchByPrimaryKey(long batchPlannerMappingId)
Returns the batch planner mapping with the primary key or returns
null if it could not be found. |
java.util.List<BatchPlannerMapping> |
findAll()
Returns all the batch planner mappings.
|
java.util.List<BatchPlannerMapping> |
findAll(int start,
int end)
Returns a range of all the batch planner mappings.
|
java.util.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.
|
java.util.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.
|
BatchPlannerMapping |
findByBatchPlannerPlanId_First(long batchPlannerPlanId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator)
Returns the first batch planner mapping in the ordered set where batchPlannerPlanId = ?.
|
BatchPlannerMapping |
findByBatchPlannerPlanId_Last(long batchPlannerPlanId,
com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator)
Returns the last batch planner mapping in the ordered set where batchPlannerPlanId = ?.
|
BatchPlannerMapping[] |
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 = ?.
|
java.util.List<BatchPlannerMapping> |
findByBatchPlannerPlanId(long batchPlannerPlanId)
Returns all the batch planner mappings where batchPlannerPlanId = ?.
|
java.util.List<BatchPlannerMapping> |
findByBatchPlannerPlanId(long batchPlannerPlanId,
int start,
int end)
Returns a range of all the batch planner mappings where batchPlannerPlanId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
BatchPlannerMapping |
findByBPPI_EFN_IFN(long batchPlannerPlanId,
java.lang.String externalFieldName,
java.lang.String internalFieldName)
Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or throws a
NoSuchMappingException if it could not be found. |
BatchPlannerMapping |
findByPrimaryKey(long batchPlannerMappingId)
Returns the batch planner mapping with the primary key or throws a
NoSuchMappingException if it could not be found. |
BatchPlannerMapping |
remove(long batchPlannerMappingId)
Removes the batch planner mapping with the primary key from the database.
|
void |
removeAll()
Removes all the batch planner mappings from the database.
|
void |
removeByBatchPlannerPlanId(long batchPlannerPlanId)
Removes all the batch planner mappings where batchPlannerPlanId = ? from the database.
|
BatchPlannerMapping |
removeByBPPI_EFN_IFN(long batchPlannerPlanId,
java.lang.String externalFieldName,
java.lang.String internalFieldName)
Removes the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? from the database.
|
BatchPlannerMapping |
updateImpl(BatchPlannerMapping batchPlannerMapping) |
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, setDataSource, unregisterListener, update, update
java.util.List<BatchPlannerMapping> findByBatchPlannerPlanId(long batchPlannerPlanId)
batchPlannerPlanId
- the batch planner plan IDjava.util.List<BatchPlannerMapping> findByBatchPlannerPlanId(long batchPlannerPlanId, 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 BatchPlannerMappingModelImpl
.
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)java.util.List<BatchPlannerMapping> findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> 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 BatchPlannerMappingModelImpl
.
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 (optionally null
)java.util.List<BatchPlannerMapping> findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> 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 BatchPlannerMappingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheBatchPlannerMapping findByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) throws NoSuchMappingException
batchPlannerPlanId
- the batch planner plan IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMappingException
- if a matching batch planner mapping could not be foundBatchPlannerMapping fetchByBatchPlannerPlanId_First(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator)
batchPlannerPlanId
- the batch planner plan IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner mapping could not be foundBatchPlannerMapping findByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) throws NoSuchMappingException
batchPlannerPlanId
- the batch planner plan IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMappingException
- if a matching batch planner mapping could not be foundBatchPlannerMapping fetchByBatchPlannerPlanId_Last(long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator)
batchPlannerPlanId
- the batch planner plan IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch planner mapping could not be foundBatchPlannerMapping[] findByBatchPlannerPlanId_PrevAndNext(long batchPlannerMappingId, long batchPlannerPlanId, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> orderByComparator) throws NoSuchMappingException
batchPlannerMappingId
- the primary key of the current batch planner mappingbatchPlannerPlanId
- the batch planner plan IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMappingException
- if a batch planner mapping with the primary key could not be foundvoid removeByBatchPlannerPlanId(long batchPlannerPlanId)
batchPlannerPlanId
- the batch planner plan IDint countByBatchPlannerPlanId(long batchPlannerPlanId)
batchPlannerPlanId
- the batch planner plan IDBatchPlannerMapping findByBPPI_EFN_IFN(long batchPlannerPlanId, java.lang.String externalFieldName, java.lang.String internalFieldName) throws NoSuchMappingException
NoSuchMappingException
if it could not be found.batchPlannerPlanId
- the batch planner plan IDexternalFieldName
- the external field nameinternalFieldName
- the internal field nameNoSuchMappingException
- if a matching batch planner mapping could not be foundBatchPlannerMapping fetchByBPPI_EFN_IFN(long batchPlannerPlanId, java.lang.String externalFieldName, java.lang.String internalFieldName)
null
if it could not be found. Uses the finder cache.batchPlannerPlanId
- the batch planner plan IDexternalFieldName
- the external field nameinternalFieldName
- the internal field namenull
if a matching batch planner mapping could not be foundBatchPlannerMapping fetchByBPPI_EFN_IFN(long batchPlannerPlanId, java.lang.String externalFieldName, java.lang.String internalFieldName, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.batchPlannerPlanId
- the batch planner plan IDexternalFieldName
- the external field nameinternalFieldName
- the internal field nameuseFinderCache
- whether to use the finder cachenull
if a matching batch planner mapping could not be foundBatchPlannerMapping removeByBPPI_EFN_IFN(long batchPlannerPlanId, java.lang.String externalFieldName, java.lang.String internalFieldName) throws NoSuchMappingException
batchPlannerPlanId
- the batch planner plan IDexternalFieldName
- the external field nameinternalFieldName
- the internal field nameNoSuchMappingException
int countByBPPI_EFN_IFN(long batchPlannerPlanId, java.lang.String externalFieldName, java.lang.String internalFieldName)
batchPlannerPlanId
- the batch planner plan IDexternalFieldName
- the external field nameinternalFieldName
- the internal field namevoid cacheResult(BatchPlannerMapping batchPlannerMapping)
batchPlannerMapping
- the batch planner mappingvoid cacheResult(java.util.List<BatchPlannerMapping> batchPlannerMappings)
batchPlannerMappings
- the batch planner mappingsBatchPlannerMapping create(long batchPlannerMappingId)
batchPlannerMappingId
- the primary key for the new batch planner mappingBatchPlannerMapping remove(long batchPlannerMappingId) throws NoSuchMappingException
batchPlannerMappingId
- the primary key of the batch planner mappingNoSuchMappingException
- if a batch planner mapping with the primary key could not be foundBatchPlannerMapping updateImpl(BatchPlannerMapping batchPlannerMapping)
BatchPlannerMapping findByPrimaryKey(long batchPlannerMappingId) throws NoSuchMappingException
NoSuchMappingException
if it could not be found.batchPlannerMappingId
- the primary key of the batch planner mappingNoSuchMappingException
- if a batch planner mapping with the primary key could not be foundBatchPlannerMapping fetchByPrimaryKey(long batchPlannerMappingId)
null
if it could not be found.batchPlannerMappingId
- the primary key of the batch planner mappingnull
if a batch planner mapping with the primary key could not be foundjava.util.List<BatchPlannerMapping> findAll()
java.util.List<BatchPlannerMapping> 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 BatchPlannerMappingModelImpl
.
start
- the lower bound of the range of batch planner mappingsend
- the upper bound of the range of batch planner mappings (not inclusive)java.util.List<BatchPlannerMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> 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 BatchPlannerMappingModelImpl
.
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 (optionally null
)java.util.List<BatchPlannerMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchPlannerMapping> 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 BatchPlannerMappingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()