01: /*
02: /*
03: * Copyright 2005-2006 The Kuali Foundation.
04: *
05: *
06: * Licensed under the Educational Community License, Version 1.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
10: * http://www.opensource.org/licenses/ecl1.php
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18: package edu.iu.uis.eden.clientapp;
19:
20: import edu.iu.uis.eden.IDocumentEvent;
21:
22: /**
23: * @author seiffert
24: *
25: * Signal to the PostProcessor that the routeHeader is being deleted.
26: *
27: */
28: public class DeleteEvent implements IDocumentEvent {
29:
30: /**
31: *
32: */
33: private static final long serialVersionUID = -1991987156524201870L;
34:
35: private String appDocId;
36:
37: private Long routeHeaderId;
38:
39: public DeleteEvent(Long routeHeaderId, String appDocId) {
40: this .routeHeaderId = routeHeaderId;
41: this .appDocId = appDocId;
42: }
43:
44: /*
45: * (non-Javadoc)
46: *
47: * @see edu.iu.uis.eden.IDocumentEvent#getDocumentEventCode()
48: */
49: public String getDocumentEventCode() {
50: return DELETE_CHANGE;
51: }
52:
53: /*
54: * (non-Javadoc)
55: *
56: * @see edu.iu.uis.eden.IDocumentEvent#getRouteHeaderId()
57: */
58: public Long getRouteHeaderId() {
59: return routeHeaderId;
60: }
61:
62: /*
63: * (non-Javadoc)
64: *
65: * @see edu.iu.uis.eden.IDocumentEvent#getAppDocId()
66: */
67: public String getAppDocId() {
68: return this .appDocId;
69: }
70: }
71:
72: /*
73: * Copyright 2003 The Trustees of Indiana University. All rights reserved.
74: *
75: * This file is part of the EDEN software package. For license information, see
76: * the LICENSE file in the top level directory of the EDEN source distribution.
77: */
|