Class AbstractNavigationAreaModel
- java.lang.Object
-
- de.hybris.platform.cockpit.components.sectionpanel.AbstractSectionPanelModel
-
- de.hybris.platform.cockpit.components.navigationarea.AbstractNavigationAreaModel
-
- All Implemented Interfaces:
SectionPanelModel
- Direct Known Subclasses:
CatalogNavigationAreaModel
,DefaultNavigationAreaModel
public abstract class AbstractNavigationAreaModel extends AbstractSectionPanelModel
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<QueryTypeSectionModel>
queryTypeViews
-
Constructor Summary
Constructors Constructor Description AbstractNavigationAreaModel()
AbstractNavigationAreaModel(AbstractUINavigationArea area)
-
Method Summary
-
Methods inherited from class de.hybris.platform.cockpit.components.sectionpanel.AbstractSectionPanelModel
addMessage, addModelListener, addSection, addSections, clearMessages, fireAttacheValidationIconMenu, fireMessagesChanged, fireRowHide, fireRowMoved, fireRowShow, fireRowStatusChange, fireRowUpdate, fireSectionAdded, fireSectionHeaderChange, fireSectionHide, fireSectionMoved, fireSectionRemoved, fireSectionRenamed, fireSectionShow, fireSectionUpdate, getContext, getImageUrl, getLabel, getMessages, getSectionByLabel, getSections, hideMessage, moveSection, refreshInfoContainer, removeAllSections, removeModelListener, removeSection, removeSections, renameSection, rowUpdated, sectionUpdated, setImageUrl, setLabel, setSections, showAllMessages, showMessage
-
-
-
-
Field Detail
-
queryTypeViews
protected java.util.List<QueryTypeSectionModel> queryTypeViews
-
-
Constructor Detail
-
AbstractNavigationAreaModel
public AbstractNavigationAreaModel()
-
AbstractNavigationAreaModel
public AbstractNavigationAreaModel(AbstractUINavigationArea area)
-
-
Method Detail
-
setDefaultQueryType
protected void setDefaultQueryType()
-
setAvailableQueryType
protected void setAvailableQueryType()
-
setNavigationArea
public void setNavigationArea(AbstractUINavigationArea area)
-
getNavigationArea
public AbstractUINavigationArea getNavigationArea()
-
getSelectedQueryType
public QueryTypeSectionModel getSelectedQueryType()
-
setSelectedQueryType
public void setSelectedQueryType(QueryTypeSectionModel selectedQueryTypeView)
-
getAvailableViewModes
public java.util.List<QueryTypeSectionModel> getAvailableViewModes()
-
hideSection
public void hideSection(Section section)
- Specified by:
hideSection
in classAbstractSectionPanelModel
-
showSection
public void showSection(Section section)
- Specified by:
showSection
in interfaceSectionPanelModel
- Specified by:
showSection
in classAbstractSectionPanelModel
-
refreshCollections
protected void refreshCollections()
-
refreshSavedQueries
protected void refreshSavedQueries()
-
getCollectionsFromJalo
protected java.util.List<UICollectionQuery> getCollectionsFromJalo()
-
getNotSharedQueriesFromJalo
protected java.util.List<UISavedQuery> getNotSharedQueriesFromJalo()
-
getSharedQueriesFromJalo
protected java.util.List<UISavedQuery> getSharedQueriesFromJalo()
-
getDynamicQueryFromJalo
protected java.util.List<UIDynamicQuery> getDynamicQueryFromJalo()
- Returns:
- list of predefined queries
-
refreshDynamicQueries
protected void refreshDynamicQueries()
-
refreshSpecialCollections
protected void refreshSpecialCollections()
-
getSpecialCollectionsFromJalo
protected java.util.List<UICollectionQuery> getSpecialCollectionsFromJalo()
-
addSavedQuery
public void addSavedQuery(java.lang.String label, CockpitSavedQueryModel query)
-
addNewCollection
public UICollectionQuery addNewCollection()
-
addNewSpecialCollectionsStandard
@Deprecated protected void addNewSpecialCollectionsStandard(java.lang.String qualifier, EnumerationValue collectionType)
Deprecated.since 6.3, useaddNewSpecialCollection(String, HybrisEnumValue)
instead
-
addNewSpecialCollection
protected void addNewSpecialCollection(java.lang.String qualifier, HybrisEnumValue collectionType)
-
removeQuery
public void removeQuery(UIQuery query)
-
getSavedQueries
public java.util.List<UISavedQuery> getSavedQueries()
-
getDynamicQueries
public java.util.List<UIDynamicQuery> getDynamicQueries()
-
getCollections
public java.util.List<UICollectionQuery> getCollections()
-
getSpecialCollections
public java.util.List<UICollectionQuery> getSpecialCollections()
-
addAllSpecialCollectionsStandard
protected void addAllSpecialCollectionsStandard()
-
getCollectionQuery
public UICollectionQuery getCollectionQuery(ObjectCollection coll)
-
initialize
public abstract void initialize()
-
update
public abstract void update()
-
getSpecialCollectionTypes
public java.util.List<java.lang.String> getSpecialCollectionTypes()
-
setSpecialCollectionTypes
public void setSpecialCollectionTypes(java.util.List<java.lang.String> collTypes)
-
-