Interface CloudCPQOrderEntryProductInfoDao
- All Known Implementing Classes:
DefaultCloudCPQOrderEntryProductInfoDao
public interface CloudCPQOrderEntryProductInfoDao
Data Access Object for
CloudCPQOrderEntryProductInfoModel-
Method Summary
Modifier and TypeMethodDescriptiongetAllConfigurationProductInfos(int pageSize, int currentPage) Fetches allCloudCPQOrderEntryProductInfoModels that have a non null configuration id.getAllConfigurationProductInfosById(String configId) booleanisOnlyRelatedToGivenEntry(AbstractOrderEntryModel entry, String configurationId)
-
Method Details
-
isOnlyRelatedToGivenEntry
- Parameters:
entry- entry to compare toconfigurationId- cpq configuration id- Returns:
true, only if the given configuration id is not related to any other entry than the given one.
-
getAllConfigurationProductInfosById
- Parameters:
configId- cpq configuration id- Returns:
- all
CloudCPQOrderEntryProductInfoModels that are linked to the given cpq configuration id
-
getAllConfigurationProductInfos
SearchPageData<CloudCPQOrderEntryProductInfoModel> getAllConfigurationProductInfos(int pageSize, int currentPage) Fetches allCloudCPQOrderEntryProductInfoModels that have a non null configuration id.- Parameters:
pageSize- page sizecurrentPage- current page- Returns:
- pageable result
-