Coverage Report - org.kuali.rice.kew.dto.AdHocRevokeDTO
 
Classes in this File Line Coverage Branch Coverage Complexity
AdHocRevokeDTO
0%
0/19
N/A
1
 
 1  
 /*
 2  
  * Copyright 2005-2008 The Kuali Foundation
 3  
  * 
 4  
  * 
 5  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  * 
 9  
  * http://www.opensource.org/licenses/ecl2.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 org.kuali.rice.kew.dto;
 18  
 
 19  
 
 20  
 /**
 21  
  * Represents a revocation of an AdHoc request.<br><br>
 22  
  * 
 23  
  * Each of the fields represents criteria for revoking requests.  If necessary, they can be
 24  
  * combined.  For example, if you specify a userId and a nodeName it will indicate that the
 25  
  * requests for the user at that node will need to be revoked.<br><br>
 26  
  * 
 27  
  * <ol>
 28  
  *   <li><b>actionRequestId</b> - the ID of the action request to revoke</li>
 29  
  *   <li><b>userId</b> - the ID of the user whose request(s) should be revoked</li>
 30  
  *          <li><b>groupId</b> - the ID of the group whose requests(s) should be revoked</li>
 31  
  *   <li><b>nodeName</b> - the name of the node to revoke requests at</li>
 32  
  * </ol>
 33  
  * 
 34  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 35  
  */
 36  
 public class AdHocRevokeDTO implements java.io.Serializable {
 37  
 
 38  
         private static final long serialVersionUID = 7650456194747488114L;
 39  
 
 40  
         private Long actionRequestId;
 41  
         private String nodeName;
 42  
         private String principalId;
 43  
         private String groupId;
 44  
         
 45  0
         public AdHocRevokeDTO() {}
 46  
         
 47  0
         public AdHocRevokeDTO(Long actionRequestId) {
 48  0
                 this.actionRequestId = actionRequestId;
 49  0
         }
 50  
                 
 51  0
         public AdHocRevokeDTO(String nodeName) {
 52  0
                 this.nodeName = nodeName;
 53  0
         }
 54  
 
 55  
         public Long getActionRequestId() {
 56  0
                 return actionRequestId;
 57  
         }
 58  
 
 59  
         public void setActionRequestId(Long actionRequestId) {
 60  0
                 this.actionRequestId = actionRequestId;
 61  0
         }
 62  
 
 63  
         public String getNodeName() {
 64  0
                 return nodeName;
 65  
         }
 66  
 
 67  
         public void setNodeName(String nodeName) {
 68  0
                 this.nodeName = nodeName;
 69  0
         }
 70  
 
 71  
         public String getPrincipalId() {
 72  0
                 return this.principalId;
 73  
         }
 74  
 
 75  
         public void setPrincipalId(String principalId) {
 76  0
                 this.principalId = principalId;
 77  0
         }
 78  
 
 79  
         public String getGroupId() {
 80  0
                 return this.groupId;
 81  
         }
 82  
 
 83  
         public void setGroupId(String groupId) {
 84  0
                 this.groupId = groupId;
 85  0
         }        
 86  
 
 87  
 }