Java Doc for CmdEmail.java in  » Content-Management-System » harmonise » org » openharmonise » rm » commands » 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 » harmonise » org.openharmonise.rm.commands 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openharmonise.rm.commands.AbstractCmd
      org.openharmonise.rm.commands.CmdEmail

CmdEmail
public class CmdEmail extends AbstractCmd (Code)
Publishes the 'command object' using a Template specified in the parameters and sends the result as an email to the recipient specified in the parameters.
author:
   Michael Bell
version:
   $Revision: 1.3 $


Field Summary
final public static  StringATTRIB_SEND_TYPE
     Send type attribute, i.e.
final static  StringCONTENTTYPE_PNAME
    
final static  StringEMAILFORMID_PNAME
    
final static  StringEMAIL_PROPNAME
    
final static  StringOUTTEXT_PNAME
    
final static  StringPNAME_EMAIL_HOST
    
final static  StringRECEPIENTLIST_PNAME
    
final static  StringSENDER_PNAME
    
final static  StringSENDER_PROPNAME
    
final static  StringSENDXML_PNAME
    
final static  StringSUBJECT_INMARKER
    
final static  StringSUBJECT_IPMARKER
    
final static  StringSUBJECT_PNAME
    
final public static  StringTAG_EMAILRECIPIENT
    
final static  StringUSE_SUBMITTED_FORM
    
final static  StringXSL_PNAME
    

Constructor Summary
public  CmdEmail()
     Creates a new instance of the command.

Method Summary
public  Objectexecute(Context context)
    
public  StringgetName()
    
public  booleanisValidCommandObject(Object obj)
    

Field Detail
ATTRIB_SEND_TYPE
final public static String ATTRIB_SEND_TYPE(Code)
Send type attribute, i.e. 'user' or 'test'



CONTENTTYPE_PNAME
final static String CONTENTTYPE_PNAME(Code)
Parameter name for email content type



EMAILFORMID_PNAME
final static String EMAILFORMID_PNAME(Code)
Parameter name for the id of the template to be used in publishing the 'command object'



EMAIL_PROPNAME
final static String EMAIL_PROPNAME(Code)
Property name for the 'recipient' property



OUTTEXT_PNAME
final static String OUTTEXT_PNAME(Code)
Parameter name for the output text



PNAME_EMAIL_HOST
final static String PNAME_EMAIL_HOST(Code)
Config parameter name for the email host



RECEPIENTLIST_PNAME
final static String RECEPIENTLIST_PNAME(Code)
Parameter name for the recipient list



SENDER_PNAME
final static String SENDER_PNAME(Code)
Parameter name for the sender



SENDER_PROPNAME
final static String SENDER_PROPNAME(Code)
Property name for the 'sender' property



SENDXML_PNAME
final static String SENDXML_PNAME(Code)
Parameter name for sending the published XML



SUBJECT_INMARKER
final static String SUBJECT_INMARKER(Code)
Name replacement pattern



SUBJECT_IPMARKER
final static String SUBJECT_IPMARKER(Code)
Property value pattern



SUBJECT_PNAME
final static String SUBJECT_PNAME(Code)
Parameter name for email subject



TAG_EMAILRECIPIENT
final public static String TAG_EMAILRECIPIENT(Code)
Email recipient tag



USE_SUBMITTED_FORM
final static String USE_SUBMITTED_FORM(Code)
Possible value for EMAILFORMID_PNAME parameter to indicate the submitted for should be used to publish the 'command object'



XSL_PNAME
final static String XSL_PNAME(Code)
Parameter name for the XSLT file to be used in transforming the result of publishing the 'command object' to XML




Constructor Detail
CmdEmail
public CmdEmail()(Code)
Creates a new instance of the command.




Method Detail
execute
public Object execute(Context context) throws CommandException(Code)



getName
public String getName()(Code)



isValidCommandObject
public boolean isValidCommandObject(Object obj)(Code)



Fields inherited from org.openharmonise.rm.commands.AbstractCmd
final public static String PARAM_OUT_TEXT(Code)(Java Doc)
final public static String PARAM_TEMPLATE_ID(Code)(Java Doc)
final public static String TAG_COMMAND(Code)(Java Doc)
final public static String TAG_COMMAND_PARAM(Code)(Java Doc)
protected Map m_cmd_params(Code)(Java Doc)
protected Object m_commandObj(Code)(Java Doc)

Methods inherited from org.openharmonise.rm.commands.AbstractCmd
protected void addResultContext(Object result, Context context)(Code)(Java Doc)
abstract public Object execute(Context context) throws CommandException(Code)(Java Doc)
public Object getCommandObject(Context context)(Code)(Java Doc)
public AbstractDataStoreInterface getDataStoreInteface()(Code)(Java Doc)
public User getExecutingUser()(Code)(Java Doc)
abstract public String getName()(Code)(Java Doc)
public String getParameter(String parameter_name)(Code)(Java Doc)
public List getParameters(String parameter_name)(Code)(Java Doc)
public State getState()(Code)(Java Doc)
public boolean isAvailable(Context context) throws InvalidCommandException(Code)(Java Doc)
public boolean isAvailable(User usr, AbstractEditableObject obj) throws InvalidCommandException(Code)(Java Doc)
public boolean isAvailable(User usr, Class objClass) throws InvalidCommandException(Code)(Java Doc)
abstract public boolean isValidCommandObject(Object obj)(Code)(Java Doc)
protected void logCommand(Context context) throws CommandException(Code)(Java Doc)
public void setCommandObject(Object obj)(Code)(Java Doc)
public void setDataStoreInteface(AbstractDataStoreInterface dsi)(Code)(Java Doc)
public void setParameters(Map cmd_params)(Code)(Java Doc)
public void setState(State state)(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.