public class CmsExplorer extends CmsWorkplace
The following files use this class:
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
PARAMETER_CONTEXTMENUPARAMS
The 'ctxmenuparams' parameter.
|
static java.lang.String |
PARAMETER_MODE
The "mode" parameter.
|
static java.lang.String |
VIEW_EXPLORER
The "explorerview" view selection.
|
static java.lang.String |
VIEW_GALLERY
The "galleryview" view selection.
|
static java.lang.String |
VIEW_LIST
The "list" view selection.
|
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, RES_PATH_FILETYPES, RFS_PATH_RESOURCES, SESSION_WORKPLACE_CLASS, 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, VIEW_DIRECT_EDIT, VIEW_WORKPLACE| 构造器和说明 |
|---|
CmsExplorer(CmsJspActionElement jsp)
Public constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getExplorerBodyUri()
Returns the explorer body frame content uri.
|
java.lang.String |
getExplorerFilesUri()
Returns the explorer files frame content uri.
|
java.lang.String |
getFileList()
Returns the html for the explorer file list.
|
java.lang.String |
getInitializationEntry(CmsResourceUtil resUtil,
boolean showPath,
boolean showTitle,
boolean showNavText,
boolean showPermissions,
boolean showDateLastModified,
boolean showUserWhoLastModified,
boolean showDateCreated,
boolean showUserWhoCreated,
boolean showDateReleased,
boolean showDateExpired)
Generates a resource entry for the explorer initialization code.
|
java.lang.String |
getInitializationFooter(int numberOfPages,
int selectedPage)
Generates the footer of the explorer initialization code.
|
java.lang.String |
getInitializationHeader()
Generates the header of the initialization code.
|
java.lang.String |
getRootFolder()
Determines the root folder of the current tree dependent on users setting of explorer view restriction.
|
static java.lang.String |
getWorkplaceExplorerLink(CmsJspActionElement jsp,
java.lang.String explorerRootPath)
Creates a link for the OpenCms workplace that will reload the whole workplace, switch to the explorer view, the
site of the given explorerRootPath and show the folder given in the explorerRootPath.
|
static java.lang.String |
getWorkplaceExplorerLink(CmsObject cms,
java.lang.String explorerRootPath)
Creates a link for the OpenCms workplace that will reload the whole workplace, switch to the explorer view, the
site of the given explorerRootPath and show the folder given in the explorerRootPath.
|
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace
settings accordingly.
|
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, getStartSiteRoot, getStyleUri, getStyleUri, getStyleUri, getTemporaryFileName, htmlEnd, htmlStart, initMessages, initSettings, initTimeWarp, initUserSettings, initWorkplaceMembers, initWorkplaceSettings, isForwarded, isHelpEnabled, isSubElement, isTemporaryFile, key, key, keyDefault, nullToEmpty, pageBody, pageHtml, pageHtmlStyle, paramsAsHidden, paramsAsHidden, paramsAsParameterMap, paramsAsRequest, paramValues, resolveMacros, sendCmsRedirect, sendForward, setForwarded, shortKey, substituteSiteTitle, switchToCurrentProject, switchToTempProjectpublic static final java.lang.String PARAMETER_CONTEXTMENUPARAMS
public static final java.lang.String PARAMETER_MODE
public static final java.lang.String VIEW_EXPLORER
public static final java.lang.String VIEW_GALLERY
public static final java.lang.String VIEW_LIST
public CmsExplorer(CmsJspActionElement jsp)
jsp - an initialized JSP action elementpublic static java.lang.String getWorkplaceExplorerLink(CmsJspActionElement jsp, java.lang.String explorerRootPath)
jsp - needed for link functionality.explorerRootPath - a root relative folder link (has to end with '/').public static java.lang.String getWorkplaceExplorerLink(CmsObject cms, java.lang.String explorerRootPath)
cms - the cms objectexplorerRootPath - a root relative folder link (has to end with '/').public java.lang.String getExplorerBodyUri()
Used by the explorer_fs.jsp.
public java.lang.String getExplorerFilesUri()
Used by the explorer_body_fs.jsp.
public java.lang.String getFileList()
public java.lang.String getInitializationEntry(CmsResourceUtil resUtil, boolean showPath, boolean showTitle, boolean showNavText, boolean showPermissions, boolean showDateLastModified, boolean showUserWhoLastModified, boolean showDateCreated, boolean showUserWhoCreated, boolean showDateReleased, boolean showDateExpired)
resUtil - the resource util object to generate the entry forshowPath - if the path should be given or taken from top.setDirectoryshowTitle - if the title should be shownshowNavText - if the navtext should be shownshowPermissions - if the permissions should be shownshowDateLastModified - if the date of modification should be shownshowUserWhoLastModified - if the user who last modified the resource should be shownshowDateCreated - if the date of creation should be shownshowUserWhoCreated - if the user who created the resource should be shownshowDateReleased - if the date of release should be shownshowDateExpired - if the date of expiration should be showngetInitializationHeader(),
getInitializationFooter(int, int)public java.lang.String getInitializationFooter(int numberOfPages,
int selectedPage)
numberOfPages - the number of pagesselectedPage - the selected page to displaygetInitializationHeader(),
getInitializationEntry(CmsResourceUtil, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean)public java.lang.String getInitializationHeader()
getInitializationFooter(int, int),
getInitializationEntry(CmsResourceUtil, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean)public java.lang.String getRootFolder()
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, javax.servlet.http.HttpServletRequest request)
CmsWorkplaceinitWorkplaceRequestValues 在类中 CmsWorkplacesettings - the workplace settingsrequest - the current requestCmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)