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
    void
    cacheResult(BatchPlannerMapping batchPlannerMapping)
    Caches the batch planner mapping in the entity cache if it is enabled.
    void
    cacheResult(List<BatchPlannerMapping> batchPlannerMappings)
    Caches the batch planner mappings in the entity cache if it is enabled.
    int
    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, 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 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.
    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 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
    Removes all the batch planner mappings 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

    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

      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

      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 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.

      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

      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 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.

      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
    • 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 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.

      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
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching batch planner mapping, or null if 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 mapping
      batchPlannerPlanId - the batch planner plan ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 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)
      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
    • 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
    • cacheResult

      void cacheResult(BatchPlannerMapping batchPlannerMapping)
      Caches the batch planner mapping in the entity cache if it is enabled.
      Parameters:
      batchPlannerMapping - the batch planner mapping
    • cacheResult

      void cacheResult(List<BatchPlannerMapping> batchPlannerMappings)
      Caches the batch planner mappings in the entity cache if it is enabled.
      Parameters:
      batchPlannerMappings - the 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
    • findAll

      Returns all the batch planner mappings.
      Returns:
      the batch planner mappings
    • findAll

      List<BatchPlannerMapping> findAll(int start, int end)
      Returns a range of all the batch planner mappings.

      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.

      Parameters:
      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 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 - 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.

      Parameters:
      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 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 - 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.

      Parameters:
      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 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