Java Doc for CmsPreferences.java in  » Content-Management-System » opencms » org » opencms » workplace » commons » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » opencms » org.opencms.workplace.commons 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.opencms.workplace.CmsTabDialog
   org.opencms.workplace.commons.CmsPreferences

CmsPreferences
public class CmsPreferences extends CmsTabDialog (Code)
Provides methods for the user preferences dialog.

The following files use this class:

  • /commons/preferences.jsp


author:
   Andreas Zahner
version:
   $Revision: 1.38 $
since:
   6.0.0



Field Summary
final public static  intACTION_CHPWD
     Value for the action: change the password.
final public static  intACTION_ERROR
     Value for the action: show error screen.
final public static  intACTION_RELOAD
     Value for the action: reload the workplace.
final public static  StringDIALOG_CHPWD
     Request parameter value for the action: change the password.
final public static  StringDIALOG_RELOAD
     Request parameter value for the action: reload the workplace.
final public static  StringDIALOG_TYPE
     The dialog type.
final public static  StringINPUT_DEFAULT
     Request parameter name prefix for the preferred editors.
final public static  StringPARAM_DIALOGS_COPYFILEMODE
     Request parameter name for the dialog copy file siblings default setting.
final public static  StringPARAM_DIALOGS_COPYFOLDERMODE
     Request parameter name for the dialog copy folder siblings default setting.
final public static  StringPARAM_DIALOGS_DELETEFILEMODE
     Request parameter name for the dialog delete file siblings default setting.
final public static  StringPARAM_DIALOGS_PERMISSIONS_EXPANDINHERITED
     Request parameter name for the dialog permissions show inherited permissions.
final public static  StringPARAM_DIALOGS_PERMISSIONS_EXPANDUSER
     Request parameter name for the dialog permissions show current users permissions.
final public static  StringPARAM_DIALOGS_PERMISSIONS_INHERITONFOLDER
     Request parameter name for the dialog permissions default inheritance behaviour on folders.
final public static  StringPARAM_DIALOGS_PUBLISHFILEMODE
     Request parameter name for the dialog publish file siblings default setting.
final public static  StringPARAM_DIALOGS_SHOWLOCK
     Request parameter name for the dialog show lock.
final public static  StringPARAM_DIRECTEDIT_BUTTONSTYLE
     Request parameter name for the direct edit button style.
final public static  StringPARAM_EDITOR_BUTTONSTYLE
     Request parameter name for the editor button style.
final public static  StringPARAM_EXPLORER_BUTTONSTYLE
     Request parameter name for the explorer button style.
final public static  StringPARAM_EXPLORER_FILEDATECREATED
     Request parameter name for the explorer file date created.
final public static  StringPARAM_EXPLORER_FILEDATEEXPIRED
     Request parameter name for the explorer file date expired.
final public static  StringPARAM_EXPLORER_FILEDATELASTMODIFIED
     Request parameter name for the explorer file date last modified.
final public static  StringPARAM_EXPLORER_FILEDATERELEASED
     Request parameter name for the explorer file date released.
final public static  StringPARAM_EXPLORER_FILEENTRIES
     Request parameter name for the explorer file entry number.
final public static  StringPARAM_EXPLORER_FILELOCKEDBY
     Request parameter name for the explorer file locked by.
final public static  StringPARAM_EXPLORER_FILENAVTEXT
     Request parameter name for the explorer file navtext.
final public static  StringPARAM_EXPLORER_FILEPERMISSIONS
     Request parameter name for the explorer file permissions.
final public static  StringPARAM_EXPLORER_FILESIZE
     Request parameter name for the explorer file size.
final public static  StringPARAM_EXPLORER_FILESTATE
     Request parameter name for the explorer file state.
final public static  StringPARAM_EXPLORER_FILETITLE
     Request parameter name for the explorer file title.
final public static  StringPARAM_EXPLORER_FILETYPE
     Request parameter name for the explorer file type.
final public static  StringPARAM_EXPLORER_FILEUSERCREATED
     Request parameter name for the explorer file user created.
final public static  StringPARAM_EXPLORER_FILEUSERLASTMODIFIED
     Request parameter name for the explorer file user last modified.
final public static  StringPARAM_EXPLORER_SEARCH_RESULT
     Request parameter name for the workplace search result list style.
final public static  StringPARAM_NEWPASSWORD
     Request parameter name for the new password.
final public static  StringPARAM_OLDPASSWORD
     Request parameter name for the old password.
final public static  StringPARAM_PREFERREDEDITOR_PREFIX
     Request parameter name prefix for the preferred editors.
final public static  StringPARAM_WORKPLACE_BUTTONSTYLE
     Request parameter name for the workplace button style.
final public static  StringPARAM_WORKPLACE_FOLDER
     Request parameter name for the workplace start folder.
final public static  StringPARAM_WORKPLACE_LANGUAGE
     Request parameter name for the workplace language.
final public static  StringPARAM_WORKPLACE_PROJECT
     Request parameter name for the workplace project.
final public static  StringPARAM_WORKPLACE_REPORTTYPE
     Request parameter name for the workplace report type.
final public static  StringPARAM_WORKPLACE_RESTRICTEXPLORERVIEW
     Request parameter name for the workplace explorer view restriction.
