Package com.skava.accounts.util
Class VersionProcess
java.lang.Object
com.skava.accounts.util.VersionProcess
The Class VesionProcess
- Since:
- 8.0
- Author:
- Infosys Equinox
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.MessageSource
MessageSource.static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method is used to find all version based on given version Request.getLiveVersion
(long collectionId) org.springframework.data.domain.Page<VersionEntity>
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:
-
messageSource
@Autowired protected org.springframework.context.MessageSource messageSourceMessageSource.
-
-
Constructor Details
-
VersionProcess
public VersionProcess()
-
-
Method Details
-
findAll
This method is used to find all version based on given version Request.- Parameters:
versionDO
- It contains the attributes required for loading version.- Returns:
- It returns the
VersionDO
. throwsValidateException
if any validation error occurs.
-
search
public org.springframework.data.domain.Page<VersionEntity> search(String filters, org.springframework.data.domain.Pageable pageable, String locale) This method will price in the entity and provide the results based on the filters- Parameters:
filters
- this will contains filterpageable
- this will contain page valueslocale
- this will contain size values- Returns:
- It will contain the list of Version
-
getLiveVersion
- Parameters:
collectionId
- collectionId- Returns:
- String version
-