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


org.opencms.workplace.CmsDialog
   org.opencms.workplace.tools.content.CmsPropertyChange

CmsPropertyChange
public class CmsPropertyChange extends CmsDialog (Code)
Provides methods for the change property values dialog.


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



Field Summary
final public static  intACTION_SHOWRESULT
     Value for the action: show result.
final public static  StringDIALOG_SHOWRESULT
     Request parameter value for the action: show result.
final public static  StringDIALOG_TYPE
     The dialog type.
final public static  StringPARAM_NEWVALUE
     Request parameter name for the property name.
final public static  StringPARAM_OLDVALUE
     Request parameter name for the property name.
final public static  StringPARAM_PROPERTYNAME
     Request parameter name for the property name.
final public static  StringPARAM_RECURSIVE
     Request parameter name for the property name.

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

Method Summary
public  voidactionChange()
    
public  StringbuildResultList()
    
public static  StringbuildSelectProperty(CmsObject cms, String selectValue, String attributes, String selectedValue)
    
public  StringbuildSelectProperty(String attributes)
    
public  StringgetErrorMessage()
    
public  StringgetParamNewValue()
    
public  StringgetParamOldValue()
    
public  StringgetParamPropertyName()
    
public  StringgetParamRecursive()
    
public  StringgetResultListHeight()
    
public  booleanhasValidationErrors()
    
protected  voidinitWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)
    
protected  voidsetErrorMessage(String errorMessage)
    
public  voidsetParamNewValue(String paramNewValue)
    
public  voidsetParamOldValue(String paramOldValue)
    
public  voidsetParamPropertyName(String paramPropertyName)
    
public  voidsetParamRecursive(String paramRecursive)
    
protected  voidsetValidationErrors(boolean validationErrors)
    

Field Detail
ACTION_SHOWRESULT
final public static int ACTION_SHOWRESULT(Code)
Value for the action: show result.



DIALOG_SHOWRESULT
final public static String DIALOG_SHOWRESULT(Code)
Request parameter value for the action: show result.



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



PARAM_NEWVALUE
final public static String PARAM_NEWVALUE(Code)
Request parameter name for the property name.



PARAM_OLDVALUE
final public static String PARAM_OLDVALUE(Code)
Request parameter name for the property name.



PARAM_PROPERTYNAME
final public static String PARAM_PROPERTYNAME(Code)
Request parameter name for the property name.



PARAM_RECURSIVE
final public static String PARAM_RECURSIVE(Code)
Request parameter name for the property name.




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


Parameters:
  jsp - an initialized JSP action element




