Class PriceValueProcess

java.lang.Object
com.skava.price.process.PriceValueProcess

@Component public class PriceValueProcess extends Object
  • Constructor Details

    • PriceValueProcess

      public PriceValueProcess()
  • Method Details

    • create

      public PriceValueDO create(PriceValueDO priceValueDO)
      This method is used to create PriceValue based on given PriceValueRequest.
      Parameters:
      priceValueDO - It contains the attributes required for the creation of PriceValue.
      Returns:
      It returns the PriceValueDO.
    • findAll

      public PageableDO<PriceValueDO> findAll(PriceValueDO priceValueDO)
      This method is used to find all PriceValues based on given PriceValueRequest.
      Parameters:
      priceValueDO - It contains the attributes required for the load of PriceValue.
      Returns:
      It returns the PriceValueDO.
    • search

      public org.springframework.data.domain.Page<PriceValue> search(String filters, org.springframework.data.domain.Sort sort, int page, int size)
      This method will search in the entity and provide the results based on the filters
      Parameters:
      filters - It will contains qdsl filter
      sort - It will contains qdsl sort
      page - It will contain number of the page
      size - It will contain page size
      Returns:
      It will contain the list of Note
    • findById

      public PriceValueDO findById(PriceValueDO priceValueDO)
      This method is used to find PriceValue based on given PriceValueRequest identifier.
      Parameters:
      priceValueDO - It contains the attributes required for the load of PriceValue.
      Returns:
      It returns the PriceValueDO.
    • delete

      public PriceValueDO delete(PriceValueDO priceValueDO)
      This method is used to delete PriceValue based on given PriceValueRequest.
      Parameters:
      priceValueDO - It contains the attributes required for the delete of PriceValue.
      Returns:
      It returns the delete count with PriceValueDO.
    • update

      public PriceValueDO update(PriceValueDO priceValueDO)
      This method is used to update all field in PriceValue based on given PriceValue.
      Parameters:
      priceValueDO - It contains the attributes required for the update all field in PriceValue.
      Returns:
      It returns the PriceValueDO.
    • patchUpdate

      public PriceValueDO patchUpdate(PriceValueDO priceValueDO)
      This method is used to update required field in PriceValue based on given PriceValue.
      Parameters:
      priceValueDO - It contains the attributes required for the update required field in PriceValue.
      Returns:
      It returns the PriceValueDO.
    • getPriceValues

      public PageableDO<PriceValueDO> getPriceValues(long collecionId, long priceId)
      This will return priceValues for the particular price.
      Parameters:
      collecionId - Identifier of the collection
      priceId - Identifier of the price
      Returns:
      PriceValue
    • getPriceValuesForAllPrices

      public List<PriceValueDO> getPriceValuesForAllPrices(String filters)