org.opencms.workplace.explorer
Class CmsExplorerInit
java.lang.Object
org.opencms.workplace.CmsWorkplace
org.opencms.workplace.explorer.CmsExplorerInit
- public class CmsExplorerInit
- extends CmsWorkplace
Provides methods for building the top frame Javascript code for the Explorer view of the OpenCms Workplace.
The following files use this class:
- Since:
- 6.2.0
- Version:
- $Revision: 1.6 $
- Author:
- Andreas Zahner
Fields inherited from class org.opencms.workplace.CmsWorkplace |
DEBUG, DEFAULT_LANGUAGE, DEFAULT_LOCALE, DIALOG_PATH_COMMON, FILE_DIALOG_CLOSE, FILE_DIALOG_SCREEN_CONFIRM, FILE_DIALOG_SCREEN_ERROR, FILE_DIALOG_SCREEN_ERRORPAGE, FILE_DIALOG_SCREEN_WAIT, FILE_EXPLORER_FILELIST, FILE_REPORT_OUTPUT, HTML_END, HTML_START, PARAM_WP_EXPLORER_RESOURCE, PARAM_WP_PROJECT, PARAM_WP_SITE, PATH_DIALOGS, PATH_WORKPLACE, REQUEST_ATTRIBUTE_MULTIPART, REQUEST_ATTRIBUTE_RELOADTREE, RFS_PATH_RESOURCES, SESSION_WORKPLACE_CLASS, TEMP_FILE_PREFIX, VFS_DIR_DEFAULTBODIES, VFS_DIR_TEMPLATES, VFS_PATH_COMMONS, VFS_PATH_EDITORS, VFS_PATH_GALLERIES, VFS_PATH_LOCALES, VFS_PATH_MODULES, VFS_PATH_RESOURCES, VFS_PATH_SYSTEM, VFS_PATH_VIEWS, VFS_PATH_WORKPLACE |
Method Summary |
java.lang.String |
buildContextMenues()
Builds the Javascript for the Workplace context menus. |
int |
getExplorerSettings()
Returns the file settings for the Workplace explorer view. |
java.lang.String |
getServerName()
Returns the server name for initializing the explorer view. |
java.lang.String |
getServerPath()
Returns the server path for initializing the explorer view. |
java.lang.String |
getShowFileUploadButtons()
Returns the setting for the upload button for initializing the explorer view. |
java.lang.String |
getUserName()
Returns the name of the current user for initializing the explorer view. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace
settings accordingly. |
Methods inherited from class org.opencms.workplace.CmsWorkplace |
addMessages, addMessages, allParamsAsHidden, allParamsAsRequest, allParamValues, bodyEnd, bodyStart, bodyStart, buildSelect, buildSelect, button, button, buttonBar, buttonBar, buttonBarHorizontalLine, buttonBarLabel, buttonBarLabel, buttonBarLine, buttonBarLineSpacer, buttonBarSeparator, buttonBarSpacer, buttonBarStartTab, checkLock, checkLock, checkRole, decodeParamValue, fillParamValues, fillParamValues, getBroadcastMessageString, getCms, getEncoding, getExplorerFileListFullUri, getFrameSource, getJsp, getLocale, getMacroResolver, getMessages, getMultiPartFileItems, getParameterMap, getResourceUri, getResourceUri, getSession, getSettings, getSkinUri, getStyleUri, getStyleUri, getStyleUri, getTemporaryFileName, htmlEnd, htmlStart, initMessages, initSettings, initTimeWarp, initUserSettings, initWorkplaceMembers, initWorkplaceSettings, isForwarded, isHelpEnabled, isSubElement, isTemporaryFile, isTemporaryFileName, key, key, keyDefault, nullToEmpty, pageBody, pageHtml, pageHtmlStyle, paramsAsHidden, paramsAsHidden, paramsAsParameterMap, paramsAsRequest, paramValues, resolveMacros, sendCmsRedirect, sendForward, setForwarded, shortKey, switchToCurrentProject, switchToTempProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmsExplorerInit
public CmsExplorerInit(CmsJspActionElement jsp)
- Public constructor.
- Parameters:
jsp
- an initialized JSP action element
buildContextMenues
public java.lang.String buildContextMenues()
- Builds the Javascript for the Workplace context menus.
- Returns:
- the Javascript for the Workplace context menus
getExplorerSettings
public int getExplorerSettings()
- Returns the file settings for the Workplace explorer view.
- Returns:
- the file settings for the Workplace explorer view
getServerName
public java.lang.String getServerName()
- Returns the server name for initializing the explorer view.
- Returns:
- the server name
getServerPath
public java.lang.String getServerPath()
- Returns the server path for initializing the explorer view.
- Returns:
- the server path
getShowFileUploadButtons
public java.lang.String getShowFileUploadButtons()
- Returns the setting for the upload button for initializing the explorer view.
- Returns:
- the setting for the upload button
getUserName
public java.lang.String getUserName()
- Returns the name of the current user for initializing the explorer view.
- Returns:
- the name of the user
initWorkplaceRequestValues
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
- Description copied from class:
CmsWorkplace
- Analyzes the request for workplace parameters and adjusts the workplace
settings accordingly.
- Specified by:
initWorkplaceRequestValues
in class CmsWorkplace
- Parameters:
settings
- the workplace settingsrequest
- the current request- See Also:
CmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)