Java Doc for CmsDialog.java in  » Content-Management-System » opencms » org » opencms » workplace » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.opencms.workplace.CmsWorkplace
      org.opencms.workplace.tools.CmsToolDialog
         org.opencms.workplace.CmsDialog

All known Subclasses:   org.opencms.workplace.tools.modules.CmsModulesDelete,  org.opencms.workplace.commons.CmsCommentImages,  com.alkacon.opencms.newsletter.admin.CmsNewsletterEditorWrapper,  org.opencms.workplace.administration.A_CmsImportFromHttp,  org.opencms.workplace.editors.CmsPreEditorAction,  org.opencms.workplace.commons.CmsSecure,  org.opencms.workplace.commons.CmsDeletedResources,  org.opencms.workplace.commons.CmsRenameImages,  org.opencms.workplace.galleries.CmsOpenGallery,  org.opencms.workplace.tools.CmsExplorerDialog,  org.opencms.workplace.commons.CmsChacc,  org.opencms.workplace.list.A_CmsListDialog,  org.opencms.workplace.search.CmsSearchEditorWrapper,  org.opencms.workplace.tools.content.CmsPropertyDelete,  org.opencms.workplace.help.CmsHelpTemplateBean,  org.opencms.editors.fckeditor.CmsFCKEditorFileBrowser,  org.opencms.workplace.list.CmsListPrintDialog,  org.opencms.workplace.commons.CmsChnav,  org.opencms.workplace.comparison.CmsPointerComparisonDialog,  org.opencms.workplace.comparison.CmsResourceComparisonDialog,  org.opencms.workplace.tools.workplace.rfsfile.CmsRfsFileDownloadDialog,  org.opencms.workplace.CmsWidgetDialog,  org.opencms.workplace.administration.CmsAdminDialog,  org.opencms.workplace.commons.CmsReplace,  org.opencms.workplace.comparison.CmsImageComparisonDialog,  org.opencms.workplace.administration.CmsAdminEditorWrapper,  org.opencms.workplace.list.CmsListCsvExportDialog,  org.opencms.workplace.CmsTabDialog,  org.opencms.workplace.editors.CmsEditorBase,  org.opencms.workplace.galleries.A_CmsGallery,  org.opencms.editors.fckeditor.CmsFCKEditorDialogImage,  org.opencms.workplace.editors.CmsDialogElements,  org.opencms.workplace.commons.CmsCopyToProject,  org.opencms.workplace.CmsMultiDialog,  org.opencms.workplace.commons.CmsEditPointer,  org.opencms.workplace.tools.workplace.CmsReInitWorkplace,  org.opencms.workplace.tools.content.CmsPropertyChange,  org.opencms.workplace.comparison.A_CmsDiffViewDialog,  org.opencms.workplace.commons.CmsDisplayResource,
CmsDialog
public class CmsDialog extends CmsToolDialog (Code)
Provides methods for building the dialog windows of OpenCms.


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



Field Summary
final public static  intACTION_CANCEL
     Value for the action: cancel.
final public static  intACTION_CLOSEPOPUP
     Value for the action: close popup window.
final public static  intACTION_CLOSEPOPUP_SAVE
     Value for the action: save & close popup window.
final public static  intACTION_CONFIRMED
     Value for the action: confirmed.
final public static  intACTION_CONTINUE
     Value for the action: continue.
final public static  intACTION_DEFAULT
     Value for the action: default (show initial dialog form).
final public static  intACTION_LOCKS_CONFIRMED
     Value for the action: locks confirmed.
final public static  intACTION_OK
     Value for the action: ok.
final public static  intACTION_REPORT_BEGIN
     Value for the action: begin the report.
final public static  intACTION_REPORT_END
     Value for the action: end the report.
final public static  intACTION_REPORT_UPDATE
     Value for the action: update the report.
final public static  intACTION_SET
     Value for the action: button "set" clicked.
final public static  intACTION_WAIT
     Value for the action: wait (show please wait screen).
final protected static  StringATTRIBUTE_THROWABLE
     Key name for the throwable attribute.
final public static  intBUTTON_ADVANCED
     Constant for the "Advanced" button in the build button methods.
final public static  intBUTTON_BACK
     Constant for the "Back" button in the build button methods.
final public static  intBUTTON_CANCEL
     Constant for the "Cancel" button in the build button methods.
final public static  intBUTTON_CLOSE
     Constant for the "Close" button in the build button methods.
final public static  intBUTTON_CONTINUE
     Constant for the "Continue" button in the build button methods.
final public static  intBUTTON_DETAILS
     Constant for the "Details" button in the build button methods.
