1 /* 2 * Copyright 2010 James Pether Sörling 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 * $Id$ 17 * $HeadURL$ 18 */ 19 package com.hack23.cia.service.api.action.admin; 20 21 import com.hack23.cia.service.api.action.common.AbstractRequest; 22 23 24 /** 25 * The Class SendEmailRequest. 26 */ 27 public final class SendEmailRequest extends AbstractRequest { 28 29 /** The Constant serialVersionUID. */ 30 private static final long serialVersionUID = 1L; 31 32 /** The session id. */ 33 private String sessionId; 34 35 /** The email. */ 36 private String email; 37 38 /** The subject. */ 39 private String subject; 40 41 /** The content. */ 42 private String content; 43 44 /** 45 * Instantiates a new send email request. 46 */ 47 public SendEmailRequest() { 48 super(); 49 } 50 51 /** 52 * Gets the session id. 53 * 54 * @return the session id 55 */ 56 public String getSessionId() { 57 return sessionId; 58 } 59 60 /** 61 * Sets the session id. 62 * 63 * @param sessionId 64 * the new session id 65 */ 66 public void setSessionId(final String sessionId) { 67 this.sessionId = sessionId; 68 } 69 70 /** 71 * Gets the email. 72 * 73 * @return the email 74 */ 75 public String getEmail() { 76 return email; 77 } 78 79 /** 80 * Sets the email. 81 * 82 * @param email 83 * the new email 84 */ 85 public void setEmail(final String email) { 86 this.email = email; 87 } 88 89 /** 90 * Gets the subject. 91 * 92 * @return the subject 93 */ 94 public String getSubject() { 95 return subject; 96 } 97 98 /** 99 * Sets the subject. 100 * 101 * @param subject 102 * the new subject 103 */ 104 public void setSubject(final String subject) { 105 this.subject = subject; 106 } 107 108 /** 109 * Gets the content. 110 * 111 * @return the content 112 */ 113 public String getContent() { 114 return content; 115 } 116 117 /** 118 * Sets the content. 119 * 120 * @param content 121 * the new content 122 */ 123 public void setContent(final String content) { 124 this.content = content; 125 } 126 127 128 }