Class DefaultDocumentPageDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.acceleratorservices.document.dao.impl.DefaultDocumentPageDao
-
- All Implemented Interfaces:
DocumentPageDao,Dao
public class DefaultDocumentPageDao extends AbstractItemDao implements DocumentPageDao
Default Data Access for looking up the Document page for a template name.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCATALOG_VERSIONS_QUERY_PARAMprotected static java.lang.StringQUERY-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultDocumentPageDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentPageModelfindDocumentPageByTemplateName(java.lang.String frontendTemplateName, java.util.Collection<CatalogVersionModel> catalogVersions)RetrievesDocumentPageModelgiven its frontend template name.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Field Detail
-
CATALOG_VERSIONS_QUERY_PARAM
protected static final java.lang.String CATALOG_VERSIONS_QUERY_PARAM
- See Also:
- Constant Field Values
-
QUERY
protected static final java.lang.String QUERY
- See Also:
- Constant Field Values
-
-
Method Detail
-
findDocumentPageByTemplateName
public DocumentPageModel findDocumentPageByTemplateName(java.lang.String frontendTemplateName, java.util.Collection<CatalogVersionModel> catalogVersions)
Description copied from interface:DocumentPageDaoRetrievesDocumentPageModelgiven its frontend template name.- Specified by:
findDocumentPageByTemplateNamein interfaceDocumentPageDao- Parameters:
frontendTemplateName- the frontend template name- Returns:
DocumentPageModelobject if found, null otherwise
-
-