final public static  intBUTTON_DISCARD
     Constant for the "Discard" button in the build button methods (same function as "Cancel" button but different text on button.
final public static  intBUTTON_EDIT
     Constant for the "Edit" button in the build button methods (same function as "Ok" button but different text on button.
final public static  intBUTTON_OK
     Constant for the "OK" button in the build button methods.
final public static  intBUTTON_OK_NO_SUBMIT
     Constant for the "OK" button in the build button methods (without form submission).
final public static  intBUTTON_SET
     Constant for the "Set" button in the build button methods.
final public static  StringDIALOG_BACK
     Request parameter value for the action: back.
final public static  StringDIALOG_CANCEL
     Request parameter value for the action: cancel.
final public static  StringDIALOG_CONFIRMED
     Request parameter value for the action: dialog confirmed.
final public static  StringDIALOG_CONTINUE
     Request parameter value for the action: continue.
final public static  StringDIALOG_INITIAL
     Request parameter value for the action: initial call.
final public static  StringDIALOG_LOCKS_CONFIRMED
     Request parameter value for the action: dialog locks confirmed.
final public static  StringDIALOG_OK
     Request parameter value for the action: ok.
final public static  StringDIALOG_SET
     Request parameter value for the action: set.
final public static  StringDIALOG_WAIT
     Request parameter value for the action: show please wait screen.
final public static  StringPARAM_ACTION
     Request parameter name for the action.
final public static  StringPARAM_CLOSELINK
     Request parameter name for the closelink.
final public static  StringPARAM_DIALOGTYPE
     Request parameter name for the dialog type.
final public static  StringPARAM_ERRORSTACK
     Request parameter name for the error stack.
final public static  StringPARAM_FILE
     Request parameter name for the file.
final public static  StringPARAM_FRAMENAME
     Request parameter name for the frame name.
final public static  StringPARAM_ISPOPUP
     Request parameter name for the "is popup" flag.
final public static  StringPARAM_LOCK
     Request parameter name for the lock.
final public static  StringPARAM_MESSAGE
     Request parameter name for the error message.
final public static  StringPARAM_ORIGINALPARAMS
     Request parameter name for the originalparams.
final public static  StringPARAM_PREACTIONDONE
     Request parameter name for the preactiondone.
final public static  StringPARAM_REDIRECT
     Request parameter name for the redirect flag.
final public static  StringPARAM_RESOURCE
     Request parameter name for the resource.
final public static  StringPARAM_TARGET
     Request parameter name for the target.
final public static  StringPARAM_THREAD
     Request parameter name for the thread id.
final public static  StringPARAM_THREAD_HASNEXT
     Request parameter name for indicating if another thread is following the current one.
final public static  StringPARAM_TITLE
     Request parameter name for the dialog title.
final public static  StringREPORT_BEGIN
     Request parameter value for the action: begin the report.
final public static  StringREPORT_END
     Request parameter value for the action: end the report.
final public static  StringREPORT_UPDATE
     Request parameter value for the action: update the report.

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

Method Summary
public  voidactionCloseDialog()
     Used to close the current JSP dialog.

This method tries to include the URI stored in the workplace settings.

protected  StringappendDelimiter(String attribute)
     Appends a space char.
public  StringbuildAjaxResultContainer(String title)
    
protected  StringbuildAjaxWaitMessage()
    
public  StringbuildLockAdditionalOptions()
    
public  StringbuildLockConfirmationMessageJS()
    
public  StringbuildLockDialog()
    
public  StringbuildLockDialog(CmsLockFilter nonBlockingFilter, CmsLockFilter blockingFilter, int hiddenTimeout, boolean includeRelated)
    
public  StringbuildLockHeaderBox()
    
protected  booleancheckResourcePermissions(CmsPermissionSet required, boolean neededForFolder)
     Checks if the permissions of the current user on the resource to use in the dialog are sufficient.

Automatically generates a CmsMessageContainer object with an error message and stores it in the users session.


Parameters:
  required - the required permissions for the dialog
Parameters:
  neededForFolder - if true, the permissions are required for the parent folder of the resource (e.g.

protected  booleancheckResourcePermissions(CmsPermissionSet required, boolean neededForFolder, CmsMessageContainer errorMessage)
     Checks if the permissions of the current user on the resource to use in the dialog are sufficient.

Automatically generates a CmsMessageContainer object with an error message and stores it in the users session.


Parameters:
  required - the required permissions for the dialog
Parameters:
  neededForFolder - if true, the permissions are required for the parent folder of the resource (e.g.

protected  StringcomputeCurrentFolder()
    
public  Stringdialog(int segment, String attributes)
    
public  StringdialogBlock(int segment, String headline, boolean error)
    
public  StringdialogBlockEnd()
    
public  StringdialogBlockStart(String headline)
    
public  StringdialogButtonRow(int segment)
    
public  StringdialogButtonRowEnd()
    
public  StringdialogButtonRowStart()
    
public  StringdialogButtons(int[] buttons, String[] attributes)
    
public  StringdialogButtonsClose()
    
public  StringdialogButtonsClose(String closeAttribute)
    
public  StringdialogButtonsCloseDetails(String closeAttribute, String detailsAttribute)
    
protected  voiddialogButtonsHtml(StringBuffer result, int button, String attribute)
    
public  StringdialogButtonsOk()
    
public  StringdialogButtonsOk(String okAttribute)
    
public  StringdialogButtonsOkCancel()
    
public  StringdialogButtonsOkCancel(String okAttributes, String cancelAttributes)
    
public  StringdialogButtonsOkCancelAdvanced(String okAttributes, String cancelAttributes, String advancedAttributes)
    
public  StringdialogButtonsSetOkCancel(String setAttributes, String okAttributes, String cancelAttributes)
    
public  StringdialogContent(int segment, String title)
    
public  StringdialogContentEnd()
    
public  StringdialogContentStart(String title)
    
public  StringdialogEnd()
    
public  StringdialogHead(String title)
    
public  StringdialogHorizontalSpacer(int width)
    
public  StringdialogLockButtons()
    
public  StringdialogRow(int segment)
    
public  StringdialogRowEnd()
    
public  StringdialogRowStart()
    
public  StringdialogScriptSubmit()
    
public  StringdialogSeparator()
    
public  StringdialogSpacer()
    
public  StringdialogStart()
    
public  StringdialogStart(String attributes)
    
public  StringdialogSubheadline(String headline)
    
public  StringdialogToggleStart(String headline, String id, boolean show)
    
public  StringdialogWhiteBox(int segment)
    
public  StringdialogWhiteBoxEnd()
    
public  StringdialogWhiteBoxStart()
    
public  intgetAction()
    
protected  StringgetAdministrationBackLink()
    
public  StringgetCancelAction()
    
public  StringgetDialogRealUri()
    
public  StringgetDialogUri()
     Returns the http URI of the current dialog, to be used as value for the "action" attribute of a html form.

This URI could not be really the real one...

public  StringgetOnlineHelpUriCustom()
    
public  StringgetParamAction()
     Returns the value of the action parameter, or null if this parameter was not provided.

The action parameter is very important, it will select the dialog action to perform.

public  StringgetParamCloseLink()
    
public  StringgetParamDialogtype()
     Returns the value of the dialogtype parameter, or null if this parameter was not provided.

This parameter is very important.

public  StringgetParamFramename()
    
public  StringgetParamIsPopup()
    
public  StringgetParamMessage()
    
public  StringgetParamOriginalParams()
    
public  StringgetParamPreActionDone()
    
public  StringgetParamRedirect()
    
public  StringgetParamResource()
    
public  StringgetParamTitle()
     Returns the value of the title parameter, or null if this parameter was not provided.

This parameter is used to build the title of the dialog.

public  StringgetState()
    
public  booleanhasCorrectLockstate()
     Checks if the current resource has lock state exclusive or inherited.

This is used to determine whether the dialog shows the option to delete all siblings of the resource or not.

public  booleanhasSiblings()
    
public  StringhtmlStart()
    
public  StringhtmlStart(String helpUrl)
    
public  StringhtmlStart(String helpUrl, String title)
    
public  StringhtmlStartStyle(String title, String stylesheet)
    
public  voidincludeErrorpage(CmsWorkplace wp, Throwable t)
    
public static  CmsDialoginitCmsDialog(PageContext context, HttpServletRequest req, HttpServletResponse res)
     Returns an initialized CmsDialog instance that is read from the request attributes.

This method is used by dialog elements.

protected  voidinitWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)
    
public  booleanisPopup()
    
public  booleanisPreEditor()
    
public  StringpageHtml(int segment, String helpUrl)
    
public  StringpageHtml(int segment, String helpUrl, String title)
    
protected  voidsetAction(int value)
    
public  voidsetOnlineHelpUriCustom(String uri)
     Set the custom mapping for the online help.
public  voidsetParamAction(String value)
    
public  voidsetParamCloseLink(String value)
    
public  voidsetParamDialogtype(String value)
    
public  voidsetParamFramename(String value)
    
public  voidsetParamIsPopup(String value)
    
public  voidsetParamMessage(String value)
    
public  voidsetParamOriginalParams(String paramOriginalParams)
    
public  voidsetParamPreActionDone(String paramPreActionDone)
    
public  voidsetParamRedirect(String redirect)
    
public  voidsetParamResource(String value)
    
public  voidsetParamTitle(String value)
    

Field Detail
ACTION_CANCEL
final public static int ACTION_CANCEL(Code)
Value for the action: cancel.



ACTION_CLOSEPOPUP
final public static int ACTION_CLOSEPOPUP(Code)
Value for the action: close popup window.



ACTION_CLOSEPOPUP_SAVE
final public static int ACTION_CLOSEPOPUP_SAVE(Code)
Value for the action: save & close popup window.



ACTION_CONFIRMED
final public static int ACTION_CONFIRMED(Code)
Value for the action: confirmed.



ACTION_CONTINUE
final public static int ACTION_CONTINUE(Code)
Value for the action: continue.



ACTION_DEFAULT
final public static int ACTION_DEFAULT(Code)
Value for the action: default (show initial dialog form).



ACTION_LOCKS_CONFIRMED
final public static int ACTION_LOCKS_CONFIRMED(Code)
Value for the action: locks confirmed.



ACTION_OK
final public static int ACTION_OK(Code)
Value for the action: ok.



ACTION_REPORT_BEGIN
final public static int ACTION_REPORT_BEGIN(Code)
Value for the action: begin the report.



ACTION_REPORT_END
final public static int ACTION_REPORT_END(Code)
Value for the action: end the report.



ACTION_REPORT_UPDATE
final public static int ACTION_REPORT_UPDATE(Code)
Value for the action: update the report.



ACTION_SET
final public static int ACTION_SET(Code)
Value for the action: button "set" clicked.



ACTION_WAIT
final public static int ACTION_WAIT(Code)
Value for the action: wait (show please wait screen).



ATTRIBUTE_THROWABLE
final protected static String ATTRIBUTE_THROWABLE(Code)
Key name for the throwable attribute.



BUTTON_ADVANCED
final public static int BUTTON_ADVANCED(Code)
Constant for the "Advanced" button in the build button methods.



BUTTON_BACK
final public static int BUTTON_BACK(Code)
Constant for the "Back" button in the build button methods.



BUTTON_CANCEL
final public static int BUTTON_CANCEL(Code)
Constant for the "Cancel" button in the build button methods.



BUTTON_CLOSE
final public static int BUTTON_CLOSE(Code)
Constant for the "Close" button in the build button methods.



BUTTON_CONTINUE
final public static int BUTTON_CONTINUE(Code)
Constant for the "Continue" button in the build button methods.



BUTTON_DETAILS
final public static int BUTTON_DETAILS(Code)
Constant for the "Details" button in the build button methods.



BUTTON_DISCARD
final public static int BUTTON_DISCARD(Code)
Constant for the "Discard" button in the build button methods (same function as "Cancel" button but different text on button.



BUTTON_EDIT
final public static int BUTTON_EDIT(Code)
Constant for the "Edit" button in the build button methods (same function as "Ok" button but different text on button.



BUTTON_OK
final public static int BUTTON_OK(Code)
Constant for the "OK" button in the build button methods.



BUTTON_OK_NO_SUBMIT
final public static int BUTTON_OK_NO_SUBMIT(Code)
Constant for the "OK" button in the build button methods (without form submission).



BUTTON_SET
final public static int BUTTON_SET(Code)
Constant for the "Set" button in the build button methods.



DIALOG_BACK
final public static String DIALOG_BACK(Code)
Request parameter value for the action: back.



DIALOG_CANCEL
final public static String DIALOG_CANCEL(Code)
Request parameter value for the action: cancel.



DIALOG_CONFIRMED
final public static String DIALOG_CONFIRMED(Code)
Request parameter value for the action: dialog confirmed.



DIALOG_CONTINUE
final public static String DIALOG_CONTINUE(Code)
Request parameter value for the action: continue.



DIALOG_INITIAL
final public static String DIALOG_INITIAL(Code)
Request parameter value for the action: initial call.



DIALOG_LOCKS_CONFIRMED
final public static String DIALOG_LOCKS_CONFIRMED(Code)
Request parameter value for the action: dialog locks confirmed.



DIALOG_OK
final public static String DIALOG_OK(Code)
Request parameter value for the action: ok.



DIALOG_SET
final public static String DIALOG_SET(Code)
Request parameter value for the action: set.



DIALOG_WAIT
final public static String DIALOG_WAIT(Code)
Request parameter value for the action: show please wait screen.



PARAM_ACTION
final public static String PARAM_ACTION(Code)
Request parameter name for the action.



PARAM_CLOSELINK
final public static String PARAM_CLOSELINK(Code)
Request parameter name for the closelink.



PARAM_DIALOGTYPE
final public static String PARAM_DIALOGTYPE(Code)
Request parameter name for the dialog type.



PARAM_ERRORSTACK
final public static String PARAM_ERRORSTACK(Code)
Request parameter name for the error stack.



PARAM_FILE
final public static String PARAM_FILE(Code)
Request parameter name for the file.



PARAM_FRAMENAME
final public static String PARAM_FRAMENAME(Code)
Request parameter name for the frame name.



PARAM_ISPOPUP
final public static String PARAM_ISPOPUP(Code)
Request parameter name for the "is popup" flag.



PARAM_LOCK
final public static String PARAM_LOCK(Code)
Request parameter name for the lock.



PARAM_MESSAGE
final public static String PARAM_MESSAGE(Code)
Request parameter name for the error message.



PARAM_ORIGINALPARAMS
final public static String PARAM_ORIGINALPARAMS(Code)
Request parameter name for the originalparams.



PARAM_PREACTIONDONE
final public static String PARAM_PREACTIONDONE(Code)
Request parameter name for the preactiondone.



PARAM_REDIRECT
final public static String PARAM_REDIRECT(Code)
Request parameter name for the redirect flag.



PARAM_RESOURCE
final public static String PARAM_RESOURCE(Code)
Request parameter name for the resource.



PARAM_TARGET
final public static String PARAM_TARGET(Code)
Request parameter name for the target.



PARAM_THREAD
final public static String PARAM_THREAD(Code)
Request parameter name for the thread id.



PARAM_THREAD_HASNEXT
final public static String PARAM_THREAD_HASNEXT(Code)
Request parameter name for indicating if another thread is following the current one.



PARAM_TITLE
final public static String PARAM_TITLE(Code)
Request parameter name for the dialog title.



REPORT_BEGIN
final public static String REPORT_BEGIN(Code)
Request parameter value for the action: begin the report.



REPORT_END
final public static String REPORT_END(Code)
Request parameter value for the action: end the report.



REPORT_UPDATE
final public static String REPORT_UPDATE(Code)
Request parameter value for the action: update the report.




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


Parameters:
  jsp - an initialized JSP action element




CmsDialog
public CmsDialog(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
actionCloseDialog
public void actionCloseDialog() throws JspException(Code)
Used to close the current JSP dialog.

This method tries to include the URI stored in the workplace settings. This URI is determined by the frame name, which has to be set in the framename parameter.


throws:
  JspException - if including an element fails




appendDelimiter
protected String appendDelimiter(String attribute)(Code)
Appends a space char. between tag attribs.


Parameters:
  attribute - a tag attribute the tag attribute with a leading space char.




buildAjaxResultContainer
public String buildAjaxResultContainer(String title)(Code)
Returns the html code to build the ajax report container.


Parameters:
  title - the title of the report box html code




buildAjaxWaitMessage
protected String buildAjaxWaitMessage()(Code)
Returns ajax wait message.

html code




buildLockAdditionalOptions
public String buildLockAdditionalOptions()(Code)
Override to display additional options in the lock dialog.

html code to display additional options




buildLockConfirmationMessageJS
public String buildLockConfirmationMessageJS()(Code)
Returns the html code to build the confirmation messages.

html code




buildLockDialog
public String buildLockDialog() throws CmsException(Code)
Returns the html code to build the lock dialog.

html code
throws:
  CmsException - if something goes wrong




buildLockDialog
public String buildLockDialog(CmsLockFilter nonBlockingFilter, CmsLockFilter blockingFilter, int hiddenTimeout, boolean includeRelated) throws CmsException(Code)
Returns the html code to build the lock dialog.


Parameters:
  nonBlockingFilter - the filter to get all non blocking locks
Parameters:
  blockingFilter - the filter to get all blocking locks
Parameters:
  hiddenTimeout - the maximal number of millis the dialog will be hidden
Parameters:
  includeRelated - indicates if the report should include related resources html code
throws:
  CmsException - if something goes wrong




buildLockHeaderBox
public String buildLockHeaderBox() throws CmsException(Code)
Returns the html code to build the header box.

html code
throws:
  CmsException - if something goes wrong




checkResourcePermissions
protected boolean checkResourcePermissions(CmsPermissionSet required, boolean neededForFolder)(Code)
Checks if the permissions of the current user on the resource to use in the dialog are sufficient.

Automatically generates a CmsMessageContainer object with an error message and stores it in the users session.


Parameters:
  required - the required permissions for the dialog
Parameters:
  neededForFolder - if true, the permissions are required for the parent folder of the resource (e.g. for editors) true if the permissions are sufficient, otherwise false




checkResourcePermissions
protected boolean checkResourcePermissions(CmsPermissionSet required, boolean neededForFolder, CmsMessageContainer errorMessage)(Code)
Checks if the permissions of the current user on the resource to use in the dialog are sufficient.

Automatically generates a CmsMessageContainer object with an error message and stores it in the users session.


Parameters:
  required - the required permissions for the dialog
Parameters:
  neededForFolder - if true, the permissions are required for the parent folder of the resource (e.g. for editors)
Parameters:
  errorMessage - the message container that is stored in the session in case the permissions are not sufficient true if the permissions are sufficient, otherwise false




computeCurrentFolder
protected String computeCurrentFolder()(Code)
Returns the full path of the current workplace folder.

the full path of the current workplace folder




dialog
public String dialog(int segment, String attributes)(Code)
Builds the outer dialog window border.


Parameters:
  segment - the HTML segment (START / END)
Parameters:
  attributes - optional additional attributes for the opening dialog table a dialog window start / end segment




dialogBlock
public String dialogBlock(int segment, String headline, boolean error)(Code)
Builds a block with 3D border and optional subheadline in the dialog content area.


Parameters:
  segment - the HTML segment (START / END)
Parameters:
  headline - the headline String for the block
Parameters:
  error - if true, an error block will be created 3D block start / end segment




dialogBlockEnd
public String dialogBlockEnd()(Code)
Builds the end HTML for a block with 3D border in the dialog content area.

3D block start / end segment




dialogBlockStart
public String dialogBlockStart(String headline)(Code)
Builds the start HTML for a block with 3D border and optional subheadline in the dialog content area.


Parameters:
  headline - the headline String for the block 3D block start / end segment




dialogButtonRow
public String dialogButtonRow(int segment)(Code)
Builds the button row under the dialog content area without the buttons.


Parameters:
  segment - the HTML segment (START / END) the button row start / end segment




dialogButtonRowEnd
public String dialogButtonRowEnd()(Code)
Builds the end of the button row under the dialog content area without the buttons.

the button row end segment




dialogButtonRowStart
public String dialogButtonRowStart()(Code)
Builds the start of the button row under the dialog content area without the buttons.

the button row start segment




dialogButtons
public String dialogButtons(int[] buttons, String[] attributes)(Code)
Builds the html for the button row under the dialog content area, including buttons.


Parameters:
  buttons - array of constants of which buttons to include in the row
Parameters:
  attributes - array of Strings for additional button attributes the html for the button row under the dialog content area, including buttons




dialogButtonsClose
public String dialogButtonsClose()(Code)
Builds a button row with a single "close" button.

the button row




dialogButtonsClose
public String dialogButtonsClose(String closeAttribute)(Code)
Builds a button row with a single "close" button.


Parameters:
  closeAttribute - additional attributes for the "close" button the button row




dialogButtonsCloseDetails
public String dialogButtonsCloseDetails(String closeAttribute, String detailsAttribute)(Code)
Builds a button row with a "close" and a "details" button.


Parameters:
  closeAttribute - additional attributes for the "close" button
Parameters:
  detailsAttribute - additional attributes for the "details" button the button row




dialogButtonsHtml
protected void dialogButtonsHtml(StringBuffer result, int button, String attribute)(Code)
Renders the HTML for a single input button of a specified type.


Parameters:
  result - a string buffer where the rendered HTML gets appended to
Parameters:
  button - a integer key to identify the button
Parameters:
  attribute - an optional string with possible tag attributes, or null




dialogButtonsOk
public String dialogButtonsOk()(Code)
Builds a button row with a single "ok" button.

the button row




dialogButtonsOk
public String dialogButtonsOk(String okAttribute)(Code)
Builds a button row with a single "ok" button.


Parameters:
  okAttribute - additional attributes for the "ok" button the button row




dialogButtonsOkCancel
public String dialogButtonsOkCancel()(Code)
Builds a button row with an "ok" and a "cancel" button.

the button row




dialogButtonsOkCancel
public String dialogButtonsOkCancel(String okAttributes, String cancelAttributes)(Code)
Builds a button row with an "ok" and a "cancel" button.


Parameters:
  okAttributes - additional attributes for the "ok" button
Parameters:
  cancelAttributes - additional attributes for the "cancel" button the button row




dialogButtonsOkCancelAdvanced
public String dialogButtonsOkCancelAdvanced(String okAttributes, String cancelAttributes, String advancedAttributes)(Code)
Builds a button row with an "ok", a "cancel" and an "advanced" button.


Parameters:
  okAttributes - additional attributes for the "ok" button
Parameters:
  cancelAttributes - additional attributes for the "cancel" button
Parameters:
  advancedAttributes - additional attributes for the "advanced" button the button row




dialogButtonsSetOkCancel
public String dialogButtonsSetOkCancel(String setAttributes, String okAttributes, String cancelAttributes)(Code)
Builds a button row with a "set", an "ok", and a "cancel" button.


Parameters:
  setAttributes - additional attributes for the "set" button
Parameters:
  okAttributes - additional attributes for the "ok" button
Parameters:
  cancelAttributes - additional attributes for the "cancel" button the button row




dialogContent
public String dialogContent(int segment, String title)(Code)
Builds the content area of the dialog window.


Parameters:
  segment - the HTML segment (START / END)
Parameters:
  title - the title String for the dialog window a content area start / end segment




dialogContentEnd
public String dialogContentEnd()(Code)
Returns the end html for the content area of the dialog window.

the end html for the content area of the dialog window




dialogContentStart
public String dialogContentStart(String title)(Code)
Returns the start html for the content area of the dialog window.


Parameters:
  title - the title for the dialog the start html for the content area of the dialog window




dialogEnd
public String dialogEnd()(Code)
Returns the end html for the outer dialog window border.

the end html for the outer dialog window border




dialogHead
public String dialogHead(String title)(Code)
Builds the title of the dialog window.


Parameters:
  title - the title String for the dialog window the HTML title String for the dialog window




dialogHorizontalSpacer
public String dialogHorizontalSpacer(int width)(Code)
Builds an invisible horiziontal spacer with the specified width.


Parameters:
  width - the width of the spacer in pixels an invisible horiziontal spacer with the specified width




dialogLockButtons
public String dialogLockButtons()(Code)
Builds the necessary button row.

the button row




dialogRow
public String dialogRow(int segment)(Code)
Builds a dialog line without break (display: block).


Parameters:
  segment - the HTML segment (START / END) a row start / end segment




dialogRowEnd
public String dialogRowEnd()(Code)
Builds the end of a dialog line without break (display: block).

the row end segment




dialogRowStart
public String dialogRowStart()(Code)
Builds the start of a dialog line without break (display: block).

the row start segment




dialogScriptSubmit
public String dialogScriptSubmit()(Code)
Builds the standard javascript for submitting the dialog.

the standard javascript for submitting the dialog




dialogSeparator
public String dialogSeparator()(Code)
Builds a horizontal separator line in the dialog content area.

a separator element




dialogSpacer
public String dialogSpacer()(Code)
Builds a space between two elements in the dialog content area.

a space element




dialogStart
public String dialogStart()(Code)
Returns the start html for the outer dialog window border.

the start html for the outer dialog window border




dialogStart
public String dialogStart(String attributes)(Code)
Returns the start html for the outer dialog window border.


Parameters:
  attributes - optional html attributes to insert the start html for the outer dialog window border




dialogSubheadline
public String dialogSubheadline(String headline)(Code)
Builds a subheadline in the dialog content area.


Parameters:
  headline - the desired headline string a subheadline element




dialogToggleStart
public String dialogToggleStart(String headline, String id, boolean show)(Code)
Builds the HTML code to fold and unfild a white-box.


Parameters:
  headline - the heading to display
Parameters:
  id - the id of the toggle
Parameters:
  show - true if the white box is open at the beginning HTML code to fold and unfild a white-box




dialogWhiteBox
public String dialogWhiteBox(int segment)(Code)
Builds a white box in the dialog content area.


Parameters:
  segment - the HTML segment (START / END) the white box start / end segment




dialogWhiteBoxEnd
public String dialogWhiteBoxEnd()(Code)
Builds the end of a white box in the dialog content area.

the white box end segment




dialogWhiteBoxStart
public String dialogWhiteBoxStart()(Code)
Builds the start of a white box in the dialog content area.

the white box start segment




getAction
public int getAction()(Code)
Returns the action value.

The action value is used on JSP pages to select the proper action in a large "switch" statement.

the action value




getAdministrationBackLink
protected String getAdministrationBackLink()(Code)
Returns the link URL to get back one folder in the administration view.

the link URL to get back one folder in the administration view




getCancelAction
public String getCancelAction()(Code)
Returns the action to be carried out after a click on the cancel button..

the action to be carried out after a click on the cancel button.




getDialogRealUri
public String getDialogRealUri()(Code)
Returns the http URI of the current dialog, to be used as value for the "action" attribute of a html form.

This URI is the real one.

the http URI of the current dialog




getDialogUri
public String getDialogUri()(Code)
Returns the http URI of the current dialog, to be used as value for the "action" attribute of a html form.

This URI could not be really the real one...

the http URI of the current dialog




getOnlineHelpUriCustom
public String getOnlineHelpUriCustom()(Code)
Returns the custom mapping for the online help.

the custom mapping for the online help




getParamAction
public String getParamAction()(Code)
Returns the value of the action parameter, or null if this parameter was not provided.

The action parameter is very important, it will select the dialog action to perform. The value of the CmsDialog.getAction() method will be initialized from the action parameter.

the value of the action parameter




getParamCloseLink
public String getParamCloseLink()(Code)
Returns the value of the closelink parameter, or null if this parameter was not provided.

the value of the closelink parameter




getParamDialogtype
public String getParamDialogtype()(Code)
Returns the value of the dialogtype parameter, or null if this parameter was not provided.

This parameter is very important. It must match to the localization keys, e.g. "copy" for the copy dialog.

This parameter must be set manually by the subclass during first initialization.

the value of the dialogtype parameter




getParamFramename
public String getParamFramename()(Code)
Returns the value of the frame name parameter.

the value of the errorstack parameter




getParamIsPopup
public String getParamIsPopup()(Code)
Returns the ispopup parameter.

Use this parameter to indicate that the dialog is shown in a popup window.

the ispopup parameter




getParamMessage
public String getParamMessage()(Code)
Returns the value of the message parameter, or null if this parameter was not provided.

The message parameter is used on dialogs to show any text message.

the value of the message parameter




getParamOriginalParams
public String getParamOriginalParams()(Code)
Returns the value of the originalparams parameter.

This stores the request parameter values from a previous dialog, if necessary.

the value of the originalparams parameter




getParamPreActionDone
public String getParamPreActionDone()(Code)
Returns the value of the preactiondone parameter.

the value of the preactiondone parameter




getParamRedirect
public String getParamRedirect()(Code)
Returns the value of the redirect flag parameter.

the value of the redirect flag parameter




getParamResource
public String getParamResource()(Code)
Returns the value of the file parameter, or null if this parameter was not provided.

The file parameter selects the file on which the dialog action is to be performed.

the value of the file parameter




getParamTitle
public String getParamTitle()(Code)
Returns the value of the title parameter, or null if this parameter was not provided.

This parameter is used to build the title of the dialog. It is a parameter so that the title can be passed to included elements.

the value of the title parameter




getState
public String getState() throws CmsException(Code)
Gets a formatted file state string.

formatted state string
throws:
  CmsException - if something goes wrong




hasCorrectLockstate
public boolean hasCorrectLockstate()(Code)
Checks if the current resource has lock state exclusive or inherited.

This is used to determine whether the dialog shows the option to delete all siblings of the resource or not. true if lock state is exclusive or inherited, otherwise false




hasSiblings
public boolean hasSiblings()(Code)
Checks if this resource has siblings.

true if this resource has siblings




htmlStart
public String htmlStart()(Code)
Builds the start html of the page, including setting of DOCTYPE and inserting a header with the content-type.

the start html of the page




htmlStart
public String htmlStart(String helpUrl)(Code)
Builds the start html of the page, including setting of DOCTYPE and inserting a header with the content-type.

This overloads the default method of the parent class.


Parameters:
  helpUrl - the key for the online help to include on the page the start html of the page




htmlStart
public String htmlStart(String helpUrl, String title)(Code)
Builds the start html of the page, including setting of DOCTYPE and inserting a header with the content-type.


Parameters:
  helpUrl - the key for the online help to include on the page
Parameters:
  title - the title for the page the start html of the page




htmlStartStyle
public String htmlStartStyle(String title, String stylesheet)(Code)
Builds the start html of the page, including setting of DOCTYPE, inserting a header with the content-type and choosing an individual style sheet.


Parameters:
  title - the title for the page
Parameters:
  stylesheet - the style sheet to include the start html of the page




includeErrorpage
public void includeErrorpage(CmsWorkplace wp, Throwable t) throws JspException(Code)
Displays the throwable on the error page and logs the error.


Parameters:
  wp - the workplace class
Parameters:
  t - the throwable to be displayed on the error page
throws:
  JspException - if the include of the error page jsp fails




initCmsDialog
public static CmsDialog initCmsDialog(PageContext context, HttpServletRequest req, HttpServletResponse res)(Code)
Returns an initialized CmsDialog instance that is read from the request attributes.

This method is used by dialog elements. The dialog elements do not initialize their own workplace class, but use the initialized instance of the "master" class. This is required to ensure that parameters of the "master" class can properly be kept on the dialog elements.

To prevent null pointer exceptions, an empty dialog is returned if nothing is found in the request attributes.


Parameters:
  context - the JSP page context
Parameters:
  req - the JSP request
Parameters:
  res - the JSP response an initialized CmsDialog instance that is read from the request attributes




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

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



isPopup
public boolean isPopup()(Code)
Returns the "isPopup" flag.

the "isPopup" flag




isPreEditor
public boolean isPreEditor()(Code)
Returns if the dialog is called in direct edit mode before the editor is opened.

true if the dialog is called in direct edit mode before the editor is opened




pageHtml
public String pageHtml(int segment, String helpUrl)(Code)
Builds the start html of the page, including setting of DOCTYPE and inserting a header with the content-type.

This overloads the default method of the parent class.


Parameters:
  segment - the HTML segment (START / END)
Parameters:
  helpUrl - the url for the online help to include on the page the start html of the page




pageHtml
public String pageHtml(int segment, String helpUrl, String title)(Code)
Builds the start html of the page, including setting of DOCTYPE and inserting a header with the content-type.

This overloads the default method of the parent class.


Parameters:
  segment - the HTML segment (START / END)
Parameters:
  helpUrl - the url for the online help to include on the page
Parameters:
  title - the title for the page the start html of the page




setAction
protected void setAction(int value)(Code)
Sets the action value.


Parameters:
  value - the action value




setOnlineHelpUriCustom
public void setOnlineHelpUriCustom(String uri)(Code)
Set the custom mapping for the online help.

This value will be set to a javascript variable called onlineHelpUriCustom. If it is set, the top.head javascript for the online help will use this value.

This method should be called from CmsDialog.initWorkplaceRequestValues(CmsWorkplaceSettings,HttpServletRequest) , CmsWorkplace.initWorkplaceMembers(CmsJspActionElement) or from the jsp if the dialog class is used for several actions. It should be used whenever the online help mapping does not work (due to jsp - forwards).


Parameters:
  uri - the left hand value in mapping.properties for the online help pages




setParamAction
public void setParamAction(String value)(Code)
Sets the value of the action parameter.


Parameters:
  value - the value to set




setParamCloseLink
public void setParamCloseLink(String value)(Code)
Sets the value of the closelink parameter.


Parameters:
  value - the value to set




setParamDialogtype
public void setParamDialogtype(String value)(Code)
Sets the value of the dialogtype parameter.


Parameters:
  value - the value to set




setParamFramename
public void setParamFramename(String value)(Code)
Sets the value of the frame name parameter.


Parameters:
  value - the value to set




setParamIsPopup
public void setParamIsPopup(String value)(Code)
Sets the ispopup parameter.


Parameters:
  value - the ispopup parameter value




setParamMessage
public void setParamMessage(String value)(Code)
Sets the value of the message parameter.


Parameters:
  value - the value to set




setParamOriginalParams
public void setParamOriginalParams(String paramOriginalParams)(Code)
Sets the value of the originalparams parameter.


Parameters:
  paramOriginalParams - the value of the originalparams parameter




setParamPreActionDone
public void setParamPreActionDone(String paramPreActionDone)(Code)
Sets the value of the preactiondone parameter.


Parameters:
  paramPreActionDone - the value of the preactiondone parameter




setParamRedirect
public void setParamRedirect(String redirect)(Code)
Sets the value of the redirect flag parameter.


Parameters:
  redirect - the value of the redirect flag parameter




setParamResource
public void setParamResource(String value)(Code)
Sets the value of the file parameter.


Parameters:
  value - the value to set




setParamTitle
public void setParamTitle(String value)(Code)
Sets the value of the title parameter.


Parameters:
  value - the value to set




Fields inherited from org.opencms.workplace.tools.CmsToolDialog
final public static String PARAM_BASE(Code)(Java Doc)
final public static String PARAM_PATH(Code)(Java Doc)
final public static String PARAM_ROOT(Code)(Java Doc)
final public static String PARAM_STYLE(Code)(Java Doc)
final public static String STYLE_NEW(Code)(Java Doc)

Methods inherited from org.opencms.workplace.tools.CmsToolDialog
public String dialogScriptSubmit()(Code)(Java Doc)
public String dialogTitle()(Code)(Java Doc)
public CmsTool getAdminTool()(Code)(Java Doc)
public String getCurrentToolPath()(Code)(Java Doc)
public String getParamBase()(Code)(Java Doc)
public String getParamPath()(Code)(Java Doc)
public String getParamRoot()(Code)(Java Doc)
public String getParamStyle()(Code)(Java Doc)
public String getParentPath()(Code)(Java Doc)
public CmsToolManager getToolManager()(Code)(Java Doc)
public String iconsBlockArea(int segment, String headline)(Code)(Java Doc)
public String iconsBlockAreaEnd()(Code)(Java Doc)
public String iconsBlockAreaStart(String headline)(Code)(Java Doc)
public Map initAdminTool() throws CmsRoleViolationException(Code)(Java Doc)
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
public String pageBody(int segment, String className, String parameters)(Code)(Java Doc)
public String pageHtmlStyle(int segment, String title, String stylesheet)(Code)(Java Doc)
public void setParamBase(String paramBase)(Code)(Java Doc)
public void setParamPath(String paramPath)(Code)(Java Doc)
public void setParamRoot(String paramRoot)(Code)(Java Doc)
public void setParamStyle(String paramStyle)(Code)(Java Doc)
public boolean useNewStyle()(Code)(Java Doc)

Fields inherited from org.opencms.workplace.CmsWorkplace
final public static boolean DEBUG(Code)(Java Doc)
final public static String DEFAULT_LANGUAGE(Code)(Java Doc)
final public static Locale DEFAULT_LOCALE(Code)(Java Doc)
final public static String DIALOG_PATH_COMMON(Code)(Java Doc)
final public static String FILE_DIALOG_CLOSE(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_CONFIRM(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_ERROR(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_ERRORPAGE(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_WAIT(Code)(Java Doc)
final public static String FILE_EXPLORER_FILELIST(Code)(Java Doc)
final public static String FILE_REPORT_OUTPUT(Code)(Java Doc)
final public static int HTML_END(Code)(Java Doc)
final public static int HTML_START(Code)(Java Doc)
final public static String PARAM_WP_EXPLORER_RESOURCE(Code)(Java Doc)
final public static String PARAM_WP_PROJECT(Code)(Java Doc)
final public static String PARAM_WP_SITE(Code)(Java Doc)
final public static String PATH_DIALOGS(Code)(Java Doc)
final public static String PATH_WORKPLACE(Code)(Java Doc)
final protected static String REQUEST_ATTRIBUTE_MULTIPART(Code)(Java Doc)
final protected static String REQUEST_ATTRIBUTE_RELOADTREE(Code)(Java Doc)
final public static String RFS_PATH_RESOURCES(Code)(Java Doc)
final protected static String SESSION_WORKPLACE_CLASS(Code)(Java Doc)
final public static String TEMP_FILE_PREFIX(Code)(Java Doc)
final public static String VFS_DIR_DEFAULTBODIES(Code)(Java Doc)
final public static String VFS_DIR_TEMPLATES(Code)(Java Doc)
final public static String VFS_PATH_COMMONS(Code)(Java Doc)
final public static String VFS_PATH_EDITORS(Code)(Java Doc)
final public static String VFS_PATH_GALLERIES(Code)(Java Doc)
final public static String VFS_PATH_LOCALES(Code)(Java Doc)
final public static String VFS_PATH_MODULES(Code)(Java Doc)
final public static String VFS_PATH_RESOURCES(Code)(Java Doc)
final public static String VFS_PATH_SYSTEM(Code)(Java Doc)
final public static String VFS_PATH_VIEWS(Code)(Java Doc)
final public static String VFS_PATH_WORKPLACE(Code)(Java Doc)

Methods inherited from org.opencms.workplace.CmsWorkplace
protected void addMessages(CmsMessages messages)(Code)(Java Doc)
protected void addMessages(String bundleName)(Code)(Java Doc)
protected Map allParamValues()(Code)(Java Doc)
public String allParamsAsHidden()(Code)(Java Doc)
public String allParamsAsRequest()(Code)(Java Doc)
public String bodyEnd()(Code)(Java Doc)
public String bodyStart(String className)(Code)(Java Doc)
public String bodyStart(String className, String parameters)(Code)(Java Doc)
public static String buildSelect(String parameters, List options, List values, int selected, boolean useLineFeed)(Code)(Java Doc)
public String buildSelect(String parameters, List options, List values, int selected)(Code)(Java Doc)
public String button(String href, String target, String image, String label, int type)(Code)(Java Doc)
public String button(String href, String target, String image, String label, int type, String imagePath)(Code)(Java Doc)
public String buttonBar(int segment)(Code)(Java Doc)
public String buttonBar(int segment, String attributes)(Code)(Java Doc)
public String buttonBarHorizontalLine()(Code)(Java Doc)
public String buttonBarLabel(String label)(Code)(Java Doc)
public String buttonBarLabel(String label, String className)(Code)(Java Doc)
public String buttonBarLine(int leftPixel, int rightPixel, String className)(Code)(Java Doc)
public String buttonBarLineSpacer(int pixel)(Code)(Java Doc)
public String buttonBarSeparator(int leftPixel, int rightPixel)(Code)(Java Doc)
public String buttonBarSpacer(int width)(Code)(Java Doc)
public String buttonBarStartTab(int leftPixel, int rightPixel)(Code)(Java Doc)
public void checkLock(String resource) throws CmsException(Code)(Java Doc)
public void checkLock(String resource, CmsLockType type) throws CmsException(Code)(Java Doc)
protected void checkRole() throws CmsRoleViolationException(Code)(Java Doc)
protected String decodeParamValue(String paramName, String paramValue)(Code)(Java Doc)
public void fillParamValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
public void fillParamValues(HttpServletRequest request)(Code)(Java Doc)
public String getBroadcastMessageString()(Code)(Java Doc)
public CmsObject getCms()(Code)(Java Doc)
public String getEncoding()(Code)(Java Doc)
public String getExplorerFileListFullUri()(Code)(Java Doc)
public String getFrameSource(String frameName, String uri)(Code)(Java Doc)
public CmsJspActionElement getJsp()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public CmsMacroResolver getMacroResolver()(Code)(Java Doc)
public CmsMessages getMessages()(Code)(Java Doc)
public List getMultiPartFileItems()(Code)(Java Doc)
protected Map getParameterMap()(Code)(Java Doc)
public static String getResourceUri(String resourceName)(Code)(Java Doc)
public String getResourceUri()(Code)(Java Doc)
public HttpSession getSession()(Code)(Java Doc)
public CmsWorkplaceSettings getSettings()(Code)(Java Doc)
public static String getSkinUri()(Code)(Java Doc)
public static String getStyleUri(CmsJspActionElement jsp)(Code)(Java Doc)
public static String getStyleUri(CmsJspActionElement jsp, String filename)(Code)(Java Doc)
public String getStyleUri(String filename)(Code)(Java Doc)
public static String getTemporaryFileName(String resourceName)(Code)(Java Doc)
public String htmlEnd()(Code)(Java Doc)
public String htmlStart(String title)(Code)(Java Doc)
protected void initMessages()(Code)(Java Doc)
public boolean initSettings(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
protected void initTimeWarp(CmsUserSettings settings, HttpSession session)(Code)(Java Doc)
public static CmsWorkplaceSettings initUserSettings(CmsObject cms, CmsWorkplaceSettings settings, boolean update)(Code)(Java Doc)
protected void initWorkplaceMembers(CmsJspActionElement jsp)(Code)(Java Doc)
abstract protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
public static synchronized CmsWorkplaceSettings initWorkplaceSettings(CmsObject cms, CmsWorkplaceSettings settings, boolean update)(Code)(Java Doc)
public boolean isForwarded()(Code)(Java Doc)
public boolean isHelpEnabled()(Code)(Java Doc)
public boolean isSubElement()(Code)(Java Doc)
public static boolean isTemporaryFile(CmsResource resource)(Code)(Java Doc)
public static boolean isTemporaryFileName(String resourceName)(Code)(Java Doc)
public String key(String keyName)(Code)(Java Doc)
public String key(String keyName, Object[] params)(Code)(Java Doc)
public String keyDefault(String keyName, String defaultValue)(Code)(Java Doc)
public String nullToEmpty(String value)(Code)(Java Doc)
public String pageBody(int segment, String className, String parameters)(Code)(Java Doc)
public String pageHtml(int segment, String title)(Code)(Java Doc)
public String pageHtmlStyle(int segment, String title, String stylesheet)(Code)(Java Doc)
protected Map paramValues()(Code)(Java Doc)
public String paramsAsHidden()(Code)(Java Doc)
public String paramsAsHidden(Collection excludes)(Code)(Java Doc)
public Map paramsAsParameterMap()(Code)(Java Doc)
public String paramsAsRequest()(Code)(Java Doc)
public String resolveMacros(String input)(Code)(Java Doc)
public void sendCmsRedirect(String location) throws IOException(Code)(Java Doc)
public void sendForward(String location, Map params) throws IOException, ServletException(Code)(Java Doc)
public void setForwarded(boolean forwarded)(Code)(Java Doc)
public String shortKey(String keyName)(Code)(Java Doc)
static void storeSettings(HttpSession session, CmsWorkplaceSettings settings)(Code)(Java Doc)
protected void switchToCurrentProject() throws CmsException(Code)(Java Doc)
protected CmsUUID switchToTempProject() throws CmsException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.