final public static  StringPARAM_WORKPLACE_SHOWPUBLISHNOTIFICATION
     Request parameter name for the workplace show publish notification.
final public static  StringPARAM_WORKPLACE_SITE
     Request parameter name for the workplace start site.
final public static  StringPARAM_WORKPLACE_TIMEWARP
     Request parameter name for the user language.
final public static  StringPARAM_WORKPLACE_USEUPLOADAPPLET
     Request parameter name for the workplace use upload applet.
final public static  StringPARAM_WORKPLACE_VIEW
     Request parameter name for the workplace view.

Constructor Summary
public  CmsPreferences(CmsJspActionElement jsp)
    
public  CmsPreferences(PageContext context, HttpServletRequest req, HttpServletResponse res)
    

Method Summary
public  voidactionChangePassword()
    
public  voidactionSave()
    
public  StringbuildSelectCopyFileMode(String htmlAttributes)
    
public  StringbuildSelectCopyFolderMode(String htmlAttributes)
    
public  StringbuildSelectDeleteFileMode(String htmlAttributes)
    
public  StringbuildSelectDirectEditButtonStyle(String htmlAttributes)
    
public  StringbuildSelectEditorButtonStyle(String htmlAttributes)
    
public  StringbuildSelectExplorerButtonStyle(String htmlAttributes)
    
public  StringbuildSelectExplorerFileEntries(String htmlAttributes)
    
public  StringbuildSelectLanguage(String htmlAttributes)
    
public  StringbuildSelectPreferredEditors(String htmlAttributes)
    
public  StringbuildSelectProject(String htmlAttributes)
    
public  StringbuildSelectPublishSiblings(String htmlAttributes)
    
public  StringbuildSelectReportType(String htmlAttributes)
    
public  StringbuildSelectSite(String htmlAttributes)
    
public  StringbuildSelectView(String htmlAttributes)
    
public  StringbuildSelectWorkplaceButtonStyle(String htmlAttributes)
    
public  StringbuildSelectWorkplaceSearchResult(String htmlAttributes)
    
public  StringbuildUserInformation()
    
public  StringcalendarIncludes()
    
public  StringcalendarInit(String inputFieldId, String triggerButtonId, String align, boolean singleClick, boolean weekNumbers, boolean mondayFirst, String dateStatusFunc, boolean showTime)
    
public  StringgetParamNewPassword()
    
public  StringgetParamOldPassword()
     Returns the old password value.
public  StringgetParamTabDiCopyFileMode()
    
public  StringgetParamTabDiCopyFolderMode()
    
public  StringgetParamTabDiDeleteFileMode()
    
public  StringgetParamTabDiPermissionsExpandInherited()
    
public  StringgetParamTabDiPermissionsExpandUser()
    
public  StringgetParamTabDiPermissionsInheritOnFolder()
    
public  StringgetParamTabDiPublishFileMode()
    
public  StringgetParamTabDiShowLock()
    
public  StringgetParamTabEdButtonStyle()
    
public  StringgetParamTabEdDirectEditButtonStyle()
    
public  StringgetParamTabExButtonStyle()
    
public  StringgetParamTabExFileDateCreated()
    
public  StringgetParamTabExFileDateExpired()
    
public  StringgetParamTabExFileDateLastModified()
    
public  StringgetParamTabExFileDateReleased()
    
public  StringgetParamTabExFileEntries()
    
public  StringgetParamTabExFileLockedBy()
    
public  StringgetParamTabExFileNavText()
    
public  StringgetParamTabExFilePermissions()
    
public  StringgetParamTabExFileSize()
    
public  StringgetParamTabExFileState()
    
public  StringgetParamTabExFileTitle()
    
public  StringgetParamTabExFileType()
    
public  StringgetParamTabExFileUserCreated()
    
public  StringgetParamTabExFileUserLastModified()
    
public  StringgetParamTabExWorkplaceSearchResult()
    
public  StringgetParamTabWpButtonStyle()
    
public  StringgetParamTabWpFolder()
    
public  StringgetParamTabWpLanguage()
    
public  StringgetParamTabWpProject()
    
public  StringgetParamTabWpReportType()
    
public  StringgetParamTabWpRestrictExplorerView()
    
public  StringgetParamTabWpShowPublishNotification()
    
public  StringgetParamTabWpSite()
    
public  StringgetParamTabWpTimewarp()
    
public  StringgetParamTabWpUseUploadApplet()
    
public  StringgetParamTabWpView()
    
public  ListgetTabParameterOrder()
    
public  ListgetTabs()
    
protected  voidinitWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)
    
public  StringisChecked(String paramValue)
    
protected  MapparamValues()
    
public  voidsetParamNewPassword(String newPwd)
    
public  voidsetParamOldPassword(String oldPwd)
    
public  voidsetParamTabDiCopyFileMode(String value)
    
public  voidsetParamTabDiCopyFolderMode(String value)
    
public  voidsetParamTabDiDeleteFileMode(String value)
    
public  voidsetParamTabDiPermissionsExpandInherited(String value)
    
public  voidsetParamTabDiPermissionsExpandUser(String value)
    
public  voidsetParamTabDiPermissionsInheritOnFolder(String value)
    
public  voidsetParamTabDiPublishFileMode(String value)
    
