MailVo.as 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. package com.imt.intimamedia.vo
  2. {
  3. import com.imt.intimamedia.helpers.AMFDateConverter;
  4. [RemoteClass(alias="com.imt.intimamedia.vo.MailVo")]
  5. [Bindable]
  6. /**
  7. * Objet mail
  8. */
  9. public class MailVo
  10. {
  11. private var _mailer : String = "";
  12. private var _addressee : String = "";
  13. private var _subject : String = "";
  14. private var _body : String = "";
  15. private var _bodyHTML : String = "";
  16. private var _file : String = "";
  17. private var _name : String = "";
  18. private var _reply : String = "";
  19. /**
  20. * Expéditeur du mail
  21. *
  22. * @default ""
  23. */
  24. public function get mailer () : String
  25. {
  26. return _mailer;
  27. }
  28. /**
  29. * @private
  30. */
  31. public function set mailer ( value : String ) : void
  32. {
  33. _mailer = value;
  34. }
  35. /**
  36. * Déstinataire du mail
  37. *
  38. * @default ""
  39. */
  40. public function get addressee () : String
  41. {
  42. return _addressee;
  43. }
  44. /**
  45. * @private
  46. */
  47. public function set addressee ( value : String ) : void
  48. {
  49. _addressee = value;
  50. }
  51. /**
  52. * Sujet du mail
  53. *
  54. * @default ""
  55. */
  56. public function get subject () : String
  57. {
  58. return _subject;
  59. }
  60. /**
  61. * @private
  62. */
  63. public function set subject ( value : String ) : void
  64. {
  65. _subject = value;
  66. }
  67. /**
  68. * Corps du mail
  69. *
  70. * @default ""
  71. */
  72. public function get body () : String
  73. {
  74. return _body;
  75. }
  76. /**
  77. * @private
  78. */
  79. public function set body ( value : String ) : void
  80. {
  81. _body = value;
  82. }
  83. /**
  84. * Corps du mail en HTML
  85. *
  86. * @default ""
  87. */
  88. public function get bodyHTML () : String
  89. {
  90. return _bodyHTML;
  91. }
  92. /**
  93. * @private
  94. */
  95. public function set bodyHTML ( value : String ) : void
  96. {
  97. _bodyHTML = value;
  98. }
  99. /**
  100. * Nom du fichier
  101. *
  102. * @default ""
  103. */
  104. public function get file () : String
  105. {
  106. return _file;
  107. }
  108. /**
  109. * @private
  110. */
  111. public function set file ( value : String ) : void
  112. {
  113. _file = value;
  114. }
  115. /**
  116. * Nom du fichier
  117. *
  118. * @default ""
  119. */
  120. public function get name () : String
  121. {
  122. return _name;
  123. }
  124. /**
  125. * @private
  126. */
  127. public function set name ( value : String ) : void
  128. {
  129. _name = value;
  130. }
  131. /**
  132. * Adresse de réponse
  133. *
  134. * @default ""
  135. */
  136. public function get reply () : String
  137. {
  138. return _reply;
  139. }
  140. /**
  141. * @private
  142. */
  143. public function set reply ( value : String ) : void
  144. {
  145. _reply = value;
  146. }
  147. }
  148. }