|
|||||||||||
| 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.workplace.CmsWorkplaceDefault
|
+--com.opencms.workplace.CmsPreferencesPanels
Template class for displaying the preference panels screen of the OpenCms workplace.
Reads template files of the content type CmsXmlWpTemplateFile.
| Field Summary |
| 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 | |
CmsPreferencesPanels()
|
|
| Method Summary | |
byte[] |
getContent(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Overwrites the getContent method of the CmsWorkplaceDefault. |
Integer |
getDefaultGroup(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
Gets all groups of the currently logged in user. |
Integer |
getFilters(CmsObject cms,
CmsXmlLanguageFile lang,
Vector values,
Vector names,
Hashtable parameters)
Gets all filters available in the task screen. |
Integer |
getGroups(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
Gets all groups of the currently logged in user. |
Integer |
getLanguageFiles(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
Gets all available langages in the system. |
Integer |
getProjects(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
Gets all projects of the currently logged in user. |
Integer |
getViews(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
Gets all views available in the workplace screen. |
boolean |
isCacheable(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Indicates if the results of this class are cacheable. |
Object |
setPanel(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObj)
User method to get the actual panel of the PReferences dialog. |
| Methods inherited from class com.opencms.workplace.CmsWorkplaceDefault |
bubblesort, checkJavaProperty, checkPort, doNotShow, getCacheDirectives, getConfigFile, getConstantSelectEntries, getFonts, getKey, getLastUrl, getOwnTemplateFile, isAdmin, isAdminFalse, isNotOnlineProject, isOnlineProject, isProjectManager, isStreamable, isTheAdminUser, picsUrl, resourcesUri, scriptsUri, startProcessing, userName |
| 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 |
| Constructor Detail |
public CmsPreferencesPanels()
| Method Detail |
public byte[] getContent(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
throws CmsException
getContent in interface I_CmsTemplategetContent in class CmsXmlTemplatecms - The CmsObject.templateFile - The preferences panels template fileelementName - not usedparameters - Parameters of the request and the template.templateSelector - Selector of the template tag to be displayed.
Throws - CmsException if something goes wrong.
CmsExceptionCmsXmlTemplate.getContent(CmsObject, String, String, Hashtable, String)
public Integer getDefaultGroup(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
throws CmsException
The given vectors names and values will
be filled with the appropriate information to be used for building
a select box.
Both names and values will contain
the group names after returning from this method.
cms - CmsObject Object for accessing system resources.lang - reference to the currently valid language filenames - Vector to be filled with the appropriate values in this method.values - Vector to be filled with the appropriate values in this method.parameters - Hashtable containing all user parameters (not used here).
CmsException
public Integer getFilters(CmsObject cms,
CmsXmlLanguageFile lang,
Vector values,
Vector names,
Hashtable parameters)
throws CmsException
The given vectors names and values will
be filled with the appropriate information to be used for building
a select box.
cms - CmsObject Object for accessing system resources.lang - reference to the currently valid language filenames - Vector to be filled with the appropriate values in this method.values - Vector to be filled with the appropriate values in this method.parameters - Hashtable containing all user parameters (not used here).
CmsException
public Integer getGroups(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
throws CmsException
The given vectors names and values will
be filled with the appropriate information to be used for building
a select box.
Both names and values will contain
the group names after returning from this method.
cms - CmsObject Object for accessing system resources.lang - reference to the currently valid language filenames - Vector to be filled with the appropriate values in this method.values - Vector to be filled with the appropriate values in this method.parameters - Hashtable containing all user parameters (not used here).
CmsException
public Integer getLanguageFiles(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
throws CmsException
The given vectors names and values will
be filled with the appropriate information to be used for building
a select box.
cms - CmsObject Object for accessing system resources.lang - reference to the currently valid language filenames - Vector to be filled with the appropriate values in this method.values - Vector to be filled with the appropriate values in this method.parameters - Hashtable containing all user parameters (not used here).
CmsException
public Integer getProjects(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
throws CmsException
The given vectors names and values will
be filled with the appropriate information to be used for building
a select box.
Both names and values will contain
the project names after returning from this method.
cms - CmsObject Object for accessing system resources.lang - reference to the currently valid language filenames - Vector to be filled with the appropriate values in this method.values - Vector to be filled with the appropriate values in this method.parameters - Hashtable containing all user parameters (not used here).
CmsException
public Integer getViews(CmsObject cms,
CmsXmlLanguageFile lang,
Vector names,
Vector values,
Hashtable parameters)
throws CmsException
The given vectors names and values will
be filled with the appropriate information to be used for building
a select box.
names will contain language specific view descriptions
and values will contain the correspondig URL for each
of these views after returning from this method.
cms - CmsObject Object for accessing system resources.lang - reference to the currently valid language filenames - Vector to be filled with the appropriate values in this method.values - Vector to be filled with the appropriate values in this method.parameters - Hashtable containing all user parameters (not used here).
CmsException
public boolean isCacheable(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
isCacheable in interface I_CmsTemplateisCacheable in class CmsWorkplaceDefaultcms - 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 Object setPanel(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObj)
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 (not used here).userObj - Hashtable with parameters (not used here).
CmsException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||