public  voidsetParamTabDiShowLock(String value)
    
public  voidsetParamTabEdButtonStyle(String value)
    
public  voidsetParamTabEdDirectEditButtonStyle(String value)
    
public  voidsetParamTabExButtonStyle(String value)
    
public  voidsetParamTabExFileDateCreated(String value)
    
public  voidsetParamTabExFileDateExpired(String value)
    
public  voidsetParamTabExFileDateLastModified(String value)
    
public  voidsetParamTabExFileDateReleased(String value)
    
public  voidsetParamTabExFileEntries(String value)
    
public  voidsetParamTabExFileLockedBy(String value)
    
public  voidsetParamTabExFileNavText(String value)
    
public  voidsetParamTabExFilePermissions(String value)
    
public  voidsetParamTabExFileSize(String value)
    
public  voidsetParamTabExFileState(String value)
    
public  voidsetParamTabExFileTitle(String value)
    
public  voidsetParamTabExFileType(String value)
    
public  voidsetParamTabExFileUserCreated(String value)
    
public  voidsetParamTabExFileUserLastModified(String value)
    
public  voidsetParamTabExWorkplaceSearchResult(String style)
    
public  voidsetParamTabWpButtonStyle(String value)
    
public  voidsetParamTabWpFolder(String value)
    
public  voidsetParamTabWpLanguage(String value)
    
public  voidsetParamTabWpProject(String value)
    
public  voidsetParamTabWpReportType(String value)
    
public  voidsetParamTabWpRestrictExplorerView(String value)
    
public  voidsetParamTabWpShowPublishNotification(String value)
    
public  voidsetParamTabWpSite(String value)
    
public  voidsetParamTabWpTimeWarp(String value)
    
public  voidsetParamTabWpUseUploadApplet(String value)
    
public  voidsetParamTabWpView(String value)
    
protected  voidupdatePreferences(CmsObject cms, HttpServletRequest req)
    

Field Detail
ACTION_CHPWD
final public static int ACTION_CHPWD(Code)
Value for the action: change the password.



ACTION_ERROR
final public static int ACTION_ERROR(Code)
Value for the action: show error screen.



ACTION_RELOAD
final public static int ACTION_RELOAD(Code)
Value for the action: reload the workplace.



DIALOG_CHPWD
final public static String DIALOG_CHPWD(Code)
Request parameter value for the action: change the password.



DIALOG_RELOAD
final public static String DIALOG_RELOAD(Code)
Request parameter value for the action: reload the workplace.



DIALOG_TYPE
final public static String DIALOG_TYPE(Code)
The dialog type.



INPUT_DEFAULT
final public static String INPUT_DEFAULT(Code)
Request parameter name prefix for the preferred editors.



PARAM_DIALOGS_COPYFILEMODE
final public static String PARAM_DIALOGS_COPYFILEMODE(Code)
Request parameter name for the dialog copy file siblings default setting.



PARAM_DIALOGS_COPYFOLDERMODE
final public static String PARAM_DIALOGS_COPYFOLDERMODE(Code)
Request parameter name for the dialog copy folder siblings default setting.



PARAM_DIALOGS_DELETEFILEMODE
final public static String PARAM_DIALOGS_DELETEFILEMODE(Code)
Request parameter name for the dialog delete file siblings default setting.



PARAM_DIALOGS_PERMISSIONS_EXPANDINHERITED
final public static String PARAM_DIALOGS_PERMISSIONS_EXPANDINHERITED(Code)
Request parameter name for the dialog permissions show inherited permissions.



PARAM_DIALOGS_PERMISSIONS_EXPANDUSER
final public static String PARAM_DIALOGS_PERMISSIONS_EXPANDUSER(Code)
Request parameter name for the dialog permissions show current users permissions.



PARAM_DIALOGS_PERMISSIONS_INHERITONFOLDER
final public static String PARAM_DIALOGS_PERMISSIONS_INHERITONFOLDER(Code)
Request parameter name for the dialog permissions default inheritance behaviour on folders.



PARAM_DIALOGS_PUBLISHFILEMODE
final public static String PARAM_DIALOGS_PUBLISHFILEMODE(Code)
Request parameter name for the dialog publish file siblings default setting.



PARAM_DIALOGS_SHOWLOCK
final public static String PARAM_DIALOGS_SHOWLOCK(Code)
Request parameter name for the dialog show lock.



PARAM_DIRECTEDIT_BUTTONSTYLE
final public static String PARAM_DIRECTEDIT_BUTTONSTYLE(Code)
Request parameter name for the direct edit button style.



PARAM_EDITOR_BUTTONSTYLE
final public static String PARAM_EDITOR_BUTTONSTYLE(Code)
Request parameter name for the editor button style.



PARAM_EXPLORER_BUTTONSTYLE
final public static String PARAM_EXPLORER_BUTTONSTYLE(Code)
Request parameter name for the explorer button style.



PARAM_EXPLORER_FILEDATECREATED
final public static String PARAM_EXPLORER_FILEDATECREATED(Code)
Request parameter name for the explorer file date created.



PARAM_EXPLORER_FILEDATEEXPIRED
final public static String PARAM_EXPLORER_FILEDATEEXPIRED(Code)
Request parameter name for the explorer file date expired.



