Package com.skava.search.process
Class VersionProcess
java.lang.Object
com.skava.search.process.VersionProcess
The Class VesionProcess
- Since:
- 8.0
- Author:
- Infosys Equinox
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVersionProcess
(VersionRepository versionRepository, CollectionProcess collectionProcess) -
Method Summary
Modifier and TypeMethodDescriptionThis method is used to find all Collections based on given CollectionRequest.This method is used to find Version based on given VersionRequest id.getLiveVersion
(long collectionId) org.springframework.data.domain.Page<Version>
This method will price in the entity and provide the results based on the filters
-
Field Details
-
PAGE_CONSTANT
public static final int PAGE_CONSTANT- See Also:
-
-
Constructor Details
-
VersionProcess
@Autowired public VersionProcess(VersionRepository versionRepository, CollectionProcess collectionProcess)
-
-
Method Details
-
findAll
This method is used to find all Collections based on given CollectionRequest.- Parameters:
versionDO
- It contains the attributes required for the load of Version.- Returns:
- It returns the
VersionDO
.
-
search
public org.springframework.data.domain.Page<Version> search(String filters, org.springframework.data.domain.Sort sort, int page, int size) This method will price in the entity and provide the results based on the filters- Parameters:
filters
- this will contains qdsl filtersort
- this will contains sort detailspage
- this will contain page valuessize
- this will contain size values- Returns:
- It will contain the list of Version
-
findById
This method is used to find Version based on given VersionRequest id.- Parameters:
versionDO
- It contains the attributes required for the load of Version.- Returns:
- It returns the
VersionDO
.
-
getLiveVersion
- Parameters:
collectionId
- collectionId- Returns:
- String version
-