View Javadoc
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.application;
20  
21  import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
22  import com.hack23.cia.model.internal.application.system.impl.ApplicationOperationType;
23  import com.hack23.cia.service.api.action.common.AbstractRequest;
24  
25  /**
26   * The Class CreateApplicationEventRequest.
27   */
28  public final class CreateApplicationEventRequest extends AbstractRequest {
29  
30  	/** The Constant serialVersionUID. */
31  	private static final long serialVersionUID = 1L;
32  
33  	/** The event group. */
34  	private ApplicationEventGroup eventGroup;
35  
36  	/** The application operation. */
37  	private ApplicationOperationType applicationOperation;
38  
39      /** The page. */
40      private String page;
41  
42      /** The page mode. */
43      private String pageMode;
44  
45      /** The element id. */
46      private String elementId;
47  
48      /** The action name. */
49      private String actionName;
50  
51      /** The session id. */
52      private String sessionId;
53  
54      /** The user id. */
55      private String userId;
56  
57      /** The error message. */
58      private String errorMessage;
59  
60      /** The application message. */
61      private String applicationMessage;
62  
63  
64  	/**
65  	 * Instantiates a new creates the application event request.
66  	 */
67  	public CreateApplicationEventRequest() {
68  		super();
69  	}
70  
71  	/**
72  	 * Gets the event group.
73  	 *
74  	 * @return the event group
75  	 */
76  	public ApplicationEventGroup getEventGroup() {
77  		return eventGroup;
78  	}
79  
80  	/**
81  	 * Sets the event group.
82  	 *
83  	 * @param eventGroup
84  	 *            the new event group
85  	 */
86  	public void setEventGroup(final ApplicationEventGroup eventGroup) {
87  		this.eventGroup = eventGroup;
88  	}
89  
90  	/**
91  	 * Gets the application operation.
92  	 *
93  	 * @return the application operation
94  	 */
95  	public ApplicationOperationType getApplicationOperation() {
96  		return applicationOperation;
97  	}
98  
99  	/**
100 	 * Sets the application operation.
101 	 *
102 	 * @param applicationOperation
103 	 *            the new application operation
104 	 */
105 	public void setApplicationOperation(final ApplicationOperationType applicationOperation) {
106 		this.applicationOperation = applicationOperation;
107 	}
108 
109 	/**
110 	 * Gets the session id.
111 	 *
112 	 * @return the session id
113 	 */
114 	public String getSessionId() {
115 		return sessionId;
116 	}
117 
118 	/**
119 	 * Sets the session id.
120 	 *
121 	 * @param sessionId
122 	 *            the new session id
123 	 */
124 	public void setSessionId(final String sessionId) {
125 		this.sessionId = sessionId;
126 	}
127 
128 	/**
129 	 * Gets the page.
130 	 *
131 	 * @return the page
132 	 */
133 	public String getPage() {
134 		return page;
135 	}
136 
137 	/**
138 	 * Sets the page.
139 	 *
140 	 * @param page
141 	 *            the new page
142 	 */
143 	public void setPage(final String page) {
144 		this.page = page;
145 	}
146 
147 	/**
148 	 * Gets the page mode.
149 	 *
150 	 * @return the page mode
151 	 */
152 	public String getPageMode() {
153 		return pageMode;
154 	}
155 
156 	/**
157 	 * Sets the page mode.
158 	 *
159 	 * @param pageMode
160 	 *            the new page mode
161 	 */
162 	public void setPageMode(final String pageMode) {
163 		this.pageMode = pageMode;
164 	}
165 
166 	/**
167 	 * Gets the element id.
168 	 *
169 	 * @return the element id
170 	 */
171 	public String getElementId() {
172 		return elementId;
173 	}
174 
175 	/**
176 	 * Sets the element id.
177 	 *
178 	 * @param elementId
179 	 *            the new element id
180 	 */
181 	public void setElementId(final String elementId) {
182 		this.elementId = elementId;
183 	}
184 
185 	/**
186 	 * Gets the action name.
187 	 *
188 	 * @return the action name
189 	 */
190 	public String getActionName() {
191 		return actionName;
192 	}
193 
194 	/**
195 	 * Sets the action name.
196 	 *
197 	 * @param actionName
198 	 *            the new action name
199 	 */
200 	public void setActionName(final String actionName) {
201 		this.actionName = actionName;
202 	}
203 
204 	/**
205 	 * Gets the user id.
206 	 *
207 	 * @return the user id
208 	 */
209 	public String getUserId() {
210 		return userId;
211 	}
212 
213 	/**
214 	 * Sets the user id.
215 	 *
216 	 * @param userId
217 	 *            the new user id
218 	 */
219 	public void setUserId(final String userId) {
220 		this.userId = userId;
221 	}
222 
223 	/**
224 	 * Gets the error message.
225 	 *
226 	 * @return the error message
227 	 */
228 	public String getErrorMessage() {
229 		return errorMessage;
230 	}
231 
232 	/**
233 	 * Sets the error message.
234 	 *
235 	 * @param errorMessage
236 	 *            the new error message
237 	 */
238 	public void setErrorMessage(final String errorMessage) {
239 		this.errorMessage = errorMessage;
240 	}
241 
242 	/**
243 	 * Gets the application message.
244 	 *
245 	 * @return the application message
246 	 */
247 	public String getApplicationMessage() {
248 		return applicationMessage;
249 	}
250 
251 	/**
252 	 * Sets the application message.
253 	 *
254 	 * @param applicationMessage
255 	 *            the new application message
256 	 */
257 	public void setApplicationMessage(final String applicationMessage) {
258 		this.applicationMessage = applicationMessage;
259 	}
260 
261 	/**
262 	 * Gets the serialversionuid.
263 	 *
264 	 * @return the serialversionuid
265 	 */
266 	public static long getSerialversionuid() {
267 		return serialVersionUID;
268 	}
269 
270 }