PARAM_EXPLORER_FILEDATELASTMODIFIED
final public static String PARAM_EXPLORER_FILEDATELASTMODIFIED(Code)
Request parameter name for the explorer file date last modified.



PARAM_EXPLORER_FILEDATERELEASED
final public static String PARAM_EXPLORER_FILEDATERELEASED(Code)
Request parameter name for the explorer file date released.



PARAM_EXPLORER_FILEENTRIES
final public static String PARAM_EXPLORER_FILEENTRIES(Code)
Request parameter name for the explorer file entry number.



PARAM_EXPLORER_FILELOCKEDBY
final public static String PARAM_EXPLORER_FILELOCKEDBY(Code)
Request parameter name for the explorer file locked by.



PARAM_EXPLORER_FILENAVTEXT
final public static String PARAM_EXPLORER_FILENAVTEXT(Code)
Request parameter name for the explorer file navtext.



PARAM_EXPLORER_FILEPERMISSIONS
final public static String PARAM_EXPLORER_FILEPERMISSIONS(Code)
Request parameter name for the explorer file permissions.



PARAM_EXPLORER_FILESIZE
final public static String PARAM_EXPLORER_FILESIZE(Code)
Request parameter name for the explorer file size.



PARAM_EXPLORER_FILESTATE
final public static String PARAM_EXPLORER_FILESTATE(Code)
Request parameter name for the explorer file state.



PARAM_EXPLORER_FILETITLE
final public static String PARAM_EXPLORER_FILETITLE(Code)
Request parameter name for the explorer file title.



PARAM_EXPLORER_FILETYPE
final public static String PARAM_EXPLORER_FILETYPE(Code)
Request parameter name for the explorer file type.



PARAM_EXPLORER_FILEUSERCREATED
final public static String PARAM_EXPLORER_FILEUSERCREATED(Code)
Request parameter name for the explorer file user created.



PARAM_EXPLORER_FILEUSERLASTMODIFIED
final public static String PARAM_EXPLORER_FILEUSERLASTMODIFIED(Code)
Request parameter name for the explorer file user last modified.



PARAM_EXPLORER_SEARCH_RESULT
final public static String PARAM_EXPLORER_SEARCH_RESULT(Code)
Request parameter name for the workplace search result list style.



PARAM_NEWPASSWORD
final public static String PARAM_NEWPASSWORD(Code)
Request parameter name for the new password.



PARAM_OLDPASSWORD
final public static String PARAM_OLDPASSWORD(Code)
Request parameter name for the old password.



PARAM_PREFERREDEDITOR_PREFIX
final public static String PARAM_PREFERREDEDITOR_PREFIX(Code)
Request parameter name prefix for the preferred editors.



PARAM_WORKPLACE_BUTTONSTYLE
final public static String PARAM_WORKPLACE_BUTTONSTYLE(Code)
Request parameter name for the workplace button style.



PARAM_WORKPLACE_FOLDER
final public static String PARAM_WORKPLACE_FOLDER(Code)
Request parameter name for the workplace start folder.



PARAM_WORKPLACE_LANGUAGE
final public static String PARAM_WORKPLACE_LANGUAGE(Code)
Request parameter name for the workplace language.



PARAM_WORKPLACE_PROJECT
final public static String PARAM_WORKPLACE_PROJECT(Code)
Request parameter name for the workplace project.



PARAM_WORKPLACE_REPORTTYPE
final public static String PARAM_WORKPLACE_REPORTTYPE(Code)
Request parameter name for the workplace report type.



PARAM_WORKPLACE_RESTRICTEXPLORERVIEW
final public static String PARAM_WORKPLACE_RESTRICTEXPLORERVIEW(Code)
Request parameter name for the workplace explorer view restriction.



PARAM_WORKPLACE_SHOWPUBLISHNOTIFICATION
final public static String PARAM_WORKPLACE_SHOWPUBLISHNOTIFICATION(Code)
Request parameter name for the workplace show publish notification.



PARAM_WORKPLACE_SITE
final public static String PARAM_WORKPLACE_SITE(Code)
Request parameter name for the workplace start site.



PARAM_WORKPLACE_TIMEWARP
final public static String PARAM_WORKPLACE_TIMEWARP(Code)
Request parameter name for the user language.



PARAM_WORKPLACE_USEUPLOADAPPLET
final public static String PARAM_WORKPLACE_USEUPLOADAPPLET(Code)
Request parameter name for the workplace use upload applet.



PARAM_WORKPLACE_VIEW
final public static String PARAM_WORKPLACE_VIEW(Code)
Request parameter name for the workplace view.




Constructor Detail
CmsPreferences
public CmsPreferences(CmsJspActionElement jsp)(Code)
Public constructor with JSP action element.


Parameters:
  jsp - an initialized JSP action element




CmsPreferences
public CmsPreferences(PageContext context, HttpServletRequest req, HttpServletResponse res)(Code)
Public constructor with JSP variables.


Parameters:
  context - the JSP page context
Parameters:
  req - the JSP request
Parameters:
  res - the JSP response





Method Detail
actionChangePassword
public void actionChangePassword() throws JspException(Code)
Performs the change password action.


throws:
  JspException - if inclusion of error element fails




actionSave
public void actionSave()(Code)
Performs the save operation of the modified user settings.




