|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.CmsWorkplace
org.opencms.workplace.tools.CmsToolDialog
org.opencms.workplace.CmsDialog
org.opencms.workplace.CmsTabDialog
org.opencms.workplace.commons.CmsPreferences
public class CmsPreferences
Provides methods for the user preferences dialog.
The following files use this class:
Field Summary | |
---|---|
static int |
ACTION_CHPWD
Value for the action: change the password. |
static int |
ACTION_ERROR
Value for the action: show error screen. |
static int |
ACTION_RELOAD
Value for the action: reload the workplace. |
static java.lang.String |
DIALOG_CHPWD
Request parameter value for the action: change the password. |
static java.lang.String |
DIALOG_RELOAD
Request parameter value for the action: reload the workplace. |
static java.lang.String |
DIALOG_TYPE
The dialog type. |
static java.lang.String |
INPUT_DEFAULT
Request parameter name prefix for the preferred editors. |
static java.lang.String |
INPUT_NONE
Request parameter name for no settings in start galleries. |
static java.lang.String |
INPUT_PRESELECT
Request parameter name for global gallery settings. |
static java.lang.String |
PARAM_DIALOGS_COPYFILEMODE
Request parameter name for the dialog copy file siblings default setting. |
static java.lang.String |
PARAM_DIALOGS_COPYFOLDERMODE
Request parameter name for the dialog copy folder siblings default setting. |
static java.lang.String |
PARAM_DIALOGS_DELETEFILEMODE
Request parameter name for the dialog delete file siblings default setting. |
static java.lang.String |
PARAM_DIALOGS_PERMISSIONS_EXPANDINHERITED
Request parameter name for the dialog permissions show inherited permissions. |
static java.lang.String |
PARAM_DIALOGS_PERMISSIONS_EXPANDUSER
Request parameter name for the dialog permissions show current users permissions. |
static java.lang.String |
PARAM_DIALOGS_PERMISSIONS_INHERITONFOLDER
Request parameter name for the dialog permissions default inheritance behavior on folders. |
static java.lang.String |
PARAM_DIALOGS_PUBLISHFILEMODE
Request parameter name for the dialog publish file siblings default setting. |
static java.lang.String |
PARAM_DIALOGS_SHOWLOCK
Request parameter name for the dialog show lock. |
static java.lang.String |
PARAM_DIRECTEDIT_BUTTONSTYLE
Request parameter name for the direct edit button style. |
static java.lang.String |
PARAM_EDITOR_BUTTONSTYLE
Request parameter name for the editor button style. |
static java.lang.String |
PARAM_EXPLORER_BUTTONSTYLE
Request parameter name for the explorer button style. |
static java.lang.String |
PARAM_EXPLORER_FILEDATECREATED
Request parameter name for the explorer file date created. |
static java.lang.String |
PARAM_EXPLORER_FILEDATEEXPIRED
Request parameter name for the explorer file date expired. |
static java.lang.String |
PARAM_EXPLORER_FILEDATELASTMODIFIED
Request parameter name for the explorer file date last modified. |
static java.lang.String |
PARAM_EXPLORER_FILEDATERELEASED
Request parameter name for the explorer file date released. |
static java.lang.String |
PARAM_EXPLORER_FILEENTRIES
Request parameter name for the explorer file entry number. |
static java.lang.String |
PARAM_EXPLORER_FILELOCKEDBY
Request parameter name for the explorer file locked by. |
static java.lang.String |
PARAM_EXPLORER_FILENAVTEXT
Request parameter name for the explorer file navtext. |
static java.lang.String |
PARAM_EXPLORER_FILEPERMISSIONS
Request parameter name for the explorer file permissions. |
static java.lang.String |
PARAM_EXPLORER_FILESIZE
Request parameter name for the explorer file size. |
static java.lang.String |
PARAM_EXPLORER_FILESTATE
Request parameter name for the explorer file state. |
static java.lang.String |
PARAM_EXPLORER_FILETITLE
Request parameter name for the explorer file title. |
static java.lang.String |
PARAM_EXPLORER_FILETYPE
Request parameter name for the explorer file type. |
static java.lang.String |
PARAM_EXPLORER_FILEUSERCREATED
Request parameter name for the explorer file user created. |
static java.lang.String |
PARAM_EXPLORER_FILEUSERLASTMODIFIED
Request parameter name for the explorer file user last modified. |
static java.lang.String |
PARAM_EXPLORER_SEARCH_RESULT
Request parameter name for the workplace search result list style. |
static java.lang.String |
PARAM_NEWPASSWORD
Request parameter name for the new password. |
static java.lang.String |
PARAM_OLDPASSWORD
Request parameter name for the old password. |
static java.lang.String |
PARAM_PREFERREDEDITOR_PREFIX
Request parameter name prefix for the preferred editors. |
static java.lang.String |
PARAM_STARTGALLERY_PREFIX
Request parameter name prefix for the preferred editors. |
static java.lang.String |
PARAM_WORKPLACE_BUTTONSTYLE
Request parameter name for the workplace button style. |
static java.lang.String |
PARAM_WORKPLACE_FOLDER
Request parameter name for the workplace start folder. |
static java.lang.String |
PARAM_WORKPLACE_LANGUAGE
Request parameter name for the workplace language. |
static java.lang.String |
PARAM_WORKPLACE_LISTALLPROJECTS
Request parameter name for the user language. |
static java.lang.String |
PARAM_WORKPLACE_PROJECT
Request parameter name for the workplace project. |
static java.lang.String |
PARAM_WORKPLACE_REPORTTYPE
Request parameter name for the workplace report type. |
static java.lang.String |
PARAM_WORKPLACE_RESTRICTEXPLORERVIEW
Request parameter name for the workplace explorer view restriction. |
static java.lang.String |
PARAM_WORKPLACE_SHOWPUBLISHNOTIFICATION
Request parameter name for the workplace show publish notification. |
static java.lang.String |
PARAM_WORKPLACE_SITE
Request parameter name for the workplace start site. |
static java.lang.String |
PARAM_WORKPLACE_TIMEWARP
Request parameter name for the user language. |
static java.lang.String |
PARAM_WORKPLACE_USEUPLOADAPPLET
Request parameter name for the workplace use upload applet. |
static java.lang.String |
PARAM_WORKPLACE_VIEW
Request parameter name for the workplace view. |
Fields inherited from class org.opencms.workplace.CmsTabDialog |
---|
ACTION_SWITCHTAB, DIALOG_SWITCHTAB, PARAM_SETPRESSED, PARAM_TAB |
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
PARAM_BASE, PARAM_FORCE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
Constructor Summary | |
---|---|
CmsPreferences(CmsJspActionElement jsp)
Public constructor with JSP action element. |
|
CmsPreferences(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
Method Summary | |
---|---|
void |
actionChangePassword()
Performs the change password action. |
void |
actionSave()
Performs the save operation of the modified user settings. |
java.lang.String |
buildSelectCopyFileMode(java.lang.String htmlAttributes)
Builds the html for the default copy file mode select box. |
java.lang.String |
buildSelectCopyFolderMode(java.lang.String htmlAttributes)
Builds the html for the default copy folder mode select box. |
java.lang.String |
buildSelectDeleteFileMode(java.lang.String htmlAttributes)
Builds the html for the default delete file mode select box. |
java.lang.String |
buildSelectDirectEditButtonStyle(java.lang.String htmlAttributes)
Builds the html for the direct edit button style select box. |
java.lang.String |
buildSelectEditorButtonStyle(java.lang.String htmlAttributes)
Builds the html for the editor button style select box. |
java.lang.String |
buildSelectExplorerButtonStyle(java.lang.String htmlAttributes)
Builds the html for the explorer button style select box. |
java.lang.String |
buildSelectExplorerFileEntries(java.lang.String htmlAttributes)
Builds the html for the explorer number of entries per page select box. |
java.lang.String |
buildSelectLanguage(java.lang.String htmlAttributes)
Builds the html for the language select box of the start settings. |
java.lang.String |
buildSelectPreferredEditors(java.lang.String htmlAttributes)
Builds the html for the preferred editors select boxes of the editor settings. |
java.lang.String |
buildSelectProject(java.lang.String htmlAttributes)
Builds the html for the project select box of the start settings. |
java.lang.String |
buildSelectPublishSiblings(java.lang.String htmlAttributes)
Builds the html for the default publish siblings mode select box. |
java.lang.String |
buildSelectReportType(java.lang.String htmlAttributes)
Builds the html for the workplace report type select box. |
java.lang.String |
buildSelectSite(java.lang.String htmlAttributes)
Builds the html for the workplace start site select box. |
java.lang.String |
buildSelectStartGalleries(java.lang.String htmlAttributes)
Builds the HTML for the start galleries settings as select boxes. |
java.lang.String |
buildSelectView(java.lang.String htmlAttributes)
Returns a html select box filled with the views accessible by the current user. |
java.lang.String |
buildSelectWorkplaceButtonStyle(java.lang.String htmlAttributes)
Builds the html for the workplace button style select box. |
java.lang.String |
buildSelectWorkplaceSearchResult(java.lang.String htmlAttributes)
Builds the html for the workplace search result list type select box. |
java.lang.String |
buildUserInformation()
Builds the html code for the static user information table (tab 4). |
java.lang.String |
calendarIncludes()
Deprecated. use CmsCalendarWidget.calendarIncludes(java.util.Locale) , this is just here so that old JSP still work |
java.lang.String |
calendarInit(java.lang.String inputFieldId,
java.lang.String triggerButtonId,
java.lang.String align,
boolean singleClick,
boolean weekNumbers,
boolean mondayFirst,
java.lang.String dateStatusFunc,
boolean showTime)
Deprecated. use CmsCalendarWidget.calendarInit(org.opencms.i18n.CmsMessages, String, String, String, boolean, boolean, boolean, String, boolean) , this is just here so that old JSP still work |
java.lang.String |
getParamNewPassword()
Returns the new password value. |
java.lang.String |
getParamOldPassword()
Returns the old password value. |
java.lang.String |
getParamTabDiCopyFileMode()
Returns the "copy file default" setting. |
java.lang.String |
getParamTabDiCopyFolderMode()
Returns the "copy folder default" setting. |
java.lang.String |
getParamTabDiDeleteFileMode()
Returns the "delete file default" setting. |
java.lang.String |
getParamTabDiPermissionsExpandInherited()
Returns the "expand inherited permissions" default setting. |
java.lang.String |
getParamTabDiPermissionsExpandUser()
Returns the "expand current users permissions" default setting. |
java.lang.String |
getParamTabDiPermissionsInheritOnFolder()
Returns the "inherit permissions on folders" default setting. |
java.lang.String |
getParamTabDiPublishFileMode()
Returns the "publish file siblings default" setting. |
java.lang.String |
getParamTabDiShowLock()
Returns the "display lock dialog" setting. |
java.lang.String |
getParamTabEdButtonStyle()
Returns the "editor button style" setting. |
java.lang.String |
getParamTabEdDirectEditButtonStyle()
Returns the "direct edit button style" setting. |
java.lang.String |
getParamTabExButtonStyle()
Returns the "explorer button style" setting. |
java.lang.String |
getParamTabExFileDateCreated()
Returns the "display file creation date" setting. |
java.lang.String |
getParamTabExFileDateExpired()
Returns the "display file date expired" setting. |
java.lang.String |
getParamTabExFileDateLastModified()
Returns the "display file last modification date" setting. |
java.lang.String |
getParamTabExFileDateReleased()
Returns the "display file date released" setting. |
java.lang.String |
getParamTabExFileEntries()
Returns the "explorer number of entries per page" setting. |
java.lang.String |
getParamTabExFileLockedBy()
Returns the "display file locked by" setting. |
java.lang.String |
getParamTabExFileNavText()
Returns the "display navtext" setting. |
java.lang.String |
getParamTabExFilePermissions()
Returns the "display file permissions" setting. |
java.lang.String |
getParamTabExFileSize()
Returns the "display file size" setting. |
java.lang.String |
getParamTabExFileState()
Returns the "display file state" setting. |
java.lang.String |
getParamTabExFileTitle()
Returns the "display file title" setting. |
java.lang.String |
getParamTabExFileType()
Returns the "display file type" setting. |
java.lang.String |
getParamTabExFileUserCreated()
Returns the "display file created by" setting. |
java.lang.String |
getParamTabExFileUserLastModified()
Returns the "display file last modified by" setting. |
java.lang.String |
getParamTabExWorkplaceSearchResult()
Returns the "workplace search result style" setting. |
java.lang.String |
getParamTabWpButtonStyle()
Returns the "workplace button style" setting. |
java.lang.String |
getParamTabWpFolder()
Returns the "start folder" setting. |
java.lang.String |
getParamTabWpLanguage()
Returns the start language setting. |
java.lang.String |
getParamTabWpListAllProjects()
Returns the "list all projects" setting. |
java.lang.String |
getParamTabWpProject()
Returns the start project setting. |
java.lang.String |
getParamTabWpReportType()
Returns the "workplace report type" setting. |
java.lang.String |
getParamTabWpRestrictExplorerView()
Returns the "workplace restrict explorer view" setting. |
java.lang.String |
getParamTabWpShowPublishNotification()
Returns the "show publish notification" setting. |
java.lang.String |
getParamTabWpSite()
Returns the "start site" setting. |
java.lang.String |
getParamTabWpTimewarp()
Get the "user timewparp" setting in form of a formatted date string. |
java.lang.String |
getParamTabWpUseUploadApplet()
Returns the "use upload applet" setting. |
java.lang.String |
getParamTabWpView()
Returns the start view setting. |
java.util.List |
getTabParameterOrder()
Returns the order of the parameter prefixes for each tab. |
java.util.List |
getTabs()
Returns a list with localized Strings representing the names of the tabs. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace settings accordingly. |
java.lang.String |
isChecked(java.lang.String paramValue)
Helper method to add the "checked" attribute to an input field. |
protected java.util.Map |
paramValues()
Returns the values of all parameter methods of this workplace class instance. |
void |
setParamNewPassword(java.lang.String newPwd)
Sets the new password value. |
void |
setParamOldPassword(java.lang.String oldPwd)
Sets the old password value. |
void |
setParamTabDiCopyFileMode(java.lang.String value)
Sets the "copy file default" setting. |
void |
setParamTabDiCopyFolderMode(java.lang.String value)
Sets the "copy folder default" setting. |
void |
setParamTabDiDeleteFileMode(java.lang.String value)
Sets the "delete file siblings default" setting. |
void |
setParamTabDiPermissionsExpandInherited(java.lang.String value)
Sets the "expand inherited permissions" default setting. |
void |
setParamTabDiPermissionsExpandUser(java.lang.String value)
Sets the "expand current users permissions" default setting. |
void |
setParamTabDiPermissionsInheritOnFolder(java.lang.String value)
Sets the "inherit permissions on folders" default setting. |
void |
setParamTabDiPublishFileMode(java.lang.String value)
Sets the "publish file siblings default" setting. |
void |
setParamTabDiShowLock(java.lang.String value)
Sets the "display lock dialog" setting. |
void |
setParamTabEdButtonStyle(java.lang.String value)
Sets the "editor button style" setting. |
void |
setParamTabEdDirectEditButtonStyle(java.lang.String value)
Sets the "direct edit button style" setting. |
void |
setParamTabExButtonStyle(java.lang.String value)
Sets the "explorer button style" setting. |
void |
setParamTabExFileDateCreated(java.lang.String value)
Sets the "display file creation date" setting. |
void |
setParamTabExFileDateExpired(java.lang.String value)
Sets the "display file expired date" setting. |
void |
setParamTabExFileDateLastModified(java.lang.String value)
Sets the "display file last modification date" setting. |
void |
setParamTabExFileDateReleased(java.lang.String value)
Sets the "display file released date" setting. |
void |
setParamTabExFileEntries(java.lang.String value)
Sets the "explorer number of entries per page" setting. |
void |
setParamTabExFileLockedBy(java.lang.String value)
Sets the "display file locked by" setting. |
void |
setParamTabExFileNavText(java.lang.String value)
Sets the "display file navtext" setting. |
void |
setParamTabExFilePermissions(java.lang.String value)
Sets the "display file permissions" setting. |
void |
setParamTabExFileSize(java.lang.String value)
Sets the "display file size" setting. |
void |
setParamTabExFileState(java.lang.String value)
Sets the "display file state" setting. |
void |
setParamTabExFileTitle(java.lang.String value)
Sets the "display file title" setting. |
void |
setParamTabExFileType(java.lang.String value)
Sets the "display file type" setting. |
void |
setParamTabExFileUserCreated(java.lang.String value)
Sets the "display file created by" setting. |
void |
setParamTabExFileUserLastModified(java.lang.String value)
Sets the "display file last modified by" setting. |
void |
setParamTabExWorkplaceSearchResult(java.lang.String style)
Sets the "workplace search result style". |
void |
setParamTabWpButtonStyle(java.lang.String value)
Sets the "workplace button style" setting. |
void |
setParamTabWpFolder(java.lang.String value)
Sets the "start folder" setting. |
void |
setParamTabWpLanguage(java.lang.String value)
Sets the start language setting. |
void |
setParamTabWpListAllProjects(java.lang.String value)
Sets the "list all projects" flag. |
void |
setParamTabWpProject(java.lang.String value)
Sets the start project setting. |
void |
setParamTabWpReportType(java.lang.String value)
Sets the "workplace report type" setting. |
void |
setParamTabWpRestrictExplorerView(java.lang.String value)
Sets the "workplace restrict explorer view" setting. |
void |
setParamTabWpShowPublishNotification(java.lang.String value)
Sets the "show publish notification" setting. |
void |
setParamTabWpSite(java.lang.String value)
Sets the "start site" setting. |
void |
setParamTabWpTimeWarp(java.lang.String value)
Sets the "user timewparp" setting. |
void |
setParamTabWpUseUploadApplet(java.lang.String value)
Sets the "use upload applet" setting. |
void |
setParamTabWpView(java.lang.String value)
Sets the start view setting. |
protected void |
updatePreferences(CmsObject cms,
javax.servlet.http.HttpServletRequest req)
Updates the user preferences after changes have been made. |
Methods inherited from class org.opencms.workplace.CmsTabDialog |
---|
dialogTabContent, dialogTabContentEnd, dialogTabContentStart, dialogTabContentStart, dialogTabRow, getActiveTab, getActiveTabName, getParamSetPressed, getParamTab, htmlStart, htmlStart, paramsAsHidden, setParamSetPressed, setParamTab |
Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamForce, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, setParamForce, setParamPath, setParamRoot, setParamStyle, useNewStyle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ACTION_CHPWD
public static final int ACTION_ERROR
public static final int ACTION_RELOAD
public static final java.lang.String DIALOG_CHPWD
public static final java.lang.String DIALOG_RELOAD
public static final java.lang.String DIALOG_TYPE
public static final java.lang.String INPUT_DEFAULT
public static final java.lang.String INPUT_NONE
public static final java.lang.String INPUT_PRESELECT
public static final java.lang.String PARAM_DIALOGS_COPYFILEMODE
public static final java.lang.String PARAM_DIALOGS_COPYFOLDERMODE
public static final java.lang.String PARAM_DIALOGS_DELETEFILEMODE
public static final java.lang.String PARAM_DIALOGS_PERMISSIONS_EXPANDINHERITED
public static final java.lang.String PARAM_DIALOGS_PERMISSIONS_EXPANDUSER
public static final java.lang.String PARAM_DIALOGS_PERMISSIONS_INHERITONFOLDER
public static final java.lang.String PARAM_DIALOGS_PUBLISHFILEMODE
public static final java.lang.String PARAM_DIALOGS_SHOWLOCK
public static final java.lang.String PARAM_DIRECTEDIT_BUTTONSTYLE
public static final java.lang.String PARAM_EDITOR_BUTTONSTYLE
public static final java.lang.String PARAM_EXPLORER_BUTTONSTYLE
public static final java.lang.String PARAM_EXPLORER_FILEDATECREATED
public static final java.lang.String PARAM_EXPLORER_FILEDATEEXPIRED
public static final java.lang.String PARAM_EXPLORER_FILEDATELASTMODIFIED
public static final java.lang.String PARAM_EXPLORER_FILEDATERELEASED
public static final java.lang.String PARAM_EXPLORER_FILEENTRIES
public static final java.lang.String PARAM_EXPLORER_FILELOCKEDBY
public static final java.lang.String PARAM_EXPLORER_FILENAVTEXT
public static final java.lang.String PARAM_EXPLORER_FILEPERMISSIONS
public static final java.lang.String PARAM_EXPLORER_FILESIZE
public static final java.lang.String PARAM_EXPLORER_FILESTATE
public static final java.lang.String PARAM_EXPLORER_FILETITLE
public static final java.lang.String PARAM_EXPLORER_FILETYPE
public static final java.lang.String PARAM_EXPLORER_FILEUSERCREATED
public static final java.lang.String PARAM_EXPLORER_FILEUSERLASTMODIFIED
public static final java.lang.String PARAM_EXPLORER_SEARCH_RESULT
public static final java.lang.String PARAM_NEWPASSWORD
public static final java.lang.String PARAM_OLDPASSWORD
public static final java.lang.String PARAM_PREFERREDEDITOR_PREFIX
public static final java.lang.String PARAM_STARTGALLERY_PREFIX
public static final java.lang.String PARAM_WORKPLACE_BUTTONSTYLE
public static final java.lang.String PARAM_WORKPLACE_FOLDER
public static final java.lang.String PARAM_WORKPLACE_LANGUAGE
public static final java.lang.String PARAM_WORKPLACE_LISTALLPROJECTS
public static final java.lang.String PARAM_WORKPLACE_PROJECT
public static final java.lang.String PARAM_WORKPLACE_REPORTTYPE
public static final java.lang.String PARAM_WORKPLACE_RESTRICTEXPLORERVIEW
public static final java.lang.String PARAM_WORKPLACE_SHOWPUBLISHNOTIFICATION
public static final java.lang.String PARAM_WORKPLACE_SITE
public static final java.lang.String PARAM_WORKPLACE_TIMEWARP
public static final java.lang.String PARAM_WORKPLACE_USEUPLOADAPPLET
public static final java.lang.String PARAM_WORKPLACE_VIEW
Constructor Detail |
---|
public CmsPreferences(CmsJspActionElement jsp)
jsp
- an initialized JSP action elementpublic CmsPreferences(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
context
- the JSP page contextreq
- the JSP requestres
- the JSP responseMethod Detail |
---|
public void actionChangePassword() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if inclusion of error element failspublic void actionSave()
public java.lang.String buildSelectCopyFileMode(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectCopyFolderMode(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectDeleteFileMode(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectDirectEditButtonStyle(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectEditorButtonStyle(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectExplorerButtonStyle(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectExplorerFileEntries(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectLanguage(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectPreferredEditors(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectProject(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectPublishSiblings(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectReportType(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectSite(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectStartGalleries(java.lang.String htmlAttributes)
htmlAttributes
- optional HTML attributes for the &lgt;select> tag
public java.lang.String buildSelectView(java.lang.String htmlAttributes)
htmlAttributes
- attributes that will be inserted into the generated html
public java.lang.String buildSelectWorkplaceButtonStyle(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildSelectWorkplaceSearchResult(java.lang.String htmlAttributes)
htmlAttributes
- optional html attributes for the &lgt;select> tag
public java.lang.String buildUserInformation()
public java.lang.String calendarIncludes()
CmsCalendarWidget.calendarIncludes(java.util.Locale)
, this is just here so that old JSP still work
public java.lang.String calendarInit(java.lang.String inputFieldId, java.lang.String triggerButtonId, java.lang.String align, boolean singleClick, boolean weekNumbers, boolean mondayFirst, java.lang.String dateStatusFunc, boolean showTime)
CmsCalendarWidget.calendarInit(org.opencms.i18n.CmsMessages, String, String, String, boolean, boolean, boolean, String, boolean)
, this is just here so that old JSP still work
inputFieldId
- the ID of the input field where the date is pasted totriggerButtonId
- the ID of the button which triggers the calendaralign
- initial position of the calendar popup elementsingleClick
- if true, a single click selects a date and closes the calendar, otherwise calendar is closed by doubleclickweekNumbers
- show the week numbers in the calendar or notmondayFirst
- show monday as first day of weekdateStatusFunc
- name of the function which determines if/how a date should be disabledshowTime
- true if the time selector should be shown, otherwise false
public java.lang.String getParamNewPassword()
public java.lang.String getParamOldPassword()
public java.lang.String getParamTabDiCopyFileMode()
public java.lang.String getParamTabDiCopyFolderMode()
public java.lang.String getParamTabDiDeleteFileMode()
public java.lang.String getParamTabDiPermissionsExpandInherited()
public java.lang.String getParamTabDiPermissionsExpandUser()
public java.lang.String getParamTabDiPermissionsInheritOnFolder()
public java.lang.String getParamTabDiPublishFileMode()
public java.lang.String getParamTabDiShowLock()
"true"
if the "display lock dialog" input field is checked, otherwise ""public java.lang.String getParamTabEdButtonStyle()
public java.lang.String getParamTabEdDirectEditButtonStyle()
public java.lang.String getParamTabExButtonStyle()
public java.lang.String getParamTabExFileDateCreated()
"true"
if the file creation date input field is checked, otherwise ""public java.lang.String getParamTabExFileDateExpired()
"true"
if the file date expired input field is checked, otherwise ""public java.lang.String getParamTabExFileDateLastModified()
"true"
if the file last modification date input field is checked, otherwise ""public java.lang.String getParamTabExFileDateReleased()
"true"
if the file date released input field is checked, otherwise ""public java.lang.String getParamTabExFileEntries()
public java.lang.String getParamTabExFileLockedBy()
"true"
if the file locked by input field is checked, otherwise ""public java.lang.String getParamTabExFileNavText()
"true"
if the file navtext input field is checked, otherwise ""public java.lang.String getParamTabExFilePermissions()
"true"
if the file permissions input field is checked, otherwise ""public java.lang.String getParamTabExFileSize()
"true"
if the file size input field is checked, otherwise ""public java.lang.String getParamTabExFileState()
"true"
if the file state input field is checked, otherwise ""public java.lang.String getParamTabExFileTitle()
"true"
if the file title input field is checked, otherwise ""public java.lang.String getParamTabExFileType()
"true"
if the file type input field is checked, otherwise ""public java.lang.String getParamTabExFileUserCreated()
"true"
if the file created by input field is checked, otherwise ""public java.lang.String getParamTabExFileUserLastModified()
"true"
if the file last modified by input field is checked, otherwise ""public java.lang.String getParamTabExWorkplaceSearchResult()
public java.lang.String getParamTabWpButtonStyle()
public java.lang.String getParamTabWpFolder()
public java.lang.String getParamTabWpLanguage()
public java.lang.String getParamTabWpListAllProjects()
"true"
if the "list all projects" input is checked, otherwise ""public java.lang.String getParamTabWpProject()
public java.lang.String getParamTabWpReportType()
public java.lang.String getParamTabWpRestrictExplorerView()
public java.lang.String getParamTabWpShowPublishNotification()
"true"
if the "show publish notification" input is checked, otherwise ""public java.lang.String getParamTabWpSite()
public java.lang.String getParamTabWpTimewarp()
If no timewarp has been chosen, a value "-" will be returned.
public java.lang.String getParamTabWpUseUploadApplet()
"true"
if the "use upload applet" input is checked, otherwise ""public java.lang.String getParamTabWpView()
public java.util.List getTabParameterOrder()
CmsTabDialog
For example, all parameters stored in tab 1 have the prefix "Tab1", i.e. the getter and setter methods must be getParamTab1MyParameterName().
To change the tab order, simply change the order in the String array and in the generated tab list.
getTabParameterOrder
in class CmsTabDialog
CmsTabDialog.getTabParameterOrder()
public java.util.List getTabs()
CmsTabDialog
getTabs
in class CmsTabDialog
CmsTabDialog.getTabs()
public java.lang.String isChecked(java.lang.String paramValue)
paramValue
- the parameter value, if "true"
, the "checked" attribute will be returned
public void setParamNewPassword(java.lang.String newPwd)
newPwd
- the new password valuepublic void setParamOldPassword(java.lang.String oldPwd)
oldPwd
- the old password valuepublic void setParamTabDiCopyFileMode(java.lang.String value)
value
- the "copy file default" settingpublic void setParamTabDiCopyFolderMode(java.lang.String value)
value
- the "copy folder default" settingpublic void setParamTabDiDeleteFileMode(java.lang.String value)
value
- the "delete file siblings default" settingpublic void setParamTabDiPermissionsExpandInherited(java.lang.String value)
value
- the "expand inherited permissions" default settingpublic void setParamTabDiPermissionsExpandUser(java.lang.String value)
value
- the "expand current users permissions" default settingpublic void setParamTabDiPermissionsInheritOnFolder(java.lang.String value)
value
- the "inherit permissions on folders" default settingpublic void setParamTabDiPublishFileMode(java.lang.String value)
value
- the "publish file siblings default" settingpublic void setParamTabDiShowLock(java.lang.String value)
value
- "true"
to enable the "display lock dialog" setting, all others to disablepublic void setParamTabEdButtonStyle(java.lang.String value)
value
- a String representation of an int value to set the "editor button style" settingpublic void setParamTabEdDirectEditButtonStyle(java.lang.String value)
value
- a String representation of an int value to set the "direct edit button style" settingpublic void setParamTabExButtonStyle(java.lang.String value)
value
- a String representation of an int value to set the "explorer button style" settingpublic void setParamTabExFileDateCreated(java.lang.String value)
value
- "true"
to enable the "display file creation date" setting, all others to disablepublic void setParamTabExFileDateExpired(java.lang.String value)
value
- "true"
to enable the "display file expired date" setting, all others to disablepublic void setParamTabExFileDateLastModified(java.lang.String value)
value
- "true"
to enable the "display file last modification date" setting, all others to disablepublic void setParamTabExFileDateReleased(java.lang.String value)
value
- "true"
to enable the "display file released date" setting, all others to disablepublic void setParamTabExFileEntries(java.lang.String value)
value
- a String representation of an int value to set the "number of entries per page" settingpublic void setParamTabExFileLockedBy(java.lang.String value)
value
- "true"
to enable the "display file locked by" setting, all others to disablepublic void setParamTabExFileNavText(java.lang.String value)
value
- "true"
to enable the "display file navtext" setting, all others to disablepublic void setParamTabExFilePermissions(java.lang.String value)
value
- "true"
to enable the "display file permissions" setting, all others to disablepublic void setParamTabExFileSize(java.lang.String value)
value
- "true"
to enable the "display file size" setting, all others to disablepublic void setParamTabExFileState(java.lang.String value)
value
- "true"
to enable the "display file state" setting, all others to disablepublic void setParamTabExFileTitle(java.lang.String value)
value
- "true"
to enable the "display file title" setting, all others to disablepublic void setParamTabExFileType(java.lang.String value)
value
- "true"
to enable the "display file type" setting, all others to disablepublic void setParamTabExFileUserCreated(java.lang.String value)
value
- "true"
to enable the "display file created by" setting, all others to disablepublic void setParamTabExFileUserLastModified(java.lang.String value)
value
- "true"
to enable the "display file last modified by" setting, all others to disablepublic void setParamTabExWorkplaceSearchResult(java.lang.String style)
style
- the "workplace search result style" to setpublic void setParamTabWpButtonStyle(java.lang.String value)
value
- a String representation of an int value to set the "workplace button style" settingpublic void setParamTabWpFolder(java.lang.String value)
value
- the start folder to show in the explorer viewpublic void setParamTabWpLanguage(java.lang.String value)
value
- the start language settingpublic void setParamTabWpListAllProjects(java.lang.String value)
value
- "true"
to enable the "list all project" feature, all others to
disablepublic void setParamTabWpProject(java.lang.String value)
value
- the start project settingpublic void setParamTabWpReportType(java.lang.String value)
value
- the "workplace report type" settingpublic void setParamTabWpRestrictExplorerView(java.lang.String value)
value
- the "workplace restrict explorer view" settingpublic void setParamTabWpShowPublishNotification(java.lang.String value)
value
- "true"
to enable the "show publish notification" setting, all others to
disablepublic void setParamTabWpSite(java.lang.String value)
value
- the start site to show in the explorer viewpublic void setParamTabWpTimeWarp(java.lang.String value)
To delete a timewarp setting for the current user, provide "-"
as value.
value
- a String representation of an date in the formate as required by
CmsCalendarWidget.getCalendarDate(org.opencms.i18n.CmsMessages, String, boolean)
public void setParamTabWpUseUploadApplet(java.lang.String value)
value
- "true"
to enable the "use upload applet" setting, all others to
disablepublic void setParamTabWpView(java.lang.String value)
value
- the start view settingprotected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues
in class CmsDialog
settings
- the workplace settingsrequest
- the current requestCmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)
protected java.util.Map paramValues()
This overwrites the super method because of the possible dynamic editor selection entries.
paramValues
in class CmsWorkplace
protected void updatePreferences(CmsObject cms, javax.servlet.http.HttpServletRequest req)
cms
- the current cms contextreq
- the current http request
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |