|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.opencms.template.A_CmsTemplate
|
+--com.opencms.template.CmsXmlTemplate
|
+--com.opencms.defaults.A_CmsNavBase
This abstract class builds the default Navigation.
| Field Summary | |
protected static String |
C_NAVINDEX
|
protected static String |
C_PROPERTY_NAVINDEX
|
| Fields inherited from class com.opencms.template.CmsXmlTemplate |
C_BODY_ELEMENT, C_DEBUG, C_FRAME_SELECTOR, m_cache |
| Fields inherited from interface com.opencms.boot.I_CmsLogChannels |
C_FLEX_CACHE, C_FLEX_LOADER, C_LOGGING, C_MODULE_CRITICAL, C_MODULE_DEBUG, C_MODULE_INFO, C_OPENCMS_CACHE, C_OPENCMS_CRITICAL, C_OPENCMS_CRONSCHEDULER, C_OPENCMS_DEBUG, C_OPENCMS_ELEMENTCACHE, C_OPENCMS_INFO, C_OPENCMS_INIT, C_OPENCMS_POOL, C_OPENCMS_STATICEXPORT, C_OPENCMS_STREAMING, C_PREPROCESSOR_IS_LOGGING |
| Constructor Summary | |
A_CmsNavBase()
|
|
| Method Summary | |
protected abstract Object |
getFolderCurrent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets the current folder. |
protected abstract Object |
getFolderParent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets the parent folder. |
protected abstract Object |
getFolderRoot(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets the root folder. |
protected abstract Object |
getNavCurrent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets the navigation of current folder. |
protected abstract Object |
getNavFold(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets the navigation of files and folders, by folders it is showed closed, if the folder is clicked then it is opened. |
protected abstract Object |
getNavParent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets the navigation of specified level of parent folder. |
protected abstract Object |
getNavRoot(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets the navigation of root folder or parent folder starting from root folder. |
protected abstract Object |
getNavTree(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets the navigation of folders recursive. |
protected abstract Object |
getPropertyCurrent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets a specified property of current folder. |
protected abstract Object |
getPropertyParent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets a specified property of specified folder starting from current folder. |
protected abstract Object |
getPropertyRoot(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets a specified property of specified folder starting from root. |
protected abstract Object |
getPropertyUri(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
gets a specified property of uri. |
boolean |
isCacheable(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Indicates if the results of this class are cacheable. |
protected void |
sortNav(int size,
String[] navLink,
String[] navText,
float[] navPos)
Sorts the navigation. |
| Methods inherited from class com.opencms.template.A_CmsTemplate |
debugPrint, isExportable, isProxyPrivateCacheable, isProxyPublicCacheable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.opencms.template.I_CmsTemplate |
isExportable, isProxyPrivateCacheable, isProxyPublicCacheable |
| Field Detail |
protected static final String C_PROPERTY_NAVINDEX
protected static final String C_NAVINDEX
| Constructor Detail |
public A_CmsNavBase()
| Method Detail |
public boolean isCacheable(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
isCacheable in interface I_CmsTemplateisCacheable in class A_CmsTemplatecms - CmsObject Object for accessing system resourcestemplateFile - Filename of the template fileelementName - Element name of this template in our parent template.parameters - Hashtable with all template class parameters.templateSelector - template section that should be processed.
protected abstract Object getFolderCurrent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getFolderParent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getFolderRoot(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getNavCurrent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getNavFold(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getNavParent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getNavRoot(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getNavTree(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getPropertyCurrent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - A_CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getPropertyParent(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - A_CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getPropertyRoot(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - A_CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected abstract Object getPropertyUri(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - A_CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected void sortNav(int size,
String[] navLink,
String[] navText,
float[] navPos)
size - the size of array to be sorted.navLink - Array of link path.navText - Array of navigation text.navPos - Array of navigation position.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||