01: /*
02: * Copyright 2006 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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: package org.kuali.core.rule.event;
17:
18: import org.kuali.core.document.Document;
19:
20: /**
21: * This class represents the blanketApprove event that is part of an eDoc in Kuali. This could be triggered when a user presses the
22: * blanketApprove button for a given document enroute or it could happen when another piece of code calls the blanketApprove method
23: * in the document service.
24: *
25: *
26: */
27: public final class BlanketApproveDocumentEvent extends
28: ApproveDocumentEvent {
29: /**
30: * Constructs an BlanketApproveDocumentEvent with the specified errorPathPrefix and document
31: *
32: * @param errorPathPrefix
33: * @param document
34: */
35: public BlanketApproveDocumentEvent(String errorPathPrefix,
36: Document document) {
37: super ("blanketApprove", errorPathPrefix, document);
38: }
39:
40: /**
41: * Constructs a BlanketApproveDocumentEvent with the given document
42: *
43: * @param document
44: */
45: public BlanketApproveDocumentEvent(Document document) {
46: super ("blanketApprove", "", document);
47: }
48: }
|