buildSelectCopyFileMode
public String buildSelectCopyFileMode(String htmlAttributes)(Code)
Builds the html for the default copy file mode select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the default copy file mode select box




buildSelectCopyFolderMode
public String buildSelectCopyFolderMode(String htmlAttributes)(Code)
Builds the html for the default copy folder mode select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the default copy folder mode select box




buildSelectDeleteFileMode
public String buildSelectDeleteFileMode(String htmlAttributes)(Code)
Builds the html for the default delete file mode select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the default delete file mode select box




buildSelectDirectEditButtonStyle
public String buildSelectDirectEditButtonStyle(String htmlAttributes)(Code)
Builds the html for the direct edit button style select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the direct edit button style select box




buildSelectEditorButtonStyle
public String buildSelectEditorButtonStyle(String htmlAttributes)(Code)
Builds the html for the editor button style select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the editor button style select box




buildSelectExplorerButtonStyle
public String buildSelectExplorerButtonStyle(String htmlAttributes)(Code)
Builds the html for the explorer button style select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the explorer button style select box




buildSelectExplorerFileEntries
public String buildSelectExplorerFileEntries(String htmlAttributes)(Code)
Builds the html for the explorer number of entries per page select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the explorer number of entries per page select box




buildSelectLanguage
public String buildSelectLanguage(String htmlAttributes)(Code)
Builds the html for the language select box of the start settings.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the language select box




buildSelectPreferredEditors
public String buildSelectPreferredEditors(String htmlAttributes)(Code)
Builds the html for the preferred editors select boxes of the editor settings.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the preferred editors select boxes




buildSelectProject
public String buildSelectProject(String htmlAttributes)(Code)
Builds the html for the project select box of the start settings.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the project select box




buildSelectPublishSiblings
public String buildSelectPublishSiblings(String htmlAttributes)(Code)
Builds the html for the default publish siblings mode select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the default publish siblings mode select box




buildSelectReportType
public String buildSelectReportType(String htmlAttributes)(Code)
Builds the html for the workplace report type select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the workplace report type select box




buildSelectSite
public String buildSelectSite(String htmlAttributes)(Code)
Builds the html for the workplace start site select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the workplace start site select box




buildSelectView
public String buildSelectView(String htmlAttributes)(Code)
Returns a html select box filled with the views accessible by the current user.


Parameters:
  htmlAttributes - attributes that will be inserted into the generated html a html select box filled with the views accessible by the current user




buildSelectWorkplaceButtonStyle
public String buildSelectWorkplaceButtonStyle(String htmlAttributes)(Code)
Builds the html for the workplace button style select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the workplace button style select box




buildSelectWorkplaceSearchResult
public String buildSelectWorkplaceSearchResult(String htmlAttributes)(Code)
Builds the html for the workplace search result list type select box.


Parameters:
  htmlAttributes - optional html attributes for the &lgt;select> tag the html for the workplace search result list type select box




buildUserInformation
public String buildUserInformation()(Code)
Builds the html code for the static user information table (tab 4).

the html code for the static user information table




calendarIncludes
public String calendarIncludes()(Code)
Creates the HTML JavaScript and stylesheet includes required by the calendar for the head of the page.

the necessary HTML code for the js and stylesheet includesCmsCalendarWidget.calendarIncludes(java.util.Locale)




calendarInit
public String calendarInit(String inputFieldId, String triggerButtonId, String align, boolean singleClick, boolean weekNumbers, boolean mondayFirst, String dateStatusFunc, boolean showTime)(Code)
Generates the HTML to initialize the JavaScript calendar element on the end of a page.


Parameters:
  inputFieldId - the ID of the input field where the date is pasted to
Parameters:
  triggerButtonId - the ID of the button which triggers the calendar
Parameters:
  align - initial position of the calendar popup element
Parameters:
  singleClick - if true, a single click selects a date and closes the calendar, otherwise calendar is closed by doubleclick
Parameters:
  weekNumbers - show the week numbers in the calendar or not
Parameters:
  mondayFirst - show monday as first day of week
Parameters:
  dateStatusFunc - name of the function which determines if/how a date should be disabled
Parameters:
  showTime - true if the time selector should be shown, otherwise false the HTML code to initialize a calendar poup elementCmsCalendarWidget.calendarInit(org.opencms.i18n.CmsMessagesStringStringStringbooleanbooleanbooleanStringboolean)




getParamNewPassword
public String getParamNewPassword()(Code)
Returns the new password value.

the new password value




getParamOldPassword
public String getParamOldPassword()(Code)
Returns the old password value.

the old password value




getParamTabDiCopyFileMode
public String getParamTabDiCopyFileMode()(Code)
Returns the "copy file default" setting.

the "copy file default" setting




getParamTabDiCopyFolderMode
public String getParamTabDiCopyFolderMode()(Code)
Returns the "copy folder default" setting.

the "copy folder default" setting




getParamTabDiDeleteFileMode
public String getParamTabDiDeleteFileMode()(Code)
Returns the "delete file default" setting.

the "delete file default" setting




getParamTabDiPermissionsExpandInherited
public String getParamTabDiPermissionsExpandInherited()(Code)
Returns the "expand inherited permissions" default setting.

the "expand inherited permissions" default setting




