01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.php
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package edu.iu.uis.eden.clientapp.vo;
18:
19: /**
20: * Represents a revocation of an AdHoc request.<br><br>
21: *
22: * Each of the fields represents criteria for revoking requests. If necessary, they can be
23: * combined. For example, if you specify a userId and a nodeName it will indicate that the
24: * requests for the user at that node will need to be revoked.<br><br>
25: *
26: * <ol>
27: * <li><b>actionRequestId</b> - the ID of the action request to revoke</li>
28: * <li><b>userId</b> - the ID of the user whose request(s) should be revoked</li>
29: * <li><b>workgroupId</b> - the ID of the workgroup whose requests(s) should be revoked</li>
30: * <li><b>nodeName</b> - the name of the node to revoke requests at</li>
31: * </ol>
32: *
33: * @author Eric Westfall
34: * @workflow.webservice-object
35: */
36: public class AdHocRevokeVO implements java.io.Serializable {
37:
38: private static final long serialVersionUID = 7650456194747488114L;
39:
40: private Long actionRequestId;
41: private String nodeName;
42: private UserIdVO userId;
43: private WorkgroupIdVO workgroupId;
44:
45: public AdHocRevokeVO() {
46: }
47:
48: public AdHocRevokeVO(Long actionRequestId) {
49: this .actionRequestId = actionRequestId;
50: }
51:
52: public AdHocRevokeVO(UserIdVO userId) {
53: this .userId = userId;
54: }
55:
56: public AdHocRevokeVO(WorkgroupIdVO workgroupId) {
57: this .workgroupId = workgroupId;
58: }
59:
60: public AdHocRevokeVO(String nodeName) {
61: this .nodeName = nodeName;
62: }
63:
64: public Long getActionRequestId() {
65: return actionRequestId;
66: }
67:
68: public void setActionRequestId(Long actionRequestId) {
69: this .actionRequestId = actionRequestId;
70: }
71:
72: public String getNodeName() {
73: return nodeName;
74: }
75:
76: public void setNodeName(String nodeName) {
77: this .nodeName = nodeName;
78: }
79:
80: public UserIdVO getUserId() {
81: return userId;
82: }
83:
84: public void setUserId(UserIdVO user) {
85: this .userId = user;
86: }
87:
88: public WorkgroupIdVO getWorkgroupId() {
89: return workgroupId;
90: }
91:
92: public void setWorkgroupId(WorkgroupIdVO workgroup) {
93: this.workgroupId = workgroup;
94: }
95:
96: }
|