Interface BatchPlannerMappingPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<BatchPlannerMapping>

@ProviderType public interface BatchPlannerMappingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<BatchPlannerMapping>
The persistence interface for the batch planner mapping service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByBatchPlannerPlanId(long batchPlannerPlanId)
    Returns the number of batch planner mappings where batchPlannerPlanId = ?.
    int
    countByBPPI_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 = ?.
    fetchByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName)
    Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or returns null if 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 returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long batchPlannerMappingId)
    Returns the batch planner mapping with the primary key or returns null if it could not be found.
    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 = ?.
    findByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName)
    Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or throws a NoSuchMappingException if it could not be found.
    findByPrimaryKey(long batchPlannerMappingId)
    Returns the batch planner mapping with the primary key or throws a NoSuchMappingException if it could not be found.
    remove(long batchPlannerMappingId)
    Removes the batch planner mapping with the primary key from the database.
    void
    removeByBatchPlannerPlanId(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

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • 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 - 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.batch.planner.model.impl.BatchPlannerMappingModelImpl.

      Parameters:
      batchPlannerPlanId - the batch planner plan ID
      start - the lower bound of the range of batch planner mappings
      end - 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 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching batch planner mapping, or null if a matching batch planner mapping 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 a NoSuchMappingException if it could not be found.
      Parameters:
      batchPlannerPlanId - the batch planner plan ID
      externalFieldName - the external field name
      internalFieldName - 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, 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.
      Parameters:
      batchPlannerPlanId - the batch planner plan ID
      externalFieldName - the external field name
      internalFieldName - the internal field name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching batch planner mapping, or null if 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 ID
      externalFieldName - the external field name
      internalFieldName - 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 ID
      externalFieldName - the external field name
      internalFieldName - the internal field name
      Returns:
      the number of matching batch planner mappings
    • create

      BatchPlannerMapping create(long batchPlannerMappingId)
      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

      BatchPlannerMapping remove(long batchPlannerMappingId) throws NoSuchMappingException
      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

      BatchPlannerMapping updateImpl(BatchPlannerMapping batchPlannerMapping)
    • findByPrimaryKey

      BatchPlannerMapping findByPrimaryKey(long batchPlannerMappingId) throws NoSuchMappingException
      Returns the batch planner mapping with the primary key or throws a NoSuchMappingException if 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

      BatchPlannerMapping fetchByPrimaryKey(long batchPlannerMappingId)
      Returns the batch planner mapping with the primary key or returns null if it could not be found.
      Parameters:
      batchPlannerMappingId - the primary key of the batch planner mapping
      Returns:
      the batch planner mapping, or null if a batch planner mapping with the primary key could not be found
    • fetchByBPPI_EFN_IFN

      default BatchPlannerMapping fetchByBPPI_EFN_IFN(long batchPlannerPlanId, String externalFieldName, String internalFieldName)
      Returns the batch planner mapping where batchPlannerPlanId = ? and externalFieldName = ? and internalFieldName = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      batchPlannerPlanId - the batch planner plan ID
      externalFieldName - the external field name
      internalFieldName - the internal field name
      Returns:
      the matching batch planner mapping, or null if a matching batch planner mapping could not be found
    • findByBatchPlannerPlanId

      default List<BatchPlannerMapping> findByBatchPlannerPlanId(long batchPlannerPlanId)
      Returns all the batch planner mappings where batchPlannerPlanId = ?.
      Parameters:
      batchPlannerPlanId - the batch planner plan ID
      Returns:
      the matching batch planner mappings
    • findByBatchPlannerPlanId

      default List<BatchPlannerMapping> findByBatchPlannerPlanId(long batchPlannerPlanId, int start, int end)
      Returns a range of all the batch planner mappings where batchPlannerPlanId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.batch.planner.model.impl.BatchPlannerMappingModelImpl.

      Parameters:
      batchPlannerPlanId - the batch planner plan ID
      start - the lower bound of the range of batch planner mappings
      end - the upper bound of the range of batch planner mappings (not inclusive)
      Returns:
      the range of matching batch planner mappings
    • findByBatchPlannerPlanId

      default 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 - 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.batch.planner.model.impl.BatchPlannerMappingModelImpl.

      Parameters:
      batchPlannerPlanId - the batch planner plan ID
      start - the lower bound of the range of batch planner mappings
      end - the upper bound of the range of batch planner mappings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching batch planner mappings