getParamTabDiPermissionsExpandUser
public String getParamTabDiPermissionsExpandUser()(Code)
Returns the "expand current users permissions" default setting.

the "expand current users permissions" default setting




getParamTabDiPermissionsInheritOnFolder
public String getParamTabDiPermissionsInheritOnFolder()(Code)
Returns the "inherit permissions on folders" default setting.

the "inherit permissions on folders" default setting




getParamTabDiPublishFileMode
public String getParamTabDiPublishFileMode()(Code)
Returns the "publish file siblings default" setting.

the "publish file siblings default" setting




getParamTabDiShowLock
public String getParamTabDiShowLock()(Code)
Returns the "display lock dialog" setting.

"true" if the "display lock dialog" input field is checked, otherwise ""




getParamTabEdButtonStyle
public String getParamTabEdButtonStyle()(Code)
Returns the "editor button style" setting.

the "editor button style" setting




getParamTabEdDirectEditButtonStyle
public String getParamTabEdDirectEditButtonStyle()(Code)
Returns the "direct edit button style" setting.

the "direct edit button style" setting




getParamTabExButtonStyle
public String getParamTabExButtonStyle()(Code)
Returns the "explorer button style" setting.

the "explorer button style" setting




getParamTabExFileDateCreated
public String getParamTabExFileDateCreated()(Code)
Returns the "display file creation date" setting.

"true" if the file creation date input field is checked, otherwise ""




getParamTabExFileDateExpired
public String getParamTabExFileDateExpired()(Code)
Returns the "display file date expired" setting.

"true" if the file date expired input field is checked, otherwise ""




getParamTabExFileDateLastModified
public String getParamTabExFileDateLastModified()(Code)
Returns the "display file last modification date" setting.

"true" if the file last modification date input field is checked, otherwise ""




getParamTabExFileDateReleased
public String getParamTabExFileDateReleased()(Code)
Returns the "display file date released" setting.

"true" if the file date released input field is checked, otherwise ""




getParamTabExFileEntries
public String getParamTabExFileEntries()(Code)
Returns the "explorer number of entries per page" setting.

the "explorer number of entries per page" setting




getParamTabExFileLockedBy
public String getParamTabExFileLockedBy()(Code)
Returns the "display file locked by" setting.

"true" if the file locked by input field is checked, otherwise ""




getParamTabExFileNavText
public String getParamTabExFileNavText()(Code)
Returns the "display navtext" setting.

"true" if the file navtext input field is checked, otherwise ""




getParamTabExFilePermissions
public String getParamTabExFilePermissions()(Code)
Returns the "display file permissions" setting.

"true" if the file permissions input field is checked, otherwise ""




getParamTabExFileSize
public String getParamTabExFileSize()(Code)
Returns the "display file size" setting.

"true" if the file size input field is checked, otherwise ""




getParamTabExFileState
public String getParamTabExFileState()(Code)
Returns the "display file state" setting.

"true" if the file state input field is checked, otherwise ""




getParamTabExFileTitle
public String getParamTabExFileTitle()(Code)
Returns the "display file title" setting.

"true" if the file title input field is checked, otherwise ""




getParamTabExFileType
public String getParamTabExFileType()(Code)
Returns the "display file type" setting.

"true" if the file type input field is checked, otherwise ""




getParamTabExFileUserCreated
public String getParamTabExFileUserCreated()(Code)
Returns the "display file created by" setting.

"true" if the file created by input field is checked, otherwise ""




getParamTabExFileUserLastModified
public String getParamTabExFileUserLastModified()(Code)
Returns the "display file last modified by" setting.

"true" if the file last modified by input field is checked, otherwise ""




getParamTabExWorkplaceSearchResult
public String getParamTabExWorkplaceSearchResult()(Code)
Returns the "workplace search result style" setting.

the "workplace search result style" setting




getParamTabWpButtonStyle
public String getParamTabWpButtonStyle()(Code)
Returns the "workplace button style" setting.

the "workplace button style" setting




getParamTabWpFolder
public String getParamTabWpFolder()(Code)
Returns the "start folder" setting.

the "start folder" setting




getParamTabWpLanguage
public String getParamTabWpLanguage()(Code)
Returns the start language setting.

the start language setting




getParamTabWpProject
public String getParamTabWpProject()(Code)
Returns the start project setting.

the start project setting




getParamTabWpReportType
public String getParamTabWpReportType()(Code)
Returns the "workplace report type" setting.

the "workplace report type" setting




getParamTabWpRestrictExplorerView
public String getParamTabWpRestrictExplorerView()(Code)
Returns the "workplace restrict explorer view" setting.

the "workplace restrict explorer view" setting




getParamTabWpShowPublishNotification
public String getParamTabWpShowPublishNotification()(Code)
Returns the "show publish notification" setting.

"true" if the "show publish notification" input is checked, otherwise ""




getParamTabWpSite
public String getParamTabWpSite()(Code)
Returns the "start site" setting.

the "start site" setting




getParamTabWpTimewarp
public String getParamTabWpTimewarp()(Code)
Get the "user timewparp" setting in form of a formatted date string.

If no timewarp has been chosen, a value "-" will be returned.

the "user timewarp" setting in form of a formatted date string