CmsPropertyChange
public CmsPropertyChange(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
actionChange
public void actionChange() throws JspException(Code)
Changes the property values on the specified resources.


throws:
  JspException - if problems including sub-elements occur




buildResultList
public String buildResultList()(Code)
Builds the html for the result list of resources where the property was changed.

the html for the result list




buildSelectProperty
public static String buildSelectProperty(CmsObject cms, String selectValue, String attributes, String selectedValue)(Code)
Builds the html for the property definition select box.


Parameters:
  cms - the CmsObject
Parameters:
  selectValue - the localized value for the "Please select" option
Parameters:
  attributes - optional attributes for the <select> tag
Parameters:
  selectedValue - the value that is currently selected the html for the property definition select box




buildSelectProperty
public String buildSelectProperty(String attributes)(Code)
Builds the html for the property definition select box.


Parameters:
  attributes - optional attributes for the <select> tag the html for the property definition select box




getErrorMessage
public String getErrorMessage()(Code)
Returns the error message.

the error message




getParamNewValue
public String getParamNewValue()(Code)
Returns the value of the newvalue parameter.

the value of the newvalue parameter




getParamOldValue
public String getParamOldValue()(Code)
Returns the value of the oldvalue parametere.

the value of the oldvalue parameter




getParamPropertyName
public String getParamPropertyName()(Code)
Returns the value of the propertyname parameter.

the value of the propertyname parameter




getParamRecursive
public String getParamRecursive()(Code)
Returns the value of the recursive parameter.

the value of the recursive parameter




getResultListHeight
public String getResultListHeight()(Code)
Returns the height for the result list of changed resources.

the height for the result list of changed resources




hasValidationErrors
public boolean hasValidationErrors()(Code)
Returns if validation errors were found.

true if validation errors were found, otherwise false




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

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



setErrorMessage
protected void setErrorMessage(String errorMessage)(Code)
Sets the error message.


Parameters:
  errorMessage - the error message to set




setParamNewValue
public void setParamNewValue(String paramNewValue)(Code)
Sets the value of the newvalue parameter.


Parameters:
  paramNewValue - the value of the newvalue parameter




setParamOldValue
public void setParamOldValue(String paramOldValue)(Code)
Sets the value of the oldvalue parameter.


Parameters:
  paramOldValue - the value of the oldvalue parameter




setParamPropertyName
public void setParamPropertyName(String paramPropertyName)(Code)
Sets the value of the propertyname parameter.


Parameters:
  paramPropertyName - the value of the propertyname parameter




setParamRecursive
public void setParamRecursive(String paramRecursive)(Code)
Sets the value of the recursive parameter.


Parameters:
  paramRecursive - the value of the recursive parameter




setValidationErrors
protected void setValidationErrors(boolean validationErrors)(Code)
Sets the validation error flag.


Parameters:
  validationErrors - the validation error flag, true if validation errors were found




Fields inherited from org.opencms.workplace.CmsDialog
final public static int ACTION_CANCEL(Code)(Java Doc)
final public static int ACTION_CLOSEPOPUP(Code)(Java Doc)
final public static int ACTION_CLOSEPOPUP_SAVE(Code)(Java Doc)
final public static int ACTION_CONFIRMED(Code)(Java Doc)
final public static int ACTION_CONTINUE(Code)(Java Doc)
final public static int ACTION_DEFAULT(Code)(Java Doc)
final public static int ACTION_LOCKS_CONFIRMED(Code)(Java Doc)
final public static int ACTION_OK(Code)(Java Doc)
final public static int ACTION_REPORT_BEGIN(Code)(Java Doc)
final public static int ACTION_REPORT_END(Code)(Java Doc)
final public static int ACTION_REPORT_UPDATE(Code)(Java Doc)
final public static int ACTION_SET(Code)(Java Doc)
final public static int ACTION_WAIT(Code)(Java Doc)
final protected static String ATTRIBUTE_THROWABLE(Code)(Java Doc)
final public static int BUTTON_ADVANCED(Code)(Java Doc)
final public static int BUTTON_BACK(Code)(Java Doc)
final public static int BUTTON_CANCEL(Code)(Java Doc)
final public static int BUTTON_CLOSE(Code)(Java Doc)
final public static int BUTTON_CONTINUE(Code)(Java Doc)
final public static int BUTTON_DETAILS(Code)(Java Doc)
final public static int BUTTON_DISCARD(Code)(Java Doc)
final public static int BUTTON_EDIT(Code)(Java Doc)
final public static int BUTTON_OK(Code)(Java Doc)
final public static int BUTTON_OK_NO_SUBMIT(Code)(Java Doc)
final public static int BUTTON_SET(Code)(Java Doc)
final public static String DIALOG_BACK(Code)(Java Doc)
final public static String DIALOG_CANCEL(Code)(Java Doc)
final public static String DIALOG_CONFIRMED(Code)(Java Doc)
final public static String DIALOG_CONTINUE(Code)(Java Doc)
final public static String DIALOG_INITIAL(Code)(Java Doc)
final public static String DIALOG_LOCKS_CONFIRMED(Code)(Java Doc)
final public static String DIALOG_OK(Code)(Java Doc)
final public static String DIALOG_SET(Code)(Java Doc)
final public static String DIALOG_WAIT(Code)(Java Doc)
final public static String PARAM_ACTION(Code)(Java Doc)
final public static String PARAM_CLOSELINK(Code)(Java Doc)
final public static String PARAM_DIALOGTYPE(Code)(Java Doc)
final public static String PARAM_ERRORSTACK(Code)(Java Doc)
final public static String PARAM_FILE(Code)(Java Doc)
final public static String PARAM_FRAMENAME(Code)(Java Doc)
final public static String PARAM_ISPOPUP(Code)(Java Doc)
final public static String PARAM_LOCK(Code)(Java Doc)
final public static String PARAM_MESSAGE(Code)(Java Doc)
final public static String PARAM_ORIGINALPARAMS(Code)(Java Doc)
final public static String PARAM_PREACTIONDONE(Code)(Java Doc)
final public static String PARAM_REDIRECT(Code)(Java Doc)
final public static String PARAM_RESOURCE(Code)(Java Doc)
final public static String PARAM_TARGET(Code)(Java Doc)
final public static String PARAM_THREAD(Code)(Java Doc)
final public static String PARAM_THREAD_HASNEXT(Code)(Java Doc)
final public static String PARAM_TITLE(Code)(Java Doc)
final public static String REPORT_BEGIN(Code)(Java Doc)
final public static String REPORT_END(Code)(Java Doc)
final public static String REPORT_UPDATE(Code)(Java Doc)

Methods inherited from org.opencms.workplace.CmsDialog
public void actionCloseDialog() throws JspException(Code)(Java Doc)
protected String appendDelimiter(String attribute)(Code)(Java Doc)
public String buildAjaxResultContainer(String title)(Code)(Java Doc)
protected String buildAjaxWaitMessage()(Code)(Java Doc)
public String buildLockAdditionalOptions()(Code)(Java Doc)
public String buildLockConfirmationMessageJS()(Code)(Java Doc)
public String buildLockDialog() throws CmsException(Code)(Java Doc)
public String buildLockDialog(CmsLockFilter nonBlockingFilter, CmsLockFilter blockingFilter, int hiddenTimeout, boolean includeRelated) throws CmsException(Code)(Java Doc)
public String buildLockHeaderBox() throws CmsException(Code)(Java Doc)
protected boolean checkResourcePermissions(CmsPermissionSet required, boolean neededForFolder)(Code)(Java Doc)
protected boolean checkResourcePermissions(CmsPermissionSet required, boolean neededForFolder, CmsMessageContainer errorMessage)(Code)(Java Doc)
protected String computeCurrentFolder()(Code)(Java Doc)
public String dialog(int segment, String attributes)(Code)(Java Doc)
public String dialogBlock(int segment, String headline, boolean error)(Code)(Java Doc)
public String dialogBlockEnd()(Code)(Java Doc)
public String dialogBlockStart(String headline)(Code)(Java Doc)
public String dialogButtonRow(int segment)(Code)(Java Doc)
public String dialogButtonRowEnd()(Code)(Java Doc)
public String dialogButtonRowStart()(Code)(Java Doc)
public String dialogButtons(int[] buttons, String[] attributes)(Code)(Java Doc)
public String dialogButtonsClose()(Code)(Java Doc)
public String dialogButtonsClose(String closeAttribute)(Code)(Java Doc)
public String dialogButtonsCloseDetails(String closeAttribute, String detailsAttribute)(Code)(Java Doc)
protected void dialogButtonsHtml(StringBuffer result, int button, String attribute)(Code)(Java Doc)
public String dialogButtonsOk()(Code)(Java Doc)
public String dialogButtonsOk(String okAttribute)(Code)(Java Doc)
public String dialogButtonsOkCancel()(Code)(Java Doc)
public String dialogButtonsOkCancel(String okAttributes, String cancelAttributes)(Code)(Java Doc)
public String dialogButtonsOkCancelAdvanced(String okAttributes, String cancelAttributes, String advancedAttributes)(Code)(Java Doc)
public String dialogButtonsSetOkCancel(String setAttributes, String okAttributes, String cancelAttributes)(Code)(Java Doc)
public String dialogContent(int segment, String title)(Code)(Java Doc)
public String dialogContentEnd()(Code)(Java Doc)
public String dialogContentStart(String title)(Code)(Java Doc)
public String dialogEnd()(Code)(Java Doc)
public String dialogHead(String title)(Code)(Java Doc)
public String dialogHorizontalSpacer(int width)(Code)(Java Doc)
public String dialogLockButtons()(Code)(Java Doc)
public String dialogRow(int segment)(Code)(Java Doc)
public String dialogRowEnd()(Code)(Java Doc)
public String dialogRowStart()(Code)(Java Doc)
public String dialogScriptSubmit()(Code)(Java Doc)
public String dialogSeparator()(Code)(Java Doc)
public String dialogSpacer()(Code)(Java Doc)
public String dialogStart()(Code)(Java Doc)
public String dialogStart(String attributes)(Code)(Java Doc)
public String dialogSubheadline(String headline)(Code)(Java Doc)
public String dialogToggleStart(String headline, String id, boolean show)(Code)(Java Doc)
public String dialogWhiteBox(int segment)(Code)(Java Doc)
public String dialogWhiteBoxEnd()(Code)(Java Doc)
public String dialogWhiteBoxStart()(Code)(Java Doc)
public int getAction()(Code)(Java Doc)
protected String getAdministrationBackLink()(Code)(Java Doc)
public String getCancelAction()(Code)(Java Doc)
public String getDialogRealUri()(Code)(Java Doc)
public String getDialogUri()(Code)(Java Doc)
public String getOnlineHelpUriCustom()(Code)(Java Doc)
public String getParamAction()(Code)(Java Doc)
public String getParamCloseLink()(Code)(Java Doc)
public String getParamDialogtype()(Code)(Java Doc)
public String getParamFramename()(Code)(Java Doc)
public String getParamIsPopup()(Code)(Java Doc)
public String getParamMessage()(Code)(Java Doc)
public String getParamOriginalParams()(Code)(Java Doc)
public String getParamPreActionDone()(Code)(Java Doc)
public String getParamRedirect()(Code)(Java Doc)
public String getParamResource()(Code)(Java Doc)
public String getParamTitle()(Code)(Java Doc)
public String getState() throws CmsException(Code)(Java Doc)
public boolean hasCorrectLockstate()(Code)(Java Doc)
public boolean hasSiblings()(Code)(Java Doc)
public String htmlStart()(Code)(Java Doc)
public String htmlStart(String helpUrl)(Code)(Java Doc)
public String htmlStart(String helpUrl, String title)(Code)(Java Doc)
public String htmlStartStyle(String title, String stylesheet)(Code)(Java Doc)
public void includeErrorpage(CmsWorkplace wp, Throwable t) throws JspException(Code)(Java Doc)
public static CmsDialog initCmsDialog(PageContext context, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
public boolean isPopup()(Code)(Java Doc)
public boolean isPreEditor()(Code)(Java Doc)
public String pageHtml(int segment, String helpUrl)(Code)(Java Doc)
public String pageHtml(int segment, String helpUrl, String title)(Code)(Java Doc)
protected void setAction(int value)(Code)(Java Doc)
public void setOnlineHelpUriCustom(String uri)(Code)(Java Doc)
public void setParamAction(String value)(Code)(Java Doc)
public void setParamCloseLink(String value)(Code)(Java Doc)
public void setParamDialogtype(String value)(Code)(Java Doc)
public void setParamFramename(String value)(Code)(Java Doc)
public void setParamIsPopup(String value)(Code)(Java Doc)
public void setParamMessage(String value)(Code)(Java Doc)
public void setParamOriginalParams(String paramOriginalParams)(Code)(Java Doc)
public void setParamPreActionDone(String paramPreActionDone)(Code)(Java Doc)
public void setParamRedirect(String redirect)(Code)(Java Doc)
public void setParamResource(String value)(Code)(Java Doc)
public void setParamTitle(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.