|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.opencms.workplace.A_CmsWpElement
|
+--com.opencms.workplace.CmsProjecthistory
Class for building workplace icons.
Called by CmsXmlTemplateFile for handling the special XML tag <ICON>.
CmsXmlWpTemplateFile| Field Summary |
| Fields inherited from class com.opencms.workplace.A_CmsWpElement |
C_WORKPLACE_ELEMENT_PATH, m_backbuttondef, m_boxdef, m_buttondef, m_contextdef, m_errordef, m_icondef, m_inputdef, m_labeldef, m_modulelistdef, m_paneldef, m_prefsscrollerdef, m_projectlistdef, m_radiodef, m_taskdocudef, m_tasklistdef |
| 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 | |
CmsProjecthistory()
|
|
| Method Summary | |
CmsXmlWpTemplateFile |
getProjectlistDefinitions(CmsObject cms)
Reads the projectlist definition file. |
Object |
handleSpecialWorkplaceTag(CmsObject cms,
Element n,
A_CmsXmlContent doc,
Object callingObject,
Hashtable parameters,
CmsXmlLanguageFile lang)
Handling of the special workplace <PROJECTHISTORY> tags.
|
boolean |
isCacheable(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Indicates if the results of this class are cacheable. |
static void |
setListEntryData(CmsObject cms,
CmsXmlLanguageFile lang,
CmsXmlWpTemplateFile xmlFile,
CmsBackupProject project)
Method to set details about a project into xml-datas. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmsProjecthistory()
| Method Detail |
public Object handleSpecialWorkplaceTag(CmsObject cms,
Element n,
A_CmsXmlContent doc,
Object callingObject,
Hashtable parameters,
CmsXmlLanguageFile lang)
throws CmsException
<PROJECTHISTORY> tags.
Returns the processed code with the actual elements.
Projectlists can be referenced in any workplace template by
<PROJECTHISTORY />
handleSpecialWorkplaceTag in interface I_CmsWpElementcms - CmsObject Object for accessing resources.n - XML element containing the <ICON> tag.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.callingObject - reference to the calling object (not used here).parameters - Hashtable containing all user parameters (not used here).lang - CmsXmlLanguageFile conataining the currently valid language file.
CmsException
public boolean isCacheable(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
cms - 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.
public static void setListEntryData(CmsObject cms,
CmsXmlLanguageFile lang,
CmsXmlWpTemplateFile xmlFile,
CmsBackupProject project)
throws CmsException
cms - The cms-object.lang - The language-file.xmlFile - The file to set the xml-data into.project - The project to get the data from.
CmsException - is thrown if something goes wrong.
public CmsXmlWpTemplateFile getProjectlistDefinitions(CmsObject cms)
throws CmsException
getProjectlistDefinitions in class A_CmsWpElementcms - The actual cms object
CmsException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||