public class CmsSitemapTabHandler extends A_CmsTabHandler
m_controller
构造器和说明 |
---|
CmsSitemapTabHandler(CmsGalleryController controller)
Creates a new sitemap tab handler.
|
限定符和类型 | 方法和说明 |
---|---|
void |
clearParams()
Clears the search parameters of this tab.
|
java.lang.String |
getDefaultSelectedSiteRoot()
Gets the selected site root.
|
java.lang.String |
getSelectPath(CmsSitemapEntryBean sitemapEntry)
Gets the path which is used when the sitemap entry is selected.
|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getSortList()
Gets the select options for the sort list.
|
void |
getSubEntries(java.lang.String rootPath,
boolean isRoot,
I_CmsSimpleCallback<java.util.List<CmsSitemapEntryBean>> callback)
Loads the sub entries for the given path.
|
protected CmsSitemapTab |
getTab()
Returns the sitemap tab.
|
boolean |
hasSelectResource()
Returns if this tab should offer select resource buttons.
|
void |
initializeSitemapTab()
Initializes the sitemap tab's content.
|
void |
onChangeTreeState(java.util.Set<CmsUUID> openItemIds)
This method is called when the tree open state changes.
|
void |
onSelection()
Will be triggered when the tab is selected.
|
void |
onSort(java.lang.String sortParams,
java.lang.String filter)
Sorts the list, if present.
|
void |
removeParam(java.lang.String paramKey)
Removes the search parameter with the given key from the search object.
|
protected void |
setSiteRoot(java.lang.String siteRoot)
Setter for the site root attribute.
|
addSearchChangeHandler, onClose, onDeselection, selectResource, selectResultTab, setSearchQuery, updateIndex
public CmsSitemapTabHandler(CmsGalleryController controller)
controller
- the gallery controllerpublic void clearParams()
A_CmsTabHandler
clearParams
在类中 A_CmsTabHandler
A_CmsTabHandler.clearParams()
public java.lang.String getDefaultSelectedSiteRoot()
public java.lang.String getSelectPath(CmsSitemapEntryBean sitemapEntry)
sitemapEntry
- the sitemap entrypublic java.util.LinkedHashMap<java.lang.String,java.lang.String> getSortList()
public void getSubEntries(java.lang.String rootPath, boolean isRoot, I_CmsSimpleCallback<java.util.List<CmsSitemapEntryBean>> callback)
rootPath
- the root pathisRoot
- true
if the requested entry is the root entrycallback
- the callback to execute with the resultpublic boolean hasSelectResource()
true
if this tab should offer select resource buttonspublic void initializeSitemapTab()
public void onChangeTreeState(java.util.Set<CmsUUID> openItemIds)
openItemIds
- the structure ids of open entriespublic void onSelection()
A_CmsTabHandler
onSelection
在类中 A_CmsTabHandler
A_CmsTabHandler.onSelection()
public void onSort(java.lang.String sortParams, java.lang.String filter)
A_CmsTabHandler
onSort
在类中 A_CmsTabHandler
sortParams
- the sort parametersfilter
- the filter phraseA_CmsTabHandler.onSort(java.lang.String, java.lang.String)
public void removeParam(java.lang.String paramKey)
A_CmsTabHandler
removeParam
在类中 A_CmsTabHandler
paramKey
- the parameter keyA_CmsTabHandler.removeParam(java.lang.String)
protected CmsSitemapTab getTab()
protected void setSiteRoot(java.lang.String siteRoot)
siteRoot
- the new value for the site root attribute