Package com.skava.price.process
Class PriceValueProcess
java.lang.Object
com.skava.price.process.PriceValueProcess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PriceValueDO priceValueDO) This method is used to create PriceValue based on given PriceValueRequest.delete
(PriceValueDO priceValueDO) This method is used to delete PriceValue based on given PriceValueRequest.findAll
(PriceValueDO priceValueDO) This method is used to find all PriceValues based on given PriceValueRequest.findById
(PriceValueDO priceValueDO) This method is used to find PriceValue based on given PriceValueRequest identifier.getPriceValues
(long collecionId, long priceId) This will return priceValues for the particular price.getPriceValuesForAllPrices
(String filters) patchUpdate
(PriceValueDO priceValueDO) This method is used to update required field in PriceValue based on given PriceValue.org.springframework.data.domain.Page<PriceValue>
This method will search in the entity and provide the results based on the filtersupdate
(PriceValueDO priceValueDO) This method is used to update all field in PriceValue based on given PriceValue.
-
Constructor Details
-
PriceValueProcess
public PriceValueProcess()
-
-
Method Details
-
create
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
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 filtersort
- It will contains qdsl sortpage
- It will contain number of the pagesize
- It will contain page size- Returns:
- It will contain the list of Note
-
findById
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
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
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
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
This will return priceValues for the particular price.- Parameters:
collecionId
- Identifier of the collectionpriceId
- Identifier of the price- Returns:
- PriceValue
-
getPriceValuesForAllPrices
-