Class DefaultCMSVersionSearchService
- java.lang.Object
-
- de.hybris.platform.cms2.version.service.impl.DefaultCMSVersionSearchService
-
- All Implemented Interfaces:
CMSVersionSearchService
public class DefaultCMSVersionSearchService extends java.lang.Object implements CMSVersionSearchService
Default implementation of theCMSVersionSearchService
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringMASK_QUERY_PARAMprotected static java.lang.StringNAMED_QUERY_CMS_VERSION_SEARCH_BY_ITEM_UIDprotected static java.lang.StringNAMED_QUERY_CMS_VERSION_SEARCH_BY_ITEM_UID_WITH_LABEL
-
Constructor Summary
Constructors Constructor Description DefaultCMSVersionSearchService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchResult<CMSVersionModel>findVersions(CMSVersionSearchData cmsVersionSearchData, PageableData pageableData)Returns versions matching the search criteriaprotected CatalogVersionServicegetCatalogVersionService()protected NamedQueryServicegetNamedQueryService()protected PermissionCRUDServicegetPermissionCRUDService()protected SearchHelpergetSearchHelper()voidsetCatalogVersionService(CatalogVersionService catalogVersionService)voidsetNamedQueryService(NamedQueryService namedQueryService)voidsetPermissionCRUDService(PermissionCRUDService permissionCRUDService)voidsetSearchHelper(SearchHelper searchHelper)
-
-
-
Field Detail
-
MASK_QUERY_PARAM
protected static final java.lang.String MASK_QUERY_PARAM
- See Also:
- Constant Field Values
-
NAMED_QUERY_CMS_VERSION_SEARCH_BY_ITEM_UID
protected static final java.lang.String NAMED_QUERY_CMS_VERSION_SEARCH_BY_ITEM_UID
- See Also:
- Constant Field Values
-
NAMED_QUERY_CMS_VERSION_SEARCH_BY_ITEM_UID_WITH_LABEL
protected static final java.lang.String NAMED_QUERY_CMS_VERSION_SEARCH_BY_ITEM_UID_WITH_LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
findVersions
public SearchResult<CMSVersionModel> findVersions(CMSVersionSearchData cmsVersionSearchData, PageableData pageableData)
Returns versions matching the search criteria- Specified by:
findVersionsin interfaceCMSVersionSearchService- Parameters:
cmsVersionSearchData- the catalog and filter informationpageableData- the pagination object- Returns:
- the search result object containing the resulting list and the pagination object.
- Throws:
TypePermissionException- when currentPrincipalModeldoes not have type permission onCMSVersionModel.
-
getCatalogVersionService
protected CatalogVersionService getCatalogVersionService()
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
getNamedQueryService
protected NamedQueryService getNamedQueryService()
-
setNamedQueryService
public void setNamedQueryService(NamedQueryService namedQueryService)
-
getSearchHelper
protected SearchHelper getSearchHelper()
-
setSearchHelper
public void setSearchHelper(SearchHelper searchHelper)
-
getPermissionCRUDService
protected PermissionCRUDService getPermissionCRUDService()
-
setPermissionCRUDService
public void setPermissionCRUDService(PermissionCRUDService permissionCRUDService)
-
-