getParamTabWpUseUploadApplet
public String getParamTabWpUseUploadApplet()(Code)
Returns the "use upload applet" setting.

"true" if the "use upload applet" input is checked, otherwise ""




getParamTabWpView
public String getParamTabWpView()(Code)
Returns the start view setting.

the start view setting




getTabParameterOrder
public List getTabParameterOrder()(Code)

See Also:   org.opencms.workplace.CmsTabDialog.getTabParameterOrder



getTabs
public List getTabs()(Code)

See Also:   org.opencms.workplace.CmsTabDialog.getTabs



initWorkplaceRequestValues
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)

See Also:   org.opencms.workplace.CmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettingsjavax.servlet.http.HttpServletRequest)



isChecked
public String isChecked(String paramValue)(Code)
Helper method to add the "checked" attribute to an input field.


Parameters:
  paramValue - the parameter value, if "true", the "checked" attribute will be returned the "checked" attribute or an empty String




paramValues
protected Map paramValues()(Code)
Returns the values of all parameter methods of this workplace class instance.

This overwrites the super method because of the possible dynamic editor selection entries.

the values of all parameter methods of this workplace class instance




setParamNewPassword
public void setParamNewPassword(String newPwd)(Code)
Sets the new password value.


Parameters:
  newPwd - the new password value




setParamOldPassword
public void setParamOldPassword(String oldPwd)(Code)
Sets the old password value.


Parameters:
  oldPwd - the old password value




setParamTabDiCopyFileMode
public void setParamTabDiCopyFileMode(String value)(Code)
Sets the "copy file default" setting.


Parameters:
  value - the "copy file default" setting




setParamTabDiCopyFolderMode
public void setParamTabDiCopyFolderMode(String value)(Code)
Sets the "copy folder default" setting.


Parameters:
  value - the "copy folder default" setting




setParamTabDiDeleteFileMode
public void setParamTabDiDeleteFileMode(String value)(Code)
Sets the "delete file siblings default" setting.


Parameters:
  value - the "delete file siblings default" setting




setParamTabDiPermissionsExpandInherited
public void setParamTabDiPermissionsExpandInherited(String value)(Code)
Sets the "expand inherited permissions" default setting.


Parameters:
  value - the "expand inherited permissions" default setting




setParamTabDiPermissionsExpandUser
public void setParamTabDiPermissionsExpandUser(String value)(Code)
Sets the "expand current users permissions" default setting.


Parameters:
  value - the "expand current users permissions" default setting




setParamTabDiPermissionsInheritOnFolder
public void setParamTabDiPermissionsInheritOnFolder(String value)(Code)
Sets the "inherit permissions on folders" default setting.


Parameters:
  value - the "inherit permissions on folders" default setting




setParamTabDiPublishFileMode
public void setParamTabDiPublishFileMode(String value)(Code)
Sets the "publish file siblings default" setting.


Parameters:
  value - the "publish file siblings default" setting




setParamTabDiShowLock
public void setParamTabDiShowLock(String value)(Code)
Sets the "display lock dialog" setting.


Parameters:
  value - "true" to enable the "display lock dialog" setting, all others to disable




setParamTabEdButtonStyle
public void setParamTabEdButtonStyle(String value)(Code)
Sets the "editor button style" setting.


Parameters:
  value - a String representation of an int value to set the "editor button style" setting




setParamTabEdDirectEditButtonStyle
public void setParamTabEdDirectEditButtonStyle(String value)(Code)
Sets the "direct edit button style" setting.


Parameters:
  value - a String representation of an int value to set the "direct edit button style" setting




setParamTabExButtonStyle
public void setParamTabExButtonStyle(String value)(Code)
Sets the "explorer button style" setting.


Parameters:
  value - a String representation of an int value to set the "explorer button style" setting




setParamTabExFileDateCreated
public void setParamTabExFileDateCreated(String value)(Code)
Sets the "display file creation date" setting.


Parameters:
  value - "true" to enable the "display file creation date" setting, all others to disable




setParamTabExFileDateExpired
public void setParamTabExFileDateExpired(String value)(Code)
Sets the "display file expired date" setting.


Parameters:
  value - "true" to enable the "display file expired date" setting, all others to disable




setParamTabExFileDateLastModified
public void setParamTabExFileDateLastModified(String value)(Code)
Sets the "display file last modification date" setting.


Parameters:
  value - "true" to enable the "display file last modification date" setting, all others to disable




setParamTabExFileDateReleased
public void setParamTabExFileDateReleased(String value)(Code)
Sets the "display file released date" setting.


Parameters:
  value - "true" to enable the "display file released date" setting, all others to disable




setParamTabExFileEntries
public void setParamTabExFileEntries(String value)(Code)
Sets the "explorer number of entries per page" setting.


Parameters:
  value - a String representation of an int value to set the "number of entries per page" setting




setParamTabExFileLockedBy
public void setParamTabExFileLockedBy(String value)(Code)
Sets the "display file locked by" setting.


Parameters:
  value - "true" to enable the "display file locked by" setting, all others to disable




setParamTabExFileNavText
public void setParamTabExFileNavText(String value)(Code)
Sets the "display file navtext" setting.


Parameters:
  value - "true" to enable the "display file navtext" setting, all others to disable




setParamTabExFilePermissions
public void setParamTabExFilePermissions(String value)(Code)
Sets the "display file permissions" setting.


Parameters:
  value - "true" to enable the "display file permissions" setting, all others to disable




setParamTabExFileSize
public void setParamTabExFileSize(String value)(Code)
Sets the "display file size" setting.


Parameters:
  value - "true" to enable the "display file size" setting, all others to disable




setParamTabExFileState
public void setParamTabExFileState(String value)(Code)
Sets the "display file state" setting.


Parameters:
  value - "true" to enable the "display file state" setting, all others to disable




setParamTabExFileTitle
public void setParamTabExFileTitle(String value)(Code)
Sets the "display file title" setting.


Parameters:
  value - "true" to enable the "display file title" setting, all others to disable




setParamTabExFileType
public void setParamTabExFileType(String value)(Code)
Sets the "display file type" setting.


Parameters:
  value - "true" to enable the "display file type" setting, all others to disable




setParamTabExFileUserCreated
public void setParamTabExFileUserCreated(String value)(Code)
Sets the "display file created by" setting.


Parameters:
  value - "true" to enable the "display file created by" setting, all others to disable




setParamTabExFileUserLastModified
public void setParamTabExFileUserLastModified(String value)(Code)
Sets the "display file last modified by" setting.


Parameters:
  value - "true" to enable the "display file last modified by" setting, all others to disable




setParamTabExWorkplaceSearchResult
public void setParamTabExWorkplaceSearchResult(String style)(Code)
Sets the "workplace search result style".


Parameters:
  style - the "workplace search result style" to set




setParamTabWpButtonStyle
public void setParamTabWpButtonStyle(String value)(Code)
Sets the "workplace button style" setting.


Parameters:
  value - a String representation of an int value to set the "workplace button style" setting




setParamTabWpFolder
public void setParamTabWpFolder(String value)(Code)
Sets the "start folder" setting.


Parameters:
  value - the start folder to show in the explorer view




setParamTabWpLanguage
public void setParamTabWpLanguage(String value)(Code)
Sets the start language setting.


Parameters:
  value - the start language setting




setParamTabWpProject
public void setParamTabWpProject(String value)(Code)
Sets the start project setting.


Parameters:
  value - the start project setting




setParamTabWpReportType
public void setParamTabWpReportType(String value)(Code)
Sets the "workplace report type" setting.


Parameters:
  value - the "workplace report type" setting




setParamTabWpRestrictExplorerView
public void setParamTabWpRestrictExplorerView(String value)(Code)
Sets the "workplace restrict explorer view" setting.


Parameters:
  value - the "workplace restrict explorer view" setting




setParamTabWpShowPublishNotification
public void setParamTabWpShowPublishNotification(String value)(Code)
Sets the "show publish notification" setting.


Parameters:
  value - "true" to enable the "show publish notification" setting, all others todisable




setParamTabWpSite
public void setParamTabWpSite(String value)(Code)
Sets the "start site" setting.


Parameters:
  value - the start site to show in the explorer view




setParamTabWpTimeWarp
public void setParamTabWpTimeWarp(String value)(Code)
Sets the "user timewparp" setting.

To delete a timewarp setting for the current user, provide "-" as value.


Parameters:
  value - a String representation of an date in the formate as required byCmsCalendarWidget.getCalendarDate(org.opencms.i18n.CmsMessagesStringboolean)




setParamTabWpUseUploadApplet
public void setParamTabWpUseUploadApplet(String value)(Code)
Sets the "use upload applet" setting.


Parameters:
  value - "true" to enable the "use upload applet" setting, all others todisable




setParamTabWpView
public void setParamTabWpView(String value)(Code)
Sets the start view setting.


Parameters:
  value - the start view setting




updatePreferences
protected void updatePreferences(CmsObject cms, HttpServletRequest req)(Code)
Updates the user preferences after changes have been made.


Parameters:
  cms - the current cms context
Parameters:
  req - the current http request




Fields inherited from org.opencms.workplace.CmsTabDialog
final public static int ACTION_SWITCHTAB(Code)(Java Doc)
final public static String DIALOG_SWITCHTAB(Code)(Java Doc)
final public static String PARAM_SETPRESSED(Code)(Java Doc)
final public static String PARAM_TAB(Code)(Java Doc)

Methods inherited from org.opencms.workplace.CmsTabDialog
public String dialogTabContent(int segment, String title, String attributes)(Code)(Java Doc)
public String dialogTabContentEnd()(Code)(Java Doc)
public String dialogTabContentStart(String title)(Code)(Java Doc)
public String dialogTabContentStart(String title, String attributes)(Code)(Java Doc)
public String dialogTabRow()(Code)(Java Doc)
public int getActiveTab()(Code)(Java Doc)
public String getActiveTabName()(Code)(Java Doc)
public String getParamSetPressed()(Code)(Java Doc)
public String getParamTab()(Code)(Java Doc)
abstract public List getTabParameterOrder()(Code)(Java Doc)
abstract public List getTabs()(Code)(Java Doc)
public String htmlStart()(Code)(Java Doc)
public String htmlStart(String helpUrl)(Code)(Java Doc)
public String paramsAsHidden()(Code)(Java Doc)
public void setParamSetPressed(String value)(Code)(Java Doc)
public void setParamTab(String value)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.